/* ──────────────────────────────────────────────────────────────────
   Think This Out — landing page styles  (v7, 2026-05-24)
   Visual language matched to the v5c Twin Spiral logo:
     · warm cream paper "clearing" with a soft hearth glow
     · sage→amber rim echoed as hairline accents
     · dark navy reserved as ink, not background heft
     · calm motion, breathing not blinking
   Light-mode default; dark mode via prefers-color-scheme.
   ────────────────────────────────────────────────────────────────── */

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

:root {
    /* Default = dusk-navy (BRAND §3.3) — matches the badge interior so the
       dark octagon sits IN the page rather than being punched out of cream.
       Cream paper is opt-in via prefers-color-scheme: light below. */
    --bg-page:   #1a1f2e;
    --bg-card:   #232a3a;
    --bg-form:   rgba(35, 42, 58, 0.72);
    --fg:        #e8eae0;
    --muted:     #8b94a8;
    --sage:      #7fb09a;
    --sage-deep: #4a7d6b;
    --amber:     #e8a458;
    --amber-warm:#ffd28c;
    --rule:      rgba(232, 234, 224, 0.10);
    --rule-strong: rgba(232, 234, 224, 0.20);

    /* Ambient hearth — soft warm radial behind the hero (subtler on navy) */
    --hearth-warm: rgba(244, 184, 96, 0.12);
    --hearth-cool: rgba(127, 176, 154, 0.08);

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: light) {
    /* Intentionally empty: the marketing site is locked to the dusk-navy palette
       so the dark octagonal badge sits in its native habitat. Re-enable cream
       paper here if/when a separate light theme is approved by BRAND. */
}

html, body { min-height: 100dvh; }

body {
    background: var(--bg-page);
    color: var(--fg);
    font-family: var(--sans);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    /* The "clearing": two soft radial pools — warm hearth top-center,
       cool sage murmur bottom-left — recede the page like the badge
       interior receives the spiral. Pinned, not scrolled. */
    background-image:
        radial-gradient(ellipse 60% 45% at 50% 18%, var(--hearth-warm), transparent 70%),
        radial-gradient(ellipse 50% 40% at 18% 88%, var(--hearth-cool), transparent 70%);
    background-attachment: fixed;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html, body { scroll-behavior: auto; }
}

/* ── Skip-link (a11y) ────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -10000px;
    top: 0.5rem;
    background: var(--amber);
    color: #1a1f2e;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
}
.skip-link:focus { left: 0.5rem; outline: none; }

/* ── Top nav ─────────────────────────────────────────────────────── */
.topnav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem clamp(1rem, 3vw, 1.75rem);
    background: color-mix(in srgb, var(--bg-page) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
}
.topnav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--fg);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 500;
}
.topnav-brand img { display: block; }
.topnav-brand em { color: var(--amber); font-style: italic; }
.topnav-links {
    list-style: none;
    display: flex;
    flex: 1;
    justify-content: center;
    gap: clamp(0.7rem, 2.5vw, 1.6rem);
    flex-wrap: wrap;
}
.topnav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 0.5rem 0.25rem;
    transition: color 180ms;
}
.topnav-links a:hover, .topnav-links a:focus-visible {
    color: var(--sage);
    outline: none;
}
.topnav-cta {
    color: var(--fg);
    background: color-mix(in srgb, var(--sage) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
    text-decoration: none;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    transition: background-color 180ms, border-color 180ms;
}
.topnav-cta:hover, .topnav-cta:focus-visible {
    background: color-mix(in srgb, var(--sage) 30%, transparent);
    border-color: var(--sage);
    outline: none;
}
@media (max-width: 720px) {
    .topnav { flex-wrap: wrap; gap: 0.5rem; padding: 0.6rem 0.9rem; }
    .topnav-links { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.2rem; }
    .topnav-links a { white-space: nowrap; }
}

main {
    display: block;
    width: 100%;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    animation: page-rise 800ms cubic-bezier(.2, .8, .2, 1) both;
}

.hero {
    text-align: center;
    padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
    max-width: 40rem;
    margin: 0 auto;
}

@keyframes page-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Brand mark ──────────────────────────────────────────────────
   The logo carries its own internal animation; we provide a quiet hosting
   gesture (gentle vertical drift) and a hearth-coloured drop shadow that
   matches the badge's warm anchor. */
.brand {
    position: relative;
    display: inline-block;
    margin-bottom: 1.75rem;
    text-decoration: none;
    line-height: 0;
    animation: brand-drift 9s ease-in-out infinite alternate;
}
.brand::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 32%;
    height: 32%;
    border-radius: 50%;
    background: radial-gradient(circle at center,
        color-mix(in srgb, var(--hearth, #e8a23a) 85%, transparent) 0%,
        color-mix(in srgb, var(--hearth, #e8a23a) 35%, transparent) 45%,
        transparent 75%);
    filter: blur(8px);
    pointer-events: none;
    animation: brand-glow 6s ease-out infinite;
    z-index: 0;
}
.brand:focus-visible { outline: none; }
.brand-mark {
    position: relative;
    z-index: 1;
    width: clamp(160px, 26vw, 220px);
    height: auto;
    display: block;
    transform-origin: 50% 50%;
    animation: brand-spin 42s linear infinite;
    transition: transform 320ms ease-out;
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
    animation-play-state: paused;
    transform: scale(1.03);
}
@keyframes brand-drift {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}
@keyframes brand-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes brand-glow {
    0%   { opacity: 0.55; transform: scale(0.94); }
    8%   { opacity: 1;    transform: scale(1.14); }
    24%  { opacity: 0.78; transform: scale(1.02); }
    100% { opacity: 0.55; transform: scale(0.94); }
}

/* ── Eyebrow — small, refined, paper-thin ───────────────────────── */
.eyebrow {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sage);
    padding: 0.32rem 0.85rem;
    border: 1px solid color-mix(in srgb, var(--sage) 30%, transparent);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    background: color-mix(in srgb, var(--sage) 12%, transparent);
}

/* ── Wordmark / display heading ──────────────────────────────────
   "This" is set in serif italic for a single quiet emphasis — softer than
   a hard color swap and aligned with the editorial tone in BRAND §4. */
h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 7.4vw, 4.6rem);
    font-weight: 500;
    letter-spacing: -0.022em;
    line-height: 1.02;
    color: var(--fg);
}
h1 .accent {
    font-style: italic;
    font-weight: 500;
    color: var(--amber);
    padding: 0 0.04em;
}

/* Sage→amber hairline — the rim of the badge made horizontal.
   Sits between the wordmark and the tagline. */
.rim {
    display: block;
    width: clamp(80px, 16vw, 140px);
    height: 1px;
    margin: 1.4rem auto 1.3rem;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--sage) 22%,
        var(--amber-warm) 78%,
        transparent 100%);
    border: 0;
    opacity: 0.7;
}

.tagline {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.6vw, 1.35rem);
    font-weight: 400;
    color: var(--fg);
    line-height: 1.45;
    opacity: 0.88;
}

.dots {
    display: inline-block;
    letter-spacing: 0.16em;
    color: var(--amber);
    opacity: 0.75;
    margin-left: 0.1em;
}
@media (prefers-reduced-motion: no-preference) {
    .dots span { animation: breathe 3.6s ease-in-out infinite both; }
    .dots span:nth-child(2) { animation-delay: 0.4s; }
    .dots span:nth-child(3) { animation-delay: 0.8s; }
}
@keyframes breathe {
    0%, 100% { opacity: 0.25; }
    50%      { opacity: 1; }
}

/* ── Modes — quiet cards, alternating sage / amber left-rule ───── */
.modes {
    list-style: none;
    margin: 2.5rem auto 0;
    max-width: 34rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    text-align: left;
}
.modes li {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    background: color-mix(in srgb, var(--bg-card) 65%, transparent);
    border: 1px solid var(--rule);
    border-left: 2px solid color-mix(in srgb, var(--sage) 55%, transparent);
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--muted);
    transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}
.modes li:nth-child(even) {
    border-left-color: color-mix(in srgb, var(--amber-warm) 55%, transparent);
}
.modes li:hover {
    background: color-mix(in srgb, var(--bg-card) 88%, transparent);
    border-color: var(--rule-strong);
    transform: translateY(-1px);
}
.modes li strong {
    display: block;
    color: var(--fg);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.1rem;
    letter-spacing: -0.01em;
}
.modes li span { display: block; }
@media (max-width: 560px) {
    .modes { grid-template-columns: 1fr; max-width: 24rem; }
}

/* ── Primary CTA — warm anchor, soft glow not heavy shadow ─────── */
.cta-row {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}
.cta-primary {
    position: relative;
    display: inline-block;
    padding: 0.95rem 2.2rem;
    background: var(--amber);
    color: #ffffff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.012em;
    text-decoration: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 6px 22px color-mix(in srgb, var(--amber) 28%, transparent),
        0 0 0 0 color-mix(in srgb, var(--amber-warm) 60%, transparent);
    transition: box-shadow 260ms ease, transform 120ms ease, background-color 200ms;
    overflow: hidden;
}
.cta-primary::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.32) 50%,
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
}
.cta-primary:hover,
.cta-primary:focus-visible {
    background: color-mix(in srgb, var(--amber) 92%, #ffffff);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 10px 30px color-mix(in srgb, var(--amber) 38%, transparent),
        0 0 0 8px color-mix(in srgb, var(--amber-warm) 16%, transparent);
    outline: none;
}
.cta-primary:hover::after,
.cta-primary:focus-visible::after { transform: translateX(100%); }
.cta-primary:active { transform: translateY(1px); }

.cta-fineprint {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: var(--muted);
    opacity: 0.78;
}

@media (prefers-reduced-motion: reduce) {
    main, .brand, .cta-primary::after { animation: none; transition: none; }
    .brand-mark { transition: none; }
    .modes li   { transition: none; }
}

/* ── Contact form (click-to-reveal via <details>) ────────────────── */
.contact {
    margin: 3.5rem auto 0;
    max-width: 30rem;
    text-align: left;
}

.contact summary {
    list-style: none;
    cursor: pointer;
    display: block;
    text-align: center;
    width: 100%;
}
.contact summary::-webkit-details-marker { display: none; }
.contact summary::marker { content: ""; }

.contact-trigger {
    display: inline-block;
    padding: 0.55rem 1.25rem;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--rule-strong);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    transition: color 200ms, border-color 200ms, background-color 200ms, transform 100ms;
}
.contact summary:hover .contact-trigger,
.contact summary:focus-visible .contact-trigger {
    color: var(--sage);
    border-color: color-mix(in srgb, var(--sage) 50%, transparent);
    background: color-mix(in srgb, var(--sage) 8%, transparent);
    outline: none;
}
.contact summary:active .contact-trigger { transform: translateY(1px); }
.contact[open] .contact-trigger {
    color: var(--muted);
    border-color: transparent;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    background: transparent;
}
.contact[open] .contact-trigger::after { content: " ▾"; color: var(--amber); }

.contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.6rem;
    border: 1px solid var(--rule);
    border-radius: 16px;
    background: var(--bg-form);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(42, 42, 53, 0.04);
    animation: contact-drop 260ms ease-out;
}
@keyframes contact-drop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .contact-form { animation: none; }
}

.contact-form label  { display: grid; gap: 0.4rem; }
.contact-form label > span {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--rule-strong);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    color: var(--fg);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 200ms, box-shadow 200ms;
}
.contact-form textarea {
    resize: vertical;
    min-height: 6.5rem;
    font-family: var(--sans);
    line-height: 1.5;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 22%, transparent);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.contact-form button {
    padding: 0.7rem 1.5rem;
    background: var(--sage);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background-color 200ms, transform 100ms, box-shadow 200ms;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--sage) 28%, transparent);
}
.contact-form button:hover,
.contact-form button:focus-visible {
    background: color-mix(in srgb, var(--sage) 90%, #ffffff);
    box-shadow: 0 6px 22px color-mix(in srgb, var(--sage) 40%, transparent);
    outline: none;
}
.contact-form button:active { transform: translateY(1px); }

.form-fineprint {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
}

.form-error {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid;
    font-size: 0.9rem;
    /* Default = dusk-navy register */
    background: color-mix(in srgb, #f43f5e 14%, var(--bg-card));
    border-color: color-mix(in srgb, #f43f5e 45%, transparent);
    color: #fecaca;
}
@media (prefers-color-scheme: light) {
    .form-error {
        background: color-mix(in srgb, #b91c1c 12%, var(--bg-card));
        border-color: color-mix(in srgb, #b91c1c 35%, transparent);
        color: #991b1b;
    }
}

/* Honeypot — invisible to humans, present to bots */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    /* Site is locked to dusk-navy; no light-mode override for error styling. */    overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────────
   Long-page sections (Modes / Privacy / Security / How-to / FAQ / CTA)
   v8, 2026-05-24
   ────────────────────────────────────────────────────────────────── */

.section {
    padding: clamp(3rem, 7vw, 5rem) 0;
    border-top: 1px solid var(--rule);
}
.section + .section { border-top-color: var(--rule); }

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.9rem;
}
.section h2 {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 4.2vw, 2.4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.018em;
    color: var(--fg);
    margin-bottom: 0.85rem;
}
.section-lede {
    font-size: clamp(1rem, 1.6vw, 1.08rem);
    color: var(--muted);
    line-height: 1.6;
    max-width: 38rem;
    margin: 0 auto;
}

/* ── Feature grid (Modes detailed) ─────────────────────────────── */
.feature-grid {
    display: grid;
    gap: clamp(1.2rem, 2.5vw, 1.8rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature {
    background: color-mix(in srgb, var(--bg-card) 60%, transparent);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: clamp(1.2rem, 2.5vw, 1.6rem);
    transition: border-color 220ms, transform 220ms;
}
.feature:hover {
    border-color: var(--rule-strong);
    transform: translateY(-2px);
}
.feature-shot {
    margin: 0 0 1.1rem;
    background: color-mix(in srgb, var(--bg-page) 70%, #000);
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.feature h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.feature p { color: var(--muted); margin-bottom: 0.85rem; font-size: 0.95rem; }
.feature-points {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--muted);
}
.feature-points li {
    position: relative;
    padding-left: 1.1rem;
}
.feature-points li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.55em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sage);
    opacity: 0.8;
}
@media (max-width: 720px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* ── Privacy promise grid ───────────────────────────────────────── */
.promise-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.promise {
    background: color-mix(in srgb, var(--bg-card) 55%, transparent);
    border: 1px solid var(--rule);
    border-left: 2px solid color-mix(in srgb, var(--sage) 55%, transparent);
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
}
.promise:nth-child(even) { border-left-color: color-mix(in srgb, var(--amber-warm) 55%, transparent); }
.promise h3 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.promise p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.promise code, .spec-list code, .howto-list code, .faq-item code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.85em;
    background: color-mix(in srgb, var(--sage) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--sage) 22%, transparent);
    color: var(--fg);
    padding: 0.05em 0.4em;
    border-radius: 5px;
}
@media (max-width: 960px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promise-grid { grid-template-columns: 1fr; } }

/* ── Security spec list (definition rows) ──────────────────────── */
.spec-list {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.spec-list > div {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    background: color-mix(in srgb, var(--bg-card) 50%, transparent);
    border: 1px solid var(--rule);
    border-radius: 12px;
}
.spec-list dt {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.01em;
}
.spec-list dd { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 720px) { .spec-list { grid-template-columns: 1fr; } }

/* ── How-to ────────────────────────────────────────────────────── */
.howto-list {
    list-style: none;
    counter-reset: howto;
    display: grid;
    gap: 1.4rem;
}
.howto-list > li {
    counter-increment: howto;
    background: color-mix(in srgb, var(--bg-card) 55%, transparent);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 1.3rem 1.4rem 1.1rem;
    position: relative;
    padding-left: 4.2rem;
}
.howto-list > li::before {
    content: counter(howto);
    position: absolute;
    left: 1.3rem;
    top: 1.2rem;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--amber) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
    color: var(--amber-warm);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.05rem;
}
.howto-list h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
}
.howto-steps {
    list-style: decimal;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.55;
}
.howto-steps a { color: var(--sage); text-decoration-color: color-mix(in srgb, var(--sage) 40%, transparent); }
.howto-steps a:hover { color: var(--amber); }
@media (max-width: 560px) {
    .howto-list > li { padding-left: 1.2rem; padding-top: 3.5rem; }
    .howto-list > li::before { left: 1.2rem; top: 1.1rem; }
}

/* ── FAQ accordion ─────────────────────────────────────────────── */
.faq-list { display: grid; gap: 0.6rem; max-width: 44rem; margin: 0 auto; }
.faq-item {
    background: color-mix(in srgb, var(--bg-card) 55%, transparent);
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.2rem;
    color: var(--fg);
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
    content: "+";
    color: var(--amber);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 200ms;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover, .faq-item summary:focus-visible {
    background: color-mix(in srgb, var(--sage) 6%, transparent);
    outline: none;
}
.faq-item > p {
    padding: 0 1.2rem 1.1rem;
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.6;
}
.faq-item > p a { color: var(--sage); }

/* ── Final CTA ─────────────────────────────────────────────────── */
.section-final-cta { text-align: center; }
.section-final-cta h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4.4vw, 2.5rem);
    font-weight: 500;
    color: var(--fg);
    margin-bottom: 0.7rem;
    letter-spacing: -0.018em;
}

/* ── Contact section header ────────────────────────────────────── */
.section-contact { padding-bottom: clamp(2rem, 5vw, 3rem); }
.contact-heading {
    display: block;
    text-align: center;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    color: var(--muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--rule);
}
.site-footer a { color: var(--muted); text-decoration-color: var(--rule-strong); }
.site-footer a:hover { color: var(--sage); }

/* ── Mobile tightening (≤480px) ────────────────────────────────── */
@media (max-width: 480px) {
    main { padding: 0 1rem; }
    .hero { padding-top: 1.5rem; }
    .brand-mark { width: clamp(140px, 42vw, 180px); }
    h1 { font-size: clamp(2.2rem, 12vw, 3rem); }
    .section { padding: 2.5rem 0; }
    .cta-primary { padding: 0.9rem 1.6rem; min-height: 44px; }
    .topnav-cta { padding: 0.55rem 0.85rem; min-height: 38px; }
}

/* Ensure interactive targets meet the 44px hint everywhere */
a, button, summary, input, textarea { min-height: 0; }
.cta-primary, .topnav-cta, .contact-form button, .topnav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.topnav-links a { padding: 0.6rem 0.45rem; }
