/* ==========================================================================
   teromarket.com - charcoal / taupe / sand / cream editorial system (from logo)
   Display: Bitter (slab serif)  ·  Text: Plus Jakarta Sans
   ========================================================================== */
:root {
    /* logo palette: charcoal #4A423D · taupe #9F937B · sand #C5B8A2 · cream #F7ECDC */
    --ink: #2e2723;          /* deep charcoal-brown: headings, button hover */
    --ink-soft: #4a423d;     /* logo charcoal */
    --text: #4f4640;
    --muted: #6b6158;
    --brand: #4a423d;        /* solid fills: buttons, badges, accent card */
    --brand-dark: #2e2723;
    --on-brand: #f7ecdc;     /* cream label on charcoal */
    --accent: #6e624a;       /* deep taupe: links, icons, highlights (AA on white & cream) */
    --taupe: #9f937b;        /* logo taupe: decorative only, never text on light bg */
    --sand: #c5b8a2;         /* logo sand */
    --tint-50: #faf5ee;
    --tint-100: #efe5d4;
    --tint-200: #dccfb9;
    --cream: #f7ecdc;        /* logo cream */
    --cream-line: #e6d8c2;
    --line: #ebe3d7;
    --white: #ffffff;
    --footer-bg: #fbf7f1;
    --radius: 18px;
    --max-w: 1180px;
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Bitter", Georgia, "Times New Roman", serif;
    --shadow-soft: 0 18px 50px -24px rgba(46, 39, 35, 0.26);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.ic {
    width: 22px; height: 22px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
    font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
}

/* ---------- Top bar & header ---------- */
.top-bar {
    background: var(--ink-soft);
    color: var(--cream);
    border-bottom: 1px solid var(--ink);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 0;
}

.site-header { position: static; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; }
.header-logo { height: 52px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-sans); font-weight: 700; font-size: 1rem; line-height: 1.1;
    padding: 15px 26px; border-radius: 10px; border: 1.5px solid transparent;
    text-align: center;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    cursor: pointer;
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn:focus-visible { outline: 3px solid var(--taupe); outline-offset: 3px; }
.btn-primary {
    background: var(--brand); color: var(--on-brand); border-color: var(--brand);
    box-shadow: 0 12px 26px -12px rgba(46, 39, 35, 0.6);
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-sm { padding: 11px 20px; font-size: 0.92rem; }
.btn-lg { padding: 20px 38px; font-size: 1.12rem; border-radius: 12px; }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--sand); padding: 11px 20px; font-size: 0.92rem; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 84px 0 0;
    text-align: center;
    background:
        radial-gradient(60% 55% at 12% 0%, rgba(197, 184, 162, 0.42), transparent 70%),
        radial-gradient(45% 50% at 95% 15%, rgba(255, 252, 246, 0.75), transparent 70%),
        var(--cream);
    border-bottom: 1px solid var(--cream-line);
}
.hero-inner { max-width: 1020px; }
.hero h1 {
    text-wrap: balance;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.6vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 auto 22px;
}
.hero h1 .hl {
    color: var(--accent);
    background: linear-gradient(transparent 62%, rgba(197, 184, 162, 0.55) 62%, rgba(197, 184, 162, 0.55) 92%, transparent 92%);
    padding: 0 0.08em;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.65;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 28px;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-note { font-size: 0.82rem; color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.trust-row li {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 16px 8px 12px;
    font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
}
.trust-row .ic { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; max-width: 1040px; margin: 56px auto 0; }
.hero-frame {
    background: var(--white);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    padding: 0 12px;
    box-shadow: 0 -18px 60px -30px rgba(46, 39, 35, 0.32);
    overflow: hidden;
}
.frame-bar { display: flex; gap: 7px; padding: 14px 6px; }
.frame-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--tint-200); }
.frame-bar span:first-child { background: var(--taupe); }
.frame-bar span:nth-child(2) { background: var(--sand); }
.hero-frame img {
    width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover;
    border-radius: 16px 16px 0 0;
}
.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    padding: 14px 18px 14px 14px; text-align: left;
    box-shadow: var(--shadow-soft);
}
.float-card strong { display: block; color: var(--ink); font-size: 0.98rem; line-height: 1.3; }
.float-card small { display: block; color: var(--muted); font-size: 0.82rem; }
.float-icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: var(--brand); color: var(--on-brand);
}
.float-icon .ic { width: 20px; height: 20px; }
.float-card--left { left: -34px; top: 34%; }
.float-card--right { right: -34px; top: 62%; }

/* ---------- Article (dynamic column rhythm) ---------- */
.article { padding: 88px 0 48px; }
.band { max-width: 1100px; margin: 0 auto 64px; }
.band--single { max-width: 760px; }
.band h2, .media-copy h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 16px;
}
.band p { font-size: 1.075rem; line-height: 1.8; margin-bottom: 18px; }
.band p:last-child { margin-bottom: 0; }
.band .lead { font-size: 1.16rem; color: var(--ink-soft); }
.band .lead::first-letter {
    float: left;
    font-family: var(--font-display); font-weight: 700;
    font-size: 4.4rem; line-height: 0.82;
    color: var(--accent);
    padding: 8px 12px 0 0;
}

.hero-meta {
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
    margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ic { width: 17px; height: 17px; color: var(--accent); }

/* 2-col media band */
.band--media {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.band--media-reverse .media-figure { order: 2; }
.media-figure img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 22px; box-shadow: var(--shadow-soft);
}
.media-figure figcaption {
    margin-top: 14px; padding-left: 14px;
    border-left: 3px solid var(--tint-200);
    font-size: 0.88rem; line-height: 1.55; color: var(--muted);
}
.media-copy p:last-child { margin-bottom: 0; }

/* multi-column flowing text band — heading spans all columns */
.band--flow { max-width: 900px; columns: 2; column-gap: 48px; }
.band--flow h2 { column-span: all; }
.band--flow p { break-inside: avoid; }

.checklist { display: grid; gap: 12px; }
.checklist li {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--tint-50); border: 1px solid var(--tint-100); border-radius: 14px;
    padding: 14px 18px; font-size: 1rem; line-height: 1.6; color: var(--ink-soft);
}
.checklist .ic {
    width: 26px; height: 26px; padding: 5px; border-radius: 50%;
    background: var(--brand); color: var(--on-brand); stroke-width: 2.6; margin-top: 1px;
}

.pull-quote {
    max-width: 880px; margin: 0 auto 64px; padding: 40px 24px 36px;
    text-align: center; position: relative;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pull-quote::before {
    content: "\201C";
    position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
    width: 64px; height: 64px; line-height: 88px;
    background: var(--white); color: var(--accent);
    font-family: var(--font-display); font-size: 4.6rem; font-weight: 700;
}
.pull-quote p {
    font-family: var(--font-display); font-weight: 600; font-style: italic;
    font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.45; color: var(--ink);
    margin: 0;
}

/* 3-col habits band */
.band--cols .band-head { max-width: 760px; margin-bottom: 32px; }
.band--cols h2 { margin-bottom: 10px; }
.habits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.habit {
    background: var(--tint-50); border: 1px solid var(--tint-100); border-radius: var(--radius);
    padding: 28px;
}
.habit:nth-child(4), .habit:nth-child(5) { grid-column: span 1; }
.habit-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.habit-top .icon-box { background: var(--white); }
.habit-num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--taupe); line-height: 1; }
.habit h3 { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.habit p { font-size: 0.97rem; line-height: 1.65; color: var(--muted); margin: 0; }

.inline-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    background: linear-gradient(120deg, var(--tint-50), var(--cream));
    border: 1px solid var(--tint-100); border-radius: 22px;
    padding: 30px 34px;
}
.inline-cta p { margin: 0; font-size: 1rem; color: var(--muted); }
.inline-cta .inline-cta-title {
    font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.3;
    color: var(--ink); margin-bottom: 6px;
}
.inline-cta .btn { flex: none; }

/* ---------- Generic sections ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 {
    text-wrap: balance;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.9rem, 3.3vw, 2.65rem); line-height: 1.15; letter-spacing: -0.015em;
    color: var(--ink); margin-bottom: 12px;
}
.section-sub { font-size: 1.1rem; line-height: 1.6; color: var(--muted); }

.icon-box {
    display: inline-grid; place-items: center; flex: none;
    width: 50px; height: 50px; border-radius: 13px;
    background: var(--white); color: var(--accent);
    border: 1px solid var(--tint-100);
}
.icon-box .ic { width: 24px; height: 24px; }

/* ---------- Features (layered watermark icons) ---------- */
.section--features { background: var(--white); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
    position: relative; overflow: hidden;
    background: var(--tint-50);
    border: 1px solid var(--tint-100);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feat-card:hover { border-color: var(--tint-200); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.feat-wm {
    position: absolute; top: -18px; right: -18px;
    width: 128px; height: 128px;
    fill: none; stroke: var(--sand); stroke-width: 1.4;
    stroke-linecap: round; stroke-linejoin: round;
    opacity: 0.28; pointer-events: none;
}
.feat-card .icon-box { position: relative; background: var(--white); margin-bottom: 20px; }
.feat-card h3 {
    position: relative;
    font-family: var(--font-sans); font-weight: 700; font-size: 1.18rem; line-height: 1.35;
    color: var(--ink); margin-bottom: 8px;
}
.feat-card p { position: relative; font-size: 0.98rem; line-height: 1.65; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; position: relative; }
.chips li {
    background: var(--white); color: var(--accent);
    border: 1px solid var(--tint-200);
    border-radius: 999px; padding: 5px 13px; font-size: 0.82rem; font-weight: 600;
}

/* ---------- Steps ---------- */
.section--steps { background: linear-gradient(var(--cream), var(--white)); border-top: 1px solid var(--cream-line); }
.steps-panel {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--tint-50); border: 1px solid var(--tint-100); border-radius: 24px;
}
.step { padding: 40px 26px 36px; text-align: center; position: relative; }
.step + .step { border-left: 1px dashed var(--tint-200); }
.step-badge {
    position: relative; display: inline-grid; place-items: center; margin: 0 auto 22px;
    width: 66px; height: 66px; border-radius: 16px;
    background: var(--brand); color: var(--on-brand);
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--sand);
}
.step-badge .ic { width: 28px; height: 28px; stroke-width: 2; }
.step-num {
    position: absolute; top: -10px; right: -10px;
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: var(--white); color: var(--ink); border: 2px solid var(--ink);
    font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; line-height: 1;
}
.step h3 { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 0.96rem; line-height: 1.65; color: var(--muted); max-width: 240px; margin: 0 auto; }

.callout {
    display: flex; gap: 16px; align-items: flex-start;
    margin-top: 24px; padding: 22px 26px;
    background: var(--cream); border: 1px solid var(--cream-line); border-radius: 18px;
}
.callout > .ic { color: var(--accent); width: 26px; height: 26px; margin-top: 2px; }
.callout-title { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.callout p { font-size: 0.98rem; line-height: 1.65; color: var(--ink-soft); }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Use cases ---------- */
.section--usecases { background: var(--white); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 52px; }
.use-card {
    background: var(--tint-50); border: 1px solid var(--tint-100); border-radius: var(--radius);
    padding: 28px 26px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.use-card:hover { border-color: var(--tint-200); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.use-card .icon-box { background: var(--white); margin-bottom: 18px; }
.use-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.use-card p { font-size: 0.96rem; line-height: 1.65; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.split-figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-soft); }

.compare-wrap { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.compare th, .compare td { padding: 15px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
    background: var(--tint-50); color: var(--ink);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.compare thead th.col-hi { background: var(--brand); color: var(--on-brand); }
.compare tbody th { font-weight: 700; color: var(--ink); width: 34%; }
.compare td.col-hi { background: var(--tint-50); }
.compare .yes, .compare .no, .compare .neutral { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.compare .yes .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: var(--on-brand); stroke-width: 2.8; }
.compare .no .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--tint-100); color: var(--muted); stroke-width: 2.8; }
.compare .no { color: var(--muted); }

/* ---------- Reviews ---------- */
.section--reviews { background: var(--footer-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rating-band {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: 20px;
    padding: 22px 26px; margin-bottom: 28px;
}
.rating-item { display: flex; gap: 14px; align-items: center; }
.rating-item .icon-box { background: var(--tint-50); }
.rating-item strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.3; }
.rating-item small { display: block; color: var(--muted); font-size: 0.86rem; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px; display: flex; flex-direction: column; gap: 16px;
}
.stars { display: flex; gap: 3px; }
.star { width: 20px; height: 20px; fill: var(--accent); stroke: none; }
.star--off { fill: var(--tint-200); }
.review-card blockquote { margin: 0; }
.review-card blockquote p {
    font-family: var(--font-display); font-weight: 500; font-style: italic;
    font-size: 1.08rem; line-height: 1.6; color: var(--ink-soft);
}
.review-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rev-avatar {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: var(--tint-50); color: var(--accent); border: 1px solid var(--tint-100);
}
.rev-avatar .ic { width: 22px; height: 22px; }
.review-card figcaption strong { display: block; color: var(--ink); font-size: 0.98rem; }
.review-card figcaption small { display: block; color: var(--muted); font-size: 0.86rem; }

/* ---------- FAQ ---------- */
.section--faq { background: var(--white); }
.faq { max-width: 900px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 22px 4px;
    font-weight: 700; font-size: 1.1rem; line-height: 1.4; color: var(--ink);
    transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { color: var(--accent); }
.faq summary .ic {
    width: 34px; height: 34px; padding: 7px; border-radius: 50%;
    background: var(--tint-50); color: var(--accent); stroke-width: 2.2;
    transition: transform .25s ease, background-color .2s ease;
}
.faq details[open] summary .ic { transform: rotate(180deg); background: var(--brand); color: var(--on-brand); }
.faq-a { padding: 0 60px 24px 4px; }
.faq-a p { font-size: 1.02rem; line-height: 1.75; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta { padding: 24px 0 96px; }
.final-box {
    text-align: center;
    background:
        radial-gradient(55% 80% at 0% 0%, rgba(197, 184, 162, 0.45), transparent 70%),
        radial-gradient(50% 70% at 100% 100%, rgba(255, 252, 246, 0.75), transparent 70%),
        var(--cream);
    border: 1px solid var(--cream-line);
    border-radius: 30px;
    padding: 60px 56px 48px;
}
.cta-badge {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
    background: var(--white); border: 1px solid var(--cream-line);
    border-radius: 999px; padding: 8px 18px 8px 10px;
    font-size: 0.9rem; font-weight: 700; color: var(--ink);
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cta-badge:hover { transform: translateY(-1px); }
.cta-badge img { width: 26px; height: 26px; border-radius: 7px; }
.final-box h2 {
    text-wrap: balance;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; letter-spacing: -0.015em;
    color: var(--ink); max-width: 760px; margin: 0 auto 14px;
}
.final-lead { font-size: 1.1rem; line-height: 1.65; color: var(--ink-soft); max-width: 660px; margin: 0 auto 30px; }
.disclaimer-text {
    max-width: 880px; margin: 36px auto 0; padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 0.86rem; line-height: 1.7; color: var(--muted);
}
.disclaimer-text a, .affil-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.affil-note { max-width: 880px; margin: 12px auto 0; font-size: 0.78rem; line-height: 1.6; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding: 52px 0 34px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { height: 48px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); transition: color .2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px;
}
.footer-identity p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); }
.footer-identity a { color: var(--ink-soft); font-weight: 600; }
.footer-identity a:hover { color: var(--accent); }
.footer-copy { font-size: 0.86rem; color: var(--muted); }

/* ==========================================================================
   Subpages
   ========================================================================== */
.page-hero {
    text-align: center;
    padding: 76px 0 60px;
    background:
        radial-gradient(55% 70% at 10% 0%, rgba(197, 184, 162, 0.42), transparent 70%),
        radial-gradient(45% 60% at 95% 20%, rgba(255, 252, 246, 0.75), transparent 70%),
        var(--cream);
    border-bottom: 1px solid var(--cream-line);
}
.page-hero h1 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -0.02em;
    color: var(--ink); margin-bottom: 12px;
}
.page-hero p { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin: 0 auto; }

.page-body { padding: 64px 0 96px; }
.page-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.aside-sticky { position: sticky; top: 24px; }
.side-card {
    background: var(--white); border: 1px solid var(--line); border-radius: 16px;
    padding: 22px; margin-bottom: 16px;
}
.side-card-accent { background: var(--tint-50); border-color: var(--tint-100); }
.side-title {
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); margin-bottom: 12px;
}
.page-nav { display: grid; gap: 4px; }
.page-nav a {
    display: block; padding: 9px 12px; border-radius: 10px;
    font-size: 0.95rem; font-weight: 500; color: var(--text);
    transition: background-color .2s ease, color .2s ease;
}
.page-nav a:hover { background: var(--tint-50); color: var(--accent); }
.page-nav a.is-current { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.aside-line { font-size: 0.95rem; margin-bottom: 6px; overflow-wrap: anywhere; }
.aside-line a { color: var(--accent); font-weight: 600; }

.prose { max-width: 780px; min-width: 0; }
.prose h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.5rem; line-height: 1.3; color: var(--ink);
    margin: 40px 0 12px;
}
.prose > h2:first-child, .prose > .updated + h2 { margin-top: 0; }
.prose p, .prose li { font-size: 1.04rem; line-height: 1.8; color: var(--text); }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.prose strong { color: var(--ink); }

.prose-numbered { counter-reset: sec; }
.prose-numbered h2 { counter-increment: sec; display: flex; align-items: baseline; gap: 12px; }
.prose-numbered h2::before {
    content: counter(sec, decimal-leading-zero);
    flex: none;
    font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
    color: var(--accent); background: var(--tint-50); border: 1px solid var(--tint-100);
    border-radius: 8px; padding: 3px 8px; position: relative; top: -3px;
}
.updated {
    display: inline-block; font-size: 0.86rem !important; color: var(--muted) !important;
    background: var(--tint-50); border-radius: 999px; padding: 6px 14px; margin-bottom: 28px !important;
}

.reach-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 28px; }
.reach-item {
    display: flex; gap: 14px; align-items: flex-start;
    border: 1px solid var(--line); border-radius: 14px; padding: 18px;
    font-size: 0.97rem; line-height: 1.55; color: var(--text); min-width: 0;
}
.reach-item svg {
    width: 42px; height: 42px; padding: 9px; flex: none; border-radius: 11px;
    background: var(--tint-50); stroke: var(--accent); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.reach-item > div { min-width: 0; overflow-wrap: anywhere; }
.reach-item strong { display: block; color: var(--ink); margin-bottom: 2px; }
.reach-item a { text-decoration: none; font-weight: 600; }

.contact-form {
    display: grid; gap: 16px; margin: 8px 0 28px; padding: 28px;
    background: var(--tint-50); border: 1px solid var(--tint-100); border-radius: 18px;
}
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
    font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
    padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
    width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--tint-100); }
.contact-form .btn { justify-self: start; }
.prose .form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .float-card--left { left: 8px; }
    .float-card--right { right: 8px; }
}

@media (max-width: 980px) {
    .feat-grid { grid-template-columns: 1fr 1fr; }
    .use-grid { grid-template-columns: 1fr 1fr; }
    .band--media { gap: 36px; }
    .habits { grid-template-columns: 1fr 1fr; }
    .habit:nth-child(5) { grid-column: span 2; }
    .steps-panel { grid-template-columns: 1fr 1fr; }
    .step:nth-child(odd) { border-left: 0; }
    .step:nth-child(n+3) { border-top: 1px dashed var(--tint-200); }
    .step:nth-child(even) { border-left: 1px dashed var(--tint-200); }
    .split { grid-template-columns: 1fr; }
    .rating-band { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .page-grid { grid-template-columns: 1fr; gap: 32px; }
    .page-aside { order: 2; }
    .aside-sticky { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .aside-sticky .side-card { margin-bottom: 0; }
    .float-card { display: none; }
}

@media (max-width: 760px) {
    .container { padding: 0 18px; }
    .header-inner { padding-top: 12px; padding-bottom: 12px; }
    .header-logo { height: 46px; max-width: 56vw; }
    .footer-logo { height: 44px; max-width: 70vw; object-fit: contain; }
    .btn-sm { padding: 10px 16px; font-size: 0.88rem; }
    .btn-lg { padding: 18px 30px; font-size: 1.05rem; }

    .hero { padding-top: 56px; }
    .hero-visual { margin-top: 40px; }
    .hero-frame { padding: 0 8px; border-radius: 20px 20px 0 0; }
    .hero-frame img { aspect-ratio: 4 / 3; border-radius: 12px 12px 0 0; }

    .article { padding-top: 56px; }
    .band { margin-bottom: 48px; }
    .hero-meta { gap: 8px 18px; font-size: 0.86rem; }
    .band--media { grid-template-columns: 1fr; gap: 24px; }
    .band--media-reverse .media-figure { order: 0; }
    .band--flow { columns: 1; }
    .pull-quote { margin-bottom: 48px; padding: 36px 8px 30px; }
    .inline-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }

    .section { padding: 68px 0; }
    .section-head { margin-bottom: 32px; }
    .feat-grid { grid-template-columns: 1fr; }
    .use-grid { grid-template-columns: 1fr; }
    .feat-card, .use-card { padding: 26px 22px; }

    .habits { grid-template-columns: 1fr; }
    .habit:nth-child(5) { grid-column: span 1; }

    .steps-panel { grid-template-columns: 1fr; }
    .step { padding: 32px 24px; }
    .step + .step { border-left: 0; border-top: 1px dashed var(--tint-200); }
    .step:nth-child(even) { border-left: 0; }
    .callout { padding: 20px; }

    .compare thead { display: none; }
    .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
    .compare tr { border-bottom: 1px solid var(--line); padding: 16px 18px; }
    .compare tbody tr:last-child { border-bottom: 0; }
    .compare th, .compare td { border: 0; padding: 0; }
    .compare tbody th { width: 100%; margin-bottom: 10px; font-size: 1rem; }
    .compare td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 6px 0; background: transparent !important; }
    .compare td::before {
        content: attr(data-label);
        flex: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
    }
    .compare td > span { text-align: right; justify-content: flex-end; }

    .faq summary { font-size: 1.02rem; padding: 20px 0; }
    .faq-a { padding: 0 0 22px; }

    .final-cta { padding-bottom: 72px; }
    .final-box { padding: 48px 22px 36px; border-radius: 24px; }

    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-links { gap: 10px 20px; }

    .page-hero { padding: 56px 0 44px; }
    .page-body { padding: 44px 0 72px; }
    .aside-sticky { grid-template-columns: 1fr; }
    .reach-list { grid-template-columns: 1fr; }
    .contact-form { padding: 22px 18px; }
}

@media (max-width: 420px) {
    .header-logo { height: 42px; }
    .trust-row li { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
