/* The 3rigx site. Tokens live in tokens.css. */

.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* One set of verticals: nav, hero and every section share the same content edges. */
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* MARK: Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: 18px var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.mark { display: inline-flex; align-items: center; gap: 8px; font: 600 1.375rem/1 var(--font-display); letter-spacing: -0.01em; text-decoration: none; min-height: 44px; }
.mark img { width: 26px; height: 26px; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); font-size: var(--t-small); }
.nav nav a { color: var(--ink-2); text-decoration: none; padding-block: 10px; }
.nav nav a:hover { color: var(--ink); }
.nav nav .nav-dl { color: var(--ink); border: 1px solid var(--rule-2); border-radius: var(--r-tip) 999px 999px 999px; padding: 8px 16px; }
.nav nav .nav-dl:hover { border-color: var(--accent-text); }

/* MARK: 1. Hero */
.hero { position: relative; overflow: clip; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(8px, 3vh, 40px) var(--gutter) 0; min-height: max(640px, calc(100svh - 80px)); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-content: start; }
.hero h1 { grid-column: 1 / -1; font: 600 var(--t-display)/1 var(--font-display); letter-spacing: -0.03em; margin: 0 0 var(--s-5); max-width: 24ch; text-wrap: balance; position: relative; z-index: 2; }
.hero-copy { grid-column: 1 / span 5; position: relative; z-index: 2; padding-bottom: var(--s-7); }
.hero .lede { margin: 0 0 var(--s-5); max-width: 44ch; color: var(--ink-2); text-wrap: pretty; }
.hero .says { margin: 0 0 20px; max-width: none; --tail-x: 248px; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.meta { margin: 0; font-size: var(--t-meta); color: var(--ink-2); }
.play { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.play a { font-weight: 600; min-height: 24px; }
.play span { font-size: var(--t-meta); color: var(--ink-2); }

/* The phone, propped under the screen: his face in the landscape view, the border glowing while he listens. */
.phone { position: absolute; right: calc(var(--gutter) * -0.3); bottom: -5%; width: min(62%, 900px); aspect-ratio: 2.16; padding: 1.6% 1.8%; background: #050508; border: 1px solid #2C2A3A; border-radius: 13% / 28%; box-shadow: 0 30px 70px -30px rgba(23, 21, 31, .45), 0 -30px 100px -40px rgba(61, 220, 132, .28); z-index: 1; }
.phone::before { content: ""; position: absolute; left: 0.9%; top: 50%; width: 0.9%; aspect-ratio: 1; border-radius: 50%; background: #1A1A24; transform: translateY(-50%); }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 10% / 23%; background: #000; }
.screen canvas, .screen .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen.live .poster { visibility: hidden; }
.screen.listening::after, .mini-phone.listening::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px rgba(61, 220, 132, .95), inset 0 0 30px rgba(61, 220, 132, .5); pointer-events: none; }

/* MARK: Sections */
section[data-scene]:not(.hero) { padding-block: var(--s-8); }
h2 { font: 600 var(--t-h2)/1.04 var(--font-display); letter-spacing: -0.02em; margin: 0 0 var(--s-6); max-width: 19ch; text-wrap: balance; }
h3 { font: 600 var(--t-h3)/1.2 var(--font-display); margin: 0; }
.lede { color: var(--ink-2); max-width: 52ch; margin: 0; text-wrap: pretty; }

/* MARK: 2. Talk */
.talk { border-top: 1px solid var(--rule); }
section.talk[data-scene] { padding-top: var(--s-7); }
.talk .says { margin: calc(-1 * var(--s-5)) 0 var(--s-5); --tail-x: 194px; }
.modes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.modes h3 { margin: var(--s-5) 0 var(--s-2); }
.modes p { margin: 0; color: var(--ink-2); max-width: 34ch; }
.mini-phone { position: relative; width: min(100%, 230px); aspect-ratio: 0.56; padding: 9px; background: #050508; border: 1px solid #2C2A3A; border-radius: 34px; }
.mini-phone canvas { width: 100%; height: 100%; border-radius: 26px; background: #000; }
.mini-phone.listening::after { inset: 9px; border-radius: 26px; }
.mini-phone .press { position: absolute; left: 50%; top: 66%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); }
.mini-phone .reply { position: absolute; left: 18px; right: 18px; bottom: 64px; text-align: center; font: 600 var(--t-small)/1.3 var(--font-display); color: #fff; }
.mini-phone .typebar { position: absolute; left: 18px; right: 18px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; background: #1E1C2A; border: 1px solid #3A3850; color: var(--screen-ink); font-size: var(--t-meta); }
.mini-phone .typebar svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.aside { margin: var(--s-6) 0 0; color: var(--ink-2); font-size: var(--t-small); }
kbd { font: 500 0.8125rem/1 var(--font-text); color: var(--ink); border: 1px solid var(--rule-2); border-bottom-width: 2px; border-radius: 6px; padding: 3px 7px; }

/* MARK: 3. On your PC */
.pc { background: var(--ground-2); border-block: 1px solid var(--rule); }
section.pc[data-scene] { padding-block: var(--s-9); }
.pc h2, .team h2 { max-width: 24ch; }
.pc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: start; }
.desktop { position: relative; aspect-ratio: 16 / 10.4; border-radius: 12px; overflow: hidden; background: #1B2836; border: 1px solid var(--rule-2); font-family: var(--font-text); }
.desktop::before { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%; border-radius: 50% 50% 0 0; background: #21344A; }
.win { position: absolute; background: #FBFBFD; color: #1C1C22; border-radius: 8px; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); overflow: hidden; }
.titlebar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 0 0 12px; font-size: var(--t-meta); color: #3D3D48; border-bottom: 1px solid #E6E6EE; }
.titlebar span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titlebar i { width: 32px; height: 100%; display: grid; place-items: center; }
.titlebar i::before { content: ""; width: 9px; height: 1.5px; background: #6A6A78; }
.editor { left: 5%; top: 7%; width: 66%; height: 66%; display: flex; flex-direction: column; }
.editor-body { flex: 1; display: flex; flex-direction: column; padding: 4.5% 6%; }
.post-title { margin: 0 0 6px; font: 600 var(--t-body)/1.2 var(--font-text); }
.post-text { margin: 0; font-size: var(--t-meta); line-height: 1.5; color: #4A4A57; }
.editor-actions { margin-top: auto; align-self: flex-end; display: flex; gap: 8px; padding-top: 10px; }
.editor-actions span { font-size: var(--t-meta); padding: 5px 10px; border-radius: 6px; border: 1px solid #D5D5DE; color: #2C2C36; }
.editor-actions .publish { background: #2C2C36; color: #fff; border-color: #2C2C36; }
.notepad { right: 4%; top: 24%; width: 46%; height: 50%; transform-origin: 20% 100%; opacity: 0; transform: scale(.88) translateY(14px); transition: opacity .2s, transform .35s var(--ease-out); }
.notepad.open { opacity: 1; transform: none; }
.notepad pre { margin: 0; padding: 10px 12px; white-space: pre-wrap; font: 400 var(--t-meta)/1.55 var(--font-text); }
.toast { position: absolute; right: 3%; bottom: 52px; margin: 0; padding: 8px 14px; border-radius: 8px; background: #2A2838; color: var(--screen-ink); font-size: 0.8125rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .3s var(--ease-out); }
.toast.show { opacity: 1; transform: none; }
.pointer { position: absolute; left: 0; top: 0; width: 15px; opacity: 0; transition: opacity .2s; z-index: 3; }
.pointer.show { opacity: 1; }
.demo-bubble { position: absolute; left: 0; top: 0; z-index: 4; font-size: var(--t-small); max-width: 24ch; opacity: 0; pointer-events: none; transform-origin: 30% 100%; }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(10, 12, 20, .88); z-index: 2; }
.taskbar span { width: 26px; height: 26px; border-radius: 6px; background: #343B52; }
.taskbar .start { background: conic-gradient(#5AAEFF 0 25%, #8CC8FF 0 50%, #5AAEFF 0 75%, #8CC8FF 0); border-radius: 4px; transform: scale(.82); }
.taskbar .clock { position: absolute; right: 12px; width: auto; height: auto; background: none; font-size: var(--t-meta); color: #E0E2EC; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.chips button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--rule-2); border-radius: 999px; background: transparent; color: var(--ink); font-size: var(--t-small); cursor: pointer; text-align: left; }
.chips button:hover { border-color: var(--ink-2); }
.chips button[aria-pressed="true"] { border-color: var(--accent-text); background: rgba(61, 220, 132, .16); }
.does dl { margin: 0; }
.does dl div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.does dl div:first-child { border-top: 1px solid var(--rule); }
.does dt { display: inline; font: 600 var(--t-body)/1.3 var(--font-display); }
.does dd { display: inline; margin: 0; color: var(--ink-2); }
.does dd::before { content: " "; }

/* MARK: 4. Task team */
/* The card leads here (left), the explanation follows: the opposite of the scene before it. */
.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-6) var(--s-7); align-items: start; }
.team-grid > h2 { grid-column: 1 / -1; margin-bottom: 0; }
.team-card-col { grid-column: 1; grid-row: 2; }
.team-copy { grid-column: 2; grid-row: 2; }
.team .lede { margin-bottom: var(--s-6); }
.roles { margin: 0; }
.roles div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.roles div:first-child { border-top: 1px solid var(--rule); }
.roles dt { font: 600 var(--t-body)/1.4 var(--font-display); }
.roles dd { margin: 0; color: var(--ink-2); }
.providers { margin: var(--s-5) 0 0; color: var(--ink-2); font-size: var(--t-small); max-width: 52ch; }
.team-card-col .says { margin: 0 0 var(--s-5); --tail-x: calc(100% - 96px); }
.task { width: min(100%, 440px); padding: 16px 18px 18px; border: 2px solid var(--accent); border-radius: var(--r-m); background: linear-gradient(var(--bubble-top), var(--bubble-bottom)); color: var(--bubble-ink); }
.task header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.task header svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.task h3 { flex: 1; font-size: var(--t-body); line-height: 1.3; }
.task .stop { font-size: var(--t-meta); font-weight: 600; color: #B3261E; border: 1px solid rgba(179, 38, 30, .45); border-radius: 8px; padding: 2px 10px; }
.task ol { list-style: none; margin: 0; padding: 0; }
.task li { display: grid; grid-template-columns: 22px 1fr; margin-bottom: 8px; }
.task li p { margin: 0; font-size: var(--t-small); line-height: 1.4; }
.task li.running p:first-child { font-weight: 600; }
.task .who { font-size: var(--t-meta); color: var(--card-ink-2); margin-top: 1px; }
.st { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 1.6px solid #8A85A0; }
.done .st { border: 0; background: #1F9D57; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.3 11.5 3.7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%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 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.3 11.5 3.7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; border-radius: 0; }
.running .st { border: 0; border-radius: 0; background: #17874A; clip-path: polygon(18% 8%, 92% 50%, 18% 92%); }
.progress { height: 3px; margin: 10px 0 8px; background: rgba(31, 157, 87, .16); border-radius: 2px; overflow: hidden; }
.progress i { display: block; width: 34%; height: 100%; background: #1F9D57; border-radius: 2px; transform: translateX(80%); }
.status { margin: 0; font-size: var(--t-meta); font-style: italic; color: #4254D6; }
.card-note { margin: var(--s-4) 0 0; color: var(--ink-2); font-size: var(--t-small); max-width: 44ch; }
.rules { grid-column: 1 / -1; margin: var(--s-5) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--rule); font: 600 var(--t-h3)/1.35 var(--font-display); max-width: 52ch; text-wrap: balance; }

/* MARK: 5. Memory, profiles and routines */
/* Copy left, the routine card right: the opposite of the task team above it. The card is the task card's sibling. */
.memory { border-top: 1px solid var(--rule); }
.memory-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
.memory h2 { max-width: 22ch; }
.keeps, .reqs { margin: 0; }
.keeps div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.keeps div:first-child { border-top: 1px solid var(--rule); }
.keeps dt { font: 600 var(--t-body)/1.4 var(--font-display); }
.keeps dd { margin: 0; color: var(--ink-2); }
.routine-col { justify-self: center; width: min(100%, 440px); }
.routine-col .says { margin: 0 0 var(--s-5); --tail-x: calc(100% - 64px); }
.routine header { align-items: center; }
.routine .run { font: 600 var(--t-meta)/1 var(--font-text); padding: 8px 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.routine .goal { margin: 0 0 14px; font-size: var(--t-small); line-height: 1.45; }
.slot { padding: 1px 6px; border-radius: 6px; background: #E3E0EE; font-weight: 600; white-space: nowrap; }
.routine-meta { margin: 0 0 12px; border-top: 1px solid rgba(23, 21, 31, .1); }
.routine-meta div { display: grid; grid-template-columns: 6rem 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(23, 21, 31, .1); font-size: var(--t-small); }
.routine-meta dt { color: var(--card-ink-2); }
.routine-meta dd { margin: 0; font-weight: 600; }

/* MARK: 6. Looks */
.looks { border-top: 1px solid var(--rule); }
.looks-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-7); align-items: center; }
.looks-preview { order: -1; }
.looks .lede { margin-bottom: var(--s-6); }
.picker { display: grid; gap: var(--s-5); }
.picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker legend { padding: 0; margin-bottom: 10px; font-size: var(--t-small); font-weight: 600; }
.sw { display: flex; flex-wrap: wrap; gap: 8px; }
/* Each option is a label holding its radio, which covers it invisibly so it can be focused and clicked. */
.sw label { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.sw label input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sw label i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(23, 21, 31, .2); forced-color-adjust: none; /* the colour is the choice */ }
.sw label:has(input:checked) { border-color: var(--ink); }
.sw label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.sw.words label { width: auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-2); font-size: var(--t-small); }
.sw.words label:has(input:checked) { border-color: var(--accent-text); background: rgba(61, 220, 132, .16); }
.extras .says { margin: 4px 0 18px; --tail-x: 226px; }
.looks-preview { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s-4); }
.portrait { position: relative; width: min(100%, 400px); aspect-ratio: 0.9; justify-self: center; }
.portrait canvas, .portrait .poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait.live .poster { visibility: hidden; }
.on-pc { display: grid; justify-items: center; gap: var(--s-2); padding-bottom: var(--s-6); }
.on-pc canvas { width: 112px; height: 112px; }
.on-pc p { margin: 0; color: var(--ink-2); font-size: var(--t-meta); text-align: center; max-width: 12ch; }

/* MARK: 7. Pricing */
/* One plan, so no tier table: the price and what it covers, beside the AI costs that aren't in it. */
.pricing { background: var(--ground-2); border-block: 1px solid var(--rule); }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-6) var(--s-7); align-items: start; }
.pricing-grid > h2 { grid-column: 1 / -1; margin-bottom: 0; }
.price-col .says { margin: 0 0 var(--s-4); --tail-x: calc(100% - 72px); }
.price { margin: 0; display: flex; align-items: baseline; gap: 12px; width: fit-content; }
.price .amount { font: 600 clamp(4rem, 2.8rem + 4vw, 6.5rem)/1 var(--font-display); letter-spacing: -0.03em; }
.price .per { font: 600 var(--t-h3)/1 var(--font-display); color: var(--ink-2); }
.price-note { margin: var(--s-4) 0 var(--s-5); color: var(--ink-2); max-width: 44ch; }
.includes { list-style: none; margin: 0; padding: 0; }
.includes li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--rule-2); }
.includes li:last-child { border-bottom: 1px solid var(--rule-2); }
.includes li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 16px; height: 16px; background: var(--accent-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.3 11.5 3.7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%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 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.3 11.5 3.7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ai-costs { padding: var(--s-5); border: 1px solid var(--rule-2); border-radius: var(--r-m); background: var(--surface); }
.ai-costs h3 { margin: 0 0 var(--s-3); }
.ai-costs p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.ai-costs p + p { margin-top: var(--s-3); }
.how-title { margin: var(--s-6) 0 var(--s-2); }
.how { list-style: none; margin: 0; padding: 0; counter-reset: how; }
.how li { counter-increment: how; position: relative; padding: 8px 0 8px 2rem; color: var(--ink-2); }
.how li::before { content: counter(how); position: absolute; left: 0; font: 600 var(--t-body)/1.55 var(--font-display); color: var(--ink); }
.how b, .pricing .aside b { color: var(--ink); font-weight: 600; }
.pricing .aside { margin-top: var(--s-4); max-width: 60ch; }

/* MARK: 8. Get started */
.start { border-top: 1px solid var(--rule); }
/* Rows shared across the three steps (his line, number, heading, body), so the numbers line up. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; column-gap: var(--s-6); }
.steps li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; align-items: start; justify-items: start; }
.steps li > .says { grid-row: 1; align-self: end; margin-bottom: 6px; --tail-x: 52px; }
.steps li > .n { grid-row: 2; font: 600 3.5rem/1 var(--font-display); color: var(--ink-2); }
.steps li > h3 { grid-row: 3; }
.steps li > .step-body { grid-row: 4; display: grid; gap: 12px; justify-items: start; }
.steps p { margin: 0; color: var(--ink-2); max-width: 36ch; }
.steps p b { color: var(--ink); font-weight: 600; }
.steps .says { max-width: 26ch; color: var(--bubble-ink); }
.store { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--rule-2); border-radius: var(--r-tip) 999px 999px 999px; font-weight: 600; text-decoration: none; }
.store:hover { border-color: var(--ink); }
.needs { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-5); }
.reqs div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.reqs div:first-child { padding-top: 0; }
.reqs dt { font-weight: 600; }
.reqs dd { margin: 0; max-width: 62ch; color: var(--ink-2); }

/* MARK: 9. FAQ */
/* The heading and his line stay in view on the left while the answers open on the right. */
.faq { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.faq-head { position: sticky; top: var(--s-6); }
.faq-head h2 { margin-bottom: var(--s-5); max-width: 12ch; }
.faq-head .says { --tail-x: 40px; }
.qa details { border-bottom: 1px solid var(--rule); }
.qa details:first-child { border-top: 1px solid var(--rule); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 56px; padding: 14px 0; font: 600 var(--t-body)/1.35 var(--font-display); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 1ch; font: 400 1.5rem/1 var(--font-text); color: var(--ink-2); text-align: center; }
.qa details[open] summary::after { content: "−"; }
.qa details p { margin: 0 0 var(--s-4); max-width: 62ch; color: var(--ink-2); }
.qa details b { color: var(--ink); font-weight: 600; }

/* MARK: Footer */
.foot { border-top: 1px solid var(--rule); padding-block: var(--s-6) var(--s-7); color: var(--ink-2); font-size: var(--t-small); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { color: var(--ink); min-height: 24px; display: inline-block; }
.foot .small { flex-basis: 100%; font-size: var(--t-meta); }

/* MARK: The tour: his cursor flying over the page */
.tour { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
@media (prefers-reduced-motion: no-preference) {
  /* JS adds .touring before it starts; the bubbles then pop when his cursor arrives. Without JS they simply show. */
  .touring .says[data-say] { opacity: 0; transform: scale(.55); transform-origin: var(--tail-x, 28px) 120%; transition: opacity .18s, transform .22s var(--ease-out); }
  .touring .says[data-say].is-on { opacity: 1; transform: none; transition: opacity .12s, transform .7s var(--spring); }
  .progress i { animation: busy 1.5s var(--ease-out) infinite; }
  @keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
  .mini-phone .press { animation: hold 2.4s var(--ease-out) infinite; }
  @keyframes hold { 0%, 15% { transform: scale(1.25); opacity: 0; } 35%, 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(.9); opacity: 0; } }
}

/* MARK: Smaller screens */
@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / span 6; }
  .phone { width: min(58%, 760px); bottom: 6%; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; display: flex; flex-direction: column; padding-top: var(--s-2); padding-bottom: var(--s-6); }
  .hero-copy { padding-bottom: 0; }
  .phone { order: -1; position: relative; right: auto; bottom: auto; width: 100%; margin: 0 0 var(--s-5); }
  .hero h1 { margin-bottom: var(--s-4); }
  .hero .says { max-width: 36ch; }
  .pc-grid, .team-grid, .looks-grid, .memory-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .routine-col { justify-self: start; }
  .faq-head { position: static; }
  .faq-grid { gap: var(--s-5); }
  .team-card-col, .team-copy { grid-column: 1; grid-row: auto; }
  .team-copy { order: 1; } .team-card-col { order: 2; } .rules { order: 3; }
  .looks-preview { order: 0; }
  section.pc[data-scene] { padding-block: var(--s-8); }
  .talk .says { --tail-x: 112px; }
  .modes, .steps { grid-template-columns: 1fr; }
  .modes { gap: var(--s-6); }
  .modes li { display: grid; grid-template-columns: 136px 1fr; grid-template-rows: auto 1fr; column-gap: var(--s-4); align-items: start; }
  .modes li .mini-phone { grid-row: span 2; width: 136px; padding: 6px; border-radius: 22px; }
  .modes li .mini-phone canvas { border-radius: 17px; }
  .mini-phone.listening::after { inset: 6px; border-radius: 17px; }
  .modes h3 { margin: 0 0 var(--s-2); }
  .mini-phone .reply { display: none; }
  .mini-phone .typebar { left: 8px; right: 8px; bottom: 10px; padding: 4px 4px 4px 9px; font-size: 0.75rem; white-space: nowrap; }
  .mini-phone .typebar svg { width: 18px; height: 18px; padding: 3px; }
  .mini-phone .press { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .talk .says { margin-top: 0; }
  .needs { grid-template-columns: 1fr; }
  .steps { display: flex; flex-direction: column; gap: var(--s-6); }
  .steps li { display: flex; flex-direction: column; gap: 12px; }
  .desktop { aspect-ratio: 4 / 3.3; }
  .editor { left: 4%; width: 92%; height: 70%; }
  .notepad { right: 3%; width: 64%; }
  .nav nav a:not(.nav-dl) { display: none; }
  .looks-preview { justify-items: center; }
}
@media (max-width: 480px) {
  section[data-scene]:not(.hero) { padding-block: var(--s-7); }
  .titlebar { height: 22px; font-size: 0.75rem; }
  .titlebar i { width: 20px; }
  .taskbar { height: 30px; gap: 6px; }
  .taskbar span { width: 18px; height: 18px; }
  .post-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .post-title { font-size: var(--t-small); }
  .keeps div, .reqs div { grid-template-columns: 1fr; gap: 2px; }
}

/* MARK: Documents (privacy, terms) and notices (404, download not ready) */
.doc { max-width: calc(68ch + 2 * var(--gutter)); padding-block: var(--s-6) var(--s-8); }
.doc h1 { font: 600 var(--t-h2)/1.05 var(--font-display); letter-spacing: -0.02em; margin: 0 0 var(--s-2); }
.doc .updated { color: var(--ink-2); font-size: var(--t-small); margin: 0 0 var(--s-5); }
.doc h2 { font-size: var(--t-h3); margin: var(--s-6) 0 var(--s-3); max-width: none; }
.doc p, .doc li { color: var(--ink-2); max-width: 68ch; }
.doc li { margin-bottom: var(--s-2); }
.doc b { color: var(--ink); font-weight: 600; }
.doc .bubble { color: var(--bubble-ink); margin-bottom: var(--s-5); }
.notice { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: var(--s-4); max-width: 640px; }
.notice h1 { font: 600 var(--t-h2)/1.05 var(--font-display); letter-spacing: -0.02em; margin: 0; }
.notice p { margin: 0; color: var(--ink-2); }
.notice .bubble { color: var(--bubble-ink); }
