/* ─────────────────────────────────────────
   FITANALYSIS — Warmpaper Design System
   ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700;1,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    color-scheme: light;
    /* White design palette */
    --bg:            #ffffff;
    --bg-dark:       #111111;
    --bg-medium:     #1a1a1a;
    --surface:       #f8f9fa;
    --surface-muted: #f1f3f5;
    --surface-dark:  #1c1c1e;
    --line:          #e5e7eb;
    --line-dark:     #2e2d2b;
    --text:          #111111;
    --text-warm:     #f9fafb;
    --text-warm-muted: #9ca3af;
    --muted:         #6b7280;
    --accent:        #e85d26;
    --accent-strong: #c44a1a;
    --accent-soft:   #fff0e8;
    --gold:          #d97706;
    --gold-soft:     #fef3c7;
    --shadow:        0 4px 20px rgba(0,0,0,0.07);
    --shadow-card:   0 8px 40px rgba(0,0,0,0.10);
    --shadow-lift:   0 24px 80px rgba(0,0,0,0.35);
    --radius-xl:     20px;
    --radius-lg:     16px;
    --radius-md:     12px;
    --radius-sm:     8px;
    --serif:         'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container:     1180px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

/* ─── Navigation ─── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}
.brand-mark { width: 38px; height: 38px; }
.brand-mark.small { width: 32px; height: 32px; }
.brand-wordmark { font-size: 1.1rem; font-family: var(--sans); }
.brand-wordmark .accent { color: var(--accent); }

.nav {
    display: flex;
    gap: 22px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}
.nav a:hover { color: var(--text); }
.footer-links a:hover, .text-link:hover { color: var(--text); }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 200ms ease, opacity 200ms ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
    display: none;
    position: fixed;
    top: 71px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    z-index: 99;
    padding: 12px 20px 20px;
    flex-direction: column;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    color: var(--text);
}
.nav-drawer a:last-child { border-bottom: none; }

/* ─── Buttons ─── */
.button, .button-secondary, .button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 160ms ease, box-shadow 160ms ease;
    cursor: pointer;
    border: none;
}
.button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 8px 24px rgba(200,74,26,0.25);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(200,74,26,0.35); }
.button-small { min-height: 40px; padding: 9px 18px; font-size: 0.88rem; }
.button-warm {
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--line);
}
.button-warm:hover { transform: translateY(-1px); }
.button-secondary, .button-ghost {
    color: var(--text-warm);
    background: transparent;
    border: 1px solid rgba(240,232,219,0.25);
}
.button-secondary:hover, .button-ghost:hover { border-color: rgba(240,232,219,0.5); transform: translateY(-1px); }
.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ─── Eyebrow ─── */
.eyebrow {
    margin: 0 0 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow-light {
    color: var(--accent);
}

/* ─── HERO (light) ─── */
.hero {
    background: var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 60px;
    align-items: center;
    padding: 96px 0 80px;
}
.hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 14ch;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent);
}
.hero-sub {
    margin: 24px 0 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}
.hero-meta {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.82rem;
}
.hero-screenshot-wrap {
    position: relative;
    flex-shrink: 0;
}
.hero-screenshot {
    height: 660px;
    width: auto;
    border-radius: 28px;
    box-shadow: 0 40px 120px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
    object-fit: contain;
}
.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ─── ONE IDEA section ─── */
.one-idea {
    background: var(--surface-muted);
    border-top: 1px solid var(--line);
    padding: 96px 0;
}
.one-idea-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.one-idea h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text);
    letter-spacing: -0.02em;
}
.one-idea h2 em { font-style: italic; color: var(--accent); }
.one-idea-sub {
    margin: 20px auto 0;
    max-width: 58ch;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.reveals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    margin-top: 56px;
    text-align: left;
}
.reveal-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow);
}
.reveal-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 16px;
}
.reveal-card strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.reveal-card span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ─── Screenshots strip ─── */
.screenshots-section {
    background: var(--bg);
    padding: 96px 0;
    overflow: hidden;
}
.screenshots-heading {
    text-align: center;
    margin-bottom: 56px;
}
.screenshots-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.screenshots-strip {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-end;
}
.screenshot-item {
    flex-shrink: 0;
}
.screenshot-item img {
    height: 560px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(26,18,8,0.22);
    object-fit: contain;
}
.screenshot-item.center img {
    height: 620px;
    box-shadow: 0 32px 100px rgba(26,18,8,0.28);
}
.screenshot-caption {
    margin-top: 14px;
    text-align: center;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 500;
}

/* ─── Section base ─── */
.section { padding: 96px 0; }
.section-soft { background: var(--surface-muted); }
.section-dark { background: var(--bg-dark); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.narrow { max-width: 600px; }
.section-heading.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.section-heading p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}
.section-heading-dark h2 { color: var(--text-warm); }
.section-heading-dark p { color: var(--text-warm-muted); }

/* ─── Stats band ─── */
.stats-band {
    background: var(--bg-medium);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.stats-band-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid var(--line-dark);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}
.stat-label {
    margin-top: 8px;
    color: var(--text-warm-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ─── How it works: step-row-strip ─── */
.step-row-strip {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 40px 44px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    box-shadow: var(--shadow);
}
.step-row-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-right: 28px;
    border-right: 1px solid var(--line);
}
.step-row-item:first-child { padding-left: 0; }
.step-row-item:last-child { border-right: none; padding-right: 0; padding-left: 28px; }
.step-row-item:not(:first-child):not(:last-child) { padding-left: 28px; }
.step-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex-shrink: 0;
}
.step-row-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.step-row-item span {
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.5;
}

/* ─── Features (provide-grid) ─── */
.provide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}
.value-row-left {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color 160ms;
}
.value-row-left:hover { border-color: var(--gold); }
.value-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}
.value-row-left strong {
    display: block;
    font-size: 0.97rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.value-row-left span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}
.metric-stacks-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}
.metric-stack-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}
.metric-stack-card .big-number {
    font-family: var(--serif);
    font-size: clamp(2.4rem,5vw,3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
}
.metric-stack-card .big-label {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 500;
}

/* ─── Why cheaper ─── */
.why-cheaper-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(320px,420px);
    gap: 56px;
    align-items: center;
}
.big-number-hero {
    font-family: var(--serif);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    color: var(--accent);
}
.big-number-sub {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 8px;
}
.comparison-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 10px;
}
.comparison-card-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) 1fr 1fr;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.comparison-card-header span {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}
.comparison-card-header span.col-fitanalysis { color: var(--accent-strong); }
.comparison-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) 1fr 1fr;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    border: 1px solid var(--line);
    align-items: center;
}
.comparison-row .row-label { color: var(--muted); font-size: 0.87rem; }
.comparison-row .col-val { text-align: center; font-size: 0.88rem; font-weight: 600; }
.comparison-row .col-val.accent { color: var(--accent-strong); }
.comparison-row .col-val.dim { color: var(--muted); font-weight: 400; }

/* ─── Why it works (pain points) ─── */
.row-list { display: grid; gap: 10px; }
.value-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
}
.value-row-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}
.value-row-body { flex: 1; }
.value-row-body strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.value-row-badge {
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
}

/* ─── Partner section ─── */
.partner-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    background: var(--surface);
    border: 1px solid var(--gold);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    margin-bottom: 28px;
}
.partner-cta-row h3 {
    margin: 0 0 5px;
    font-family: var(--serif);
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}
.partner-cta-row p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.partner-benefits { display: grid; gap: 10px; }
.partner-benefit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
}
.partner-benefit-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}
.partner-benefit-row strong { display: block; font-size: 0.96rem; font-weight: 700; }
.partner-benefit-row span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.84rem; }

/* ─── Blog preview cards ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 200ms, border-color 200ms;
}
.blog-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--gold);
}
.blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}
.blog-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
}
.blog-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
}
.blog-read-more {
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 0.88rem;
    margin-left: auto;
}

/* ─── FAQ ─── */
.faq-list { display: grid; gap: 10px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    display: grid;
    gap: 8px;
}
.faq-item h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.faq-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

/* ─── Privacy chips ─── */
.privacy-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow);
}
.privacy-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.privacy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ─── CTA section (dark) ─── */
.cta-section-dark {
    background: var(--bg-dark);
    padding: 96px 0;
    text-align: center;
    border-top: 1px solid var(--line-dark);
}
.cta-section-dark .eyebrow { color: var(--gold); }
.cta-section-dark h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-warm);
    margin: 0 auto;
    max-width: 18ch;
    line-height: 1.05;
}
.cta-section-dark h2 em { font-style: italic; color: var(--accent); }
.cta-actions-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}
.cta-meta {
    margin-top: 16px;
    color: rgba(160,144,128,0.7);
    font-size: 0.82rem;
}

/* ─── Footer ─── */
.footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 56px;
    border-top: 1px solid var(--line);
    background: var(--bg);
}
.footer-brand { color: var(--text); }
.footer-copy {
    max-width: 38ch;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 0.88rem;
    max-width: 440px;
}

/* ─── Blog Article pages ─── */
.article-page {
    min-height: 100vh;
    background: var(--bg);
}
.article-hero {
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
    padding: 80px 0 72px;
}
.article-hero .eyebrow { color: var(--accent); }
.article-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text);
    max-width: 22ch;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.86rem;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-body-wrap {
    width: min(calc(100% - 40px), 720px);
    margin: 0 auto;
    padding: 64px 0 80px;
}
.article-body h2 {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 48px 0 16px;
    line-height: 1.2;
}
.article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 32px 0 10px;
}
.article-body p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 20px;
}
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol {
    padding-left: 22px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0 0 20px;
}
.article-pullquote {
    margin: 40px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--gold);
    background: var(--surface);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--text);
}
.article-cta-box {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 36px;
    margin-top: 56px;
    text-align: center;
}
.article-cta-box h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-warm);
    margin: 0 0 8px;
    letter-spacing: -0.03em;
}
.article-cta-box p {
    color: var(--text-warm-muted);
    font-size: 0.95rem;
    margin: 0 0 20px;
}
.related-articles { margin-top: 64px; }
.related-articles h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -0.03em;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

/* ─── Blog index page ─── */
.blog-hero {
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
    padding: 80px 0 72px;
}
.blog-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.04;
    color: var(--text);
    max-width: 20ch;
}
.blog-hero p {
    margin: 16px 0 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.blog-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

/* Blog index card elements (blog/index.html) */
.blog-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}
.blog-card-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
}
.blog-card-excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}
.blog-card-link {
    color: var(--accent-strong);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ─── Legal / SEO pages ─── */
.legal-page, .seo-page { min-height: 100vh; padding: 36px 0 72px; background: var(--bg); }
.legal-shell, .seo-shell {
    width: min(calc(100% - 40px), 920px);
    margin: 0 auto;
    padding: 30px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.legal-shell header, .seo-hero { margin-bottom: 28px; }
.legal-shell h1, .seo-hero h1 {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.04em;
}
.legal-shell h2, .seo-card h2 { font-size: 1.3rem; line-height: 1.2; margin: 0; }
.legal-shell h3, .seo-card h3 { font-size: 1rem; margin: 0 0 8px; }
.legal-shell p, .legal-shell ul, .seo-page p, .seo-page ul, .seo-page ol {
    margin: 0 0 14px; color: var(--muted); line-height: 1.65;
}
.legal-shell ul, .seo-page ul, .seo-page ol { padding-left: 20px; }
.back-link { display: inline-flex; margin-bottom: 18px; color: var(--accent-strong); font-weight: 600; }
.muted-line { color: var(--muted); font-size: 0.94rem; }
.seo-card {
    margin-top: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 24px;
    border-radius: var(--radius-lg);
}
.seo-card ul { color: var(--muted); margin: 0; }
.seo-row-list, .seo-list { display: grid; gap: 14px; margin-top: 18px; }
.seo-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
    border: 1px solid var(--line);
}
.seo-row span { color: var(--muted); }
.seo-row strong { font-size: 0.94rem; }
.seo-inline-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.search-grid, .support-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.search-card, .support-grid article {
    display: block; padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.search-card strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.search-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.support-grid h2 { margin: 0 0 8px; font-size: 1.1rem; letter-spacing: -0.03em; }
.support-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ─── App badges ─── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.82rem;
}

/* ─── Responsive ─── */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-screenshot { height: 440px; }
    .hero-screenshot-wrap { display: flex; justify-content: center; }
    .why-cheaper-layout, .footer { grid-template-columns: 1fr; }
    .stats-band-inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
    .stat-item:nth-child(4) { border-top: 1px solid var(--line-dark); border-right: none; }
    .step-row-strip { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; padding: 28px; }
    .step-row-item { border-right: none; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
    .step-row-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
    .step-row-item:last-child, .step-row-item:not(:first-child):not(:last-child) { padding-left: 0; }
    .provide-grid, .metric-stacks-row { grid-template-columns: 1fr; }
    .reveals-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .blog-grid, .blog-index-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .screenshots-strip { gap: 14px; }
    .screenshot-item img { height: 380px; }
    .screenshot-item.center img { height: 420px; }
    .search-grid, .support-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nav { display: none; }
    .nav-hamburger { display: flex; }
    .topbar .button { display: none; }
    .hero-inner { padding: 48px 0 40px; gap: 32px; }
    .hero-screenshot { height: 300px; }
    .section { padding: 64px 0; }
    .one-idea { padding: 64px 0; }
    .screenshots-section { padding: 64px 0; }
    .screenshots-strip { flex-direction: column; align-items: center; }
    .screenshot-item img, .screenshot-item.center img { height: 440px; }
    .step-row-strip { grid-template-columns: 1fr; padding: 24px; }
    .step-row-item { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
    .step-row-item:last-child { border-bottom: none; padding: 0; }
    .step-row-item:last-child, .step-row-item:not(:first-child):not(:last-child) { padding-left: 0; }
    .reveals-grid { grid-template-columns: 1fr; }
    .blog-grid, .blog-index-grid { grid-template-columns: 1fr; }
    .partner-cta-row { flex-direction: column; align-items: flex-start; }
    .why-cheaper-layout { gap: 32px; }
    .legal-shell, .seo-shell { padding: 20px; }
    .footer { flex-direction: column; }
    .search-grid, .support-grid { grid-template-columns: 1fr; }
}
