:root {
    --ink: #0F1419;
    --ink-soft: #374151;
    --wheat: #C8902F;
    --wheat-soft: #F5E9D0;
    --paper: #FAF6EE;
    --stone: #6B6B6B;
    --mist: #E8E6E0;
    --white: #FFFFFF;
    --earth: #3D2817;
    --line: #E6DAC4;
    --success: #1F6A4B;
    --danger: #9A2D2D;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-shell {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 64px;
}

/* ---------- Top navigation ---------- */

.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 32px;
}

.wordmark {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
}

.topnav-links {
    display: flex;
    gap: 24px;
}

.topnav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.topnav-links a:hover {
    color: var(--wheat);
}

/* ---------- Typography defaults ---------- */

h1, h2, h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.08;
    margin-bottom: 20px;
    max-width: 22ch;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 18px;
    max-width: 26ch;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 10px;
}

.eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wheat);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 18px;
}

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

.hero {
    padding: 48px 0 96px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 64px;
}

.hero-copy {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 28px;
}

.hero-positioning {
    font-family: "Fraunces", Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--ink);
    background: var(--wheat-soft);
    border-left: 3px solid var(--wheat);
    padding: 14px 18px;
    max-width: 56ch;
    margin-bottom: 32px;
    line-height: 1.5;
}

.primary-btn {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    padding: 13px 24px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 20, 25, 0.18);
}

.hero-doors {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.door {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 14px 22px;
    border-radius: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.door-primary {
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
}

.door-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 20, 25, 0.18);
}

.door-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.door-secondary:hover {
    transform: translateY(-1px);
    background: var(--ink);
    color: var(--paper);
}

.door span[aria-hidden="true"] {
    font-weight: 500;
    transition: transform 0.15s ease;
}

.door:hover span[aria-hidden="true"] {
    transform: translateX(2px);
}

.hero-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--stone);
    max-width: 56ch;
}

/* ---------- Main + sections ---------- */

main {
    display: grid;
    gap: 96px;
}

section {
    scroll-margin-top: 24px;
}

.section-copy {
    font-size: 1.05rem;
    color: var(--ink-soft);
    max-width: 62ch;
    margin-bottom: 32px;
}

.section-note {
    font-size: 0.95rem;
    color: var(--stone);
    margin-top: 28px;
    max-width: 62ch;
    font-style: italic;
}

/* ---------- Two-col problem section ---------- */

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.col {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
}

.col h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.col > p {
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.examples {
    list-style: none;
    margin-bottom: 20px;
}

.examples li {
    color: var(--ink-soft);
    font-size: 0.95rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--mist);
}

.examples li:last-child {
    border-bottom: none;
}

.col-tag {
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

/* ---------- Approach + tier table ---------- */

.tier-table {
    display: grid;
    gap: 12px;
}

.tier {
    display: grid;
    grid-template-columns: 220px 220px 1fr;
    gap: 24px;
    align-items: start;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.tier-label {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
}

.tier-eg {
    font-family: "JetBrains Mono", "Menlo", monospace;
    font-size: 0.88rem;
    color: var(--stone);
}

.tier-fail {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.tier-highlight {
    background: var(--wheat-soft);
    border-color: var(--wheat);
}

.tier-highlight .tier-label,
.tier-highlight .tier-fail {
    color: var(--earth);
}

.tier-highlight .tier-eg {
    color: var(--earth);
    font-weight: 500;
}

/* ---------- Audience cards (use .two-col grid) ---------- */

.col.actor h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.col.actor p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    margin-bottom: 0;
}

/* ---------- Oath ---------- */

.oath-list {
    list-style: none;
    counter-reset: oath-counter;
    display: grid;
    gap: 14px;
    max-width: 72ch;
}

.oath-list li {
    counter-increment: oath-counter;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 28px 22px 64px;
    position: relative;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
}

.oath-list li::before {
    content: counter(oath-counter);
    position: absolute;
    left: 22px;
    top: 22px;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--wheat);
    line-height: 1;
}

.oath-list li strong {
    color: var(--ink);
    font-weight: 600;
}

/* ---------- How it works flow ---------- */

.flow {
    list-style: none;
    display: grid;
    gap: 16px;
    max-width: 72ch;
}

.flow li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px 28px;
}

.flow-num {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--wheat);
    line-height: 1;
    text-align: center;
}

.flow h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.flow p {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

/* ---------- Pricing ---------- */

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.pricing-table thead {
    background: var(--mist);
}

.pricing-table th,
.pricing-table td {
    text-align: left;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 0.96rem;
}

.pricing-table th {
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.pricing-table td {
    color: var(--ink-soft);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.mono {
    font-family: "JetBrains Mono", "Menlo", monospace;
    font-size: 0.95em;
    color: var(--ink);
    font-weight: 500;
}

.math {
    display: grid;
    gap: 16px;
    max-width: 62ch;
}

.math p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.math strong {
    color: var(--ink);
}

/* ---------- Waitlist form ---------- */

.waitlist {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 48px;
}

form {
    display: grid;
    gap: 12px;
    max-width: 480px;
    margin-top: 12px;
}

label {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: -6px;
}

input,
select,
button {
    font: inherit;
}

input,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--paper);
    font-size: 0.98rem;
    transition: border-color 0.15s ease, outline-color 0.15s ease;
}

input:focus,
select:focus {
    outline: 2px solid rgba(200, 144, 47, 0.3);
    outline-offset: 0;
    border-color: var(--wheat);
}

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

button[type="submit"] {
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    color: var(--paper);
    padding: 14px 18px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.98rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button[type="submit"]:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 20, 25, 0.18);
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 4px;
    font-size: 0.92rem;
    color: var(--success);
    min-height: 1.4em;
}

.form-message.error {
    color: var(--danger);
}

/* ---------- Closing ---------- */

.closing {
    background: var(--earth);
    color: var(--paper);
    border-radius: 16px;
    padding: 64px 48px;
    text-align: left;
}

.closing h2 {
    color: var(--paper);
    max-width: 24ch;
}

.closing p {
    color: var(--mist);
    font-size: 1.1rem;
    max-width: 60ch;
    line-height: 1.55;
}

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

footer {
    margin-top: 64px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--stone);
}

.footer-wordmark {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

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

.footer-meta {
    font-size: 0.88rem;
    color: var(--stone);
}

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

@media (max-width: 900px) {
    .page-shell {
        width: calc(100% - 32px);
    }

    .topnav-links {
        display: none;
    }

    .hero {
        padding: 32px 0 64px;
    }

    main {
        gap: 64px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .hero-doors {
        flex-direction: column;
        align-items: stretch;
    }

    .door {
        justify-content: space-between;
    }

    .tier {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .col,
    .actor,
    .waitlist,
    .closing {
        padding: 28px;
    }

    .closing {
        padding: 40px 28px;
    }

    .oath-list li {
        padding: 22px 22px 22px 56px;
    }

    .flow li {
        grid-template-columns: 36px 1fr;
        gap: 14px;
        padding: 20px;
    }

    .flow-num {
        font-size: 1.3rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 540px) {
    .page-shell {
        width: calc(100% - 24px);
        padding: 16px 0 40px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-positioning {
        font-size: 0.98rem;
        padding: 12px 14px;
    }
}

/* ---------- Demonstration snapshots ---------- */

.snapshots {
    display: grid;
    gap: 16px;
}

.snapshot {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px 28px;
}

.snapshot-label {
    font-family: "JetBrains Mono", "Menlo", monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stone);
    margin-bottom: 14px;
}

.snapshot-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid var(--mist);
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.snapshot-row:last-of-type {
    border-bottom: none;
}

.snapshot-row strong {
    color: var(--ink);
    font-weight: 600;
}

.snapshot-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--stone);
    font-style: italic;
}

.brief-line {
    color: var(--ink-soft);
    font-size: 0.97rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.brief-line:last-of-type {
    margin-bottom: 0;
}

.brief-line strong {
    color: var(--ink);
    font-weight: 600;
}

/* ---------- Facts list (pricing wedge) ---------- */

.facts {
    list-style: none;
    display: grid;
    gap: 14px;
    max-width: 64ch;
}

.facts li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.55;
}

.facts li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--wheat);
    font-weight: 600;
}

.facts strong {
    color: var(--ink);
    font-weight: 600;
}

/* ---------- Inline CTA block ---------- */

.cta-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 44px;
}

.cta-block h2 {
    margin-bottom: 12px;
}

.cta-sub {
    color: var(--ink-soft);
    max-width: 56ch;
    margin-bottom: 26px;
}

.cta-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.cta-aside {
    font-size: 0.9rem;
    color: var(--stone);
    max-width: 40ch;
}

.table-spaced {
    margin-top: 32px;
}

/* ---------- Responsive (snapshots / cta) ---------- */

@media (max-width: 540px) {
    .snapshot-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .cta-block {
        padding: 28px;
    }
}

/* ---------- Three-up route cards (home) ---------- */

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

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.card-link span {
    transition: transform 0.15s ease;
}

.card-link:hover {
    color: var(--wheat);
}

.card-link:hover span {
    transform: translateX(2px);
}

.door-tertiary {
    background: transparent;
    border: none;
    color: var(--ink-soft);
    padding: 14px 4px;
    font-weight: 500;
}

.door-tertiary:hover {
    color: var(--wheat);
    transform: none;
    box-shadow: none;
}

@media (max-width: 900px) {
    .three-col {
        grid-template-columns: 1fr;
    }
}

/* ---------- Capability tiles ---------- */

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

.tile {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 24px;
}

.tile h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.tile p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: 0;
}

/* ---------- Demo slot (video placeholder) ---------- */

.demo-slot {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: var(--earth);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    margin-bottom: 28px;
    overflow: hidden;
}

.demo-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.demo-play::before {
    content: "";
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent var(--paper);
    margin-left: 4px;
}

.demo-label {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.15rem;
    color: var(--paper);
    margin-bottom: 6px;
}

.demo-slot p {
    color: var(--mist);
    font-size: 0.95rem;
    max-width: 44ch;
    margin: 0;
}

@media (max-width: 900px) {
    .tiles {
        grid-template-columns: 1fr;
    }
}

/* ---------- FAQ (native accordion) ---------- */

.faq {
    max-width: 72ch;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
}

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

.faq details:last-child {
    border-bottom: none;
}

.faq summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    color: var(--ink);
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.faq summary::after {
    content: "+";
    color: var(--wheat);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    content: "\2013";
}

.faq details p {
    padding: 0 24px 22px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.96rem;
    max-width: none;
}

.comp-me {
    color: var(--ink);
    font-weight: 600;
}

.io-query {
    font-family: "Fraunces", Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 14px;
}

/* ============================================================
   "Agent" design language — bold editorial (the live look)
   ============================================================ */

body { overflow-x: hidden; }

.v3-kicker { font-family: "JetBrains Mono","Menlo",monospace; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--wheat); margin-bottom: 20px; }
.v3-btn { display:inline-flex; align-items:center; gap:10px; background:var(--ink); color:var(--paper); text-decoration:none; font-weight:600; font-size:1.02rem; padding:16px 28px; border-radius:10px; transition: transform .15s ease, box-shadow .15s ease; }
.v3-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,20,25,0.20); }
.v3-btn span { transition: transform .15s ease; }
.v3-btn:hover span { transform: translateX(3px); }
.v3-note { margin-top:18px; font-size:0.9rem; color:var(--stone); }
.v3-note a { color: var(--wheat); text-decoration:none; }
.v3-lede { font-family:"Fraunces",Georgia,serif; font-size:clamp(1.2rem,2.1vw,1.6rem); line-height:1.45; color:var(--ink-soft); max-width:44ch; margin-bottom:32px; }

.v3-hero { display:grid; grid-template-columns:1.8fr 0.8fr; align-items:start; gap:32px; padding:40px 0 96px; border-bottom:1px solid var(--line); }
.v3-h1 { font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:clamp(2.4rem,5.5vw,4.2rem); line-height:1.02; letter-spacing:-0.03em; color:var(--ink); margin:0 0 28px; }
.v3-h1-accent { color: var(--wheat); }
.v3-hero-art { display:flex; justify-content:center; align-items:center; align-self:center; }
.v3-needle { width:clamp(90px,14vw,150px); height:auto; transform-origin:center; animation:v3-float 6s ease-in-out infinite; filter:drop-shadow(0 12px 24px rgba(200,144,47,0.18)); }
@keyframes v3-float { 0%,100%{transform:translateY(0) rotate(8deg);} 50%{transform:translateY(-16px) rotate(8deg);} }

.v3-beats { padding:96px 0; display:grid; gap:8px; }
.v3-beat { display:grid; grid-template-columns:120px 1fr; gap:28px; align-items:start; padding:36px 0; border-top:1px solid var(--line); }
.v3-beat:last-child { border-bottom:1px solid var(--line); }
.v3-beat-no { font-family:"JetBrains Mono",monospace; font-size:1.1rem; color:var(--wheat); padding-top:10px; }
.v3-beat h2 { font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:clamp(2rem,4.5vw,3.2rem); line-height:1.0; letter-spacing:-0.02em; margin:0 0 14px; color:var(--ink); }
.v3-beat p { color:var(--ink-soft); font-size:1.05rem; max-width:56ch; margin:0; }

.v3-vignette { padding:64px 0 96px; }
.v3-quote { margin:0; }
.v3-quote p { font-family:"Fraunces",Georgia,serif; font-weight:500; font-size:clamp(1.5rem,3.4vw,2.6rem); line-height:1.25; letter-spacing:-0.01em; color:var(--ink); max-width:30ch; margin:0 0 24px; }
.v3-quote-tag { font-family:"JetBrains Mono",monospace; font-size:0.8rem; color:var(--stone); margin-top:10px; }

.v3-terms { background:var(--earth); color:var(--paper); width:100vw; margin-left:calc(50% - 50vw); padding:110px max(24px, calc((100vw - 1080px) / 2)); }
.v3-kicker-light { color: var(--wheat); }
.v3-terms-h { font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:clamp(2rem,4.5vw,3.4rem); line-height:1.05; letter-spacing:-0.02em; color:var(--paper); max-width:18ch; margin:0 0 48px; }
.v3-terms-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 40px; }
.v3-term { border-top:2px solid var(--wheat); padding-top:18px; }
.v3-term h3 { font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:1.3rem; color:var(--paper); margin:0 0 8px; }
.v3-term p { color:var(--mist); font-size:0.98rem; margin:0; }

.v3-close { padding:110px 0 64px; }
.v3-close-h { font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:clamp(2.6rem,7vw,5rem); line-height:1.0; letter-spacing:-0.03em; margin:0 0 24px; color:var(--ink); }

@media (max-width:860px) {
  .v3-hero { grid-template-columns:1fr; }
  .v3-hero-art { order:-1; justify-content:flex-start; }
  .v3-needle { width:84px; animation:none; transform:rotate(8deg); }
  .v3-beat { grid-template-columns:1fr; gap:10px; padding:28px 0; }
  .v3-beat-no { padding-top:0; }
  .v3-beats, .v3-vignette, .v3-close { padding:56px 0; }
  .v3-terms { padding:64px 24px; }
  .v3-terms-grid { grid-template-columns:1fr; gap:28px; }
}
@media (prefers-reduced-motion: reduce) { .v3-needle { animation:none; transform:rotate(8deg); } }

/* ---------- Representation intake — one question at a time ---------- */

.rp-thread { position:fixed; top:0; left:0; right:0; height:3px; background:transparent; z-index:30; }
.rp-thread i { display:block; height:100%; width:0; background:linear-gradient(90deg, var(--wheat), #E3AE52); box-shadow:0 0 14px rgba(200,144,47,0.55); transition:width .55s cubic-bezier(.16,1,.3,1); }

.rp-shell { min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; background:var(--paper); }

.rp-topbar { display:flex; align-items:center; justify-content:space-between; padding:22px clamp(20px,5vw,52px); }
.rp-topbar .wordmark { font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:1.35rem; letter-spacing:-0.02em; color:var(--ink); text-decoration:none; }
.rp-exit { font-size:0.92rem; color:var(--stone); text-decoration:none; transition:color .15s ease; }
.rp-exit:hover { color:var(--ink); }

.rp-stage { position:relative; flex:1; display:flex; align-items:center; justify-content:center; padding:24px clamp(20px,5vw,52px) 72px; overflow-x:hidden; }
.rp-stagewrap { position:relative; width:100%; max-width:660px; z-index:2; }

.rp-needle { position:absolute; right:clamp(24px,7vw,120px); top:50%; transform:translateY(-50%) rotate(6deg); height:min(70vh,520px); width:auto; opacity:0.16; z-index:1; pointer-events:none; }

.rp-screen[hidden] { display:none; }
.rp-in { animation: rpIn .55s cubic-bezier(.16,1,.3,1) both; }
@keyframes rpIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }

.rp-label { font-family:"JetBrains Mono","Menlo",monospace; font-size:0.74rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--wheat); margin:0 0 18px; display:inline-flex; align-items:center; gap:10px; }
.rp-label::before { content:""; width:22px; height:1.5px; background:var(--wheat); display:inline-block; }

.rp-q { font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:clamp(1.9rem,4.4vw,3rem); line-height:1.08; letter-spacing:-0.02em; color:var(--ink); margin:0 0 14px; max-width:20ch; }
.rp-why { font-size:1.06rem; line-height:1.6; color:var(--ink-soft); max-width:54ch; margin:0 0 30px; }

.rp-welcome .rp-q { font-size:clamp(2.3rem,6vw,3.9rem); max-width:17ch; }
.rp-meta { margin-top:30px; font-family:"JetBrains Mono","Menlo",monospace; font-size:0.78rem; letter-spacing:0.02em; color:var(--stone); }

.rp-fields { display:grid; gap:22px; }
.rp-field label { display:block; font-size:0.8rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--stone); margin-bottom:9px; }

.rp-input, .rp-select, .rp-textarea { width:100%; font-family:inherit; color:var(--ink); background:transparent; border:0; border-bottom:2px solid var(--line); border-radius:0; padding:10px 2px; transition:border-color .2s ease; }
.rp-input, .rp-select { font-size:clamp(1.15rem,2.4vw,1.45rem); }
.rp-input::placeholder, .rp-textarea::placeholder { color:#B9AE96; }
.rp-input:focus, .rp-select:focus, .rp-textarea:focus { outline:none; border-bottom-color:var(--wheat); }

.rp-select { appearance:none; -webkit-appearance:none; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 4px center; padding-right:28px; }

.rp-textarea { font-size:1.1rem; line-height:1.55; resize:none; min-height:120px; border:1px solid var(--line); border-radius:14px; padding:16px 18px; background:var(--white); }
.rp-textarea--big { min-height:200px; }
.rp-textarea:focus { border-color:var(--wheat); outline:2px solid rgba(200,144,47,0.18); outline-offset:0; }

.rp-upload { position:relative; display:flex; flex-direction:column; gap:6px; border:1.5px dashed var(--line); border-radius:16px; padding:26px; background:var(--white); cursor:pointer; transition:border-color .2s ease, background .2s ease, transform .2s ease; }
.rp-upload:hover, .rp-upload.is-drag { border-color:var(--wheat); background:var(--wheat-soft); }
.rp-upload.has-file { border-style:solid; border-color:var(--wheat); background:var(--wheat-soft); }
.rp-upload.rp-shake { animation: rpShake .4s ease; }
.rp-upload input[type=file] { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.rp-upload-title { font-weight:600; font-size:1.05rem; color:var(--ink); }
.rp-upload-hint { font-size:0.9rem; line-height:1.5; color:var(--stone); }
.rp-upload-hint em { font-style:normal; color:var(--earth); font-weight:600; }
@keyframes rpShake { 0%,100%{transform:translateX(0);} 20%{transform:translateX(-6px);} 40%{transform:translateX(6px);} 60%{transform:translateX(-4px);} 80%{transform:translateX(4px);} }

.rp-consent { display:grid; grid-template-columns:22px 1fr; gap:14px; align-items:start; padding:18px 20px; border:1px solid var(--line); border-radius:14px; background:var(--white); cursor:pointer; font-size:0.98rem; line-height:1.5; color:var(--ink); transition:border-color .2s ease; }
.rp-consent:hover { border-color:var(--wheat); }
.rp-consent input { width:20px; height:20px; margin-top:1px; accent-color:var(--wheat); cursor:pointer; }

.rp-actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:34px; }
.rp-back, .rp-skip { background:none; border:0; font:inherit; font-weight:500; color:var(--stone); cursor:pointer; padding:10px 6px; transition:color .15s ease; }
.rp-back:hover, .rp-skip:hover { color:var(--ink); }
.rp-hint { display:inline-flex; align-items:center; gap:7px; font-size:0.84rem; color:var(--stone); }
.rp-key { font-family:"JetBrains Mono","Menlo",monospace; font-size:0.74rem; color:var(--ink-soft); border:1px solid var(--line); border-bottom-width:2px; border-radius:6px; padding:2px 7px; background:var(--white); }

.rp-screen-msg { margin:4px 0 0; font-size:0.92rem; color:var(--danger); }
.rp-message { margin:14px 0 0; font-size:0.95rem; color:var(--stone); }
.rp-message.error { color:var(--danger); }

.rp-review { display:grid; border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--white); }
.rp-review-row { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:start; padding:18px 20px; border-bottom:1px solid var(--line); }
.rp-review-row:last-child { border-bottom:0; }
.rp-review-row .k { display:block; margin-bottom:7px; font-family:"JetBrains Mono","Menlo",monospace; font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--wheat); }
.rp-review-row .val { margin:0; color:var(--ink); font-size:0.97rem; line-height:1.5; word-break:break-word; }
.rp-edit { align-self:center; background:none; border:1px solid var(--line); border-radius:8px; color:var(--ink-soft); font:inherit; font-size:0.85rem; font-weight:600; padding:7px 14px; cursor:pointer; transition:border-color .15s ease, color .15s ease; }
.rp-edit:hover { border-color:var(--wheat); color:var(--ink); }

.rp-done .rp-q { max-width:18ch; }

@media (max-width: 720px) {
    .rp-needle { display:none; }
    .rp-topbar { padding:18px 20px; }
    .rp-stage { padding:16px 20px 56px; align-items:flex-start; }
    .rp-actions { gap:12px; }
    .rp-actions .v3-btn { width:100%; justify-content:center; }
    .rp-hint { width:100%; }
}
@media (prefers-reduced-motion: reduce) {
    .rp-in { animation:none; }
    .rp-thread i { transition:none; }
    .rp-upload.rp-shake { animation:none; }
}
