/* Layout shared by every page. Colour, type and shape come from each option's theme.css. */
:root {
  --edge: clamp(20px, 3vw, 52px); --gap: clamp(40px, 4.4vw, 68px);
  --lead: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); --head: clamp(1.9rem, 1.2rem + 2.4vw, 3.3rem);
  --hw: 750; --track: -0.035em; --r: 0px; --rb: 0px;
  --sv: #060b18; --sv-ink: #eef4ff; --wr: #f6f4ee; --wr-ink: #171512;
}
h1, h2, h3 { font-weight: var(--hw); letter-spacing: var(--track); line-height: 0.98; }
h1 { font-size: clamp(2.6rem, 1rem + 5.4vw, 6rem); line-height: 0.94; }
h2 { font-size: var(--head); }
h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1.08; }
cite { font-style: normal; font-weight: 700; }
.feature .say p.motto, .tile p.motto, p.motto { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); font-weight: var(--hw); letter-spacing: var(--track); line-height: 1.15; max-width: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: var(--rb); background: var(--accent); color: var(--accent-ink); font-weight: 650; text-decoration: none; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-weight: 650; }
.fine { font-size: 0.9375rem; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.choices button { min-height: 44px; padding: 0 16px; border-radius: var(--rb); background: color-mix(in srgb, currentColor 9%, transparent); font-weight: 600; transition: background-color 0.2s; }
.choices button:hover { background: color-mix(in srgb, currentColor 18%, transparent); }
.choices button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Header and menu */
.top { position: relative; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 14px var(--edge); }
.word { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.025em; text-decoration: none; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.8vw, 40px); font-weight: 650; }
.top nav a:not(.btn) { text-decoration: none; padding: 10px 0; display: inline-block; }
.top nav a:not(.btn):hover, .top a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.top .btn { min-height: 44px; padding: 0 18px; }
.menu { position: relative; }
.menu ul { position: absolute; top: 100%; left: -18px; min-width: 220px; padding: 8px; background: var(--paper); color: var(--paper-ink, var(--ink)); border-radius: var(--r); box-shadow: 0 18px 40px rgb(0 0 0 / 0.18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.25s, visibility 0.2s; } /* taste-skill-ignore: floating menu */
.menu:hover ul, .menu:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.menu ul a { display: block !important; padding: 12px 10px !important; }
.menu.shut:hover ul, .menu.shut:focus-within ul { opacity: 0; visibility: hidden; }

/* Blocks */
.block { padding: var(--gap) var(--edge); }
.tone { background: var(--surface); }
.band { background: var(--band); color: var(--band-ink); --focus: var(--band-ink); }
.dark { background: var(--dark); color: var(--dark-ink); --focus: var(--dark-ink); }
.sv { background: var(--sv); color: var(--sv-ink); --focus: #5ad7ee; }
.wr { background: var(--wr); color: var(--wr-ink); --focus: var(--wr-ink); }
.sv .btn { background: #22d3ee; color: #04121a; }
.wr .btn { background: #1b1916; color: #fff; }
.band .btn { background: var(--band-ink); color: var(--band); }
.say { display: grid; gap: 16px; align-content: center; justify-items: start; }
.say > p.fine { font-size: 0.875rem; max-width: 52ch; opacity: 0.82; }
.white { background: var(--paper); }
.opener.gone { min-height: 62svh; align-content: center; }
.say > p:not(.actions), .head p, .lead, .statement { font-size: var(--lead); line-height: 1.42; max-width: 36ch; }
.statement { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 40ch; }
.head { display: grid; grid-template-columns: 6fr 6fr; gap: 16px 32px; align-items: end; margin-bottom: clamp(18px, 2vw, 28px); }
.points { display: grid; gap: 12px; font-size: 1.125rem; }
.points li { position: relative; padding-left: 24px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.52em; width: 10px; height: 10px; border-radius: min(var(--r), 50%); background: currentColor; }

.opener { display: grid; gap: 18px; justify-items: start; padding-block: clamp(28px, 3.4vw, 48px); }
.opener.product { padding-bottom: 0; overflow: hidden; }
.hero-shot { width: 100%; max-width: 1320px; justify-self: center; margin-top: 16px; }
/* Desktop captures sit in a browser window. */
.win { min-width: 0; width: 100%; border-radius: 12px; overflow: hidden; background: #e7eaf1; color: #4a5160; box-shadow: 0 2px 6px rgb(8 12 24 / 0.2), 0 32px 64px -32px rgb(8 12 24 / 0.55); } /* taste-skill-ignore: window frame */
.win img { width: 100%; }
.winbar { display: flex; align-items: center; gap: 7px; height: clamp(24px, 2.6vw, 38px); padding-inline: 14px; }
.winbar i { width: 10px; height: 10px; border-radius: 50%; background: #c3c8d4; }
.winbar span { margin: 0 auto; transform: translateX(-24px); padding: 2px 28px; border-radius: 999px; background: #fff; font-size: 0.75rem; line-height: 1.5; }
.win.night { background: #1b2336; color: #c9d2e6; }
.win.night .winbar i { background: #3b465f; }
.win.night .winbar span { background: #0b1224; }
.hero-shot .win { border-radius: 12px 12px 0 0; }
/* ShareValue on every screen: the desk above, the hand below, each pair standing on one line. */
.opener.product.ranged { padding-bottom: clamp(16px, 2vw, 28px); }
.dv-macbook { --dv-ar: 1848 / 1078; --dv-l: 9.0909%; --dv-t: 2.0408%; --dv-w: 81.8182%; --dv-h: 91.0946%; --dv-r: 0.66% / 1.02%; --dv-bl: 8%; --dv-bt: 0.5%; --dv-br: 2.2% / 3.4%; }
.dv-ipad { --dv-ar: 1262 / 902; --dv-l: 2.6941%; --dv-t: 3.7694%; --dv-w: 94.6117%; --dv-h: 92.4612%; --dv-r: 1.68% / 2.4%; --dv-bl: 0.4%; --dv-bt: 0.4%; --dv-br: 4.6% / 6.4%; }
.dv-macbook::before { display: none; }
.dv-macbook > .dv-screen { object-position: top; }
.stack#ticker .head { grid-template-columns: minmax(0, 1fr); }
.stack#ticker .head h2 { max-width: 28ch; }
.big-shot { width: 100%; max-width: 920px; margin-inline: auto; }
@media (min-width: 901px) { .split.flip#thesis { grid-template-columns: 1fr 1fr; } }
.laptop-shot { width: 100%; min-width: 0; }
.panel { margin: 0; justify-self: center; width: min(100%, 470px); border-radius: 18px; overflow: hidden; background: #f8fafc; box-shadow: 0 2px 6px rgb(8 12 24 / 0.2), 0 32px 64px -32px rgb(8 12 24 / 0.55); } /* taste-skill-ignore: screen panel */
.panel img { width: 100%; }
@media (max-width: 700px) {
}

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.split.flip > .say { order: 2; }
.split.flip { grid-template-columns: 7fr 5fr; }

.stack .head h2 { max-width: 18ch; }
.switch { display: grid; gap: 20px; }
.frames > figure { max-width: 1320px; margin-inline: auto; }
.frames [hidden] { display: none !important; }
.frames > * { animation: arrive 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } }

.scores, .privacy { display: grid; gap: 16px; }
/* Platform logos, or their names set large until the logo files are in. */
.platforms { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(22px, 4vw, 56px); margin: 0; padding: 0; }
.platforms li { display: grid; justify-items: center; gap: 6px; }
.platforms .beta { padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, transparent); font-size: 0.6875rem; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; text-transform: uppercase; }
.platforms img { width: clamp(28px, 2.6vw, 38px); height: auto; aspect-ratio: 1; }
.platforms.words { gap: 8px 28px; font-weight: 700; font-size: 1rem; }
.scores dl, .privacy dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: 8px; }
.scores dt, .privacy dt { font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); font-weight: var(--hw); letter-spacing: var(--track); line-height: 1.1; margin-bottom: 6px; }
.privacy .lead { max-width: 54ch; }
.plain { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; }
.plain h2 { align-self: start; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); }
.plain p { font-size: var(--lead); line-height: 1.45; max-width: 52ch; }

/* Product features and device groups */
.feature { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 4vw, 80px); align-items: center; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip > .say { order: 2; }
.feature.ecosystem { grid-template-columns: minmax(0, 1fr); gap: 0; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.8vw, 32px); align-items: center; }
.trio.pair { grid-template-columns: repeat(2, minmax(0, 224px)); justify-content: center; gap: clamp(14px, 2.4vw, 36px); }
/* Three short features side by side, their screens standing on one line. */
.triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 64px); }
.triple article { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; align-content: start; min-width: 0; }
.triple h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); }
.triple .dv { align-self: end; justify-self: center; width: min(100%, 220px); margin: 14px 0 0; }
.triple .dv-duo { width: 100%; }
/* Device line-ups: one row on one baseline at every width, each device only just overlapping its neighbour.
   One scale per row; --x is the place and --w the true width, in cm; --total and --tall are the row's own size. */
.shelf-wrap { width: 100%; max-width: 1240px; justify-self: center; margin: 0; padding-block: clamp(18px, 2.2vw, 30px) 4px; display: grid; gap: 28px; }
.shelf-wrap figcaption { font-size: 0.9375rem; font-weight: 600; text-align: center; text-wrap: balance; padding-inline: 16px; display: grid; gap: 10px; justify-items: center; }
.shelf-wrap figcaption h2 { font-size: 1.125rem; letter-spacing: -0.01em; }
.shelf { position: relative; width: min(100%, 1280px); justify-self: center; aspect-ratio: var(--total) / var(--tall); container-type: inline-size; }
.shelf > .sc { --u: calc(100cqw / var(--total)); position: absolute; bottom: 0; left: calc(var(--u) * var(--x)); width: calc(var(--u) * var(--w)); }
.shelf .sc-macbook { z-index: 1; }
.shelf .sc-tablet, .shelf .sc-duo { z-index: 2; }
.shelf .sc-fold { z-index: 3; }
.shelf .sc-iphone, .shelf .sc-android { z-index: 4; }
.shelf-wren { --total: 92.7; --tall: 18.6; }
.shelf-wren .sc-iphone { --x: 0; --w: 7.2; }
.shelf-wren .sc-tablet { --x: 5.9; --w: 25.8; }
.shelf-wren .sc-macbook { --x: 29.6; --w: 31.3; }
.shelf-wren .sc-duo { --x: 59; --w: 16.5; }
.shelf-wren .sc-fold { --x: 73.9; --w: 12.8; }
.shelf-wren .sc-android { --x: 85.5; --w: 7.2; }
.shelf-sv { --total: 80.2; --tall: 18.6; }
.shelf-sv .sc-iphone { --x: 0; --w: 7.2; }
.shelf-sv .sc-tablet { --x: 5.9; --w: 24.9; }
.shelf-sv .sc-macbook { --x: 28.7; --w: 31.3; }
.shelf-sv .sc-duo { --x: 57.9; --w: 16.5; }
.shelf-sv .sc-android { --x: 73; --w: 7.2; }
/* Phones give the row all the width there is. */
@media (max-width: 700px) {
  .shelf-wrap { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
  .shelf { width: calc(100% - 12px); }
  .block.products { padding-inline: 10px; }
  .products > h1, .products > h2 { padding-inline: 10px; }
  .pcard { padding: 22px 16px 18px; }
  .pcard .shelf-wrap { width: calc(100% + 20px); max-width: none; margin-inline: -10px; }
  .pcard .shelf { width: 100%; }
  .block.invite { margin-inline: 10px; padding-inline: 22px; }
}
.dv-tabdroid { --dv-ar: 1336 / 856; --dv-l: 2.0958%; --dv-t: 3.271%; --dv-w: 95.8084%; --dv-h: 93.4579%; --dv-r: 1.25% / 2%; --dv-bl: 0.3%; --dv-bt: 0.4%; --dv-br: 3.4% / 5.4%; }
.spread { display: grid; grid-template-columns: 122fr 48fr 47fr; gap: clamp(12px, 2.4vw, 40px); align-items: center; padding-block: 16px; }

/* Section panels: each product, and the research, sits wholly inside its own. */
.products, .research-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.products > h1, .products > h2, .research-block > h2 { font-size: var(--head); }
.pcard, .paper { border-radius: var(--r); min-width: 0; overflow: hidden; }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: clamp(22px, 2.8vw, 44px); }
.pcard .intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 40px; }
.pcard :is(h2, h3) { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem); margin-bottom: 8px; }
.pcard .intro p:not(.actions) { font-size: var(--lead); line-height: 1.4; max-width: 54ch; }
.pcard .shelf-wrap { max-width: 1180px; }
.paper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 20px clamp(24px, 4vw, 64px); padding: 0 clamp(22px, 2.8vw, 44px); }
.paper .say { padding-block: clamp(22px, 2.8vw, 44px); }
.paper .say > p:not(.actions) { max-width: 44ch; }
.paper .sheet { align-self: end; height: 270px; margin-top: 24px; overflow: hidden; }
.paper .sheet img { width: 100%; transition: translate 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.paper .sheet:hover img { translate: 0 -10px; }

/* Approval demonstration (a product fragment) */
.demo { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.run { background: #f6f4ee; color: #171512; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 430px; --focus: #0b6b3c; outline: 1px solid rgb(0 0 0 / 0.1); }
.run ul { display: grid; gap: 8px; font-weight: 500; }
.run li { display: flex; align-items: center; gap: 10px; animation: arrive 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.run li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1d7a4c; flex: none; }
.draft { background: #fff; border: 1px solid #c9c5bb; border-radius: 16px; padding: 18px; display: grid; gap: 12px; margin-top: auto; animation: arrive 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; } /* taste-skill-ignore: product interface fragment */
.draft h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.draft [data-body] { white-space: pre-line; background: #f1efe8; border-radius: 10px; padding: 14px; }
.warn { font-size: 0.9375rem; font-weight: 600; }
.decide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.decide button { min-height: 52px; border-radius: 999px; font-weight: 650; background: #e9e6de; transition: transform 0.15s; }
.decide button:last-child { background: #1b1916; color: #fff; }
.decide button:hover { transform: translateY(-2px); }
.decide button:active { transform: none; }
.result { font-weight: 650; min-height: 1.5em; }
.run [hidden] { display: none; }

/* Research */
.publication { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sheets { display: grid; width: min(100%, 320px); justify-self: center; }
.sheets a { grid-area: 1 / 1; width: 82%; transition: translate 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.sheets a:last-child { justify-self: end; margin-top: 66%; width: 70%; }
.sheets a:hover { translate: 0 -10px; }
.sheets a:focus-visible { position: relative; z-index: 2; }
.sheets img { width: 100%; }
.findings { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.findings ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px 40px; }
.findings li { display: grid; gap: 6px; align-content: start; max-width: 34rem; }
.findings li p { font-size: 1.0625rem; }
.findings h3 { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.75rem); }

.field { background: var(--chart-bg, var(--paper)); color: var(--paper-ink, var(--ink)); border-radius: var(--r); padding: clamp(14px, 1.8vw, 28px); display: grid; gap: 16px; min-width: 0; }
.controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.field .choices button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.stage { position: relative; height: clamp(420px, 62vh, 660px); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.readout { position: absolute; z-index: 1; right: 0; top: 0; display: grid; justify-items: end; pointer-events: none; text-align: right; }
.readout strong { font-size: clamp(3.4rem, 7vw, 7rem); font-weight: var(--hw); letter-spacing: -0.04em; line-height: 0.9; color: var(--accent); background: var(--chart-bg, var(--paper)); padding-left: 12px; }
.readout span { background: var(--chart-bg, var(--paper)); padding: 4px 0 4px 12px; font-weight: 600; }
.slider { display: grid; grid-template-columns: auto 3ch 1fr; align-items: center; gap: 12px; font-weight: 600; }
.slider output { font-weight: 800; color: var(--accent); }
.slider input { width: 100%; accent-color: var(--accent); height: 32px; }
.field figcaption { font-size: 0.875rem; opacity: 0.8; }
.growth { display: grid; grid-template-columns: 6fr 6fr; gap: 40px; align-items: center; }
.answer { display: grid; justify-items: end; font-size: var(--lead); font-weight: 600; }
.answer strong { font-size: clamp(4.4rem, 10vw, 9rem); font-weight: var(--hw); letter-spacing: -0.05em; line-height: 0.9; font-variant-numeric: tabular-nums; }

/* About, invitation and contact */
.about { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; }
.about h2 { align-self: start; font-size: var(--lead); letter-spacing: -0.01em; }
.about p { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; max-width: 30ch; }
/* Set apart as its own panel, so it never runs into the section above or the footer. */
.invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 48px; margin: clamp(16px, 2vw, 28px) var(--edge); padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--surface); }
.invite h2 { margin-bottom: 8px; }
.invite p:not(.actions) { font-size: var(--lead); max-width: 52ch; }

.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); padding-top: clamp(40px, 5vw, 80px); }
.contact .say { align-content: start; }
.contact h1 { font-size: clamp(2.6rem, 1rem + 4.2vw, 5rem); margin-bottom: 20px; }
.contact h2 { font-size: 1.6rem; margin-top: 16px; }
.contact .form { align-content: start; background: var(--surface); border-radius: var(--r); padding: clamp(20px, 3vw, 48px); --field: var(--paper); --field-ink: var(--paper-ink, var(--ink)); --radius: var(--r); }
.contact .btn { justify-self: start; }
.topic { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.topic legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.topic label { position: relative; display: block; }
.topic input { position: absolute; opacity: 0; width: 1px !important; height: 1px; }
.topic span { display: flex; align-items: center; justify-content: center; min-height: 60px; border-radius: var(--rb); background: var(--paper); color: var(--paper-ink, var(--ink)); font-size: 1.125rem; cursor: pointer; transition: background-color 0.2s; }
.topic input:checked + span { background: var(--accent); color: var(--accent-ink); }
.topic input:focus-visible + span { outline: 3px solid var(--focus, var(--accent)); outline-offset: 3px; }
.form select { width: 100%; border: 0; border-radius: var(--radius, 0px); background: var(--field); color: var(--field-ink); padding: 16px; font: inherit; font-weight: 400; }
.form:has(input[value="inquiry"]:checked) .area { display: none; }

.foot { background: var(--dark); color: var(--dark-ink); --focus: var(--dark-ink); overflow: hidden; }
.foot .inner { display: grid; gap: 24px; padding: 36px var(--edge) 24px; }
.foot nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; font-weight: 600; font-size: 0.9375rem; }
.foot nav a { padding-block: 3px; }
.foot nav div { display: grid; gap: 3px; align-content: start; justify-items: start; }
.foot .legal { font-size: 0.8125rem; max-width: 110ch; opacity: 0.85; }
.foot nav a:first-child { font-weight: 800; }

@media (max-width: 900px) {
  .top { flex-wrap: wrap; }
  .top nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 0.9375rem; }
  .menu ul { display: none; }
  .head, .split, .split.flip, .plain, .feature, .feature.flip, .publication, .paper, .growth, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .split.flip > .say, .feature.flip > .say { order: 0; }
  .scores dl, .privacy dl { grid-template-columns: 1fr 1fr; }
  .triple { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .triple .dv { width: min(62%, 220px); }
  .triple .dv-duo { width: 100%; max-width: 420px; }
  .paper .sheet { height: 190px; margin-top: 0; }
  .paper .say { padding-bottom: 4px; }
  .trio.pair { grid-template-columns: repeat(2, minmax(0, 200px)); }
  .spread { grid-template-columns: 1fr 1fr; }
  .spread .dv-duo { grid-column: 1 / -1; }
  .field { margin-inline: calc(var(--edge) * -1); border-radius: 0; }
  .stage { height: auto; display: grid; gap: 12px; }
  .stage canvas { position: static; height: 400px; }
  .readout { position: static; justify-items: start; text-align: left; }
  .readout strong, .readout span { padding-left: 0; }
  .slider { grid-template-columns: auto 1fr; }
  .slider input { grid-column: 1 / -1; }
  .field .choices button { padding: 0 10px; font-size: 0.875rem; }
  .answer { justify-items: start; }
  .foot nav { grid-template-columns: 1fr 1fr; }
}

/* The narrowest phones keep each navigation name on one line. */
@media (max-width: 380px) {
  .top nav { gap: 10px; font-size: 0.875rem; }
  .top nav a { white-space: nowrap; }
  .top .btn { padding-inline: 12px; font-size: 0.875rem; }
}

/* ShareValue's wordmark: white "Share", its blue-to-cyan "Value", a grey ".ai". */
.sv-word { display: inline-block; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: #f1f5f9; white-space: nowrap; }
.sv-word b { font: inherit; padding-right: 0.02em; background: linear-gradient(to right, #818cf8, #67e8f9 55%, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; } /* taste-skill-ignore: brand wordmark */
.sv-word i { font-style: normal; font-weight: 600; color: #8a94a6; }
h1.brand .sv-word { font-size: clamp(2.6rem, 1rem + 7vw, 7rem); }
@media (forced-colors: active) { .sv-word b { background: none; color: CanvasText; } }
