/* Lyonesse homepage sections. Tokens, type, header and footer live in site.css. */
.home .foot .cols { grid-template-columns: 2fr 3fr 2.4fr 4fr; }
.foot .langs ul { columns: 2; column-gap: var(--col-gap); }
/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { grid-area: 1 / 1; position: relative; z-index: 2; align-self: center; padding-top: 0; padding-bottom: 0; }
.hero h1 { grid-column: 1 / 8; font-size: var(--step-display); }
.hero h1 .ln { display: block; }
.hero-lede { grid-column: 1 / 6; margin-top: 40px; max-width: 30ch; font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.015em; }
.hero-act { grid-column: 1 / 6; margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-note { font-size: var(--step-small); color: var(--muted); }
.stage-wrap { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-top: 104px; min-height: max(780px, min(100svh, 980px)); }
.stage {
  grid-column: 7 / 13; position: relative;
  background: var(--field); border-radius: var(--arch); overflow: hidden;
}
.stage .fragment { position: absolute; left: 50%; top: 21%; width: min(72%, 640px); max-width: none; transform: translateX(-50%); }

/* ---------- facts board ---------- */
.facts { padding-top: var(--section); }
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(300px, auto) minmax(250px, auto); gap: var(--gap); }
.tile { background: var(--surface); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.tile b { display: block; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.tile.head { grid-column: 1 / 7; grid-row: 1 / 3; background: var(--field); color: var(--field-ink); border-radius: var(--arch); padding: 34% 48px 40px; justify-content: flex-end; gap: 0; }
.tile.head h2 { font-size: var(--step-head); }
.tile.head p { margin-top: 20px; max-width: 40ch; }
.tile.head .updated { margin-top: 14px; font-size: var(--step-small); }
.tile.mb { grid-column: 7 / 13; grid-row: 1; background: var(--wave); color: var(--wave-ink); }
.tile.mb b { font-size: clamp(4rem, 1.5rem + 7vw, 8.5rem); letter-spacing: -0.05em; line-height: 0.9; }
.tile.mb p { max-width: 44ch; }
.tile.lang { grid-column: 7 / 10; grid-row: 2; background: var(--surface-2); }
.tile.air { grid-column: 10 / 13; grid-row: 2; }
.defs { margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--col-gap); }
.defs dt { font-weight: 600; letter-spacing: -0.02em; font-size: var(--step-lead); line-height: 1.15; }
.defs dd { margin: 10px 0 0; max-width: 40ch; }

/* ---------- features: close-ups on a board ---------- */
.features { padding-top: var(--section); }
.closeups { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(11, 104px); gap: var(--gap); }
.cu { position: relative; overflow: hidden; background: var(--surface); }
.cu .cap { position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 2; }
.cu .cap b { display: block; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.cu .cap span { display: block; margin-top: 6px; max-width: 40ch; }
.cu.navy { background: var(--field); color: var(--field-ink); }
.cu.aqua { background: var(--wave); color: var(--wave-ink); }
.cu.pale { background: var(--surface-2); }
.cu-head { grid-column: 1 / 7; grid-row: 1 / 3; padding: 28px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.cu-head h2 { font-size: var(--step-head); max-width: 13ch; }
.cu-head p { max-width: 44ch; }
.cu-a { grid-column: 7 / 13; grid-row: 1 / 6; }
.cu-b { grid-column: 1 / 7; grid-row: 3 / 6; }
.cu-c { grid-column: 7 / 10; grid-row: 6 / 10; }
.cu-d { grid-column: 10 / 13; grid-row: 6 / 10; }
.cu-e { grid-column: 1 / 7; grid-row: 6 / 10; }
.cu-f { grid-column: 7 / 13; grid-row: 10 / 12; }
.cu-g { grid-column: 1 / 7; grid-row: 10 / 12; }
.cu .shot { position: absolute; max-width: none; }
.cu-a .shot { left: 24px; right: 24px; top: 24px; width: calc(100% - 48px); }
.cu-b .shot { right: 24px; top: 24px; width: 54%; }
.cu-b .cap { right: auto; max-width: 38%; }
.cu-c .shot { left: 16px; top: 16px; width: calc(100% - 32px); }
.cu-e .shot { right: 24px; top: 24px; width: 50%; }
.cu-e .cap { right: auto; max-width: 40%; }

/* elements drawn inside the close-ups, built in em */
[data-ui] { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Switzer", system-ui, sans-serif; letter-spacing: 0; }
.ui-discs { position: absolute; left: 24px; top: 24px; display: flex; font-size: clamp(44px, 4.4vw, 68px); }
.ui-discs span { width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 1em; color: #fff; }
.ui-discs span + span { margin-left: -0.32em; }
.ui-discs span:nth-child(1) { background: #1a7fe0; }
.ui-discs span:nth-child(2) { background: #2a9d55; }
.ui-discs span:nth-child(3) { background: #e9822b; }
.ui-chips { position: absolute; top: 24px; right: 24px; width: 50%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4em; font-size: clamp(18px, 1.7vw, 26px); }
.cu-f .cap, .cu-g .cap { right: auto; max-width: 44%; }
.ui-chips span { background: #fff; color: #0f2c44; padding: 0.35em 0.8em; border-radius: 0.5em; white-space: nowrap; font-weight: 500; }
.ui-toggle { position: absolute; right: 24px; top: 24px; display: flex; align-items: center; gap: 0.6em; font-size: clamp(22px, 2.2vw, 32px); background: #fff; color: #0f2c44; padding: 0.5em 0.6em 0.5em 0.8em; border-radius: 0.6em; white-space: nowrap; }
.ui-toggle i { width: 2.1em; height: 1.25em; border-radius: 1em; background: #34c759; position: relative; display: inline-block; }
.ui-toggle i::after { content: ""; position: absolute; right: 0.1em; top: 0.1em; width: 1.05em; height: 1.05em; border-radius: 50%; background: #fff; }

/* ---------- showcase: the record button, blown up ---------- */
.rec { position: relative; margin-top: var(--section); min-height: 860px; background: var(--field); color: var(--field-ink); overflow: hidden; transition: background-color 500ms ease, color 500ms ease; }
.rec.is-recording { background: var(--wave); color: var(--wave-ink); }
.rec-copy { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.rec h2 { font-size: var(--step-display); grid-column: 1 / 8; }
.rec h2 span { display: inline-block; }
.rec-copy > p { grid-column: 1 / 6; margin-top: 28px; max-width: 44ch; }
.note { grid-column: 1 / 6; margin-top: 36px; background: var(--bg); color: var(--ink); padding: 24px 26px 26px; min-height: 318px; }
.note .nt { line-height: 1.2; display: flex; justify-content: space-between; gap: 12px; }
.note .nt b { font-weight: 600; letter-spacing: -0.01em; }
.note .nt span { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.note .captions { margin-top: 14px; }
.note .captions p + p { margin-top: 8px; }
.note .captions b { display: block; font-size: var(--step-small); font-weight: 600; }
.note .captions .s1 b { color: #1a6fc4; }
.note .captions .s2 b { color: #1f7f43; }
.note .captions .s3 b { color: #b45a12; }
.note .summary { margin-top: 14px; }
.note ul { list-style: none; padding: 0; margin: 14px 0 0; }
.note li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.note li::before { content: ""; flex: none; width: 1em; height: 1em; margin-top: 0.22em; border-radius: 50%; border: 2px solid var(--muted); }
.note li small { display: block; color: var(--muted); font-size: var(--step-small); }
.note .state-live, .note .state-idle { display: none; }
.js .note[data-state="live"] .state-live { display: block; }
.js .note[data-state="live"] .state-done { display: none; }
.js .note[data-state="idle"] .state-done { display: none; }
.js .note[data-state="idle"] .state-idle { display: block; }
.note .state-idle { color: var(--muted); margin-top: 14px; }
.note .state-done li { opacity: 1; transform: none; transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); }
.note.pop .state-done li { opacity: 0; transform: translateY(10px); }

.recctl {
  position: absolute; z-index: 1; right: -1.4em; bottom: -1.3em;
  font-size: clamp(30px, 3.9vw, 58px);
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 0.7em; text-align: right;
}
.recbtn {
  font-size: inherit;
  width: 9em; height: 9em; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.14); display: grid; place-items: center;
  transition: transform 160ms var(--ease-out), background-color 300ms ease;
}
.recbtn i { width: 7em; height: 7em; border-radius: 50%; background: #d9dee3; display: grid; place-items: center; transition: background-color 300ms ease; }
.recbtn svg { width: 2.6em; height: 2.6em; }
.recbtn:active { transform: scale(0.97); }
.rec.is-recording .recbtn { background: rgba(15,44,68,0.12); }
.rec.is-recording .recbtn i { background: var(--rec); }
.recbtn .stopglyph { display: none; }
.rec.is-recording .recbtn .micglyph { display: none; }
.rec.is-recording .recbtn .stopglyph { display: block; }
.recbtn { grid-column: 2; grid-row: 1 / 4; }
.recbtn:focus-visible { outline-offset: 8px; outline-width: 4px; }
.recctl .lbl { grid-column: 1; grid-row: 1; align-self: end; font-weight: 600; font-size: 0.9em; }
.recctl .tm { grid-column: 1; grid-row: 2; font-size: 0.9em; font-variant-numeric: tabular-nums; }
.recctl .wave { grid-column: 1; grid-row: 3; align-self: start; justify-self: end; display: flex; gap: 0.12em; align-items: center; height: 1.4em; margin-top: 0.2em; }
.recctl .wave b { width: 0.12em; height: 0.4em; background: currentColor; border-radius: 0.1em; }
.rec.is-recording .recctl .wave b { animation: bar 900ms ease-in-out infinite alternate; }
@keyframes bar { from { transform: scaleY(0.4); } to { transform: scaleY(2.6); } }
@media (hover: hover) and (pointer: fine) { .recbtn:hover { transform: scale(1.02); } }

/* ---------- meetings ---------- */
.meet { padding-top: var(--section); align-items: start; grid-template-rows: auto 1fr; }
.meet h2 { grid-column: 1 / 7; grid-row: 1; font-size: var(--step-head); }
.meet .text { grid-column: 1 / 6; grid-row: 2; margin-top: 32px; }
.meet .text p { max-width: 46ch; }
.meet .arch-list { margin-top: 32px; }
.meet .arch-list b { font-weight: 600; }
.meet-stage { grid-column: 7 / 13; grid-row: 1 / 3; background: var(--field); border-radius: var(--arch); height: clamp(600px, 44vw, 860px); position: relative; overflow: hidden; }
.meet-stage img { position: absolute; left: 50%; top: 24%; width: min(64%, 500px); transform: translateX(-50%); }

/* ---------- the band: the land the sea cut off ---------- */
.band { margin-top: var(--section); background: var(--field); color: var(--field-ink); padding-block: clamp(80px, 10vw, 150px); }
.band-film { grid-column: 1 / 6; }
.band .big { height: 700px; }
.band .big video { object-position: 62% 50%; }
.band-film figcaption { margin-top: 12px; font-size: var(--step-small); }
.band .right { grid-column: 7 / 13; display: flex; flex-direction: column; }
.band h2 { font-size: var(--step-head); }
.band .copy { margin-top: 28px; max-width: 52ch; }
.band .copy p + p { margin-top: 14px; }
.band .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: auto; padding-top: 48px; }
.band .row .arch { aspect-ratio: 3 / 4.6; }
.band .row figcaption { margin-top: 10px; font-size: var(--step-small); }

/* ---------- who it's for: giant word, filled bars ---------- */
.who { padding-top: var(--section); }
.who-stage { grid-column: 1 / 6; background: var(--surface-2); border-radius: var(--arch); position: relative; overflow: hidden; min-height: 680px; align-self: start; }
.who-stage img { position: absolute; left: 50%; top: 14%; width: 68%; margin-left: -34%; }
.who-col { grid-column: 7 / 13; container-type: inline-size; }
.who-col h2 { font-size: 15.2cqw; line-height: 0.86; letter-spacing: -0.05em; white-space: nowrap; }
.bars { margin-top: 28px; display: grid; gap: 6px; }
.bars details { background: var(--surface); transition: background-color 200ms ease; }
.bars summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 22px; font-weight: 500; }
.bars summary::-webkit-details-marker { display: none; }
.bars details[open] { background: var(--surface-2); }
.bars .panel { padding: 0 22px 24px; }
.bars .panel p { max-width: 58ch; }
.bars .panel ul { margin-top: 14px; }
.bars .panel li + li { margin-top: 8px; }
.bars .panel .more { margin-top: 14px; }
@media (hover: hover) and (pointer: fine) { .bars details:not([open]) summary:hover { background: var(--surface-2); } }

/* ---------- comparison ---------- */
.compare { padding-top: var(--section); }
.compare .chead { grid-column: 1 / 5; }
.compare h2 { font-size: var(--step-head); }
.compare .lede { margin-top: 24px; max-width: 30ch; }
.compare .more { margin-top: 16px; max-width: 30ch; }
.compare .tablewrap { grid-column: 5 / 13; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--surface-2); }
thead th { font-weight: 600; }
tbody th { font-weight: 500; }
td:first-child, th:first-child { padding-left: 0; }
.col-us { background: var(--field); color: var(--field-ink); border-bottom-color: #23465f; font-weight: 600; }
thead .col-us { border-radius: 22px 22px 0 0; }
td.no { color: var(--muted); }

/* ---------- pricing: plans that step up ---------- */
.pricing { padding-top: var(--section); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: end; position: relative; }
.pricing .phead { position: absolute; left: 0; top: 0; width: 50%; padding-right: 24px; }
.pricing .phead h2 { font-size: var(--step-head); }
.pricing .phead p { margin-top: 20px; max-width: 38ch; }
.plan { grid-row: 1; position: relative; z-index: 1; display: flex; flex-direction: column; padding: 28px 28px 0; background: var(--surface); }
.plan h3 { font-size: var(--step-lead); letter-spacing: -0.03em; }
.plan .price { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-top: 14px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: var(--step-body); font-weight: 500; letter-spacing: 0; }
.plan ul { margin-top: 22px; }
.plan .strip { margin: auto -28px 0; display: flex; align-items: center; min-height: 64px; padding: 0 28px; text-decoration: none; font-weight: 600; transition: background-color 180ms ease, color 180ms ease; }
.plan:nth-of-type(1) { grid-column: 1; height: 360px; background: var(--surface); }
.plan:nth-of-type(1) .strip { background: var(--surface-2); }
.plan:nth-of-type(2) { grid-column: 2; height: 440px; background: var(--surface-2); }
.plan:nth-of-type(2) .strip { background: #b5c9d8; }
.plan:nth-of-type(3) { grid-column: 3; height: 560px; background: var(--wave); }
.plan:nth-of-type(3) .strip { background: var(--wave-strong); }
.plan:nth-of-type(4) { grid-column: 4; height: 680px; background: var(--field); color: var(--field-ink); border-radius: var(--arch); padding-top: 140px; }
.plan:nth-of-type(4) .strip { background: var(--accent-strong); }
.pricing .fine { margin-top: 18px; font-size: var(--step-small); color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .plan .strip:hover { background: var(--ink); color: var(--bg); } .plan:nth-of-type(4) .strip:hover { background: var(--wave); color: var(--ink); } }

/* ---------- faq ---------- */
.faq { padding-top: var(--section); }
.faq .side { grid-column: 1 / 5; position: sticky; top: 40px; align-self: start; }
.faq .side h2 { font-size: var(--step-head); }
.faq .side .arch { margin-top: 32px; width: min(100%, 360px); aspect-ratio: 3 / 4; }
.faq .side .arch img { object-position: 50% 70%; }
.faq .side figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); max-width: 32ch; }
.qs { grid-column: 5 / 13; display: grid; gap: 8px; align-content: start; }
.qs details { background: var(--surface); transition: background-color 240ms ease, color 240ms ease; }
.qs summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 26px; }
.qs summary h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.qs summary::-webkit-details-marker { display: none; }
.qs details[open] { background: var(--field); color: var(--field-ink); }
.qs .a { padding: 0 26px 28px; max-width: calc(58ch + 52px); }
@media (hover: hover) and (pointer: fine) { .qs details:not([open]) summary:hover { background: var(--surface-2); } }

/* ---------- cta: first step, already open ---------- */
.cta { margin-top: var(--section); background: var(--field); color: var(--field-ink); position: relative; }
.cta .grid { min-height: 680px; align-items: center; padding-block: 96px; }
.cta .close { grid-column: 1 / 6; }
.cta h2 { font-size: var(--step-display); max-width: 7ch; }
.cta .close p { margin-top: 28px; max-width: 36ch; }
.dialog { grid-column: 7 / 12; justify-self: start; width: min(100%, 460px); background: #fbfcfd; color: #0f2c44; border-radius: 22px; padding: 30px 28px 26px; box-shadow: 0 30px 60px rgba(0,0,0,0.32); } /* taste-skill-ignore: the open dialog floats */
.dialog .mic { width: 84px; height: 84px; border-radius: 50%; background: #e3e8ec; display: grid; place-items: center; margin: 0 auto; }
.dialog .mic svg { width: 32px; height: 32px; }
.dialog .dt { text-align: center; margin-top: 14px; font-weight: 600; letter-spacing: -0.01em; }
.dialog label { display: block; margin-top: 22px; font-size: var(--step-small); font-weight: 500; }
.dialog input { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: var(--step-body); padding: 12px 14px; border: 1px solid #c9d4dc; border-radius: 10px; background: #fff; color: #0f2c44; }
.dialog .seg { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; background: #e9eef2; border-radius: 10px; padding: 3px; }
.dialog .seg button { font: inherit; font-size: var(--step-small); border: 0; background: transparent; padding: 10px 8px; min-height: 44px; border-radius: 8px; cursor: pointer; color: #0f2c44; transition: background-color 180ms ease; }
.dialog .seg button[aria-pressed="true"] { background: #fff; font-weight: 600; }
.dialog .go { margin-top: 22px; width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; background: #0f2c44; color: #fff; border-radius: 26px 26px 0 0; text-decoration: none; font-weight: 500; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.dialog .go:active { transform: scale(0.98); }
.dialog .go:focus-visible, .dialog input:focus-visible, .dialog .seg button:focus-visible { outline-color: #0f2c44; }
.dialog .hint { margin-top: 12px; text-align: center; font-size: var(--step-small); color: #3b5a72; min-height: 3em; }
@media (hover: hover) and (pointer: fine) { .dialog .go:hover { background: #08192a; } .dialog .seg button[aria-pressed="false"]:hover { background: #dfe6ec; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(22px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .lines .ln { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  .js .lines .ln > span { display: block; transform: translateY(108%); animation: line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* on tablets and phones the parts rise without fading, so a long page never shows an empty band */
  @media (max-width: 1080px) { .js [data-reveal] { opacity: 1; } }
  .js .stage { animation: shut 1000ms var(--ease-in-out) 150ms both; }
  .js .stage .fragment { animation: settle 1400ms var(--ease-soft) 150ms both; }
  @keyframes shut { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes settle { from { transform: translateX(-50%) translateY(60px); } to { transform: translateX(-50%); } }
  .rec h2 span.swap { animation: swap 420ms var(--ease-out); }
  @keyframes swap { from { opacity: 0; transform: translateY(0.3em); } to { opacity: 1; transform: none; } }
  .note .captions p:last-child { animation: cap 260ms var(--ease-out); }
  @keyframes cap { from { opacity: 0.4; } to { opacity: 1; } }
  @supports (animation-timeline: view()) {
    .par { animation: par linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes par { from { translate: 0 6%; } to { translate: 0 -6%; } }
  }
}
/* safety net: once the page has settled, the entrance can never leave the first screen hidden */
.settled [data-rise], .settled .lines .ln > span { animation: none !important; opacity: 1 !important; transform: none !important; }
.settled .stage { animation: none !important; clip-path: none !important; }
.settled .stage .fragment { animation: none !important; transform: translateX(-50%) !important; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rec.is-recording .recctl .wave b { animation: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav ul li.opt:nth-child(2), .nav ul li.opt:nth-child(5) { display: none; }
  .home .foot .cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { grid-column: 1 / 13; }
  .hero-lede, .hero-act { grid-column: 1 / 9; }
  .hero-copy { padding-bottom: 56px; }
  .hero-copy, .stage-wrap { grid-area: auto; }
  .hero-copy { align-self: start; padding-top: clamp(64px, 9vw, 96px); }
  .hero-lede { font-size: var(--step-body); line-height: 1.5; letter-spacing: -0.005em; max-width: 34ch; }
  .stage-wrap { padding-top: 0; min-height: 0; }
  .stage { grid-column: 1 / 13; height: clamp(520px, 84vw, 760px); }
  .stage .fragment { top: 25%; width: min(62%, 460px); }
  .board { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto; }
  .tile.head { grid-column: 1 / 7; grid-row: auto; padding: 28% 40px 36px; }
  .tile.mb { grid-column: 1 / 7; grid-row: auto; min-height: 280px; }
  .tile.lang { grid-column: 1 / 4; grid-row: auto; min-height: 220px; }
  .tile.air { grid-column: 4 / 7; grid-row: auto; min-height: 220px; }
  .defs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closeups { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
  .closeups > * { grid-row: auto !important; grid-column: 1 / 3 !important; }
  .closeups > .cu-c { grid-column: 1 !important; }
  .closeups > .cu-d { grid-column: 2 !important; }
  .cu-head { gap: 28px; }
  .cu { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
  .cu .shot, .cu-a .shot, .cu-b .shot, .cu-c .shot, .cu-e .shot { position: static; width: 100%; }
  .cu-a .shot { width: min(100%, 620px); }
  .cu-b .shot, .cu-e .shot { width: min(100%, 520px); }
  .cu .cap, .cu-b .cap, .cu-e .cap, .cu-f .cap, .cu-g .cap { position: static; max-width: 52ch; }
  .ui-discs, .ui-chips, .ui-toggle { position: static; }
  .ui-chips { width: auto; justify-content: flex-start; }
  .ui-toggle { align-self: flex-start; }
  .rec { min-height: 0; }
  .rec h2 { grid-column: 1 / 13; }
  .rec-copy { padding-bottom: 0; }
  .rec-copy > p, .note { grid-column: 1 / 10; }
  .recctl { position: relative; right: auto; bottom: auto; margin: 48px var(--margin) -14vw auto; width: max-content; font-size: 6vw; }
  .meet h2, .meet .text { grid-column: 1 / 13; }
  .meet-stage { grid-column: 1 / 13; grid-row: auto; margin-top: 56px; min-height: 0; height: clamp(440px, 72vw, 620px); }
  .meet-stage img { width: min(62%, 440px); top: 22%; }
  .band-film { grid-column: 1 / 13; }
  .band .big { height: clamp(420px, 70vw, 640px); }
  .band .right { grid-column: 1 / 13; }
  .band h2 { margin-top: 56px; }
  .who-stage { grid-column: 1 / 13; min-height: 0; height: clamp(480px, 80vw, 640px); }
  .who-stage img { width: min(56%, 420px); margin-left: calc(min(56%, 420px) / -2); }
  .who-col { grid-column: 1 / 13; margin-top: 56px; }
  .who-col h2 { font-size: var(--step-display); }
  .compare .chead, .compare .tablewrap { grid-column: 1 / 13; }
  .compare .tablewrap { margin-top: 40px; }
  .steps { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .pricing .phead { position: static; width: auto; grid-column: 1 / 3; padding: 0 0 32px; }
  .plan, .plan:nth-of-type(1), .plan:nth-of-type(2), .plan:nth-of-type(3), .plan:nth-of-type(4) { grid-column: auto; grid-row: auto; height: auto; min-height: 340px; }
  .plan ul { margin-bottom: 28px; }
  .plan:nth-of-type(4) { padding-top: 96px; }
  .faq .side { grid-column: 1 / 13; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: end; }
  .faq .side .arch { margin-top: 0; }
  .qs { grid-column: 1 / 13; margin-top: 48px; }
  .cta .grid { min-height: 0; }
  .cta .close { grid-column: 1 / 13; }
  .dialog { grid-column: 1 / 13; margin-top: 56px; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  :root { --col-gap: 12px; --phone-display: min(3rem, calc((100vw - 32px) / 7.6)); }
  .hero-copy { padding-top: 52px; padding-bottom: 44px; }
  .hero h1 { font-size: var(--phone-display); }
  .hero-lede { margin-top: 24px; grid-column: 1 / 13; }
  .hero-act { grid-column: 1 / 13; margin-top: 28px; }
  .stage { height: 120vw; max-height: 560px; }
  .stage .fragment { top: 22%; width: 78%; }
  .board { gap: 6px; }
  .tile { padding: 22px; }
  .tile.head { padding: 34% 22px 28px; }
  .tile.mb { min-height: 240px; }
  .tile.mb b { font-size: 4.5rem; }
  .tile.lang, .tile.air { min-height: 200px; }
  .tile.lang b, .tile.air b { font-size: 2.25rem; }
  .tile.air p { font-size: var(--step-small); }
  .defs { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .closeups { gap: 6px; grid-template-columns: minmax(0, 1fr); }
  .closeups > *, .closeups > .cu-c, .closeups > .cu-d { grid-column: 1 !important; }
  .cu-head { padding: 22px; gap: 20px; }
  .cu-head h2 { max-width: none; font-size: min(2.25rem, 9.6vw); }
  .cu { padding: 16px; gap: 18px; }
  .cu .cap { padding: 0 2px 4px; }
  .cu .cap b { font-size: var(--step-body); }
  .cu .cap span { font-size: var(--step-small); }
  .cu-e .shot { max-height: 92vw; object-fit: cover; object-position: top; }
  .ui-discs { font-size: 48px; }
  .ui-chips { font-size: 18px; }
  .ui-toggle { font-size: 22px; }
  .rec-copy { padding-top: 56px; }
  .rec h2 { font-size: var(--phone-display); }
  .rec-copy > p, .note { grid-column: 1 / 13; }
  .note { padding: 18px; min-height: 330px; }
  .recctl { margin: 40px 0 -26vw 50%; translate: -50% 0; font-size: 11vw; display: flex; }
  .recctl .lbl, .recctl .tm, .recctl .wave { display: none; }
  .meet-stage { height: 100vw; max-height: 460px; }
  .meet-stage img { width: 70%; top: 20%; }
  .band .big { height: 96vw; max-height: 460px; }
  .band .row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .who-stage { height: 120vw; max-height: 520px; }
  .who-stage img { width: 74%; margin-left: -37%; }
  .who-col h2 { font-size: var(--phone-display); }
  .bars summary { padding: 0 18px; }
  .bars .panel { padding: 0 18px 22px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .pricing .phead { grid-column: 1; }
  .plan, .plan:nth-of-type(1), .plan:nth-of-type(2), .plan:nth-of-type(3), .plan:nth-of-type(4) { min-height: 0; }
  .plan .strip { margin-top: 28px; }
  .plan ul { margin-bottom: 0; }
  .plan:nth-of-type(4) { padding-top: 112px; border-radius: 46vw 46vw 0 0; }
  .faq .side { display: block; }
  .faq .side .arch { margin-top: 28px; width: 100%; aspect-ratio: 4 / 3.6; border-radius: 46vw 46vw 0 0; }
  .qs summary { min-height: 64px; padding: 16px 20px; }
  .qs .a { padding: 0 20px 22px; }
  .cta .grid { padding-block: 72px; }
  .cta h2 { font-size: var(--phone-display); }
  .dialog { padding: 24px 20px 22px; margin-top: 44px; }
  .foot .cols .wide, .foot .cols .langs { grid-column: 1 / 3; }
  /* the comparison restacks: one block per feature, the four answers side by side under it */
  table, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--surface-2); }
  tbody th { grid-column: 1 / -1; padding: 0 0 8px; border: 0; font-weight: 600; }
  tbody td { padding: 6px 6px 7px; border: 0; font-size: var(--step-small); overflow-wrap: anywhere; }
  tbody td::before { content: attr(data-label); display: block; font-size: var(--step-small); font-weight: 400; color: var(--muted); }
  tbody td.col-us::before { color: var(--wave); }
  tbody td.col-us { border-radius: 14px 14px 0 0; }
  /* the phone keeps one telling of each thing */
  .cu-d, .faq .side figure, .cu-f, .cu-g, .defs > div:nth-child(2), .defs > div:nth-child(3), .defs > div:nth-child(5), .who-stage, .band .row figure:nth-child(n+3) { display: none; }
  .who-col { margin-top: 0; }
}

.bars details:not([open]) > .panel, .qs details:not([open]) > .a { display: none; }

/* ===================== translated homepages: the same layout, their own copy ===================== */
.t-hero h1 { grid-column: 1 / 7; font-size: min(var(--step-display), calc((100vw - 80px) * 0.5 * 2 / (var(--hc) * 0.54))); }
:lang(ja) .t-hero h1, :lang(ko) .t-hero h1 { font-size: min(var(--step-display), calc((100vw - 80px) * 0.5 * 2 / (var(--hc) * 1.02))); }
.t-hero .hero-lede { margin-top: 32px; font-weight: 500; }
.t-hero .hero-desc { grid-column: 1 / 6; margin-top: 18px; max-width: 46ch; }
.t-hero .hero-act { margin-top: 32px; gap: 10px; }
.t-hero .hero-act .button { margin-bottom: 6px; }

/* translated copy runs long, so the close-ups flow: picture, then caption, two to a row */
.closeups.t { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
.closeups.t > * { grid-row: auto !important; grid-column: auto !important; }
.closeups.t > .cu-head { grid-column: 1 / -1 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; padding: 32px 28px; }
.closeups.t > .cu-head p { max-width: 46ch; }
.closeups.t .cu { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 260px; }
.closeups.t .cu .shot { position: static; width: min(100%, 560px); }
.closeups.t .cu .cap { position: static; max-width: 52ch; }
.closeups.t .ui-chips { position: static; width: auto; justify-content: flex-start; }

.ledger { padding-top: var(--section); }
.ledger-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--col-gap); }
.ledger .col { background: var(--surface); padding: 32px 28px 36px; }
.ledger .col:nth-child(2) { background: var(--surface-2); }
.ledger .col:nth-child(3) { background: var(--field); color: var(--field-ink); border-radius: var(--arch); padding-top: 120px; }
.ledger h2 { font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.12; }
.ledger p { margin-top: 16px; }
.ledger .arch-list { margin-top: 22px; }
.ledger .arch-list li + li { margin-top: 10px; }

.meet-stage.t-phone img { top: 14%; width: min(52%, 380px); }

.t-band .right { gap: 0; }
.t-band .pitems { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.t-band .pitems h3 { font-size: var(--step-body); letter-spacing: -0.01em; line-height: 1.25; }
.t-band .pitems p { margin-top: 8px; font-size: var(--step-small); }
.t-band .trust { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--col-gap); }
.t-band .trust li + li { margin-top: 0; }
.t-band .row .arch { aspect-ratio: 3 / 4.6; }

.universal { padding-top: clamp(96px, 9vw, 140px); align-items: center; }
.t-band { padding-bottom: clamp(72px, 7vw, 110px); }
.uni-stage { grid-column: 1 / 6; background: var(--surface-2); border-radius: var(--arch); position: relative; overflow: hidden; height: clamp(560px, 44vw, 760px); }
.uni-stage img { position: absolute; left: 50%; top: 14%; width: min(66%, 420px); transform: translateX(-50%); }
.uni-copy { grid-column: 7 / 13; }
.uni-copy h2 { font-size: var(--step-display); }
.uni-copy p { margin-top: 28px; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.015em; max-width: 30ch; }

.t-who { align-items: start; }
.t-who .who-side { grid-column: 1 / 5; position: sticky; top: 40px; }
.t-who .who-side h2 { font-size: var(--step-head); }
.t-who .who-side p { margin-top: 20px; max-width: 32ch; }
.t-who .bars { grid-column: 5 / 13; margin-top: 0; }
.t-who .bars summary { padding: 16px 22px; gap: 20px; }
.t-who .bars summary h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.t-who .bars .panel a { text-decoration: underline; text-underline-offset: 0.18em; }

.howto { padding-top: clamp(96px, 9vw, 140px); }
.howto-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.howto h2 { grid-column: 1 / -1; margin-bottom: 32px; font-size: var(--step-head); max-width: 18ch; }
.hsteps { display: contents; list-style: none; }
.hstep { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 28px; background: var(--surface); }
.hstep:nth-child(1) { height: 380px; }
.hstep:nth-child(2) { height: 460px; background: var(--surface-2); }
.hstep:nth-child(3) { height: 540px; background: var(--field); color: var(--field-ink); border-radius: var(--arch); }
.hstep h3 { font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.12; }

.t-cta .grid { min-height: 0; padding-block: clamp(96px, 11vw, 160px); align-items: end; }
.t-cta h2 { grid-column: 1 / 8; font-size: var(--step-display); max-width: 12ch; align-self: start; }
.t-cta .close { grid-column: 8 / 13; }
.t-cta .close p:first-child { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.015em; }
.t-cta .button { margin-top: 28px; background: var(--bg); color: var(--ink); }
.t-cta .fine { margin-top: 18px; font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) { .t-cta .button:hover { background: var(--wave); } }

@media (max-width: 1080px) {
  .t-hero h1 { grid-column: 1 / 13; font-size: min(var(--step-display), calc((100vw - 48px) * 2 / (var(--hc) * 0.54))); }
  :lang(ja) .t-hero h1, :lang(ko) .t-hero h1 { font-size: min(var(--step-display), calc((100vw - 48px) * 2 / (var(--hc) * 1.02))); }
  .t-hero .hero-desc { grid-column: 1 / 11; }
  .closeups.t { grid-template-columns: minmax(0, 1fr); }
  .closeups.t > .cu-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
  .t-band .pitems { grid-template-columns: minmax(0, 1fr); }
  .uni-stage { grid-column: 1 / 13; height: clamp(440px, 72vw, 620px); }
  .uni-copy { grid-column: 1 / 13; margin-top: 48px; }
  .t-who .who-side { grid-column: 1 / 13; position: static; }
  .t-who .bars { grid-column: 1 / 13; margin-top: 36px; }
  .howto-row { grid-template-columns: minmax(0, 1fr); }
  .hstep, .hstep:nth-child(1), .hstep:nth-child(2), .hstep:nth-child(3) { height: auto; min-height: 200px; }
  .hstep:nth-child(3) { padding-top: 96px; }
  .t-cta h2, .t-cta .close { grid-column: 1 / 13; }
  .t-cta .close { margin-top: 28px; }
}
@media (max-width: 700px) {
  .t-hero h1 { font-size: min(3rem, calc((100vw - 32px) * 2 / (var(--hc) * 0.56))); }
  :lang(ja) .t-hero h1, :lang(ko) .t-hero h1 { font-size: min(3rem, calc((100vw - 32px) * 2 / (var(--hc) * 1.04))); }
  .t-hero .hero-desc { grid-column: 1 / 13; }
  .ledger .col:nth-child(3) { border-radius: 46vw 46vw 0 0; padding-top: 104px; }
  .t-band .trust { grid-template-columns: minmax(0, 1fr); }
  .t-band .row .arch:nth-child(n+3) { display: none; }
  .uni-stage { height: 110vw; max-height: 500px; }
  .uni-copy h2 { font-size: min(3rem, calc((100vw - 32px) / 7.6)); }
  .meet-stage.t-phone img { width: 64%; }
  .t-who .bars summary { padding: 14px 18px; }
  .t-cta h2 { font-size: min(3rem, calc((100vw - 32px) / 7.6)); }
  .hstep:nth-child(3) { border-radius: 46vw 46vw 0 0; }
}

/* translated headings run longer than the English: each one is sized to fit two lines in its own column */
.t-home { --k: 0.55; --W: calc(100vw - 80px); }
.t-home:lang(ja), .t-home:lang(ko) { --k: 1.04; }
.t-home main h2[style*="--hc"] { font-size: min(var(--fs, var(--step-head)), max(18px, round(down, calc(var(--fw) * 1.85 / (var(--hc) * var(--k))), 6px))); }
.t-home .cu-head h2 { --fw: calc(var(--W) * 0.5 - 60px); max-width: none; }
.t-home .meet h2, .t-home .t-band h2, .t-home .uni-copy h2 { --fw: calc(var(--W) * 0.5); }
.t-home .uni-copy h2 { --fs: var(--step-display); }
.t-home .t-who h2, .t-home .compare h2, .t-home .faq h2 { --fw: calc(var(--W) * 0.33 - 8px); }
.t-home .howto h2 { --fw: calc(var(--W) * 0.6); }
.t-home .ledger h2 { --fs: var(--step-lead); --fw: calc(var(--W) * 0.33 - 72px); }
.t-home .t-cta h2 { --fs: var(--step-display); --fw: calc(var(--W) * 0.58); max-width: none; }
.check:empty, .cross:empty { display: inline-block; vertical-align: -0.1em; }
.check:empty::before { content: ""; display: block; width: 0.66em; height: 0.95em; border-radius: 999px 999px 0 0; background: currentColor; }
.cross:empty::before { content: ""; display: block; width: 0.8em; height: 0.14em; margin-block: 0.4em; background: currentColor; opacity: 0.6; }
@media (max-width: 1080px) {
  .t-home { --W: calc(100vw - 48px); }
  .t-home .cu-head h2 { --fw: calc(var(--W) - 56px); }
  .t-home .meet h2, .t-home .t-band h2, .t-home .uni-copy h2, .t-home .t-who h2, .t-home .compare h2, .t-home .faq h2, .t-home .howto h2 { --fw: var(--W); }
  .t-home .ledger h2 { --fw: calc(var(--W) - 56px); }
  .t-home .t-cta h2 { --fw: var(--W); }
  .t-home .faq .side { display: block; }
  .t-home .faq .side .arch { margin-top: 32px; max-width: 360px; }
}
@media (max-width: 700px) {
  .t-home { --W: calc(100vw - 32px); }
  .t-home .cu-head h2 { --fw: calc(var(--W) - 44px); }
  .t-home .uni-copy h2, .t-home .t-cta h2 { --fs: 3rem; }
}
