/* Callyou's website. Colors, typefaces, and the parts of the app it shows come from the
   design's tokens; the sizes of a page that people read are the website's own.

   Sun marks the main action and little else. On a light page Sun is never text: what
   the dark page writes in Sun, the light page writes in ink, as the tokens say. */

:root {
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 12vw, 168px);
  --size-display: clamp(46px, 6.6vw, 94px);
  --size-h2: clamp(36px, 5.2vw, 68px);
  --size-h3: clamp(20px, 1.8vw, 23px);
  --size-lead: clamp(18px, 1.5vw, 21px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header: 68px;
  /* The glow behind a picture: a mino's haze, in the dark only. */
  --glow: 1;
}
@media (prefers-color-scheme: light) {
  :root { --glow: 0; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
[data-theme] { color: var(--text); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section + .section { padding-top: 0; }

/* ---------- Type ---------- */
.display { font-weight: 700; font-size: var(--size-display); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.display .line { display: block; text-wrap: balance; }
.h2 { font-weight: 700; font-size: var(--size-h2); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.h3 { font-weight: 600; font-size: var(--size-h3); line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: var(--size-lead); line-height: 1.55; color: var(--muted); text-wrap: pretty; max-width: 36em; }
.body { color: var(--muted); text-wrap: pretty; }
.body a, .lead a, .prose a { color: var(--text); text-decoration: underline; }
.label { font: 500 13px/1.35 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.label b { font-weight: 500; color: var(--accent-text); }
/* What the dark page writes in Sun; the light page writes it in ink over a Sun stroke. */
.sun { color: var(--accent-text); }
@media (prefers-color-scheme: light) {
  .display .sun, .h2 .sun { background: linear-gradient(to top, transparent 0.06em, var(--accent) 0.06em, var(--accent) 0.3em, transparent 0.3em); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
.section-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/20px var(--font-ui); text-decoration: none; white-space: nowrap;
  transition: background-color 150ms, box-shadow 150ms, transform 150ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .i { font-size: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-pressed); }
.btn-secondary { background: var(--secondary-btn); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--text); }
.more .i { font-size: 18px; transition: transform 200ms var(--ease-out); }
.more:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
}
.masthead-row { display: flex; align-items: center; gap: 12px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 21px/1 var(--font-ui); letter-spacing: -0.03em; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a, .menu-panel a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font: 500 15px/20px var(--font-ui); color: var(--muted); text-decoration: none; transition: color 150ms, background-color 150ms; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--secondary-btn); }
.get { margin-left: 8px; }
/* The language picker: the page's own language, and the list to choose from. */
.picker { position: relative; }
.picker summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 12px; border-radius: 999px; cursor: pointer; font: 500 13px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); transition: color 150ms, background-color 150ms; }
.picker summary::-webkit-details-marker { display: none; }
.picker summary:hover, .picker[open] summary { color: var(--text); background: var(--secondary-btn); }
.picker summary .i { font-size: 16px; }
.picker summary .chevron { font-size: 14px; transition: transform 200ms var(--ease-out); }
.picker[open] summary .chevron { transform: rotate(180deg); }
.picker-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; display: grid; min-width: 200px; padding: 8px; border-radius: var(--radius-field); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
.picker-panel a, .menu-panel a[hreflang] { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.picker-panel a { padding: 12px 14px; border-radius: 10px; color: var(--text); font: 500 15px/20px var(--font-ui); text-decoration: none; }
.picker-panel a:hover { background: var(--secondary-btn); }
.tick { font-size: 18px; color: var(--accent-text); }
.picker-panel a:not([aria-current]) .tick, .menu-panel a:not([aria-current]) .tick { visibility: hidden; }
.menu-label { margin: 8px 14px 2px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 12px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer-lang { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.footer-lang .i { font-size: 18px; color: var(--muted); }
.footer-lang a { color: var(--muted); text-decoration: none; }
.footer-lang a:hover { color: var(--text); text-decoration: underline; }
.footer-lang a[aria-current] { color: var(--text); font-weight: 600; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; cursor: pointer; background: var(--secondary-btn); box-shadow: inset 0 0 0 1px var(--line-2); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { font-size: 20px; grid-area: 1 / 1; }
.menu summary .i + .i, .menu[open] summary .i:first-child { display: none; }
.menu[open] summary .i + .i { display: block; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); display: grid; min-width: 220px; padding: 8px; border-radius: var(--radius-field); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
.menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--text); font-size: 16px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--secondary-btn); }
.menu-panel .i { color: var(--muted); }
@media (max-width: 880px) {
  .nav, .picker { display: none; }
  .get { margin-left: auto; }
  .menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 104px) clamp(40px, 9vw, 128px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-text { display: grid; gap: 28px; justify-items: start; }
.hero-text .lead { max-width: 30em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .i { font-size: 15px; color: var(--accent-text); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- The devices the pages show ----------
   Each picture of a device is drawn at the design's own sizes, in units of one design
   pixel (--u), so that it keeps its proportions at any width. */
.device { container-type: inline-size; position: relative; }
.device > * { --u: calc(100cqi / var(--device-width)); }
.glass { position: absolute; overflow: hidden; background: var(--fill-incall); }

/* The phone: a screen of 390 by 844 in a frame of 12. */
.phone { --device-width: 414; }
.phone-body { position: relative; width: 100%; aspect-ratio: 414 / 868; border-radius: calc(60 * var(--u)); background: #050505; box-shadow: inset 0 0 0 calc(1.5 * var(--u)) #2A2927, 0 calc(40 * var(--u)) calc(80 * var(--u)) calc(-30 * var(--u)) rgba(0,0,0,0.6); }
.phone .glass { inset: calc(12 * var(--u)); border-radius: calc(48 * var(--u)); }
.phone .island { position: absolute; z-index: 5; top: calc(11 * var(--u)); left: 50%; width: calc(118 * var(--u)); height: calc(34 * var(--u)); border-radius: 99px; background: #000; transform: translateX(-50%); }
.statusbar { position: absolute; z-index: 4; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; height: calc(54 * var(--u)); padding: 0 calc(34 * var(--u)); font: 600 calc(16 * var(--u))/1 var(--font-ui); color: var(--text); }
.statusbar .bars { display: flex; gap: calc(3 * var(--u)); align-items: flex-end; }
.statusbar .bars i { width: calc(3.4 * var(--u)); border-radius: 1px; background: currentColor; }
.statusbar .bars i:nth-child(1) { height: calc(5 * var(--u)); } .statusbar .bars i:nth-child(2) { height: calc(7.5 * var(--u)); }
.statusbar .bars i:nth-child(3) { height: calc(10 * var(--u)); } .statusbar .bars i:nth-child(4) { height: calc(12.5 * var(--u)); }
.statusbar .batt { width: calc(25 * var(--u)); height: calc(12 * var(--u)); border-radius: calc(3.5 * var(--u)); border: calc(1.2 * var(--u)) solid color-mix(in srgb, currentColor 45%, transparent); padding: calc(1.6 * var(--u)); }
.statusbar .batt i { display: block; width: 70%; height: 100%; border-radius: calc(1.5 * var(--u)); background: currentColor; }
.statusbar .right { display: flex; align-items: center; gap: calc(6 * var(--u)); }
.home-bar { position: absolute; z-index: 4; bottom: calc(8 * var(--u)); left: 50%; width: calc(134 * var(--u)); height: calc(5 * var(--u)); border-radius: 99px; background: var(--text); opacity: 0.32; transform: translateX(-50%); }

/* A mino: its picture at rest, and the one that looks at the viewer over it. */
.mino { position: relative; display: block; }
.mino img { width: 100%; height: auto; aspect-ratio: 1; }
.mino .look { position: absolute; inset: 0; opacity: 0; transition: opacity 120ms; }
.mino.haze::before { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(closest-side, var(--mino-haze), transparent 74%); opacity: calc(0.3 * var(--glow)); }
.mino > img:first-of-type { position: relative; }
.hue-5 { --mino-haze: var(--mino-haze-5); } .hue-11 { --mino-haze: var(--mino-haze-11); }
/* A mino standing on a floor: its shadow there, and the mino over it. */
.standing { position: relative; display: block; aspect-ratio: 1; }
.standing img { position: absolute; inset: 0; width: 100%; height: 100%; }
.standing img:first-child { opacity: var(--mino-shadow); }
.standing .look { opacity: 0; transition: opacity 120ms; }

/* An incoming call, as the app shows it. */
.call { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: calc(78 * var(--u)); }
.call .ringbox { position: relative; display: grid; place-items: center; width: calc(340 * var(--u)); height: calc(340 * var(--u)); }
.call .ringbox .mino { width: calc(248 * var(--u)); z-index: 1; }
.rings { position: absolute; left: 50%; top: 50%; width: calc(520 * var(--u)); height: calc(520 * var(--u)); transform: translate(-50%, -50%); overflow: visible; }
.rings circle { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; transform-origin: center; transform-box: fill-box; }
.rings circle:nth-child(1) { opacity: 0.33; } .rings circle:nth-child(2) { opacity: 0.18; } .rings circle:nth-child(3) { opacity: 0.09; }
.call .caps { margin-top: calc(16 * var(--u)); font: 500 calc(12 * var(--u))/calc(14 * var(--u)) var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.call .who { margin-top: calc(16 * var(--u)); font: 700 calc(46 * var(--u))/calc(48 * var(--u)) var(--font-ui); letter-spacing: -0.02em; white-space: nowrap; }
.call .answer { position: absolute; left: 0; right: 0; bottom: calc(48 * var(--u)); display: flex; justify-content: space-between; padding: 0 calc(56 * var(--u)); }
.cbtn-label { display: flex; flex-direction: column; align-items: center; gap: calc(10 * var(--u)); font: 500 calc(12 * var(--u))/calc(14 * var(--u)) var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cbtn { display: grid; place-items: center; width: calc(76 * var(--u)); height: calc(76 * var(--u)); border-radius: 50%; }
.cbtn .i { width: calc(30 * var(--u)); height: calc(30 * var(--u)); stroke-width: 1.75; }
.cbtn.accept { background: var(--accent); color: var(--on-accent); }
.cbtn.decline { background: var(--danger); color: var(--on-danger-glyph); }

/* The tablet: a screen of 1180 by 820 in a frame of 18. */
.tablet { --device-width: 1216; }
.tablet-body { position: relative; width: 100%; aspect-ratio: 1216 / 856; border-radius: calc(44 * var(--u)); background: #050505; box-shadow: inset 0 0 0 calc(2 * var(--u)) #2A2927, 0 calc(50 * var(--u)) calc(100 * var(--u)) calc(-40 * var(--u)) rgba(0,0,0,0.55); }
.tablet .glass { inset: calc(18 * var(--u)); border-radius: calc(26 * var(--u)); background: var(--bg); }
.tablet .statusbar { height: calc(30 * var(--u)); padding: 0 calc(26 * var(--u)); font-size: calc(14 * var(--u)); }
.app-top { position: absolute; top: calc(30 * var(--u)); left: 0; right: 0; height: calc(76 * var(--u)); display: flex; align-items: center; gap: calc(12 * var(--u)); padding: 0 calc(24 * var(--u)); border-bottom: calc(1 * var(--u)) solid var(--line); }
.app-top .mino { width: calc(44 * var(--u)); }
.app-top .me { font: 600 calc(19 * var(--u))/1 var(--font-ui); letter-spacing: -0.01em; }
.pill { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); height: calc(40 * var(--u)); padding: 0 calc(18 * var(--u)); border-radius: 99px; background: var(--secondary-btn); box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--line-2); font: 600 calc(15 * var(--u))/1 var(--font-ui); }
.pill .i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.app-top .pill { margin-left: auto; }
.app-list { position: absolute; top: calc(106 * var(--u)); bottom: 0; left: 0; width: calc(372 * var(--u)); padding: calc(14 * var(--u)) calc(16 * var(--u)); border-right: calc(1 * var(--u)) solid var(--line); display: flex; flex-direction: column; gap: calc(4 * var(--u)); }
.row { display: flex; align-items: center; gap: calc(14 * var(--u)); height: calc(66 * var(--u)); padding: 0 calc(14 * var(--u)); border-radius: calc(16 * var(--u)); font: 600 calc(17 * var(--u))/1 var(--font-ui); letter-spacing: -0.01em; }
.row .mino { width: calc(46 * var(--u)); }
.row .kind { margin-left: auto; width: calc(19 * var(--u)); height: calc(19 * var(--u)); color: var(--muted); }
.row.chosen { background: var(--surface); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--accent); }
.badge { display: inline-flex; align-items: center; gap: calc(5 * var(--u)); height: calc(26 * var(--u)); padding: 0 calc(10 * var(--u)); border-radius: 99px; background: var(--secondary-btn); font: 600 calc(13 * var(--u))/1 var(--font-ui); }
.badge .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.row .badge { margin-left: auto; }
.row .badge + .kind { margin-left: calc(4 * var(--u)); }
.app-detail { position: absolute; top: calc(106 * var(--u)); bottom: 0; left: calc(372 * var(--u)); right: 0; display: flex; flex-direction: column; align-items: center; padding-top: calc(36 * var(--u)); }
.app-detail .mino { width: calc(196 * var(--u)); }
.app-detail .title { margin-top: calc(12 * var(--u)); font: 700 calc(38 * var(--u))/1 var(--font-ui); letter-spacing: -0.02em; }
.app-detail .kindline { display: flex; align-items: center; gap: calc(6 * var(--u)); margin-top: calc(12 * var(--u)); font: 400 calc(15 * var(--u))/1 var(--font-ui); color: var(--muted); }
.app-detail .kindline .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.app-detail .buttons { display: flex; gap: calc(36 * var(--u)); margin-top: calc(28 * var(--u)); }
.app-detail .cbtn { width: calc(70 * var(--u)); height: calc(70 * var(--u)); position: relative; }
.app-detail .cbtn .i { width: calc(27 * var(--u)); height: calc(27 * var(--u)); }
.settings { width: calc(560 * var(--u)); margin-top: calc(28 * var(--u)); border-top: calc(1 * var(--u)) solid var(--line); }
.settings > div { display: flex; justify-content: space-between; align-items: center; height: calc(62 * var(--u)); border-bottom: calc(1 * var(--u)) solid var(--line); font: 600 calc(16 * var(--u))/1 var(--font-ui); }
.settings span { font: 500 calc(14 * var(--u))/1 var(--font-mono); color: var(--muted); }
.switch { width: calc(46 * var(--u)); height: calc(28 * var(--u)); border-radius: 99px; background: var(--secondary-btn); box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--line-2); position: relative; }
.switch::after { content: ""; position: absolute; left: calc(4 * var(--u)); top: calc(4 * var(--u)); width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: var(--muted); }
/* A finger's touch, as a screen recording shows it. */
.touch { position: absolute; inset: calc(-10 * var(--u)); border-radius: 50%; background: rgba(255,255,255,0.55); box-shadow: 0 0 0 calc(2 * var(--u)) rgba(255,255,255,0.9); opacity: 0; pointer-events: none; }

/* The hero's two devices: the tablet at home, and the phone it calls. */
.hero-visual { position: relative; aspect-ratio: 1 / 0.84; margin-right: calc(-1 * min(4vw, 48px)); }
.hero-visual .tablet { position: absolute; left: 0; top: 4%; width: 86%; }
.hero-visual .phone { position: absolute; right: 0; bottom: 0; width: 34%; }
.hero-visual::before { content: ""; position: absolute; right: -6%; bottom: 4%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent 72%); opacity: var(--glow); filter: blur(10px); }

/* A ringing device's mino looks at you, and its rings pulse. */
.ringing .look { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .rings circle { opacity: 0; animation: pulse 3.4s ease-out infinite; }
  .rings circle:nth-child(1) { --o: 0.5; }
  .rings circle:nth-child(2) { --o: 0.38; animation-delay: 0.7s; }
  .rings circle:nth-child(3) { --o: 0.26; animation-delay: 1.4s; }
  /* The story plays once: a touch on Call, then the phone wakes and rings. */
  .story .touch { animation: touch 900ms 900ms both; }
  .story .call-button { animation: press 900ms 900ms both; }
  .story .phone .call { animation: wake 450ms 1900ms both; }
  .story .phone .call .look { animation: look 200ms 2300ms both; }
  .story .phone-body { animation: buzz 2600ms 2000ms infinite; }
  .story .rings circle:nth-child(1) { animation-delay: 1.9s; }
  .story .rings circle:nth-child(2) { animation-delay: 2.6s; }
  .story .rings circle:nth-child(3) { animation-delay: 3.3s; }
}
@keyframes touch { 0% { opacity: 0; transform: scale(1.6); } 25% { opacity: 1; transform: scale(1); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes press { 0%, 20% { transform: none; } 35%, 60% { transform: scale(0.93); filter: brightness(0.92); } 80%, 100% { transform: none; filter: none; } }
@keyframes wake { from { opacity: 0; } to { opacity: 1; } }
@keyframes look { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(0.7); opacity: 0; } 16% { opacity: var(--o, 0.5); } 100% { transform: scale(1.34); opacity: 0; } }
@keyframes buzz {
  0%, 14%, 100% { transform: none; }
  2%, 6%, 10% { transform: translateX(-0.6%) rotate(-0.6deg); }
  4%, 8%, 12% { transform: translateX(0.6%) rotate(0.6deg); }
}

/* ---------- Story ---------- */
.note {
  position: relative; display: grid; gap: 28px;
  padding: clamp(32px, 5vw, 64px); padding-right: clamp(32px, 30%, 320px);
  border-radius: clamp(26px, 3vw, 40px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.note blockquote { display: grid; gap: 20px; font-weight: 500; font-size: clamp(21px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -0.02em; text-wrap: pretty; }
.note blockquote p + p { color: var(--muted); }
.note .standing { position: absolute; right: clamp(20px, 4vw, 56px); bottom: 0; width: clamp(140px, 22%, 260px); }
@media (max-width: 700px) {
  .note { padding-right: clamp(32px, 5vw, 64px); padding-bottom: 200px; }
  .note .standing { width: 180px; }
}

/* ---------- Features: words beside a picture ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature-text { display: grid; gap: 24px; justify-items: start; }
.points { display: grid; gap: 14px; margin-top: 4px; }
.points li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.points b { color: var(--text); font-weight: 600; }
.points .i { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--secondary-btn); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
}

/* The ringing devices: a computer with its incoming panel, and a watch. */
.rings-visual { position: relative; aspect-ratio: 1 / 0.8; }
.rings-visual::before { content: ""; position: absolute; left: 30%; top: 10%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--mino-haze-5) 40%, transparent), transparent 72%); opacity: var(--glow); }
.laptop { --device-width: 1360; position: absolute; left: 0; top: 4%; width: 94%; }
.laptop-lid { position: relative; aspect-ratio: 1360 / 880; border-radius: calc(36 * var(--u)) calc(36 * var(--u)) 0 0; background: #050505; box-shadow: inset 0 0 0 calc(2 * var(--u)) #2A2927; }
.laptop .glass { inset: calc(26 * var(--u)) calc(40 * var(--u)) calc(40 * var(--u)); border-radius: calc(10 * var(--u)); background: radial-gradient(60% 70% at 18% 92%, color-mix(in srgb, var(--mino-haze-5) 55%, transparent), transparent 70%), radial-gradient(55% 60% at 88% 10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), radial-gradient(70% 80% at 60% 60%, #2A2622, #12100D 75%); }
.laptop-base { position: relative; height: calc(30 * var(--u)); margin: 0 calc(-60 * var(--u)); border-radius: 0 0 calc(40 * var(--u)) calc(40 * var(--u)) / 0 0 calc(30 * var(--u)) calc(30 * var(--u)); background: linear-gradient(#4A4743, #2A2826 40%, #151412); }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: calc(200 * var(--u)); height: calc(12 * var(--u)); border-radius: 0 0 calc(14 * var(--u)) calc(14 * var(--u)); background: #1A1917; transform: translateX(-50%); }
.menubar { position: absolute; inset: 0 0 auto; height: calc(34 * var(--u)); background: rgba(20,18,16,0.6); display: flex; align-items: center; justify-content: flex-end; gap: calc(18 * var(--u)); padding: 0 calc(20 * var(--u)); font: 500 calc(15 * var(--u))/1 var(--font-ui); color: #F2F0ED; }
.menubar .logo { width: calc(18 * var(--u)); height: calc(18 * var(--u)); color: var(--accent); margin-right: auto; }
.panel { position: absolute; right: calc(18 * var(--u)); top: calc(52 * var(--u)); display: flex; align-items: center; gap: calc(18 * var(--u)); width: calc(560 * var(--u)); padding: calc(14 * var(--u)) calc(18 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)); border-radius: calc(22 * var(--u)); background: var(--surface); box-shadow: 0 0 0 calc(1 * var(--u)) var(--line), 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-20 * var(--u)) rgba(0,0,0,0.8); }
.panel .ringlet { position: relative; display: grid; place-items: center; width: calc(104 * var(--u)); height: calc(104 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 calc(1.5 * var(--u)) color-mix(in srgb, var(--accent) 55%, transparent); flex: none; }
.panel .ringlet::after { content: ""; position: absolute; inset: calc(6 * var(--u)); border-radius: 50%; box-shadow: inset 0 0 0 calc(1 * var(--u)) color-mix(in srgb, var(--accent) 25%, transparent); }
.panel .mino { width: calc(80 * var(--u)); }
.panel .who { display: grid; gap: calc(6 * var(--u)); text-align: left; margin-right: auto; }
.panel .who b { font: 600 calc(22 * var(--u))/1 var(--font-ui); letter-spacing: -0.01em; }
.panel .who span { font: 500 calc(13 * var(--u))/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.panel .cbtn { width: calc(60 * var(--u)); height: calc(60 * var(--u)); }
.panel .cbtn .i { width: calc(25 * var(--u)); height: calc(25 * var(--u)); }
.panel .cbtns { display: flex; gap: calc(12 * var(--u)); }

.watch { --device-width: 250; position: absolute; right: 2%; bottom: 0; width: 30%; }
.watch-band { position: absolute; left: 22%; right: 22%; top: -36%; bottom: -36%; border-radius: calc(40 * var(--u)); background: linear-gradient(90deg, #1C1B19, #2C2A27 50%, #1C1B19); z-index: -1; }
.watch-body { position: relative; aspect-ratio: 250 / 300; border-radius: calc(66 * var(--u)); background: #050506; box-shadow: inset 0 0 0 calc(3 * var(--u)) #2C2E33, 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-26 * var(--u)) rgba(8,10,12,0.8); }
.watch-body::after { content: ""; position: absolute; right: calc(-7 * var(--u)); top: 26%; width: calc(9 * var(--u)); height: calc(46 * var(--u)); border-radius: calc(4 * var(--u)); background: #3A3B40; }
.watch .glass { inset: calc(26 * var(--u)); border-radius: calc(44 * var(--u)); }
.wcall { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: calc(16 * var(--u)); text-align: center; }
.wcall .ringbox { position: relative; display: grid; place-items: center; width: calc(88 * var(--u)); height: calc(88 * var(--u)); }
.wcall .ringbox .mino { width: calc(64 * var(--u)); z-index: 1; }
.wcall .rings { width: calc(130 * var(--u)); height: calc(130 * var(--u)); }
.wcall .caps { margin-top: calc(4 * var(--u)); font: 500 calc(12 * var(--u))/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.wcall .who { margin-top: calc(6 * var(--u)); font: 600 calc(19 * var(--u))/1.1 var(--font-ui); letter-spacing: -0.01em; white-space: nowrap; }
.wcall .cbtns { display: flex; gap: calc(26 * var(--u)); margin-top: calc(14 * var(--u)); }
.wcall .cbtn { width: calc(52 * var(--u)); height: calc(52 * var(--u)); }
.wcall .cbtn .i { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }

/* ---------- Pairing: the tablet's card, and the phone that is asked ---------- */
.pair-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.92fr); align-items: center; gap: clamp(12px, 2vw, 28px); }
.pair-side { display: grid; gap: 14px; justify-items: center; }
.card-mock { position: relative; width: 100%; aspect-ratio: 181 / 214; border-radius: var(--radius-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); overflow: hidden; }
.card-name { position: absolute; left: 8%; top: 7%; right: 22%; font: 600 clamp(15px, 1.5vw, 19px)/1.25 var(--font-ui); letter-spacing: -0.01em; }
.card-kind { position: absolute; right: 8%; top: 7.5%; font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); }
.card-mock .standing { position: absolute; right: 2%; bottom: 0; width: 76%; }
.same { display: grid; justify-items: center; gap: 12px; }
.same .i { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--accent); color: var(--on-accent); stroke-width: 2.4; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent); }
.same span { font: 500 12px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; max-width: 6em; }
.pair-visual .phone { width: 100%; }
.pair-visual .phone .glass { background: var(--bg); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; padding: calc(16 * var(--u)) calc(26 * var(--u)) calc(40 * var(--u)); border-radius: calc(30 * var(--u)) calc(30 * var(--u)) 0 0; background: var(--surface); box-shadow: 0 calc(-1 * var(--u)) 0 var(--line); text-align: center; }
.sheet::before { content: ""; width: calc(40 * var(--u)); height: calc(5 * var(--u)); border-radius: 99px; background: var(--line-2); margin-bottom: calc(14 * var(--u)); }
.sheet .mino { width: calc(160 * var(--u)); }
.sheet .t { margin-top: calc(10 * var(--u)); font: 600 calc(21 * var(--u))/1.2 var(--font-ui); letter-spacing: -0.01em; }
.sheet .kindline { display: flex; align-items: center; gap: calc(6 * var(--u)); margin-top: calc(8 * var(--u)); font: 400 calc(14 * var(--u))/1 var(--font-ui); color: var(--muted); }
.sheet .kindline .i { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.sheet .s { margin-top: calc(14 * var(--u)); font: 400 calc(15 * var(--u))/1.4 var(--font-ui); color: var(--muted); max-width: calc(280 * var(--u)); }
.sheet .btns { display: flex; gap: calc(12 * var(--u)); width: 100%; margin-top: calc(22 * var(--u)); }
.sheet .btns span { flex: 1; display: grid; place-items: center; height: calc(52 * var(--u)); border-radius: 99px; font: 600 calc(16 * var(--u))/1 var(--font-ui); background: var(--secondary-btn); box-shadow: inset 0 0 0 calc(1 * var(--u)) var(--line-2); }
.sheet .btns span:last-child { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.screen-under { position: absolute; inset: 0; background: var(--bg); }
.screen-under::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
@media (max-width: 560px) {
  .pair-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .pair-visual .same { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .pair-visual .same span { display: none; }
  .same .i { width: 48px; height: 48px; padding: 12px; box-shadow: 0 0 0 6px var(--bg); }
}

/* ---------- Minoes on a shelf ---------- */
.shelf { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 2vw, 28px) clamp(8px, 1.6vw, 20px); padding: clamp(28px, 4vw, 48px); border-radius: clamp(26px, 3vw, 40px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.shelf figure { display: grid; gap: 10px; justify-items: center; text-align: center; }
.shelf .standing { width: 100%; }
.shelf figcaption { font: 600 15px/1.3 var(--font-ui); letter-spacing: -0.01em; text-wrap: balance; }
.shelf figcaption span { display: block; font: 400 13px/1.3 var(--font-ui); color: var(--muted); letter-spacing: 0; }
.shelf .standing .look { inset: auto; left: calc(var(--rest-left) * 100%); top: calc(var(--rest-top) * 100%); width: calc(var(--rest-size) * 100%); height: auto; }
.shelf .standing img:nth-child(2) { transition: opacity 120ms; }
.shelf figure:hover .standing img:nth-child(2) { opacity: 0; }
.shelf figure:hover .look { opacity: 1; }
@media (max-width: 900px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.privacy-head { position: sticky; top: calc(var(--header) + 40px); display: grid; gap: 24px; justify-items: start; }
.promise-list { display: grid; }
.promise-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.promise-list li:last-child { border-bottom: 1px solid var(--line); }
.promise-list .i { width: 48px; height: 48px; padding: 12px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.promise-list div { display: grid; gap: 6px; }
.promise-list p { color: var(--muted); }
.links-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 8px; }
@media (max-width: 900px) {
  .privacy { grid-template-columns: 1fr; }
  .privacy-head { position: static; }
}

/* ---------- Open source ---------- */
.open { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(36px, 6vw, 80px); border-radius: clamp(28px, 3vw, 44px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.open-text { display: grid; gap: 24px; justify-items: start; }
.repo-window { border-radius: 18px; background: var(--surface-inset); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); overflow: hidden; }
.repo-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--titlebar); }
.repo-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.repo-bar span { margin-left: 10px; font: 500 13px/1 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repo { display: grid; gap: 8px; padding: 14px; font: 500 14px/1.5 var(--font-mono); }
.repo li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.repo li b { color: var(--text); font-weight: 500; }
.repo .i { font-size: 18px; color: var(--accent-text); }
@media (max-width: 900px) { .open { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .open, .note, .in-short, .closing, .parts { padding: 24px; }
  .note { padding-bottom: 196px; }
}

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: clamp(24px, 2.6vw, 34px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: box-shadow 200ms, transform 300ms var(--ease-out); }
a.project:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-card); transform: translateY(-3px); }
.project-art { position: relative; aspect-ratio: 16 / 10; background: var(--surface-inset); border-bottom: 1px solid var(--line); overflow: hidden; }
.project-text { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); }
.project-text p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border-radius: 99px; background: var(--secondary-btn); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }
.project.yours { background: transparent; box-shadow: none; border: 1.5px dashed var(--faint); }
.project.yours .project-art { background: transparent; border-bottom: 1.5px dashed var(--faint); display: grid; place-items: center; }
.plus { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 1.5px dashed var(--faint); color: var(--muted); }
.plus .i { font-size: 34px; }
@media (max-width: 800px) { .projects { grid-template-columns: 1fr; } }

/* Wall-E drawn in the line style of the design's drawings. */
.drawing { width: 100%; height: 100%; }
.drawing .line { fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.drawing .call-line { fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.drawing .fill { fill: var(--surface); }
.drawing .dot { fill: var(--muted); }
.drawing text { font: 500 11px var(--font-mono); letter-spacing: 0.08em; fill: var(--muted); }

/* ---------- Download ---------- */
.get-it { text-align: center; }
.launch { width: clamp(280px, 40vw, 520px); aspect-ratio: 1; margin: calc(-1 * clamp(40px, 6vw, 96px)) auto calc(-1 * clamp(56px, 8vw, 128px)); }
.launch img { width: 100%; height: 100%; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); text-align: left; }
.platform { display: grid; gap: 18px; align-content: space-between; padding: 26px; border-radius: var(--radius-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.platform-head { display: grid; gap: 8px; }
.platform-head .glyphs { display: flex; gap: 8px; color: var(--muted); }
.platform-head .glyphs .i { font-size: 22px; }
.platform-head p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 14px; background: var(--text); color: var(--bg); text-decoration: none; transition: transform 150ms var(--ease-out), opacity 150ms; }
.store:hover { opacity: 0.88; }
.store:active { transform: scale(0.97); }
.store .i { font-size: 20px; }
.store span { display: grid; font: 600 15px/1.15 var(--font-ui); text-align: left; }
.store small { font: 500 11px/1.2 var(--font-ui); opacity: 0.75; }
.store.quiet { background: var(--secondary-btn); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 960px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .platforms { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 64px 72px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 26em; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 64px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links .label { margin-bottom: 6px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-size: 15px; }
.footer-links a:hover { text-decoration: underline; }
.footer-links a .i { color: var(--muted); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, auto); justify-content: start; }
}

/* ---------- Pages to read ---------- */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 64px); }
.page-head .narrow, .page-head .wrap { display: grid; gap: 24px; justify-items: start; }
.prose { display: grid; gap: 18px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose h2 { margin-top: 40px; color: var(--text); font-weight: 700; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.prose h3 { margin-top: 18px; color: var(--text); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.updated { font: 500 13px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }

/* ---------- How it works ---------- */
.explain { padding-top: 0; }
.in-short { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.in-short ol { counter-reset: point; display: grid; gap: 14px; margin-top: 18px; }
.in-short li { counter-increment: point; display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: 18px; line-height: 1.5; }
.in-short li::before { content: counter(point); display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 600 14px/1 var(--font-ui); }
.chapter { display: grid; gap: 20px; padding-top: clamp(64px, 8vw, 104px); }
.chapter > .h3 { font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.scheme-box { margin: 8px 0; padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 48px); border-radius: var(--radius-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.scheme { width: 100%; max-width: 520px; height: auto; margin: 0 auto; overflow: visible; }
.table-wrap { margin: 8px 0; }
.table-wrap th[scope="row"] { width: 32%; }
@media (max-width: 620px) {
  .table-wrap thead { display: none; }
  .table-wrap tr { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .table-wrap th, .table-wrap td { padding: 0; border: 0; }
  .table-wrap th[scope="row"] { width: auto; }
}
.closing { display: grid; gap: 16px; justify-items: start; margin-top: clamp(64px, 8vw, 104px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.closing p { color: var(--muted); }

/* ---------- Help ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 24px 48px 24px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.35; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(6px) rotate(-135deg); }
.faq summary:hover { color: var(--accent-text); }
.faq details > p { padding: 0 48px 22px 0; color: var(--muted); max-width: 40em; }
.faq details > p + p { margin-top: -8px; }
.faq a { color: var(--text); text-decoration: underline; }

/* ---------- A project's own page ---------- */
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { color: var(--text); }
.page-head .project-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; justify-items: stretch; }
.project-intro { display: grid; gap: 22px; justify-items: start; }
.project-art.big { aspect-ratio: 16 / 10; border-radius: clamp(24px, 3vw, 36px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.traits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.traits li { display: grid; align-content: start; gap: 12px; padding: 28px; border-radius: var(--radius-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.traits .i { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--secondary-btn); box-shadow: inset 0 0 0 1px var(--line-2); }
.traits p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.build { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.parts { position: sticky; top: calc(var(--header) + 32px); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-panel); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.parts ul { display: grid; gap: 4px; margin-top: 18px; }
.parts li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.5; }
.parts li:first-child { border-top: 0; }
.parts .i { font-size: 22px; margin-top: 1px; color: var(--accent-text); }
.parts b { color: var(--text); font-weight: 600; }
.steps { display: grid; gap: 24px; justify-items: start; }
.steps ol { counter-reset: step; display: grid; gap: 0; width: 100%; }
.steps li { counter-increment: step; position: relative; display: grid; gap: 6px; padding: 0 0 32px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font: 600 17px/1 var(--font-ui); }
.steps li::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 6px; width: 1px; background: var(--line-2); }
.steps li:last-child { padding-bottom: 8px; }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); }
@media (max-width: 900px) {
  .page-head .project-head, .build { grid-template-columns: 1fr; }
  .traits { grid-template-columns: 1fr 1fr; }
  .parts { position: static; }
}
@media (max-width: 620px) { .traits { grid-template-columns: 1fr; } }

/* ---------- Nobody picked up ---------- */
.missing { min-height: calc(100vh - var(--header) - 260px); display: grid; align-content: center; text-align: center; }
.missing .narrow { display: grid; gap: 20px; justify-items: center; }
.missing .mino { width: 200px; }
.choose-logo { width: 68px; height: 68px; }

/* ---------- Appearing as the page scrolls ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .reveal.seen { opacity: 1; transform: none; }
}
