/* OwnHour marketing site — Golden Hour tokens.
   Tokens mirror ownhour-product-design/project/_ds/…/tokens/*.css and the partner portal's
   wwwroot/app.css, so the two web surfaces stay identical. Fonts are self-hosted (the design's
   tokens/fonts.css pulls Google Fonts; we don't — it would break the CSP and leak visitors). */

@font-face {
    font-family: 'Newsreader';
    src: url('../fonts/Newsreader.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('../fonts/InstrumentSans.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Spline Sans Mono';
    src: url('../fonts/SplineSansMono.woff2') format('woff2');
    font-weight: 400 600;
    font-display: swap;
}

/* ---------------------------------------------------------------- tokens */

:root {
    color-scheme: light dark;

    /* base — paper & ink */
    --paper: #F7F2E9;
    --paper-deep: #EFE8D9;
    --surface: #FFFFFF;
    --ink-1: #231E16;
    --ink-2: #5D5544;
    --ink-3: #8B826E;
    --line-1: #E6DECB;
    --line-2: #D5CBB2;

    /* hour gold */
    --gold-100: #F6E9C7;
    --gold-300: #E8C468;
    --gold-500: #C0891D;
    --gold-700: #7C5300;
    --gold-900: #4A3200;

    /* supporting hues (only what this page uses) */
    --green-100: #E4EDDA;
    --green-700: #3A6428;
    --teal-100: #DCEBE4;
    --teal-700: #1F5F4E;

    /* semantic — surfaces & text */
    --bg-app: var(--paper);
    --bg-sunken: var(--paper-deep);
    --surface-card: var(--surface);
    --surface-tint: var(--gold-100);
    --text-heading: var(--ink-1);
    --text-body: var(--ink-1);
    --text-muted: var(--ink-2);
    --text-faint: var(--ink-3);
    --border-card: var(--line-1);
    --border-strong: var(--line-2);

    /* semantic — accent & actions */
    --accent-soft: var(--gold-300);
    --accent-tint: var(--gold-100);
    --action-primary-bg: var(--ink-1);
    --action-primary-text: #F9F4EA;
    --action-primary-pressed: #3A3325;
    --link: var(--gold-700);
    --link-hover: var(--gold-900);
    --focus-ring: var(--gold-500);

    --status-protected: var(--green-700);
    --status-focus: var(--teal-700);
    --status-focus-tint: var(--teal-100);

    /* type */
    --font-display: 'Newsreader', Georgia, serif;
    --font-ui: 'Instrument Sans', system-ui, sans-serif;
    --font-mono: 'Spline Sans Mono', ui-monospace, monospace;
    --ls-label: 0.01em;
    --ls-overline: 0.08em;

    /* geometry */
    --control-h: 52px;
    --control-h-sm: 40px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    --shadow-e1: 0 1px 2px rgba(35, 30, 22, .06);
    --shadow-e2: 0 2px 10px rgba(35, 30, 22, .08);

    /* motion */
    --dur-fast: 120ms;
    --dur-base: 200ms;
    --ease-standard: cubic-bezier(.2, 0, 0, 1);

    /* layout */
    --page-max: 1180px;
    --gutter: clamp(16px, 4vw, 32px);

    /* The blocked panel and the final CTA keep a dark ink background in BOTH
       themes, so their background and the text on it are pinned to the
       light-theme inks rather than following --ink-1 (which inverts). */
    --panel-ink: var(--ink-1);
    --on-ink-strong: #F7F2E9;
    --on-ink: #C6BBA4;
    --on-ink-faint: #A99C84;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #1B1712;
        --paper-deep: #131009;
        --surface: #251F17;
        --ink-1: #F2EADA;
        --ink-2: #BFB49C;
        --ink-3: #8F8570;
        --line-1: #3B3427;
        --line-2: #4C4433;

        --gold-100: #3B2F14;
        --gold-300: #8A6512;
        --gold-500: #D9A83F;
        --gold-700: #E9C46A;
        --gold-900: #F6E1AC;

        --green-100: #25321C;
        --green-700: #A5CC8E;
        --teal-100: #1D2F28;
        --teal-700: #92C7B2;

        --action-primary-bg: #F2EADA;
        --action-primary-text: #231E16;
        --action-primary-pressed: #D9CFBA;

        --shadow-e1: 0 1px 2px rgba(0, 0, 0, .3);
        --shadow-e2: 0 2px 10px rgba(0, 0, 0, .36);

        /* --ink-1 inverts under dark; hold the panels at the deep warm brown. */
        --panel-ink: #1B1712;
    }
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --dur-fast: 0ms;
        --dur-base: 0ms;
    }

    * {
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------------ base */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* sticky header is 74px; keep anchored sections clear of it */
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--bg-app);
    color: var(--text-body);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text-heading);
    margin: 0;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
}

img,
svg {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--action-primary-bg);
    color: var(--action-primary-text);
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
    color: var(--action-primary-text);
}

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

.wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Hidden <symbol> sprite. A class, not a style attribute, so the site can ship
   a CSP without 'unsafe-inline' — style attributes fall under style-src-attr. */
.sprite {
    position: absolute;
    width: 0;
    height: 0;
}

/* ---------------------------------------------- design-system components */

.i {
    width: 20px;
    height: 20px;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.i-12 { width: 12px; height: 12px; stroke-width: 2.4; }
.i-15 { width: 15px; height: 15px; stroke-width: 2.4; }
.i-16 { width: 16px; height: 16px; }
.i-16.i-bold { stroke-width: 2.4; }
.i-18 { width: 18px; height: 18px; }
.i-18.i-bold { stroke-width: 2.4; }
.i-22 { width: 22px; height: 22px; }

.oh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--control-h);
    padding: 0 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    background: var(--action-primary-bg);
    color: var(--action-primary-text);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-align: center;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease-standard),
                background var(--dur-fast) var(--ease-standard);
}

.oh-btn:hover {
    color: var(--action-primary-text);
    background: var(--action-primary-pressed);
}

.oh-btn:active {
    transform: scale(.98);
    background: var(--action-primary-pressed);
}

.oh-btn .i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.oh-btn--sm {
    height: var(--control-h-sm);
    padding: 0 18px;
    font-size: 14px;
}

.oh-btn--sm .i {
    width: 16px;
    height: 16px;
}

.oh-btn--secondary {
    background: transparent;
    color: var(--text-body);
    border: 1.5px solid var(--line-2);
}

.oh-btn--secondary:hover,
.oh-btn--secondary:active {
    background: var(--paper-deep);
    color: var(--text-body);
}

.oh-btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.oh-btn--ghost:hover,
.oh-btn--ghost:active {
    background: var(--paper-deep);
    color: var(--text-muted);
}

.oh-btn--full {
    width: 100%;
}

.oh-card {
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-e1);
    min-width: 0;
    padding: 16px;
}

.oh-card--tint {
    background: var(--surface-tint);
}

.oh-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line-2);
    background: var(--surface);
    color: var(--text-body);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
}

.oh-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    background: var(--bg-sunken);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--ls-label);
    white-space: nowrap;
}

.oh-badge--gold {
    background: var(--accent-tint);
    color: var(--gold-900);
}

.overline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--ls-overline);
    text-transform: uppercase;
    color: var(--gold-700);
}

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg-app);
    border-bottom: 1px solid var(--border-card);
}

.site-header .wrap {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.4vw, 32px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: var(--text-heading);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.brand:hover {
    color: var(--text-heading);
}

.mark {
    width: 30px;
    height: 30px;
    flex: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14.5px;
    font-weight: 500;
}

.site-nav a {
    color: var(--text-muted);
}

.site-nav a:hover {
    color: var(--text-heading);
}

/* Mobile disclosure — the prototype simply hid the nav below 900px with no
   replacement, which loses every link on a phone. <details> gives us a
   keyboard-accessible menu with no JavaScript. */
.nav-menu {
    display: none;
    position: relative;
}

.nav-menu > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line-2);
    color: var(--text-body);
    cursor: pointer;
    list-style: none;
}

.nav-menu > summary::-webkit-details-marker {
    display: none;
}

.nav-menu[open] > summary .i-menu { display: none; }
.nav-menu:not([open]) > summary .i-close { display: none; }

.nav-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 208px;
    display: grid;
    gap: 2px;
    padding: 8px;
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-e2);
}

.nav-menu-panel a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-body);
    font-size: 15px;
    font-weight: 500;
}

.nav-menu-panel a:hover {
    background: var(--paper-deep);
    color: var(--text-body);
}

/* ------------------------------------------------------------------ hero */

.hero {
    padding-top: clamp(40px, 6vw, 78px);
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(34px, 4vw, 56px);
    align-items: center;
    justify-content: center;
}

.hero-copy {
    flex: 1 1 380px;
    display: grid;
    gap: 22px;
    justify-items: start;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(46px, 5.6vw, 74px);
    line-height: 1.02;
    letter-spacing: -.025em;
    text-wrap: pretty;
}

.hero-lead {
    font-size: 19px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
    max-width: 520px;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 6px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-faint);
}

.hero-device {
    position: relative;
    flex: 0 1 384px;
    display: flex;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    inset: -14% -22%;
    background: radial-gradient(circle at 50% 42%, var(--gold-100), transparent 68%);
    opacity: .9;
    pointer-events: none;
}

/* Device frame — geometry from the design, with the inner window sized to the
   real screenshot aspect (681×1518 → 0.4486) so nothing is stretched. */
.device {
    position: relative;
    box-sizing: border-box;
    background: linear-gradient(152deg, #413b31, #0d0b08 46%);
    box-shadow: 0 48px 96px -34px rgba(20, 15, 8, .5),
                0 0 0 2px rgba(255, 255, 255, .05) inset;
    width: 344px;
    height: 740px;
    border-radius: 52px;
    padding: 11px;
}

.device-screen {
    position: relative;
    overflow: hidden;
    background: var(--bg-app);
    width: 322px;
    height: 718px;
    border-radius: 42px;
}

.device-screen img {
    display: block;
    width: 100%;
    height: 100%;
}

.device--sm {
    margin: 0 auto;
    width: 300px;
    height: 644px;
    border-radius: 46px;
    padding: 10px;
    background: linear-gradient(152deg, #4d463a, #17130c 46%);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6),
                0 0 0 2px rgba(255, 255, 255, .06) inset;
}

.device--sm .device-screen {
    width: 280px;
    height: 624px;
    border-radius: 37px;
}

/* ---------------------------------------------------------- trust strip */

.trust {
    padding-top: 44px;
}

.trust-inner {
    border-top: 1px solid var(--border-card);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.trust-inner > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* -------------------------------------------------------------- sections */

.section {
    padding-top: clamp(54px, 7vw, 76px);
}

.section--wide {
    padding-top: clamp(58px, 8vw, 84px);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-head-copy {
    max-width: 640px;
    display: grid;
    gap: 12px;
}

.section-head h2,
.section-lede h2 {
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.02em;
}

.section-head-aside {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    max-width: 330px;
}

/* Pricing's intro sits inside the head column rather than beside it, so it takes
   the column's width instead of the narrow aside measure. */
.section-head-aside--wide {
    max-width: none;
}

.section-lede {
    max-width: 660px;
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.section-lede p {
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* ------------------------------------------------------------ how it works */

.grid-how {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
    gap: 20px;
}

.grid-how .oh-card {
    padding: 26px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: var(--accent-tint);
    color: var(--gold-700);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.feature-icon--focus {
    background: var(--status-focus-tint);
    color: var(--status-focus);
}

.grid-how h3 {
    font-size: 22px;
    letter-spacing: -.015em;
    margin: 0 0 8px;
}

.grid-how p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 14px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ------------------------------------------------------- dark panel (blocked) */

.panel-dark {
    margin-top: clamp(56px, 8vw, 88px);
    background: var(--panel-ink);
}

.panel-dark .wrap {
    padding-top: clamp(54px, 7vw, 76px);
    padding-bottom: clamp(54px, 7vw, 76px);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(38px, 5vw, 64px);
    align-items: center;
    justify-content: center;
}

.panel-dark-copy {
    flex: 1 1 380px;
    display: grid;
    gap: 18px;
    max-width: 560px;
}

.panel-dark .overline {
    color: var(--gold-300);
}

.panel-dark h2 {
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--on-ink-strong);
}

.panel-dark-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--on-ink);
    margin: 0;
}

.steps {
    display: grid;
    gap: 14px;
    padding-top: 6px;
}

.step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gold-300);
    padding-top: 3px;
}

.step-title {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--on-ink-strong);
}

.step-desc {
    font-size: 14.5px;
    color: var(--on-ink-faint);
}

/* ------------------------------------------------------- accountability */

.grid-guards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
    gap: 16px;
}

.grid-guards .oh-card {
    padding: 22px;
}

.guard-level {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-muted);
    margin-bottom: 13px;
}

.guard-level span {
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.grid-guards h3 {
    font-size: 20px;
    margin: 0 0 7px;
}

.grid-guards p {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.note-sunken {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    background: var(--bg-sunken);
    border-radius: 16px;
    padding: 14px 18px;
}

.note-sunken .i {
    margin-top: 1px;
}

/* --------------------------------------------------------------- privacy */

.privacy-card {
    padding: 0;
}

.privacy-inner {
    padding: clamp(22px, 4vw, 44px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
    gap: clamp(26px, 3vw, 48px);
    align-items: center;
}

.privacy-copy {
    display: grid;
    gap: 14px;
}

.privacy-copy .overline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-copy h2 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.1;
    letter-spacing: -.02em;
}

.privacy-copy p {
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--gold-900);
    margin: 0;
    opacity: .85;
}

.privacy-facts {
    display: grid;
    gap: 12px;
}

.fact {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--surface-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 16px 18px;
}

.fact .i {
    color: var(--status-protected);
    margin-top: 2px;
}

.fact-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
}

.fact-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --------------------------------------------------------------- pricing */

.billing-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-sunken);
    border-radius: var(--radius-pill);
}

.billing-toggle button {
    height: 36px;
    padding: 0 18px;
    border: none;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: var(--ls-label);
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-standard);
}

.billing-toggle button[aria-pressed='true'] {
    background: var(--surface-card);
    color: var(--text-heading);
    box-shadow: var(--shadow-e1);
}

.grid-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
    gap: 20px;
    align-items: start;
}

.plan {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.plan--pro {
    border-color: var(--accent-soft);
    box-shadow: 0 8px 28px -14px rgba(124, 83, 0, .28);
}

.plan-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.plan--pro .plan-name {
    color: var(--gold-700);
}

.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 10px 0 4px;
}

.plan-price b {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--text-heading);
}

.plan-period {
    font-size: 15px;
    color: var(--text-muted);
}

.plan-note {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 20px;
}

.plan-features {
    display: grid;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-body);
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.plan-features li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.plan-features .i {
    color: var(--status-protected);
    margin-top: 2px;
}

.plan .oh-btn {
    margin-top: auto;
}

.pricing-aside {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-footnote {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-faint);
    max-width: 720px;
}

/* ------------------------------------------------------------------- faq */

.faq {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(22px, 4vw, 56px);
}

.faq h2 {
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -.02em;
    flex: 1 1 240px;
    max-width: 340px;
}

.faq-list {
    flex: 3 1 420px;
    display: grid;
}

.faq-list details {
    border-top: 1px solid var(--border-card);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--border-card);
}

.faq-list summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-heading);
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary .i {
    transition: transform var(--dur-base) var(--ease-standard);
}

.faq-list details[open] summary .i {
    transform: rotate(180deg);
}

.faq-list p {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 22px;
    max-width: 620px;
}

/* -------------------------------------------------------------- final cta */

.cta {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--panel-ink);
    padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 48px);
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 20px;
}

.cta-glow {
    position: absolute;
    left: 50%;
    top: -40%;
    width: 620px;
    height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(192, 137, 29, .28), transparent 62%);
    pointer-events: none;
}

.cta > *:not(.cta-glow) {
    position: relative;
}

.cta .mark {
    width: 44px;
    height: 44px;
    color: var(--on-ink-strong);
    /* the deeper gold-500 goes muddy on the ink panel */
    --mark-arc: var(--gold-300);
}

.cta h2 {
    font-size: clamp(32px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--on-ink-strong);
    max-width: 620px;
}

.cta p {
    font-size: 17.5px;
    line-height: 1.5;
    color: var(--on-ink);
    margin: 0;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-top: 6px;
}

.cta-actions .oh-btn {
    background: var(--gold-300);
    color: #231E16;
    border-color: transparent;
}

.cta-actions .oh-btn:hover,
.cta-actions .oh-btn:active {
    background: #F0D48C;
    color: #231E16;
}

.cta-actions .oh-btn--ghost {
    background: transparent;
    color: var(--on-ink);
}

.cta-actions .oh-btn--ghost:hover,
.cta-actions .oh-btn--ghost:active {
    background: rgba(247, 242, 233, .1);
    color: var(--on-ink-strong);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
    padding-top: 56px;
    padding-bottom: 48px;
}

.footer-inner {
    border-top: 1px solid var(--border-card);
    padding-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand {
    display: grid;
    gap: 8px;
    max-width: 320px;
}

.footer-brand .brand {
    font-size: 19px;
    gap: 9px;
    margin-right: 0;
}

.footer-brand .mark {
    width: 24px;
    height: 24px;
}

.footer-tagline {
    font-size: 13.5px;
    color: var(--text-faint);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 48px;
    font-size: 14px;
}

.footer-links > nav {
    display: grid;
    gap: 9px;
    align-content: start;
}

.footer-links h2 {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-heading);
}

.footer-legal {
    margin-top: 26px;
    font-size: 12.5px;
    color: var(--text-faint);
}

/* ----------------------------------------------------------- text pages */

.prose {
    max-width: 720px;
    padding-top: clamp(40px, 6vw, 72px);
    padding-bottom: clamp(40px, 6vw, 72px);
}

.prose h1 {
    font-size: clamp(36px, 4.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}

.prose h2 {
    font-size: 24px;
    margin: 36px 0 10px;
}

.prose p,
.prose li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.prose .lead {
    font-size: 18.5px;
    line-height: 1.55;
}

.prose ul {
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.prose-actions {
    margin-top: 28px;
}

.prose .oh-card {
    padding: 22px 24px;
    margin-top: 20px;
}

.prose .oh-card p:first-child {
    margin-top: 0;
}

.prose .oh-card p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 899px) {
    .site-nav {
        display: none;
    }

    .nav-menu {
        display: block;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero-actions .oh-btn,
    .cta-actions .oh-btn {
        width: 100%;
    }

    .section-head {
        align-items: flex-start;
    }
}

/* The device frames are fixed-width by design; scale them down rather than
   letting them force a horizontal scrollbar on narrow screens. */
@media (max-width: 420px) {
    .device {
        zoom: .84;
    }

    .device--sm {
        zoom: .88;
    }
}
