:root {
  --theme-color-primary: #b08d3e;
  --theme-color-secondary: #1a1a1a;
  --theme-color-surface: #faf7f2;
  --theme-color-text: #1f1f1f;
  --theme-color-muted: #8a8378;
  --theme-font-heading: 'Playfair Display', serif;
  --theme-font-body: 'Lora', serif;
  --theme-radius: 0px;
  --theme-spacing-scale: 1.15;
  --theme-button-radius: 0px;
  --theme-button-bg: transparent;
  --theme-button-fg: var(--theme-color-primary);
  --theme-button-border: 2px solid var(--theme-color-primary);
}
/*
 * Self-hosted Google Fonts (plan.md Phase 5 task 1 — no CDN allowed).
 * Latin-subset woff2 only. Browsers only fetch a face that's actually
 * applied to rendered text, so listing all of them here costs nothing
 * for themes that don't use every font.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/nunito-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/nunito-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/montserrat-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/montserrat-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/worksans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/worksans-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/playfairdisplay-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/playfairdisplay-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/lora-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/lora-700.woff2') format('woff2');
}

.sb-cta-banner { padding: 56px 24px; text-align: center; }
.sb-cta-banner.bg-primary { background: var(--theme-color-primary); }
.sb-cta-banner.bg-secondary { background: var(--theme-color-secondary); }
.sb-cta-banner.bg-surface { background: var(--theme-color-surface); }
.sb-cta-banner.bg-text { background: var(--theme-color-text); }
.sb-cta-banner.bg-muted { background: var(--theme-color-muted); }
.sb-cta-banner h2 { font-size: 30px; margin-bottom: 12px; color: #fff; }
.sb-cta-banner.bg-surface h2 { color: var(--theme-color-text); }
.sb-cta-banner p { font-size: 16px; color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.sb-cta-banner.bg-surface p { color: var(--theme-color-muted); }
.sb-cta-banner .btn { display: inline-block; padding: 12px 28px; background: #fff; color: var(--theme-color-text); border-radius: var(--theme-button-radius); font-weight: 600; }

.sb-features-grid { padding: 64px 24px; max-width: 1100px; margin: 0 auto; }
.sb-features-grid h2 { text-align: center; font-size: 30px; margin-bottom: 40px; color: var(--theme-color-text); }
.sb-features-grid .features-grid { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
.sb-features-grid .features-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.sb-features-grid .features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.sb-features-grid .feature { text-align: center; }
.sb-features-grid .feature-icon { font-size: 32px; margin-bottom: 12px; }
.sb-features-grid h3 { font-size: 18px; margin-bottom: 8px; color: var(--theme-color-text); }
.sb-features-grid p { font-size: 14px; color: var(--theme-color-muted); }
@media (max-width: 780px) {
  .sb-features-grid .features-grid,
  .sb-features-grid .features-grid.cols-3,
  .sb-features-grid .features-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sb-features-grid .features-grid,
  .sb-features-grid .features-grid.cols-2,
  .sb-features-grid .features-grid.cols-3,
  .sb-features-grid .features-grid.cols-4 { grid-template-columns: 1fr; }
}

.sb-hero-basic { position: relative; padding: 80px 24px; text-align: center; overflow: hidden; }
.sb-hero-basic.align-left { text-align: left; }
.sb-hero-basic .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .15; z-index: 0; }
.sb-hero-basic .hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.sb-hero-basic.align-left .hero-inner { margin: 0; }
.sb-hero-basic h1 { font-size: 40px; line-height: 1.15; margin-bottom: 16px; color: var(--theme-color-text); }
.sb-hero-basic p { font-size: 18px; color: var(--theme-color-muted); margin-bottom: 24px; }
.sb-hero-basic .btn { display: inline-block; padding: 12px 28px; background: var(--theme-button-bg); color: var(--theme-button-fg); border: var(--theme-button-border); border-radius: var(--theme-button-radius); font-weight: 600; }
@media (max-width: 640px) {
  .sb-hero-basic { padding: 48px 20px; }
  .sb-hero-basic h1 { font-size: 30px; }
}

.sb-testimonials { padding: 56px 24px; max-width: 1100px; margin: 0 auto; }
.sb-testimonials h2 { text-align: center; font-size: 28px; margin-bottom: 32px; color: var(--theme-color-text); }
.sb-testimonials .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.sb-testimonials .testimonial { background: var(--theme-color-surface); border: 1px solid rgba(0, 0, 0, .08); border-radius: var(--theme-radius); padding: 24px; }
.sb-testimonials .quote { font-size: 15px; line-height: 1.6; color: var(--theme-color-text); margin-bottom: 16px; }
.sb-testimonials footer { display: flex; align-items: center; gap: 10px; }
.sb-testimonials footer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sb-testimonials cite { font-style: normal; font-weight: 600; font-size: 14px; color: var(--theme-color-muted); }
