/* Borage landing — 2026 design system.
   Tokens first; every surface, line and accent reads from them so light and dark stay in step. */

:root {
    --bg: #fafaf9;
    --bg-tint: #f3f3f6;
    --surface: #ffffff;
    --surface-2: #f5f5f4;
    --surface-3: #eeeeec;
    --ink: #0d0f14;
    --ink-2: #353a45;
    --muted: #6a6f7b;
    --faint: #9a9ea8;
    --on-ink: #ffffff;
    --line: rgba(13, 15, 20, 0.08);
    --line-strong: rgba(13, 15, 20, 0.16);
    --accent: #4b5cf0;
    --accent-strong: #3343d0;
    --accent-soft: #eef0ff;
    --accent-2: #9a6bff;
    --mint: #12a37a;
    --mint-soft: #e5f6ef;
    --amber: #b7791f;
    --amber-soft: #fbf3e4;
        --shadow-sm: 0 1px 2px rgba(13, 15, 20, 0.05), 0 1px 1px rgba(13, 15, 20, 0.03);
    --shadow-md: 0 1px 2px rgba(13, 15, 20, 0.04), 0 8px 24px -8px rgba(13, 15, 20, 0.10);
    --shadow-lg: 0 2px 4px rgba(13, 15, 20, 0.04), 0 24px 64px -20px rgba(31, 38, 92, 0.22), 0 48px 120px -48px rgba(75, 92, 240, 0.25);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --sans: "Inter Variable", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --display: "Inter Display", "Inter Variable", "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --page: min(1200px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body.landing-body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    font-feature-settings: "cv11", "ss01", "ss03";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

.landing-body button,
.landing-body a,
.landing-body textarea { font: inherit; }
.landing-body a { color: inherit; }
.landing-body button { color: inherit; cursor: pointer; }
.landing-body h1,
.landing-body h2,
.landing-body h3 { font-family: var(--display); text-wrap: balance; }
.landing-body p { text-wrap: pretty; }
.landing-body ::selection { background: var(--accent); color: #fff; }

.landing-body :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-ink);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.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;
}

/* Audience visibility */
.audience-professional-only { display: none; }
.landing-body[data-audience="professional"] .audience-buyer-only { display: none; }
.landing-body[data-audience="professional"] .audience-professional-only { display: block; }

/* ---------- Header ---------- */

.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 16px 0;
}

.header-bar,
.landing-header.legal-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    width: min(1200px, 100%);
    min-height: 56px;
    margin: 0 auto;
    padding: 8px 8px 8px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.landing-header.is-stuck .header-bar,
.landing-header.legal-header {
    background: color-mix(in srgb, var(--surface) 76%, transparent);
    border-color: var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px) saturate(170%);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.landing-header.legal-header {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin-top: 12px;
}

.landing-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-flower {
    width: 26px;
    height: 26px;
    overflow: visible;
    fill: var(--accent);
}
.brand-flower circle { fill: var(--accent-2); }

.landing-nav {
    display: flex;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
}

.landing-nav a {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    transition: color 150ms ease, background 150ms ease;
}
.landing-nav a:hover { color: var(--ink); background: var(--surface-2); }

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 550;
}

.text-link {
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink-2);
}
.text-link:hover { background: var(--surface-2); }
.workspace-entry { position: relative; }
.workspace-entry summary { cursor: pointer; list-style: none; }
.workspace-entry summary::-webkit-details-marker { display: none; }
.workspace-entry-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; width: 220px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-md); }
.workspace-entry-menu a { display: block; padding: 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.workspace-entry-menu a:hover, .workspace-entry-menu a:focus-visible { background: var(--surface-2); }

.small-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-ink) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.small-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ---------- Shared type ---------- */

.landing-body main > section { width: var(--page); margin: 0 auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 6px 12px 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 550;
    letter-spacing: -0.005em;
}
.eyebrow b { font-weight: inherit; }

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.eyebrow.light {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    box-shadow: none;
}

.section-heading h2,
.offer-copy h2,
.chat-continuity-copy h2,
.professional-copy h2,
.faq-heading h2 {
    margin: 0;
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -0.042em;
}

.section-heading p,
.offer-copy > p,
.chat-continuity-copy > p,
.professional-copy > p,
.faq-heading p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.section-heading.centered {
    max-width: 940px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-heading.centered p { max-width: 620px; margin-inline: auto; }

.section-heading.split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 48px;
}
.section-heading.split > p { margin: 0; max-width: 460px; justify-self: end; }

/* ---------- Hero ---------- */

.landing-hero {
    position: relative;
    padding: 48px 0 24px;
    isolation: isolate;
}

.hero-aurora {
    position: absolute;
    inset: -140px -30vw 30% -30vw;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
    mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.hero-aurora::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--line-strong) 1px, transparent 0);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 50% 60% at 50% 30%, #000 20%, transparent 75%);
    opacity: 0.55;
}

.hero-aurora i {
    position: absolute;
    width: 46vw;
    max-width: 720px;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.24;
    animation: aurora-drift 22s ease-in-out infinite alternate;
}
.hero-aurora i:nth-child(1) { top: 4%; left: 22%; background: var(--accent); }
.hero-aurora i:nth-child(2) { top: 14%; right: 20%; background: var(--accent-2); animation-delay: -7s; opacity: 0.2; }
.hero-aurora i:nth-child(3) { top: 34%; left: 42%; width: 30vw; background: #5fd4ff; animation-delay: -14s; opacity: 0.14; }

@keyframes aurora-drift {
    from { transform: translate3d(-4%, -2%, 0) scale(1); }
    to { transform: translate3d(5%, 4%, 0) scale(1.12); }
}

.hero-copy {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}
.hero-copy > * { animation: hero-in 800ms var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 60ms; }
.hero-copy > :nth-child(3) { animation-delay: 120ms; }
.hero-copy > :nth-child(4) { animation-delay: 180ms; }
.hero-copy > :nth-child(n + 5) { animation-delay: 240ms; }

@keyframes hero-in {
    from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: none; }
}

.audience-switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.audience-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 7px;
    margin: 0;
    color: var(--ink-2);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.assistant-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1.5px solid var(--line-strong);
    transition: border-color 150ms ease;
}
.assistant-link:hover { border-color: var(--ink); }
.assistant-soon {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}
.assistant-icon { width: 18px; height: 18px; fill: #d97757; }

.audience-switcher > div {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.audience-switcher button {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-2);
    transition: background 200ms var(--ease), color 200ms var(--ease);
}
.audience-switcher button strong { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.audience-switcher button span { color: var(--muted); font-size: 14px; transition: color 200ms var(--ease); }
.audience-switcher button:hover { background: var(--surface-2); }
.audience-switcher button.is-active { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-sm); }
.audience-switcher button.is-active span { color: color-mix(in srgb, var(--on-ink) 66%, transparent); }


.hero-copy h1 {
    margin: 22px 0 0;
    font-size: clamp(46px, 6.6vw, 88px);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.052em;
}

.hero-copy h1 em,
.professional-copy h2 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 70%, #e58ad1 110%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-copy h1 em { white-space: nowrap; }

.hero-lede {
    max-width: 640px;
    margin: 26px auto 0;
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.primary-cta,
.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.primary-cta {
    background: var(--ink);
    color: var(--on-ink) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 30px -10px rgba(75, 92, 240, 0.55);
}
.primary-cta:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 16px 40px -12px rgba(75, 92, 240, 0.7); }

.secondary-cta {
    border: 1px solid var(--line-strong);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    backdrop-filter: blur(10px);
}
.secondary-cta:hover { background: var(--surface); transform: translateY(-1px); }

.hero-reassurance { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

.hero-chat-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 5px 14px 5px 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: border-color 160ms ease, transform 160ms var(--ease);
}
.hero-chat-link:hover { border-color: var(--accent); transform: translateY(-1px); }

.chip-new {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 650;
}

/* ---------- Project desk (hero product window) ---------- */

.project-desk {
    max-width: 1140px;
    margin: 64px auto 0;
}

.desk-overline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 6px 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.desk-example {
    padding: 4px 10px;
    border: 1px dashed var(--line-strong);
    border-radius: 999px;
    font-size: 12px;
}

.desk-window {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.desk-window::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 45%, transparent), transparent 35%, transparent 65%, color-mix(in srgb, var(--accent-2) 40%, transparent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.desk-window-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-2);
    font-size: 13px;
}
.desk-window-header strong { color: var(--ink-2); font-weight: 550; }
.desk-count { justify-self: end; color: var(--muted); font-family: var(--mono); font-size: 12px; }

.window-dots { display: inline-flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }

.desk-artifact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    min-height: 430px;
}
.desk-artifact.is-entering .desk-record > *,
.desk-artifact.is-entering .desk-origin > * { animation: desk-enter 520ms var(--ease) both; }
.desk-artifact.is-entering .desk-record > :nth-child(2) { animation-delay: 40ms; }
.desk-artifact.is-entering .desk-record > :nth-child(3) { animation-delay: 80ms; }
.desk-artifact.is-entering .desk-record > :nth-child(4) { animation-delay: 120ms; }

@keyframes desk-enter {
    from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

.desk-origin {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px;
    border-right: 1px solid var(--line);
    background:
        radial-gradient(120% 80% at 0% 0%, var(--accent-soft), transparent 60%),
        var(--surface);
}

.desk-label,
.desk-stage {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.desk-origin blockquote {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(22px, 2.3vw, 28px);
    font-weight: 550;
    line-height: 1.2;
    letter-spacing: -0.028em;
}

.desk-film,
.desk-outcome {
    position: relative;
    flex: 1;
    min-height: 200px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface-3);
}
.desk-film[hidden], .desk-outcome[hidden] { display: none; }

.desk-film video,
.desk-outcome img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.desk-film video {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 700ms var(--ease), transform 1400ms var(--ease);
}
.desk-film video.is-active { opacity: 1; transform: none; }
.desk-outcome:not([hidden]) img { animation: outcome-in 700ms var(--ease) both; }
@keyframes outcome-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.format-chips {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.format-chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: end;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-md);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 550;
    backdrop-filter: blur(8px);
    animation: chip-in 600ms var(--ease) both, chip-float 6s ease-in-out 700ms infinite;
}
.format-chips li:nth-child(2) { animation-delay: 120ms, 1.4s; }
.format-chips li:nth-child(3) { animation-delay: 240ms, 2.1s; }
.format-chips b {
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-family: var(--mono);
    font-size: 11px;
}
.format-chips li:nth-child(3) { padding-left: 6px; }
@keyframes chip-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes chip-float { 50% { transform: translateY(-3px); } }
.desk-outcome { background: linear-gradient(160deg, #f7f5f0, #eceae4); }
.desk-outcome img { object-fit: contain; padding: 16px 16px 40px; }

.desk-film-caption,
.desk-outcome figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 550;
    backdrop-filter: blur(8px);
}

.desk-film button {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0d0f14;
    font-size: 12px;
    font-weight: 600;
}

.desk-record {
    display: flex;
    flex-direction: column;
    padding: 36px 36px 32px;
}

.desk-record h2 {
    margin: 18px 0 10px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -0.038em;
}

.desk-record > p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.desk-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: auto 0 0;
    padding-top: 28px;
}

.desk-facts div {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
}

.desk-facts dt { color: var(--muted); font-size: 12px; font-weight: 500; }
.desk-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }

.desk-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}

.desk-steps button {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 20px 22px 18px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    text-align: left;
    transition: color 180ms ease, background 180ms ease;
}
.desk-steps button:last-child { border-right: 0; }
.desk-steps button:hover { color: var(--ink); background: var(--surface); }
.desk-steps button small { font-family: var(--mono); font-size: 11.5px; }
.desk-steps button span { font-size: 14px; font-weight: 600; }
.desk-steps button[aria-current="step"] { color: var(--ink); background: var(--surface); }

.step-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    overflow: hidden;
}

.step-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
}

.desk-steps button[aria-current="step"] .step-bar::after,
.desk-steps button:has(~ button[aria-current="step"]) .step-bar::after { transform: scaleX(1); }

.project-desk.is-autoplay .desk-steps button[aria-current="step"] .step-bar::after { animation: step-fill var(--journey-ms, 3600ms) linear both; }

@keyframes step-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Proof line ---------- */

.proof-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 40px auto 0;
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 550;
}

.proof-line span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.proof-line span::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.3 2.3 2.3 4.7-5' fill='none' stroke='%2312a37a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat,
        var(--mint-soft);
}

.project-marquee {
    max-width: 900px;
    margin: 28px auto 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.project-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; }
.marquee-track li {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cup story film ---------- */

.story-film { padding: 140px 0 0; }
.story-film .section-heading h2 em { font-style: normal; background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 75%, #e58ad1 115%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.film-player {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}
.film-player video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg); }
.film-player.is-portrait { max-width: 420px; }
.film-player.is-portrait video { aspect-ratio: 9 / 16; }
.film-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}
.film-bar figcaption { color: var(--muted); font-size: 13px; font-weight: 500; }
.film-controls { display: flex; gap: 8px; flex: none; }
.film-toggle,
.film-sound {
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.film-toggle:hover, .film-sound:hover { border-color: var(--line-strong); }
.film-sound { display: inline-flex; align-items: center; gap: 8px; }
.film-sound::before {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M16 9a4 4 0 0 1 0 6M19 6a8 8 0 0 1 0 12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M16 9a4 4 0 0 1 0 6M19 6a8 8 0 0 1 0 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.film-sound[aria-pressed="false"] { background: var(--ink); color: var(--on-ink); border-color: transparent; }

.film-chapters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.film-chapters button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.film-chapters button small {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface-2);
    font-family: var(--mono);
    font-size: 11.5px;
}
.film-chapters button:hover { color: var(--ink); border-color: var(--line-strong); }
.film-chapters button[aria-current="true"] { color: var(--accent-strong); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--accent-soft); }
.film-chapters button[aria-current="true"] small { background: #fff; color: var(--accent-strong); }

/* ---------- Work removed ---------- */

.work-removed { padding: 140px 0 40px; }

.friction-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    gap: 20px;
}

.friction-column {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.professional-benefit {
    border-color: color-mix(in srgb, var(--mint) 30%, var(--line));
    background:
        radial-gradient(100% 60% at 100% 0%, var(--mint-soft), transparent 70%),
        var(--surface);
}

.friction-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
}

.friction-heading small { color: var(--muted); font-size: 13px; font-weight: 500; }
.friction-heading h3 { margin: 2px 0 0; font-size: 19px; font-weight: 650; line-height: 1.25; letter-spacing: -0.02em; }

.person-dot {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}
.buyer-dot { background: var(--accent-soft); color: var(--accent-strong); }
.professional-dot { background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); }
.benefit-dot { background: var(--mint-soft); color: var(--mint); }

.friction-list,
.benefit-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.friction-list li,
.benefit-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
}

.friction-list span,
.benefit-list span { color: var(--faint); font-family: var(--mono); font-size: 11.5px; }

.friction-list p,
.benefit-list p {
    position: relative;
    justify-self: start;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    transition: color 360ms ease;
}

.friction-list p::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    top: 52%;
    height: 1.5px;
    border-radius: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 420ms var(--ease);
}

.friction-list i,
.benefit-list i {
    padding: 3px 9px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11px;
    font-style: normal;
}

.friction-list i {
    background: var(--surface-2);
    color: var(--muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 300ms ease 120ms, transform 300ms var(--ease) 120ms;
}

.benefit-list i { background: var(--mint-soft); color: var(--mint); }

.friction-list li.is-removed p { color: var(--faint); }
.friction-list li.is-removed p::after { transform: scaleX(1); background: var(--faint); }
.friction-list li.is-removed i { opacity: 1; transform: none; }

.managed-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11.5px;
}

.rail-line {
    position: relative;
    flex: 1;
    width: 2px;
    min-height: 40px;
    border-radius: 2px;
    background: var(--line);
    overflow: hidden;
}

.rail-line i {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    animation: rail-flow 2.8s linear infinite;
}

@keyframes rail-flow { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.rail-badge {
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 112px;
    padding: 18px 10px;
    border-radius: 20px;
    background: var(--ink);
    color: var(--on-ink);
    box-shadow: 0 16px 40px -14px rgba(75, 92, 240, 0.6);
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}
.rail-badge svg { width: 26px; height: 26px; fill: var(--accent); }

.replay-friction {
    position: absolute;
    right: 0;
    bottom: -46px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 550;
}
.replay-friction:hover { color: var(--ink); border-color: var(--line-strong); }

.resolved-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 76px;
}

.resolved-intro { margin-right: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }

.resolved-path > div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.resolved-path small { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.resolved-path strong { font-size: 14px; font-weight: 600; }
.resolved-path > i { color: var(--faint); font-style: normal; }
.resolved-path .resolved-final { border-color: transparent; background: var(--ink); color: var(--on-ink); }
.resolved-path .resolved-final small { color: color-mix(in srgb, var(--on-ink) 60%, transparent); }

/* ---------- Process ---------- */

.simple-process { padding: 140px 0 40px; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.process-grid article {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms ease;
}
.process-grid article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.process-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }

.process-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
}
.process-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--accent-strong);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.process-number { color: var(--faint); font-family: var(--mono); font-size: 12px; }
.process-grid h3 { margin: 0 0 10px; font-size: 24px; font-weight: 650; letter-spacing: -0.03em; }
.process-grid p { margin: 0 0 28px; color: var(--muted); font-size: 15.5px; }
.process-grid small {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line-strong);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 550;
}

/* ---------- Project studio (composer) ---------- */

.project-studio {
    margin-top: 140px !important;
    padding: 88px 56px 64px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
        var(--bg-tint);
}

.studio-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.panel-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
}
.panel-topline span:first-child { color: var(--ink-2); font-weight: 600; }

.composer {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.composer:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-md);
}

.composer textarea {
    display: block;
    width: 100%;
    min-height: 180px;
    padding: 22px 22px 8px;
    border: 0;
    outline: 0;
    resize: vertical;
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.55;
    letter-spacing: -0.01em;
}
.composer textarea:focus-visible { outline: 0; }

.request-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
}

.example-switcher { display: flex; flex-wrap: wrap; gap: 6px; }

.example-switcher button {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 550;
    transition: background 150ms ease, border-color 150ms ease;
}
.example-switcher button:hover { border-color: var(--line-strong); }
.example-switcher button.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }

.scope-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 20px -8px var(--accent);
    transition: transform 160ms var(--ease), background 160ms ease;
}
.scope-button:hover { transform: translateY(-1px); background: var(--accent-strong); }
.scope-button:disabled { opacity: 0.6; cursor: progress; transform: none; }

.studio-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 0 6px;
    color: var(--muted);
    font-size: 14px;
}
.studio-status p { margin: 0; }

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px var(--mint-soft);
}
.studio-shell.is-working .status-pulse { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: status-pulse 800ms ease-in-out infinite alternate; }
@keyframes status-pulse { from { transform: scale(0.8); opacity: 0.6; } to { transform: scale(1.25); opacity: 1; } }

.scope-panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}
.scope-panel > *:not(.panel-topline) { transition: opacity 260ms ease, filter 260ms ease; }
.studio-shell.is-working .scope-panel > *:not(.panel-topline) { opacity: 0.35; filter: blur(1.5px); }

.ready-chip {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    font-size: 12px;
}

.scope-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 8px 0 16px;
}
.scope-title-row small { color: var(--muted); font-size: 12.5px; }
.scope-title-row h3 { margin: 2px 0 0; font-size: 28px; font-weight: 650; letter-spacing: -0.035em; }

.scope-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 12.5px;
    font-weight: 600;
}
.scope-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.scope-facts { margin: 0; }
.scope-facts div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
}
.scope-facts dt { color: var(--muted); font-size: 13.5px; }
.scope-facts dd { margin: 0; font-size: 14.5px; font-weight: 550; }

.scope-question {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--amber) 25%, transparent);
    border-radius: 14px;
    background: var(--amber-soft);
}
.scope-question span { color: var(--amber); font-size: 12.5px; font-weight: 650; }
.scope-question p { margin: 4px 0 0; font-size: 15px; font-weight: 550; }

.confirm-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--on-ink) !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.confirm-summary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.studio-handoff-note { margin: 10px 2px 0; color: var(--muted); font-size: 12.5px; }

/* ---------- Offer ---------- */

.offer-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
    padding: 160px 0 40px;
}

.offer-copy ul {
    display: grid;
    gap: 12px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.offer-copy li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
    font-weight: 550;
}

.offer-copy li span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 12px;
}

.confirmed-offer {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.offer-header { display: flex; justify-content: space-between; align-items: center; }
.offer-header span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--mint-soft);
    color: var(--mint);
    font-size: 13px;
    font-weight: 600;
}
.offer-header span i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 25%, transparent); }
.offer-header small { color: var(--muted); font-family: var(--mono); font-size: 12px; }

.confirmed-offer h3 { margin: 26px 0 20px; font-size: 40px; font-weight: 650; letter-spacing: -0.045em; }

.offer-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.offer-facts div { padding: 14px 16px; border-right: 1px solid var(--line); }
.offer-facts div:last-child { border-right: 0; }
.offer-facts span { display: block; color: var(--muted); font-size: 12.5px; }
.offer-facts strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 650; letter-spacing: -0.015em; }

.offer-proof { margin-top: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface-2); }
.offer-proof span { color: var(--muted); font-size: 12.5px; font-weight: 550; }
.offer-proof p { margin: 4px 0 0; font-size: 14.5px; }

.offer-workspace-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 15px 18px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 28px -12px var(--accent);
    transition: transform 160ms var(--ease), background 160ms ease;
}
.offer-workspace-link:hover { transform: translateY(-1px); background: var(--accent-strong); }
.offer-footnote { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- Connected chat ---------- */

.chat-continuity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
    padding: 160px 0 40px;
}

.chat-continuity-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 6px 12px 6px 10px;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 600;
}
.chat-continuity-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: live-dot 1.8s ease-in-out infinite; }
@keyframes live-dot { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); } }

.chat-points {
    display: grid;
    gap: 2px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}
.chat-points li {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
}
.chat-points b { font-weight: 650; }
.chat-points span { color: var(--muted); }

.chat-continuity-example {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0 / 20px 20px,
        var(--surface-2);
    box-shadow: var(--shadow-lg);
}

.chat-example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px 6px;
    color: var(--muted);
    font-size: 12.5px;
}
.chat-example-header span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.chat-live { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }

.chat-example-question {
    align-self: flex-end;
    max-width: 80%;
    text-align: right;
}
.chat-example-question small { color: var(--muted); font-size: 12px; }
.chat-example-question p {
    margin: 6px 0 0;
    padding: 12px 16px;
    border-radius: 20px 20px 6px 20px;
    background: var(--ink);
    color: var(--on-ink);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
}

.chat-example-record {
    max-width: 88%;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 6px 20px 20px 20px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.chat-example-record-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}
.chat-example-record-top small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }

.chat-example-mark {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.chat-example-record strong { display: block; margin-top: 14px; font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
.chat-example-record > p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }

.chat-example-next {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 14px;
}
.chat-example-next span:first-child { font-size: 12px; opacity: 0.8; }
.chat-example-next b { font-weight: 650; }
.chat-example-next span:last-child { margin-left: auto; }

.chat-example-composer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8px 8px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--faint);
    font-size: 14px;
}
.chat-example-composer i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--on-ink);
    font-style: normal;
    font-size: 14px;
}

/* ---------- Professionals ---------- */

.professional-section { padding-top: 160px; }

.landing-body[data-audience="professional"] .professional-section { padding-top: 140px; }

.professional-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 72px;
    padding: 80px 64px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(60% 70% at 100% 0%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 65%),
        radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 65%),
        var(--surface);
    isolation: isolate;
}

.professional-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
    mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.professional-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-ink) !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px -10px rgba(154, 107, 255, 0.55);
    transition: transform 160ms var(--ease);
}
.professional-cta:hover { transform: translateY(-1px); }

.professional-visual { position: relative; }

.pro-film {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-3);
    box-shadow: var(--shadow-md);
}
.pro-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pro-film figcaption {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 550;
    backdrop-filter: blur(8px);
}

.professional-board {
    position: relative;
    width: 86%;
    margin: -96px 0 0 auto;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
}

.board-header { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.board-header i {
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

.professional-board h3 { margin: 12px 0 14px; font-size: 24px; font-weight: 650; letter-spacing: -0.03em; }

.professional-board dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}
.professional-board dl div { padding: 11px 13px; border-radius: 12px; background: var(--surface-2); }
.professional-board dt { color: var(--muted); font-size: 12px; }
.professional-board dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; }

.professional-promises { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.professional-promises span {
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 12.5px;
}

.professional-queue { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.queue-heading { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13.5px; }
.queue-heading small { color: var(--muted); }
.queue-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.queue-row + .queue-row { border-top: 1px solid var(--line); }
.queue-row em { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 600; }
.queue-row .is-invite { background: var(--accent-soft); color: var(--accent-strong); }
.queue-row .is-progress { background: var(--amber-soft); color: var(--amber); }
.queue-row .is-review { background: var(--mint-soft); color: var(--mint); }

/* ---------- FAQ ---------- */

.faq-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    padding: 160px 0 40px;
}

.faq-heading { align-self: start; position: sticky; top: 110px; }

.faq-professional { display: none; }
.landing-body[data-audience="professional"] .faq-buyer { display: none; }
.landing-body[data-audience="professional"] .faq-professional { display: block; }

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--faint); font-family: var(--mono); font-size: 12px; }
.faq-list summary strong { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }

.faq-list summary i {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-2);
    transition: background 200ms ease, transform 300ms var(--ease);
}
.faq-list summary i::before,
.faq-list summary i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    background: var(--ink);
    transform: translate(-50%, -50%);
}
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 300ms var(--ease); }
.faq-list details[open] summary i { background: var(--accent-soft); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list summary:hover strong { color: var(--accent-strong); }

.faq-list details p { margin: -6px 0 0; padding: 0 32px 24px 48px; color: var(--muted); font-size: 16px; }

/* ---------- Final CTA ---------- */

.final-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
    margin: 160px auto 0 !important;
    padding: 96px 72px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    color: var(--ink);
    isolation: isolate;
}

.final-glow {
    position: absolute;
    inset: -40% -10% auto 20%;
    z-index: -1;
    height: 140%;
    background:
        radial-gradient(40% 40% at 30% 50%, rgba(75, 92, 240, 0.22), transparent 70%),
        radial-gradient(35% 40% at 70% 40%, rgba(154, 107, 255, 0.2), transparent 70%),
        radial-gradient(30% 30% at 55% 70%, rgba(95, 212, 255, 0.16), transparent 70%);
    filter: blur(30px);
    animation: aurora-drift 18s ease-in-out infinite alternate;
}

.final-copy p { margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.final-copy h2 {
    margin: 0;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 650;
    line-height: 0.96;
    letter-spacing: -0.052em;
}

.final-cta > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-ink) !important;
    font-size: 17px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 20px 50px -20px rgba(154, 107, 255, 0.8);
    transition: transform 180ms var(--ease);
}
.final-cta > a:hover { transform: translateY(-2px); }

.final-orbit {
    position: absolute;
    top: -60px;
    right: -60px;
    z-index: -1;
    width: 340px;
    height: 340px;
    animation: orbit-spin 60s linear infinite;
}
.final-orbit svg { width: 100%; height: 100%; fill: color-mix(in srgb, var(--accent) 9%, transparent); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */

.landing-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: start;
    gap: 24px 56px;
    width: var(--page);
    margin: 0 auto;
    padding: 64px 0 48px;
    color: var(--muted);
    font-size: 14px;
}

.footer-brand p { margin: 12px 0 0; }
.footer-wordmark { color: var(--ink); }

.footer-links,
.landing-legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-footer a { text-decoration: none; transition: color 150ms ease; }
.landing-footer a:hover { color: var(--ink); }
.landing-footer > small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); }

/* Legal pages share the header and footer shell. */
.legal-footer { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Reveal ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
    .header-bar { grid-template-columns: auto 1fr; }
    .landing-nav { display: none; }
    .project-studio { padding: 64px 28px 40px; }
    .studio-shell,
    .offer-section,
    .chat-continuity,
    .professional-inner,
    .faq-section { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .faq-heading { position: static; }
    .professional-inner { padding: 56px 36px; }
    .section-heading.split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .section-heading.split > p { justify-self: start; }
}

@media (max-width: 860px) {
    .desk-artifact { grid-template-columns: minmax(0, 1fr); }
    .desk-origin { border-right: 0; border-bottom: 1px solid var(--line); }
    .desk-film, .desk-outcome { min-height: 220px; flex: none; }
    .friction-stage { grid-template-columns: minmax(0, 1fr); }
    .managed-rail { flex-direction: row; padding: 0 8px; }
    .rail-line { width: auto; height: 2px; min-height: 0; }
    .rail-line i { background: linear-gradient(90deg, transparent, var(--accent), transparent); animation-name: rail-flow-x; }
    .rail-badge { grid-auto-flow: column; width: auto; padding: 10px 16px; }
    .process-grid { grid-template-columns: minmax(0, 1fr); }
    .process-top { margin-bottom: 24px; }
    .final-cta { grid-template-columns: minmax(0, 1fr); padding: 64px 32px; }
    .landing-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@keyframes rail-flow-x { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 640px) {
    :root { --page: calc(100% - 32px); }
    .landing-header { padding: 8px 8px 0; }
    .header-bar { gap: 12px; padding: 6px 6px 6px 14px; }
    .header-actions .text-link { padding: 8px; font-size: 13px; white-space: nowrap; }
    .header-actions .small-cta { display: none; }
    .small-cta { padding: 9px 14px; font-size: 13px; }
    .landing-hero { padding-top: 40px; }
    .audience-switcher { margin-bottom: 28px; }
    .audience-switcher > div { width: 100%; }
    .audience-switcher button { flex: 1; justify-content: center; padding: 12px 12px; }
    .audience-switcher button strong { font-size: 17px; }
    .audience-prompt { font-size: 15px; }
    .audience-switcher button span { display: none; }
    .hero-copy h1 { font-size: clamp(40px, 12vw, 56px); }
    .hero-lede { font-size: 17px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .primary-cta, .secondary-cta { justify-content: center; }
    .project-desk { margin-top: 48px; }
    .desk-overline { font-size: 12px; }
    .desk-window-header { grid-template-columns: auto 1fr auto; gap: 12px; }
    .desk-origin, .desk-record { padding: 22px; }
    .desk-facts { grid-template-columns: minmax(0, 1fr); }
    .desk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .desk-steps button { padding: 14px 14px 12px; }
    .desk-steps button:nth-child(2) { border-right: 0; }
    .desk-steps button:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .proof-line { justify-content: flex-start; gap: 10px 18px; }
    .work-removed, .simple-process { padding-top: 96px; }
    .story-film { padding-top: 96px; }
    .film-player { border-radius: var(--radius-lg); }
    .film-bar { padding: 10px 12px; }
    .film-bar figcaption { font-size: 11.5px; }
    .film-toggle, .film-sound { padding: 6px 11px; font-size: 12px; }
    .film-chapters { justify-content: flex-start; }
    .eyebrow { border-radius: 14px; }
    .hero-chat-link { font-size: 12.5px; text-align: left; }
    .friction-column { padding: 20px; }
    .replay-friction { position: static; justify-self: end; }
    .resolved-path { justify-content: flex-start; margin-top: 32px; }
    .resolved-path > i { display: none; }
    .project-studio { margin-top: 96px !important; padding: 48px 16px 24px; border-radius: var(--radius-lg); }
    .composer textarea { font-size: 16px; }
    .scope-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .offer-section, .chat-continuity, .faq-section { padding-top: 112px; }
    .confirmed-offer { padding: 20px; }
    .confirmed-offer h3 { font-size: 32px; }
    .offer-facts { grid-template-columns: minmax(0, 1fr); }
    .offer-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
    .offer-facts div:last-child { border-bottom: 0; }
    .chat-points li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .chat-continuity-example { padding: 14px; }
    .professional-section { padding-top: 112px; }
    .professional-inner { padding: 40px 20px; border-radius: var(--radius-lg); }
    .professional-board { width: 100%; margin-top: -28px; padding: 18px; }
    .format-chips { top: 10px; right: 10px; gap: 6px; }
    .faq-list summary strong { font-size: 16px; }
    .faq-list details p { padding: 0 0 20px 48px; }
    .final-cta { margin-top: 112px !important; padding: 48px 24px; border-radius: var(--radius-lg); }
    .final-cta > a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
