/* iVirtualSoft V2 prototype — shared styles.
   Theme locked: warm off-white, near-black CTAs (#111316, hover #30343A), evergreen secondary accent (#0E6B4F). Cyan/purple appear only in the signature particles. */
:root {
  --paper: #f7f6f2;
  --paper-2: #efede7;
  --white: #fdfdfb;
  --rule: #dcd9d0;
  --rule-soft: #e9e7e1;
  --ink: #111316;
  --ink-2: #3a3d42;
  --ink-3: #5c6067;
  --cta: #111316;
  --cta-hover: #30343a;
  --accent: #0e6b4f;
  --accent-hover: #0a5740;
  --live: #0e6b4f;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --text: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --gutter: 20px;
  --hd: 64px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --hd: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ink); color: var(--paper); }
.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; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* Prototype strip */
.strip { background: var(--ink); color: #cfd2d6; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.strip .wrap { padding-block: 6px; }

/* Header */
.hd { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.hd.is-stuck { border-bottom-color: var(--rule); }
.hd .wrap { height: var(--hd); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hd__logo img { height: 42px; width: auto; }
.hd__nav { display: none; }
.hd__nav ul { display: flex; gap: 30px; font-size: 15px; color: var(--ink-2); }
.hd__nav a { position: relative; text-decoration: none; padding-block: 6px; transition: color 0.2s; }
.hd__nav a:hover, .hd__nav a[aria-current="page"] { color: var(--ink); }
.hd__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); }
.hd__cta { display: none; }
.hd__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; background: none; border: 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.hd__menu span[aria-hidden] { position: relative; width: 18px; height: 10px; }
.hd__menu span[aria-hidden]::before, .hd__menu span[aria-hidden]::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.2s, top 0.2s; }
.hd__menu span[aria-hidden]::before { top: 0; } .hd__menu span[aria-hidden]::after { top: 8.5px; }
.hd__menu[aria-expanded="true"] span[aria-hidden]::before { top: 4px; transform: rotate(45deg); }
.hd__menu[aria-expanded="true"] span[aria-hidden]::after { top: 4px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: var(--hd) 0 0; z-index: 49; background: var(--paper); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; min-height: 100%; padding: 8px var(--gutter) 32px; }
.drawer li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.drawer li a[aria-current="page"] { color: var(--accent); }
.drawer__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; text-align: center; color: var(--ink-2); }
@media (min-width: 560px) { .hd__cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .hd__logo img { height: 58px; }
  .hd__nav { display: block; }
  .hd__menu { display: none; }
}

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 6px; border: 0; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); }
.btn--quiet { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.btn--quiet:hover { background: var(--ink); color: var(--paper); }
.link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link::after { content: " →"; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Page hero (all pages) */
.phero { padding-block: 40px 48px; }
.phero h1 { margin-top: 14px; font-family: var(--display); font-size: clamp(2.1rem, 6.2vw, 4.2rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.04em; max-width: 18ch; text-wrap: balance; }
.phero h1 .soft { font-weight: 300; color: var(--ink-3); }
.phero h1 span { display: block; }
.phero .lede { margin-top: 20px; max-width: 40rem; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.phero .lede b { color: var(--ink); font-weight: 650; }
.phero .ctas { margin-top: 28px; }
.phero--home { display: grid; gap: 22px; padding-block: 28px 32px; }
.phero--home .lede { margin-top: 0; font-size: 17px; }
.phero--home .ctas { margin-top: 0; }
@media (min-width: 1100px) {
  .phero { padding-block: 72px 72px; }
  .phero--home { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 56px; padding-block: 40px 40px; }
  .phero--home .side { display: flex; flex-direction: column; gap: 22px; }
}

/* Home hero with the locked formation */
.hhero { display: grid; }
.hhero__art { position: relative; height: 170px; margin-top: 8px; }
.hhero__art canvas, .hhero__art noscript img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hhero__art noscript img { object-fit: contain; }
.hhero__text { padding-block: 4px 44px; }
.hhero h1 { margin-top: 14px; font-family: var(--display); font-size: clamp(2.2rem, 9vw, 4.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.hhero h1 span { display: block; }
.hhero h1 .soft { font-weight: 300; color: var(--ink-3); }
.hhero .lede { margin-top: 20px; max-width: 34rem; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.hhero .lede b { color: var(--ink); font-weight: 650; }
.hhero .trust { display: flex; gap: 10px; align-items: baseline; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.hhero .trust i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(14, 107, 79, 0.14); transform: translateY(-1px); }
.hhero .ctas { margin-top: 28px; }
@media (min-width: 768px) { .hhero__art { height: 300px; } .hhero .lede { font-size: 19px; } }
@media (min-width: 1100px) {
  .hhero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: calc(100svh - var(--hd) - 24px); }
  .hhero__text { order: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
  .hhero__art { order: 2; height: auto; min-height: 520px; margin-top: 0; }
}

/* Sections */
.sec { padding-block: 72px; }
.sec--tint { background: var(--paper-2); }
.sec__head { display: grid; gap: 16px; margin-bottom: 40px; }
.sec__head h2 { font-family: var(--display); font-size: clamp(1.8rem, 4.2vw, 3rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.sec__head p { max-width: 38rem; font-size: 17px; color: var(--ink-2); }
@media (min-width: 1100px) {
  .sec { padding-block: 112px; }
  .sec__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 56px; margin-bottom: 56px; }
  .sec__head .eyebrow { grid-column: 1 / -1; }
}

/* Editorial rows (instead of card grids) */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; gap: 14px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.row__n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.row h3 { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.row p { color: var(--ink-2); max-width: 36rem; }
.row ul { display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.row ul li { display: flex; gap: 10px; }
.row ul li::before { content: ""; flex: none; width: 10px; height: 1px; margin-top: 0.8em; background: var(--ink-3); }
@media (min-width: 1100px) {
  .row { grid-template-columns: 60px minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px; align-items: start; padding-block: 36px; }
}

/* Phases */
.phases { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.phase { padding-block: 26px; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; }
.phase h3 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.phase p { color: var(--ink-2); }
.phase .get { font-size: 15px; color: var(--ink); }
.phase .get span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 0; } .phase { border-top: 1px solid var(--ink); border-bottom: 0; align-content: start; } }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 16px 10px 0; border-bottom: 1px solid var(--ink); }
.tbl td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.tbl td:first-child { color: var(--ink); font-weight: 650; }
.tbl--rai td:last-child { font-family: var(--mono); font-size: 13px; color: var(--ink); }
@media (max-width: 719px) {
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { display: none; }
  .tbl tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .tbl td { border: 0; padding: 2px 0; }
  .tbl td[data-l]::before { content: attr(data-l) " — "; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
}

/* Lists */
/* Six-stage delivery flow — vertical rail on mobile, 3×2 on tablet, one horizontal track on desktop.
   Each stage owns a track (rule), a progress line (::before) and a node (::after). Final state is the default;
   site.js arms the outlined state and activates stages in reading order as they scroll into view. */
.flow { display: grid; position: relative; }
.flow__step { position: relative; padding: 0 0 30px 34px; display: grid; gap: 8px; align-content: start; background: linear-gradient(var(--rule), var(--rule)) no-repeat 5px 8px / 1px 100%; }
.flow__step:last-child { background: none; }
.flow__step::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -8px; width: 1px; background: var(--ink); transform-origin: top; }
.flow__step:last-child::before { display: none; }
.flow__step::after { content: ""; position: absolute; left: 0; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.flow.is-armed .flow__step::before { transform: scaleY(0); }
.flow.is-armed .flow__step::after { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.flow.is-armed .flow__step.is-on::before { transform: none; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--d, 0s) + 0.15s); }
.flow.is-armed .flow__step.is-on::after { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); transition: background-color 0.35s ease var(--d, 0s), box-shadow 0.35s ease var(--d, 0s); }
.flow__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); }
.flow__step h3 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.flow__step p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.flow__get { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14.5px !important; color: var(--ink) !important; }
.flow__get span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
@media (min-width: 720px) {
  .flow { grid-template-columns: repeat(3, 1fr); column-gap: 32px; row-gap: 40px; }
  .flow__step, .flow__step:last-child { padding: 26px 0 0; background: linear-gradient(var(--rule), var(--rule)) no-repeat 0 0 / 100% 1px; }
  .flow__step::before, .flow__step:last-child::before { display: block; left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; transform-origin: left; }
  .flow__step::after { top: -5px; }
  .flow.is-armed .flow__step::before { transform: scaleX(0); }
}
@media (min-width: 1100px) {
  .flow { grid-template-columns: repeat(6, 1fr); column-gap: 24px; }
  .flow::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
  .flow__step, .flow__step:last-child { background: none; padding-right: 4px; }
  .flow__step::before { right: -24px; }
  .flow__step:last-child::before { right: 0; }
  .flow__step h3 { font-size: 22px; }
  .flow__step p { font-size: 15px; }
}
.flow__safe { margin: 48px 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.ticks b { color: var(--ink); }
.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Proof */
.proof { display: grid; gap: 32px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.status--live { color: var(--live); } .status--live::before { background: currentColor; }
.proof h3 { margin-top: 10px; font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; }
.proof .line { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 32rem; }
.facts { margin-top: 18px; border-top: 1px solid var(--rule); }
.facts li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.facts li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--ink); }
.proof .src { display: block; padding: 0; border: 0; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.shot__frame { padding: 8px; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 30px 70px -44px rgba(17, 19, 22, 0.45); }
.shot__frame img { border-radius: 4px; }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
@media (min-width: 900px) { .proof { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }
.proof__h { margin: 28px 0 10px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.proof > div > .proof__h:first-child { margin-top: 0; }
.proof > div > p:not(.line):not(.src) { color: var(--ink-2); max-width: 34rem; }
.proof .ctas { margin-top: 26px; align-items: center; }
.proof .facts { margin-top: 0; }

/* Close band */
.close { padding-block: 80px; background: var(--paper-2); }
.close h2 { font-family: var(--display); font-size: clamp(2.2rem, 7vw, 5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; max-width: 12ch; text-wrap: balance; }
.close .row2 { display: grid; gap: 22px; margin-top: 28px; }
.close .row2 p { font-size: 18px; color: var(--ink-2); max-width: 32rem; }
@media (min-width: 1100px) { .close { padding-block: 128px; } .close .row2 { grid-template-columns: 1fr auto; align-items: end; } }

/* Start a project — composer + outline */
.composer { display: grid; gap: 36px; }
.composer > * { min-width: 0; }
.sentence { font-family: var(--display); font-size: clamp(1.6rem, 6vw, 2.15rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.25; color: var(--ink-3); }
.sentence .for { white-space: nowrap; }
.pick { position: relative; display: inline-block; max-width: 100%; vertical-align: bottom; margin-block: 2px; }
.pick select { appearance: none; -webkit-appearance: none; max-width: 100%; margin: 0; padding: 0 1.05em 2px 0; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111316' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.1em center / 0.5em auto; font-family: var(--display); font-size: inherit; font-weight: 600; letter-spacing: inherit; line-height: 1.15; color: var(--ink); cursor: pointer; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.pick select:hover { border-bottom-color: var(--accent); }
.measure { position: absolute; visibility: hidden; white-space: pre; font-family: var(--display); font-weight: 600; }
@media (max-width: 719px) { .sentence > .pick { display: block; width: fit-content; } }
.describe { margin-top: 28px; }
.describe label { display: block; font-size: 15px; font-weight: 600; }
.describe textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; min-height: 104px; resize: vertical; background: var(--white); border: 1px solid #c9ccd1; border-radius: 6px; font-size: 16px; line-height: 1.5; }
.describe textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.describe__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.match-msg { font-size: 14.5px; color: var(--ink-2); }
.privacy { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.outline { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 30px 60px -40px rgba(17, 19, 22, 0.3); }
.outline__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.outline__body { padding: 22px 18px 8px; }
.outline__body.flash { animation: o-in 0.4s var(--ease); }
@keyframes o-in { from { opacity: 0.4; } }
.outline__title { font-family: var(--display); font-size: clamp(1.35rem, 4.4vw, 1.85rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.outline__summary { margin-top: 8px; color: var(--ink-2); }
.outline__cols { display: grid; gap: 26px; margin-top: 24px; }
.ol-h { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.o-list li { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.o-list b { display: block; font-weight: 650; }
.o-list span { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.o-phases li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; color: var(--ink-2); }
.o-phases b { color: var(--ink); }
.o-q li { position: relative; padding: 10px 0 10px 18px; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--rule-soft); }
.o-q li::before { content: "?"; position: absolute; left: 0; top: 10px; font-family: var(--mono); color: var(--accent); }
.outline__actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; padding: 18px; border-top: 1px solid var(--rule); margin-top: 16px; }
.status-msg { font-size: 14px; color: var(--ink-3); }
.outline__note { padding: 0 18px 16px; font-size: 13px; color: var(--ink-3); }
@media (min-width: 768px) {
  .outline__body { padding: 28px 28px 8px; } .outline__bar { padding: 14px 28px; } .outline__actions { padding: 20px 28px; } .outline__note { padding: 0 28px 20px; }
  .outline__cols { grid-template-columns: 1fr 1fr; gap: 32px; } .outline__cols .wide { grid-column: 1 / -1; }
  .wide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
}
@media (min-width: 1100px) { .composer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .composer__lead { position: sticky; top: calc(var(--hd) + 32px); } }

/* Footer */
.ft { padding-block: 32px 104px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-3); }
.ft .wrap { display: grid; gap: 16px; }
.ft ul { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); }
.ft a { text-decoration: none; }
@media (min-width: 1100px) { .ft { padding-bottom: 40px; } .ft .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* Mobile action dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 -12px 30px -20px rgba(17, 19, 22, 0.3); transition: transform 0.3s var(--ease); }
.dock.hide { transform: translateY(110%); }
.dock p { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--ink-3); }
.dock b { display: block; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1100px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== Signature stage (homepage) ===== */
/* Signature stage — the only place cyan/purple appear */
.stage { position: relative; border-radius: 14px; overflow: hidden; background: var(--stage-bg); border: 1px solid var(--stage-border); height: clamp(520px, calc(100svh - 150px), 620px);
  --stage-bg: #f0eee8; --stage-border: #dedbd2; --s-line: rgba(17, 19, 22, 0.72); --s-line-soft: rgba(17, 19, 22, 0.22); --s-fill: #fbfaf7; --s-label: #111316; --s-sub: #5c6067; --s-band: rgba(17, 19, 22, 0.035);
  --ui-bg: #fdfdfb; --ui-line: #e2e0d8; --ui-ink: #111316; --ui-sub: #5c6067; --ui-chip: #f2f1ec; }
.stage[data-theme="dark"] { --stage-bg: #10161c; --stage-border: #10161c; --s-line: rgba(233, 236, 240, 0.72); --s-line-soft: rgba(233, 236, 240, 0.2); --s-fill: #151d25; --s-label: #e9ecf0; --s-sub: #9aa3ad; --s-band: rgba(233, 236, 240, 0.04);
  --ui-bg: #161e27; --ui-line: #2a3440; --ui-ink: #e9ecf0; --ui-sub: #9aa3ad; --ui-chip: #1e2731; }
@media (min-width: 720px) { .stage { height: clamp(500px, 46vw, 660px); } }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.stage noscript { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 32px; text-align: center; }

/* Scene 4 — conceptual interface (HTML, so text is crisp and real) */
.ui { position: absolute; inset: 0; z-index: 1; padding: 5.5% 6%; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; color: var(--ui-ink); }
.ui.show { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.ui__win { height: 100%; display: grid; grid-template-rows: auto 1fr; background: var(--ui-bg); border: 1px solid var(--ui-line); border-radius: 10px; box-shadow: 0 30px 70px -40px rgba(17, 19, 22, 0.35); overflow: hidden; }
.ui__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--ui-line); }
.ui__name { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.ui__concept { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ui-sub); }
.ui__body { display: grid; grid-template-columns: 1fr 1.35fr 0.95fr; min-height: 0; }
.ui__col { padding: 18px; border-right: 1px solid var(--ui-line); min-width: 0; overflow: hidden; }
.ui__col:last-child { border-right: 0; }
.ui__lt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ui-sub); }
.sk { height: 8px; border-radius: 3px; background: var(--ui-chip); margin-top: 9px; }
.src { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border: 1px solid var(--ui-line); border-radius: 6px; }
.src i { font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--ui-sub); border: 1px solid var(--ui-line); border-radius: 3px; padding: 1px 5px; }
.src .sk { flex: 1; margin: 0; }
.act__title { margin-top: 8px; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.checks { margin-top: 14px; display: grid; gap: 7px; font-size: 13px; }
.checks li { display: flex; gap: 8px; align-items: baseline; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.checks li.wait::before { content: "◷"; color: var(--ui-sub); }
.fakebtns { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fakebtns span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 5px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--ui-line); }
.fakebtns span:first-child { background: var(--accent); color: #fff; box-shadow: none; }
.timeline { margin-top: 10px; display: grid; gap: 11px; }
.timeline li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ui-sub); }
.timeline li.now { color: var(--ui-ink); font-weight: 600; }
.timeline .dot { width: 10px; height: 10px; border-radius: 50%; }
@media (max-width: 719px) {
  .ui { padding: 18px 14px 58px; }
  .ui__col > .sk { display: none; }
  .checks { margin-top: 10px; }
  .timeline { gap: 7px; }
  .ui__body { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .ui__col--req { display: none; }
  .ui__col { border-right: 0; border-bottom: 1px solid var(--ui-line); padding: 14px; }
  .ui__bar { flex-direction: column; align-items: flex-start; gap: 2px; }
  .ui__concept { font-size: 9.5px; }
}

/* Discreet playback control — one icon button in the stage corner */
.sig__ctl { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(251, 250, 247, 0.88); box-shadow: inset 0 0 0 1px var(--stage-border); color: var(--ink); opacity: 0.72; cursor: pointer; transition: opacity 0.2s, box-shadow 0.2s; }
.sig__ctl:hover, .sig__ctl:focus-visible { opacity: 1; box-shadow: inset 0 0 0 1px var(--ink-3); }
.sig__ctl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sig__ctl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sig__ctl .i-play { fill: currentColor; stroke: none; }
.sig__ctl path { display: none; }
.sig__ctl[data-mode="pause"] .i-pause, .sig__ctl[data-mode="play"] .i-play, .sig__ctl[data-mode="replay"] .i-replay { display: inline; }

/* Captions — stacked in one cell so the height never changes; only the active one is visible */
.caps { display: grid; padding-block: 22px 8px; }
.cap { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
.cap.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease) 0.2s; }
.cap__title { font-family: var(--display); font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.cap__desc { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 40rem; }
@media (max-width: 719px) { .caps { padding-top: 16px; } .cap__desc { font-size: 15px; } .sig__ctl { right: 10px; bottom: 10px; } }
.sig { padding-bottom: 24px; }

/* Homepage portfolio — one named product, two discreet "coming soon" rows */
.work { display: grid; border-top: 1px solid var(--ink); }
.work__product { display: grid; gap: 14px; justify-items: start; padding-block: 28px; border-bottom: 1px solid var(--rule); }
.work__label, .work__soon dt { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.work__logo { display: block; margin-block: 4px; }
.work__logo img { display: block; height: 48px; width: auto; }
.work__line { max-width: 36rem; color: var(--ink-2); }
.work__meta { display: flex; align-items: center; gap: 18px; }
.work__soon div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.work__soon dd { font-size: 15px; color: var(--ink-3); }
@media (min-width: 900px) {
  .work { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); column-gap: 56px; }
  .work__product { border-bottom: 0; padding-block: 36px 8px; }
  .work__logo img { height: 60px; }
  .work__soon { padding-top: 22px; }
  .work__soon div:first-child { border-top: 0; }
}

/* Start a project — send the outline */
.send { margin-top: 16px; border-top: 1px solid var(--rule); }
.send .outline__actions { margin-top: 0; border-top: 0; }
.send__fields { display: grid; gap: 12px; padding: 18px 18px 0; }
.send__fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.send__fields input { height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); }
.send__fields input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.send__trap { display: none; }
.send .status-msg:empty { display: none; }
#send-status, #copy-status { display: block; padding: 0 18px 4px; font-size: 14px; color: var(--ink-2); }
@media (min-width: 720px) { .send__fields { padding: 20px 28px 0; } #send-status, #copy-status { padding: 0 28px 4px; } }
@media (min-width: 560px) { .send__fields { grid-template-columns: 1fr 1fr; } }
