/* ============================================================
   THE JUNGIAN VAULT · v3 design layer ("Vault Glass")
   Homepage-only sections. Tokens, nav, footer, buttons and the
   light behind the glass live in the v3 global layer of styles.css.
   ============================================================ */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- glass primitives ---------- */
.glass {
    position: relative;
    border-radius: var(--r);
    background: linear-gradient(180deg, var(--glass1), var(--glass2));
    border: 1px solid var(--edge);
    box-shadow: inset 0 1px 0 var(--hi), 0 40px 80px -40px rgba(0, 0, 0, .9);
    -webkit-backdrop-filter: blur(28px) saturate(120%);
    backdrop-filter: blur(28px) saturate(120%);
    min-width: 0;
}
.well { border-radius: 14px; background: rgba(0, 0, 0, .32); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); }

.b {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border-radius: 999px;
    font: 500 15px/1 var(--font-sans); letter-spacing: -.005em; white-space: nowrap;
    text-decoration: none; transition: background .2s, border-color .2s, transform .2s;
}
.b-solid { background: #fff; color: #0a0a0c !important; border: 1px solid #fff; }
.b-solid:hover { background: #e9e6f5; color: #0a0a0c; }
.b-glass { background: rgba(255, 255, 255, .06); color: var(--ink) !important; border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--hi); }
.b-glass:hover { background: rgba(255, 255, 255, .11); color: var(--ink); }
.b .arr { transition: transform .2s; }
.b:hover .arr { transform: translateX(3px); }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-sans); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--hair2); color: var(--ink3); white-space: nowrap; }
.tag-vi { color: var(--vi); border-color: var(--vi-edge); background: var(--vi-bg); }
.tag-cl { color: #f1b49c; border-color: rgba(217, 119, 87, .36); background: var(--cl-bg); }

/* ---------- section heads ---------- */
.sec { padding: 128px 0 0; }
.sh { max-width: 840px; margin: 0 0 48px; }
.sh--c { margin-left: auto; margin-right: auto; text-align: center; }
.kick { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-sans); color: var(--vi); letter-spacing: .01em; margin: 0 0 18px; }
.kick::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vi); box-shadow: 0 0 10px var(--vi); }
.sh h2, .h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.015em; color: var(--ink); margin: 0; }
.sh h2 em, .h2 em { font-style: italic; color: var(--vi); }
.sh p.sub { font: 400 18px/1.55 var(--font-sans); color: var(--ink3); margin: 16px 0 0; max-width: 600px; }
.sh--c p.sub { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.v-hero { padding: 168px 0 56px; text-align: center; }
.v-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--hi); font: 500 13px/1.2 var(--font-sans); color: var(--ink2); text-decoration: none; transition: border-color .2s, background .2s; }
.v-chip:hover { border-color: var(--hair2); background: rgba(255, 255, 255, .07); color: var(--ink); }
.v-chip b { font-weight: 600; font-size: 11px; color: var(--vi); background: var(--vi-bg); border-radius: 999px; padding: 4px 9px; }
.v-hero h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(48px, 7.2vw, 96px); line-height: .98; letter-spacing: -.025em; color: var(--ink); margin: 28px 0 0; }
.v-hero h1 em { font-style: italic; color: var(--vi); }
.v-lede { font: 400 19px/1.55 var(--font-sans); color: var(--ink3); max-width: 600px; margin: 24px auto 0; }
.v-lede b { color: var(--ink2); font-weight: 500; }
.v-cta { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.v-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 0; list-style: none; font: 400 13.5px/1.4 var(--font-sans); color: var(--ink3); }
.v-meta li { display: inline-flex; align-items: center; gap: 7px; }
.v-meta li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(155, 230, 200, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%239be6c8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- product demo (.pd), reskinned ---------- */
.pd { padding: 0 0 0; }
.pd .wrap { position: relative; }
.pd-glow { position: absolute; left: 50%; top: -40px; width: min(1000px, 92vw); height: 420px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(140, 110, 245, .26), rgba(140, 110, 245, 0) 70%); filter: blur(30px); pointer-events: none; }
.pd-frame { position: relative; border-radius: 22px; overflow: hidden; font-family: var(--font-sans); padding: 0; background: linear-gradient(180deg, rgba(22, 21, 30, .86), rgba(12, 12, 16, .92)); border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(0, 0, 0, .6), 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(140, 110, 245, .25); }
.pd-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--hair); background: rgba(255, 255, 255, .02); }
.pd-dots { display: flex; gap: 7px; }
.pd-dots span { width: 11px; height: 11px; border-radius: 50%; display: block; background: rgba(255, 255, 255, .14); }
.pd-title { font-size: 12.5px; color: var(--ink3); }
.pd-chips { margin-left: auto; display: flex; gap: 6px; }
.pd-chip { font-size: 11.5px; color: var(--vi); border: 1px solid var(--vi-edge); background: var(--vi-bg); border-radius: 999px; padding: 4px 10px; }
.pd-chip--c { color: #f1b49c; border-color: rgba(217, 119, 87, .36); background: var(--cl-bg); }
.pd-body { display: grid; grid-template-columns: 236px minmax(0, 1fr) 420px; grid-template-rows: minmax(0, 1fr); height: 500px; text-align: left; }
.pd-files { border-right: 1px solid var(--hair); padding: 16px 12px; font-size: 12.5px; line-height: 2; color: var(--ink3); overflow: hidden; white-space: nowrap; background: rgba(0, 0, 0, .18); }
.pd-files > div { overflow: hidden; text-overflow: ellipsis; border-radius: 6px; padding: 0 6px; transition: background .4s, color .4s; }
.pd-fh { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink4); margin-bottom: 4px; }
.pd-in { padding-left: 20px !important; }
.pd-root { color: var(--ink2); }
.pd[data-s="4"] .pd-hit { background: var(--vi-bg); color: #e6defe; }
.pd-trk::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e2c48f; margin-left: 6px; vertical-align: 1px; opacity: 0; transition: opacity .4s; }
.pd[data-s="5"] .pd-trk::after, .pd[data-s="6"] .pd-trk::after { opacity: 1; }
.pd-newfile { opacity: 0; max-height: 0; transition: opacity .4s, max-height .4s; }
.pd[data-s="5"] .pd-newfile, .pd[data-s="6"] .pd-newfile { opacity: 1; max-height: 30px; color: var(--ink); background: rgba(167, 139, 250, .2); }
.pd-note { position: relative; overflow: hidden; border-right: 1px solid var(--hair); min-width: 0; }
.pd-view { position: absolute; inset: 0; padding: 26px 30px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; overflow: hidden; }
.pd-view.on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.pd-crumb { font-size: 11.5px; color: var(--ink4); margin-bottom: 10px; }
.pd-view h4 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; color: var(--ink); margin: 0 0 12px; line-height: 1.12; }
.pd-view p { font-size: 13.5px; line-height: 1.6; color: var(--ink3); margin: 0 0 7px; }
.pd-view .pd-h { color: var(--ink); font-weight: 600; margin-top: 12px; font-size: 13px; }
.pd-mark { border-radius: 6px; padding: 1px 6px; margin-left: -6px !important; transition: background .6s ease .3s; }
.pd-view.on .pd-mark { background: rgba(167, 139, 250, .18); color: var(--ink) !important; }
.pd-pill { position: absolute; left: 30px; bottom: 20px; font-size: 11.5px; color: var(--vi); border: 1px solid var(--vi-edge); background: var(--vi-bg); border-radius: 999px; padding: 5px 11px; }
.pd-res { font-size: 13px; line-height: 1.5; color: var(--ink2); background: rgba(255, 255, 255, .035); border: 1px solid var(--hair); border-radius: 12px; padding: 11px 13px; margin-bottom: 9px; opacity: 0; }
.pd-res span { display: block; font-size: 11px; color: var(--ink4); margin-bottom: 3px; }
.pd-res mark { background: rgba(167, 139, 250, .26); color: var(--ink); border-radius: 4px; padding: 0 3px; }
.pd-view.on .pd-res { animation: pd-in .4s ease both; }
.pd-view.on .pd-res:nth-of-type(2) { animation-delay: .5s; } .pd-view.on .pd-res:nth-of-type(3) { animation-delay: 1s; } .pd-view.on .pd-res:nth-of-type(4) { animation-delay: 1.5s; }
.pd-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-links span { font-size: 12px; color: var(--vi); background: var(--vi-bg); border: 1px solid rgba(167, 139, 250, .22); border-radius: 999px; padding: 2px 9px; }
.pd-view--graph { padding: 18px 20px 14px; display: flex; flex-direction: column; }
.pd-graph { flex: 1; width: 100%; min-height: 0; }
.pd-graph line { stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; }
.pd-bg line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.pd-bg circle { fill: rgba(255, 255, 255, .22); }
.pd-view.on .pd-bg { animation: pd-fade 1s ease both; }
@keyframes pd-fade { from { opacity: 0; } to { opacity: 1; } }
.pd-n-c circle { fill: rgba(255, 255, 255, .5); }
.pd-n-e circle { fill: #8f7cf0; }
.pd-n-new { fill: #c9bbff; filter: drop-shadow(0 0 6px rgba(185, 167, 255, .9)); }
.pd-n-ring { fill: none; stroke: var(--vi); stroke-width: 1.5; opacity: 0; transform-origin: 240px 230px; }
.pd-view.on .pd-n-ring { animation: pd-ring 2s ease-out .6s infinite; }
@keyframes pd-ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.pd-e-new line { stroke: var(--vi); stroke-width: 1.6; stroke-dasharray: 260; stroke-dashoffset: 260; }
.pd-view.on .pd-e-new line { animation: pd-draw .8s ease forwards; animation-delay: calc(.3s + var(--i) * .35s); }
@keyframes pd-draw { to { stroke-dashoffset: 0; } }
.pd-lbl text { fill: rgba(255, 255, 255, .58); font-size: 11.5px; paint-order: stroke; stroke: #0e0e13; stroke-width: 3px; font-family: var(--font-sans); text-anchor: middle; }
.pd-lbl .pd-lbl-e { fill: #c3b5ff; }
.pd-lbl .pd-lbl-n { fill: var(--ink); font-weight: 600; }
.pd-legend { font-size: 11px; color: var(--ink4); display: flex; align-items: center; gap: 6px; }
.pd-k { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pd-k-e { background: #8f7cf0; } .pd-k-c { background: rgba(255, 255, 255, .5); margin-left: 10px; }
.pd-chat { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; background: rgba(0, 0, 0, .14); }
.pd-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px 16px 10px; overflow: hidden; transition: opacity .35s ease; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30px); mask-image: linear-gradient(to bottom, transparent 0, #000 30px); }
.pd-m, .pd-t { display: none; flex-shrink: 0; }
.pd-m.on, .pd-t.on { display: block; animation: pd-in .45s ease both; }
.pd-t.on { display: flex; align-items: baseline; }
@keyframes pd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pd-m { max-width: 94%; font-size: 13px; line-height: 1.55; border-radius: 14px; padding: 10px 13px; }
.pd-you { align-self: flex-end; background: rgba(167, 139, 250, .2); border: 1px solid rgba(167, 139, 250, .22); color: var(--ink); border-bottom-right-radius: 5px; }
.pd-claude { align-self: flex-start; background: rgba(255, 255, 255, .045); border: 1px solid var(--hair); color: var(--ink2); border-bottom-left-radius: 5px; }
.pd-t { align-self: stretch; font-family: 'Space Mono', ui-monospace, monospace; font-size: 10.5px; color: var(--ink4); padding: 0 2px; white-space: nowrap; overflow: hidden; }
.pd-t span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pd-t::before { content: "\25CF"; color: var(--ok); margin-right: 6px; font-size: 9px; flex-shrink: 0; }
.pd-t b { color: #e2c48f; font-weight: 700; margin-right: 6px; flex-shrink: 0; }
.pd-t i { font-style: normal; color: var(--vi); margin-left: 6px; flex-shrink: 0; }
.pd-src, .pd-label { display: block; width: max-content; max-width: 100%; margin-top: 7px; font-size: 11px; border-radius: 999px; padding: 2px 9px; }
.pd-src { color: var(--vi); background: var(--vi-bg); }
.pd-label { margin: 0 0 6px; color: #f1b49c; background: var(--cl-bg); }
.pd-label--e { color: var(--ok); background: rgba(155, 230, 200, .12); }
.pd-ents { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.pd-ents span { font-size: 11px; color: var(--vi); background: var(--vi-bg); border-radius: 999px; padding: 1px 8px; }
.pd-compose { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 9px 10px 9px 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--hair2); border-radius: 14px; min-height: 42px; font-size: 13px; color: var(--ink); }
.pd-typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.pd-typed:empty::before { content: "Tell Claude a dream..."; color: var(--ink4); }
.pd-typed.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--cl); margin-left: 1px; vertical-align: -2px; animation: td-blink 1s step-end infinite; }
@keyframes td-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.pd-send { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: var(--cl); color: #1a1916; font-weight: 700; text-align: center; line-height: 26px; font-size: 13px; }
.pd-toast { display: none; }

/* step rail */
.pd-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 20px 0 0; padding: 0; text-align: left; counter-reset: pds; border-radius: 18px; overflow: hidden; border: 1px solid var(--edge); background: linear-gradient(180deg, var(--glass1), var(--glass2)); box-shadow: inset 0 1px 0 var(--hi); }
.pd-steps li { position: relative; padding: 18px 18px 18px; font-family: var(--font-sans); border-left: 1px solid var(--hair); transition: background .35s; }
.pd-steps li:first-child { border-left: 0; }
.pd-steps li::before { counter-increment: pds; content: "0" counter(pds); display: block; font: 500 11px/1 'Space Mono', ui-monospace, monospace; color: var(--ink4); letter-spacing: .06em; margin-bottom: 10px; transition: color .35s; }
.pd-steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--vi); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; box-shadow: 0 0 12px var(--vi); }
.pd-steps b { display: block; font-size: 14px; color: var(--ink2); font-weight: 500; transition: color .35s; }
.pd-steps span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--ink4); margin-top: 4px; transition: color .35s; }
.pd-steps li.on { background: rgba(167, 139, 250, .07); }
.pd-steps li.on::after { transform: scaleX(1); }
.pd-steps li.on::before { color: var(--vi); }
.pd-steps li.on b { color: var(--ink); }
.pd-steps li.on span { color: var(--ink3); }
.pd-note-cap { text-align: center; font: 400 13px/1.5 var(--font-sans); color: var(--ink4); margin: 16px 0 0; }

/* ---------- KPI strip ---------- */
.kpis { padding: 96px 0 0; }
.kpi-panel { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.kpi { padding: 34px 32px 30px; border-left: 1px solid var(--hair); }
.kpi:first-child { border-left: 0; }
.kpi b { display: block; font: 200 60px/1 var(--font-sans); letter-spacing: -.045em; color: var(--ink); }
.kpi b small { font-size: .6em; font-weight: 200; color: var(--ink3); letter-spacing: 0; margin-left: 2px; vertical-align: .32em; }
.kpi span { display: block; font: 400 14px/1.45 var(--font-sans); color: var(--ink3); margin-top: 12px; }

.v-link { font: 500 14.5px/1.3 var(--font-sans); color: var(--vi); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.v-link:hover { color: #d6ccff; }
.v-link .arr { transition: transform .2s; }
.v-link:hover .arr { transform: translateX(3px); }

/* ---------- two ways ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.way { display: flex; flex-direction: column; padding: 30px 30px 28px; text-decoration: none; color: inherit; transition: border-color .25s, transform .25s; }
.way:hover { border-color: rgba(255, 255, 255, .16); transform: translateY(-2px); color: inherit; }
.way-top { display: flex; flex-wrap: wrap; gap: 8px; }
.way h3 { font-family: var(--font-serif); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--ink); margin: 22px 0 18px; }
.rows { list-style: none; margin: 0 0 24px; padding: 0; }
.rows li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--hair); font: 400 15px/1.5 var(--font-sans); color: var(--ink2); }
.rows li:first-child { border-top: 0; }
.rows li i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 500 11.5px/1 var(--font-sans); font-style: normal; color: var(--ink2); background: rgba(255, 255, 255, .06); border: 1px solid var(--edge); margin-top: -1px; }
.rows li em { color: var(--ink); }
.way .v-link { margin-top: auto; }
.ways-note { text-align: center; font: 400 14px/1.5 var(--font-sans); color: var(--ink3); margin: 22px auto 0; }
.ways-note a { color: #f1b49c; }

/* ---------- features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ft { display: flex; flex-direction: column; padding: 14px 14px 26px; }
.ft--2 { grid-column: span 2; }
.ft-vis { position: relative; height: 168px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; padding: 16px; overflow: hidden; font-family: var(--font-sans); }
.ft h3 { font: 500 17px/1.3 var(--font-sans); letter-spacing: -.01em; color: var(--ink); margin: 0 12px 6px; }
.ft p { font: 400 14.5px/1.55 var(--font-sans); color: var(--ink3); margin: 0 12px; max-width: 460px; }
.ft .v-link { margin: 14px 12px 0; }
.ft-graph { width: 100%; height: 100%; }
.ft-graph line { stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.ft-graph circle { fill: rgba(255, 255, 255, .45); }
.ft-graph .ft-gc { fill: #c9bbff; filter: drop-shadow(0 0 6px rgba(185, 167, 255, .9)); }
.ft-graph text { fill: rgba(255, 255, 255, .55); font-size: 11px; font-family: var(--font-sans); text-anchor: middle; }
.ft-vis--chat { flex-direction: column; align-items: stretch; gap: 8px; }
.ft-b { display: block; max-width: 86%; font-size: 12px; line-height: 1.45; border-radius: 12px; padding: 7px 11px; }
.ft-b--you { align-self: flex-end; background: rgba(167, 139, 250, .2); border: 1px solid rgba(167, 139, 250, .22); color: var(--ink); border-bottom-right-radius: 4px; }
.ft-b--ai { align-self: flex-start; background: rgba(255, 255, 255, .045); border: 1px solid var(--hair); color: var(--ink2); border-bottom-left-radius: 4px; }
.ft-vis--stack { flex-direction: column; gap: 8px; }
.ft-chip { display: inline-block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--vi); background: var(--vi-bg); border-radius: 999px; padding: 4px 12px; }
.ft-chip--label { color: #f1b49c; background: var(--cl-bg); }
.ft-chip--plain { color: var(--ink2); background: rgba(255, 255, 255, .04); border: 1px solid var(--hair); }
.ft-vis--tree { justify-content: flex-start; align-items: center; }
.ft-tree { width: 100%; max-width: 420px; min-width: 0; font-size: 12.5px; line-height: 2.05; color: var(--ink3); }
.ft-tree div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; border-radius: 6px; }
.ft-tree .ft-in { padding-left: 24px; }
.ft-tree-new { color: var(--ink) !important; background: rgba(167, 139, 250, .2); }
.ft-tree-new::after { content: "new"; float: right; font-size: 10.5px; color: var(--vi); }
.ft-folder { width: 64px; height: 48px; }
.ft-folder path { fill: rgba(167, 139, 250, .1); stroke: var(--vi); stroke-width: 1.5; stroke-linejoin: round; }
.ft-folder .ft-folder-lines { fill: none; stroke: rgba(185, 167, 255, .5); stroke-linecap: round; }
.ft-mono { font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .06em; color: var(--ink4); }
.ft-vis--wrap { flex-wrap: wrap; align-content: center; gap: 8px; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.story .sh { margin-bottom: 28px; }
.story-copy p { font: 400 17px/1.7 var(--font-sans); color: var(--ink3); margin: 0 0 18px; max-width: 560px; }
.story-q { font-family: var(--font-serif); font-style: italic; font-size: 27px; line-height: 1.3; color: var(--ink); margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--vi); max-width: 520px; }
.story-list { padding: 8px 28px; }
.story-list > div { padding: 22px 0; border-top: 1px solid var(--hair); }
.story-list > div:first-child { border-top: 0; }
.story-list h3 { font: 500 16px/1.35 var(--font-sans); color: var(--ink); margin: 0 0 6px; }
.story-list p { font: 400 14.5px/1.6 var(--font-sans); color: var(--ink3); margin: 0; }

/* ---------- pricing ---------- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.price-l { padding: 44px 44px 40px; border-right: 1px solid var(--hair); background: radial-gradient(120% 90% at 0% 0%, rgba(140, 110, 245, .16), transparent 60%); }
.price-l .tag { margin-bottom: 26px; }
.price-l h3 { font-family: var(--font-serif); font-weight: 500; font-size: 36px; line-height: 1.05; color: var(--ink); margin: 0; }
.price-num { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 6px; }
.price-num b { font: 200 84px/1 var(--font-sans); letter-spacing: -.05em; color: var(--ink); }
.price-num span { font: 400 15px/1.4 var(--font-sans); color: var(--ink3); }
.price-sub { font: 400 14.5px/1.55 var(--font-sans); color: var(--ink3); margin: 0 0 30px; }
.price-l .b { width: 100%; }
.price-love { font-family: var(--font-serif); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ink2); margin: 22px 0 0; }
.price-r { padding: 40px 44px; }
.price-r h4 { font: 500 13px/1 var(--font-sans); color: var(--ink3); margin: 0 0 10px; }
.checks { list-style: none; margin: 0 0 22px; padding: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hair); font: 400 15px/1.5 var(--font-sans); color: var(--ink2); }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(155, 230, 200, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.4' fill='none' stroke='%239be6c8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- FAQ ---------- */
.faq2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq2 .sh { position: sticky; top: 120px; margin: 0; }
.faq2 .sh .v-link { margin-top: 24px; }
body.v3 .faq-list { margin: 0; padding: 6px 28px; }
body.v3 .faq-item { border-bottom: 1px solid var(--hair); padding: 22px 0; }
body.v3 .faq-item:first-child { border-top: 0; }
body.v3 .faq-item:last-child { border-bottom: 0; }
body.v3 .faq-question { font: 500 16px/1.4 var(--font-sans); color: var(--ink); }
body.v3 .faq-question::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M13 8.5v9M8.5 13h9' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center/26px no-repeat; transition: transform .25s; }
body.v3 .faq-item.open .faq-question::after { content: ""; transform: rotate(45deg); }
body.v3 .faq-answer { font: 400 15px/1.7 var(--font-sans); color: var(--ink3); padding-top: 12px; max-width: 640px; }

/* ---------- closing CTA ---------- */
.v-end { padding: 128px 0 120px; }
.end { text-align: center; padding: 72px 32px; overflow: hidden; background: radial-gradient(80% 120% at 50% 0%, rgba(140, 110, 245, .22), transparent 65%), linear-gradient(180deg, var(--glass1), var(--glass2)); }
.end .h2 { font-size: clamp(36px, 4.6vw, 60px); }
.end p { font: 400 18px/1.55 var(--font-sans); color: var(--ink3); margin: 16px auto 0; max-width: 520px; }
.end .v-cta { margin-top: 32px; }

/* ============================ responsive ============================ */
@media (max-width: 1180px) {
    .pd-body { grid-template-columns: minmax(0, 1fr) 380px; }
    .pd-files { display: none; }
}
@media (max-width: 1024px) {
    .wrap { padding: 0 24px; }
    .sec { padding-top: 112px; }
    .kpi-panel { grid-template-columns: repeat(2, 1fr); }
    .kpi:nth-child(3) { border-left: 0; }
    .kpi:nth-child(n+3) { border-top: 1px solid var(--hair); }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ft--2 { grid-column: span 2; }
    .bento .ft:nth-child(2) { grid-column: span 2; }
    .story, .faq2 { grid-template-columns: 1fr; gap: 40px; }
    .faq2 .sh { position: static; }
    .pd-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .pd-steps span { display: none; }
    .pd-steps li { padding: 16px 14px; }
}
@media (max-width: 860px) {
    .price { grid-template-columns: 1fr; }
    .price-l { border-right: 0; border-bottom: 1px solid var(--hair); }
    .ways { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .wrap { padding: 0 16px; }
    .v-hero { padding: 120px 0 40px; }
    .v-hero h1 { margin-top: 24px; }
    .v-lede { font-size: 17px; margin-top: 20px; }
    .v-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 30px; max-width: 360px; margin-left: auto; margin-right: auto; }
    .v-cta .b { width: 100%; min-height: 52px; font-size: 16px; }
    .v-meta { gap: 8px 14px; font-size: 13px; }
    .sec { padding-top: 88px; }
    .sh { margin-bottom: 32px; }
    .sh p.sub { font-size: 16.5px; }
    .kick { margin-bottom: 14px; }

    /* demo: note pane on top, chat below */
    .pd-frame { border-radius: 18px; }
    .pd-bar { padding: 10px 14px; }
    .pd-chips .pd-chip:first-child { display: none; }
    .pd-body { grid-template-columns: 1fr; grid-template-rows: 232px minmax(0, 1fr); height: 600px; }
    .pd-note { border-right: 0; border-bottom: 1px solid var(--hair); }
    .pd-view { padding: 16px 18px; }
    .pd-view h4 { font-size: 21px; margin-bottom: 8px; }
    .pd-view p { font-size: 12.5px; line-height: 1.5; margin-bottom: 4px; }
    .pd-view .pd-h { margin-top: 8px; font-size: 12px; }
    .pd-crumb { margin-bottom: 6px; font-size: 11px; }
    .pd-pill { display: none; }
    .pd-res { padding: 8px 10px; margin-bottom: 6px; font-size: 12px; }
    .pd-res span { font-size: 10.5px; }
    .pd-view--graph { padding: 10px 10px 8px; }
    .pd-lbl text { font-size: 17px; stroke-width: 4px; }
    .pd-legend { font-size: 10.5px; }
    .pd-m { font-size: 12.5px; }

    /* step rail becomes a progress bar with one caption */
    .pd-steps { position: relative; display: flex; gap: 6px; border: 0; background: none; box-shadow: none; overflow: visible; border-radius: 0; margin-top: 16px; padding-bottom: 46px; }
    .pd-steps li { flex: 1; padding: 0; height: 3px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .1); position: static; }
    .pd-steps li::before { display: none; }
    .pd-steps li::after { display: none; }
    .pd-steps li.on, .pd-steps li.done { background: var(--vi); box-shadow: 0 0 10px rgba(185, 167, 255, .6); }
    .pd-steps li b, .pd-steps li span { display: none; }
    .pd-steps li.on b { display: block; position: absolute; left: 0; right: 0; top: 16px; font-size: 14.5px; color: var(--ink); text-align: center; }
    .pd-steps li.on span { display: block; position: absolute; left: 0; right: 0; top: 37px; font-size: 13px; color: var(--ink3); text-align: center; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pd-steps { padding-bottom: 60px; }
    .pd-note-cap { margin-top: 4px; font-size: 12.5px; }

    .kpis { padding-top: 72px; }
    .kpi { padding: 24px 20px 22px; }
    .kpi b { font-size: 44px; }
    .kpi span { font-size: 13px; margin-top: 8px; }


    .way { padding: 24px 20px 22px; }
    .way h3 { font-size: 26px; margin: 18px 0 12px; }
    .rows li { font-size: 14.5px; }

    /* bento becomes a swipe row */
    .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; scrollbar-width: none; }
    .bento::-webkit-scrollbar { display: none; }
    .bento .ft { flex: 0 0 84%; scroll-snap-align: start; }
    .ft-vis { height: 140px; margin-bottom: 18px; }
    .swipe-hint { display: flex; }

    .story-copy p { font-size: 16px; }
    .story-q { font-size: 23px; }
    .story-list { padding: 4px 20px; }

    .price-l, .price-r { padding: 30px 22px; }
    .price-num b { font-size: 68px; }

    body.v3 .faq-list { padding: 2px 20px; }
    body.v3 .faq-item { padding: 18px 0; }
    body.v3 .faq-question { font-size: 15.5px; }

    .v-end { padding: 88px 0 80px; }
    .end { padding: 52px 20px; }
    .end p { font-size: 16.5px; }
}
.swipe-hint { display: none; justify-content: center; gap: 6px; margin-top: 14px; }
.swipe-hint i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: background .25s, width .25s; }
.swipe-hint i.on { width: 18px; border-radius: 3px; background: var(--vi); }
@media (max-width: 380px) {
    .v-hero h1 { font-size: 44px; }
    .kpi b { font-size: 38px; }
    .pd-body { height: 580px; grid-template-rows: 220px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .pd-view, .pd-view.on, .pd-newfile, .pd-mark, .pd-files > div { transition: none; }
    .pd-m.on, .pd-t.on, .pd-view.on .pd-res { animation: none; opacity: 1; }
    .pd-res { opacity: 1; }
    .pd-view.on .pd-n-ring, .pd-view.on .pd-bg { animation: none; }
    .pd-steps li, .pd-steps li::after, .pd-msgs, .pd-trk::after { transition: none; }
    .pd-view.on .pd-e-new line { animation: none; stroke-dashoffset: 0; }
    .way, .b .arr, .v-link .arr { transition: none; }
}

/* bigger tap area for inline text links, no layout change */
.v-link, .ways-note a { position: relative; }
.v-link::after, .ways-note a::after { content: ""; position: absolute; inset: -12px -6px; }

/* demo pause control (WCAG 2.2.2) */
.pd-pause { margin-left: 8px; padding: 6px 12px; min-height: 32px; border-radius: 999px; border: 1px solid var(--edge); background: rgba(255, 255, 255, .05); color: var(--ink2); font: 500 12.5px/1 var(--font-sans); cursor: pointer; }
.pd-pause:hover { color: var(--ink); border-color: var(--hair2); }
@media (max-width: 760px) { .pd-pause { display: block; margin: 10px auto 0; min-height: 40px; } }
