/* StockClock public site. The app's own world (DESIGN.md): true black, system type with tabular
   figures, colour only for meaning (green/red = up/down, yellow = the alarm line, blue = action). */

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #0b0b0c;
  --cell: #1c1c1e;
  --cell-2: #2c2c2e;
  --fill: rgba(118, 118, 128, 0.24);
  --label: #ffffff;
  --label-2: #98989d;
  --label-3: rgba(235, 235, 245, 0.3);
  --sep: rgba(84, 84, 88, 0.65);
  --grid: rgba(84, 84, 88, 0.28);
  --up: #30d158;
  --down: #ff453a;
  --up-text: #30d158;
  --down-text: #ff6961;
  --up-pill: #168838;
  --down-pill: #de2a24;
  --alert: #ffd60a;
  --alert-ink: #ffd60a;
  --alert-edge: transparent;
  --tint: #0a84ff;
  --tint-text: #4da3ff;
  --tint-fill: #0071e3;
  --material: rgba(22, 22, 23, 0.74);
  --phone-rim: #2c2c2e;
  --shadow: rgba(0, 0, 0, 0.6);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --col: 1180px;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-2: #f2f2f7;
    --cell: #f2f2f7;
    --cell-2: #e5e5ea;
    --fill: rgba(118, 118, 128, 0.12);
    --label: #000000;
    --label-2: #6c6c70;
    --label-3: rgba(60, 60, 67, 0.3);
    --sep: rgba(60, 60, 67, 0.29);
    --grid: rgba(60, 60, 67, 0.12);
    --up: #34c759;
    --down: #ff3b30;
    --up-text: #1f7a35;
    --down-text: #d70015;
    --alert: #ffcc00;
    --alert-ink: #b38600;
    --alert-edge: rgba(122, 88, 0, 0.6);
    --tint: #007aff;
    --tint-text: #0066cc;
    --material: rgba(249, 249, 249, 0.8);
    --phone-rim: #d1d1d6;
    --shadow: rgba(0, 0, 0, 0.18);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: color-mix(in srgb, var(--tint) 38%, transparent); }
a { color: var(--tint-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cell); color: var(--label); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--col); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- top bar */
.bar { position: sticky; top: 0; z-index: 40; background: transparent; transition: background-color .3s, box-shadow .3s; }
.bar.is-stuck { background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 .5px 0 var(--sep); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mark { display: inline-flex; align-items: center; gap: 9px; color: var(--label); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; min-height: 44px; }
.mark svg, .mark img { flex: none; }
.mark img { border-radius: 22%; }
.bar nav { display: flex; gap: 4px; }
.bar nav a { color: var(--label-2); text-decoration: none; font-size: 15px; padding: 12px 10px; border-radius: 10px; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--label); }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(24px, 4.4vw, 56px); }
.hero-top { display: grid; gap: 0 48px; align-items: end; }
@media (min-width: 1000px) { .hero-top { grid-template-columns: minmax(0, 1fr) auto; } .hero-top .lede { margin-bottom: .5em; } }
.hero h1 { font-size: clamp(46px, 7.2vw, 112px); line-height: .96; letter-spacing: -0.04em; font-weight: 700; max-width: 9.5ch; }
@media (min-width: 1000px) { .hero h1 { font-size: clamp(64px, 6.6vw, 104px); max-width: 14.5ch; } .hero-top .lede { max-width: 25ch; } }
.hero h1 .line-word { position: relative; white-space: nowrap; }
.hero h1 .line-word::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: .06em; height: 0; border-bottom: max(3px, .045em) dashed var(--alert); }
.hero .lede { margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(18px, 2vw, 23px); line-height: 1.38; color: var(--label-2); max-width: 31ch; letter-spacing: -0.02em; }
.hero .lede b { color: var(--label); font-weight: 600; }

/* The instrument: the app's chart screen at page scale. */
.instrument { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "note"; }
.ihead { grid-area: head; display: flex; align-items: flex-end; gap: 14px 28px; flex-wrap: wrap; min-width: 0; }
.instrument .stage { grid-area: stage; }
.instrument .note { grid-area: note; margin-top: 16px; font-size: 15px; color: var(--label-2); max-width: 60ch; }
.instrument .note b { color: var(--label); font-weight: 600; }
.coin { display: flex; align-items: center; gap: 12px; }
.coin img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 .5px var(--sep); }
.coin .sym { font-size: 22px; font-weight: 700; letter-spacing: -0.012em; line-height: 1.1; }
.coin .sym small { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--label-2); margin-left: 4px; }
.coin .name { font-size: 15px; color: var(--label-2); }
.quote { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.quote .now { font-size: clamp(34px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.quote .now .d { transition: color 1.2s; }
.quote .now .d.tick-up { color: var(--up-text); transition: none; }
.quote .now .d.tick-down { color: var(--down-text); transition: none; }
.quote .now.is-stale { color: var(--label-2); }
.pill { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 76px; height: 26px; padding: 0 7px; border-radius: 7px; color: #fff; font-size: 15px; font-weight: 600; background: #636366; }
.pill.up { background: var(--up-pill); }
.pill.down { background: var(--down-pill); }
.quote .src { font-size: 13px; color: var(--label-2); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--up); margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 0 var(--up); animation: live 2s infinite; }
.live-dot.off { background: var(--label-3); animation: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }

.stage { position: relative; margin-top: 18px; height: clamp(300px, min(46vw, calc(100svh - 400px)), 540px); margin-left: calc(-1 * min(var(--gutter), 12px)); margin-right: calc(-1 * min(var(--gutter-r), 12px)); }
.stage .chart { position: absolute; inset: 0; }

/* The alarm line's handles, as the app's chart page draws them: a round grip at the left with the
   direction arrow, and a two-line tag on the price axis (the price, then how far it is from now). */
.grip { position: absolute; top: 0; left: 14px; z-index: 5; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--alert); color: #000; box-shadow: 0 2px 6px rgba(0,0,0,.3), 0 0 0 .5px var(--alert-edge);
  cursor: ns-resize; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; transition: box-shadow .2s; }
.grip::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
.grip svg { display: block; }
.grip::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--alert); opacity: 0; pointer-events: none; }
.grip.rang::after { animation: ringout 1.3s ease-out 4; }
.axtag.rang { box-shadow: 0 0 0 2px var(--alert), 0 4px 14px rgba(0,0,0,.3); }
@keyframes ringout { 0% { transform: scale(1); opacity: .95; } 100% { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .grip.rang::after { animation: none; } }
.grip.is-held { box-shadow: 0 4px 10px rgba(0,0,0,.35), 0 12px 28px rgba(0,0,0,.25); }
.grip[data-edge] { outline: 2px dashed var(--alert); outline-offset: 3px; }
.grip:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; }
.axtag { position: absolute; top: 0; right: 0; z-index: 4; min-width: 64px; padding: 3px 7px 3px 9px; border-radius: 8px 0 0 8px; text-align: left; background: var(--alert); color: #000;
  font-variant-numeric: tabular-nums; line-height: 1.18; white-space: nowrap; pointer-events: none; will-change: transform; box-shadow: 0 0 0 .5px var(--alert-edge); }
.axtag b { display: block; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.axtag i { display: block; font-style: normal; font-size: 12px; font-weight: 500; }
.grip[hidden], .axtag[hidden], .hint[hidden] { display: none; }
.hint { position: absolute; z-index: 5; left: 18px; top: 0; transform: translateY(26px); font-size: 13px; color: var(--label-2); pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.hint svg { vertical-align: -3px; margin-right: 4px; }
.hint.gone { opacity: 0; }

/* ---------------------------------------------------------------- sections */
.sec { padding-top: clamp(96px, 14vw, 180px); }
.sec h2 { font-size: clamp(38px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; max-width: 14ch; }
.sec .sub { margin-top: 20px; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.42; color: var(--label-2); max-width: 40ch; letter-spacing: -0.02em; }
.sec .sub b { color: var(--label); font-weight: 600; }
.yline { position: relative; height: 0; border-top: 2px dashed var(--alert); margin: 0; }

/* Silent: the two phones on one line. */
.silent-stage { position: relative; margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 6vw, 96px); align-items: start; justify-items: center; }
.silent-stage::before { content: ""; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter-r)); top: 44%; border-top: 2px dashed var(--alert); opacity: .9; }
.silent-stage figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; z-index: 1; }
.silent-stage figcaption { text-align: center; font-size: 15px; color: var(--label-2); max-width: 24ch; }
.silent-stage figcaption b { display: block; font-size: 19px; color: var(--label); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 2px; }
.silent-stage .quietphone { filter: saturate(.6); }
.silent-stage .phone { width: min(340px, 100%); }
.tri { display: inline-block; width: .62em; height: .62em; margin-right: .2em; vertical-align: .02em; }

/* A phone, drawn. The screens inside are always the app's dark appearance (it is 3 a.m.). */
.phone { position: relative; width: min(300px, 100%); aspect-ratio: 9 / 19.5; border-radius: 15% / 7%; background: #000; color: #fff; overflow: hidden; flex: none;
  box-shadow: 0 0 0 clamp(5px, 1.2vw, 10px) var(--phone-rim), 0 40px 90px -20px var(--shadow); container-type: inline-size; color-scheme: dark; }
.phone .island { position: absolute; top: 3.6%; left: 50%; transform: translateX(-50%); width: 31%; height: 3.3%; border-radius: 999px; background: #000; z-index: 6; box-shadow: 0 0 0 1px #161616; }
.phone .island--lock { width: 41%; display: flex; align-items: center; padding-left: 4.4cqi; box-shadow: 0 0 0 1px #2a2a2c; }
.phone .island--lock svg { height: 75%; width: auto; }
.phone .sb { position: absolute; top: 4.2%; left: 9%; right: 8%; display: flex; justify-content: space-between; font-size: 4.6cqi; font-weight: 600; z-index: 5; }
.phone .sb svg { height: 3.6cqi; width: auto; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; }

.lock { padding-top: 22%; background: radial-gradient(130% 60% at 50% 0%, #20232b 0%, #000 72%); }
.lock .date { font-size: 5.4cqi; font-weight: 600; color: rgba(255,255,255,.78); }
.lock .time { font-size: 27cqi; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 1cqi; }
.lock .note { margin-top: 13cqi; width: 92%; border-radius: 7cqi; padding: 3.6cqi 4cqi; background: rgba(58,58,62,.72); display: grid; grid-template-columns: 10cqi 1fr auto; gap: 3.4cqi; align-items: center; text-align: left; font-size: 4.3cqi; line-height: 1.3; }
.lock .note .ic { width: 10cqi; height: 10cqi; border-radius: 2.6cqi; background: #3a3a3c; display: grid; place-items: center; }
.lock .note .ic svg { width: 6cqi; height: 6cqi; }
.lock .note b { display: block; font-weight: 600; }
.lock .note span { color: rgba(255,255,255,.62); }
.lock .note time { align-self: start; color: rgba(255,255,255,.5); font-size: 3.8cqi; }
.lock .mute { position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.8cqi; font-size: 4.2cqi; color: rgba(255,255,255,.7); background: rgba(58,58,62,.6); border-radius: 999px; padding: 2cqi 4cqi; white-space: nowrap; }
.lock .mute svg { width: 4.6cqi; height: 4.6cqi; }

.ringscr { align-items: stretch; text-align: left; padding-top: 44cqi; background: #000; }
.ringscr .rt { display: flex; align-items: center; gap: 2.4cqi; padding: 0 5.5cqi; font-size: 7.7cqi; font-weight: 500; color: #98989d; white-space: nowrap; }
.ringscr .clk { width: 9cqi; height: 9cqi; flex: none; }
.ringscr .rtime { font-size: 32cqi; font-weight: 600; letter-spacing: -0.025em; line-height: 1; text-align: center; margin-top: 3.4cqi; font-variant-numeric: tabular-nums; }
.ringscr .rapp { text-align: center; font-size: 5.6cqi; color: #7c7c80; margin-top: 4.6cqi; }
.ringscr .ropen { position: absolute; left: 4cqi; right: 4cqi; top: 66.2%; height: 11.6%; border-radius: 999px; display: grid; place-items: center; background: #ffd60a; color: #fff; font-size: 7.4cqi; font-weight: 600; }
.ringscr .rslide { position: absolute; left: 4cqi; right: 4cqi; top: 80.8%; height: 11.6%; border-radius: 999px; display: flex; align-items: center; gap: 6cqi; padding: 0 .6cqi; background: #1c1c1e; color: #7c7c80; font-size: 6.2cqi; }
.ringscr .rslide i { width: 24cqi; height: 24cqi; flex: none; border-radius: 50%; background: #242426; box-shadow: inset 0 0 0 .5cqi rgba(255,214,10,.6); display: grid; place-items: center; }
.ringscr .rslide i b { width: 8.4cqi; height: 8.4cqi; border-radius: 1.8cqi; background: #fff; }

/* How: three steps, each a real piece of the app. */
.steps { margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.step { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.step h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.step .n { color: var(--label-2); margin-right: .38em; }
.step p { color: var(--label-2); font-size: 17px; margin-top: 8px; }
.step .art { display: flex; flex-direction: column; position: relative; }
.step--lead .mini { height: clamp(200px, 22vw, 280px); }
.group { background: var(--cell); border-radius: 12px; overflow: hidden; }
@media (prefers-color-scheme: light) { .group { background: #fff; } }
.crow { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; position: relative; min-height: 56px; }
.crow + .crow::before { content: ""; position: absolute; top: 0; left: 58px; right: 0; border-top: .5px solid var(--sep); }
.crow img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 .5px var(--sep); }
.crow .s { font-size: 17px; font-weight: 600; line-height: 1.2; }
.crow .s small { font-size: 11px; font-weight: 600; color: var(--label-2); letter-spacing: .02em; margin-left: 3px; }
.crow .f { font-size: 13px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.crow .r .p { font-size: 15px; font-weight: 600; }
.crow .r .pill { min-width: 66px; height: 22px; font-size: 13px; border-radius: 7px; }
.mini { position: relative; height: 150px; }
.mini > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mini .grip { left: 4px; top: 0; width: 26px; height: 26px; box-shadow: 0 2px 5px rgba(0,0,0,.28); }
.mini .axtag { top: 0; min-width: 58px; padding: 2px 6px 2px 8px; }
.mini .axtag b { font-size: 12px; } .mini .axtag i { font-size: 11px; }
.panel { border-radius: 14px; background: var(--cell); padding: 14px 14px 14px; display: grid; gap: 10px; }
@media (prefers-color-scheme: light) { .panel { background: #fff; } }
.panel .ph { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; }
.panel .pdir { color: var(--down-text); display: inline-flex; align-items: center; gap: 5px; }
.panel .pdir.up { color: var(--up-text); }
.panel .pedit { font-weight: 500; color: var(--tint-text); }
.panel .pp { display: flex; align-items: baseline; gap: 8px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: -4px; }
.panel .pp span { font-size: 15px; font-weight: 500; color: var(--label-2); letter-spacing: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--fill); border-radius: 10px; padding: 2px; height: 38px; font-size: 14px; gap: 2px; }
.seg span { display: flex; gap: 6px; align-items: center; justify-content: center; border-radius: 8px; color: var(--label); }
.seg span svg { flex: none; }
.seg span.on { background: color-mix(in srgb, var(--tint) 16%, var(--cell-2)); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--tint); }
@media (prefers-color-scheme: light) { .seg span.on { background: color-mix(in srgb, var(--tint) 10%, #fff); } }
.pcreate { height: 44px; border-radius: 12px; display: grid; place-items: center; background: #0071e3; color: #fff; font-size: 16px; font-weight: 600; }
.dialog { margin-top: 14px; border-radius: 14px; background: var(--cell-2); text-align: center; overflow: hidden; }
@media (prefers-color-scheme: light) { .dialog { background: #fff; } }
.dialog .dt { padding: 16px 16px 2px; font-size: 17px; font-weight: 600; }
.dialog .dm { padding: 0 16px 16px; font-size: 13px; line-height: 1.4; }
.dialog .db { display: grid; grid-template-columns: 1fr 1fr; border-top: .5px solid var(--sep); }
.dialog .db span { padding: 11px; color: var(--tint-text); font-size: 17px; }
.dialog .db span + span { border-left: .5px solid var(--sep); font-weight: 600; }

/* Trust: the Alarms home beside three plain promises. */
.trust { position: relative; margin-top: clamp(48px, 7vw, 88px); display: grid; justify-items: center; }
.trust .phone { width: 320px; }
.cap { position: absolute; top: var(--y); width: calc(50% - 160px - 72px); margin: 0; transform: translateY(-.7em); font-size: 16px; color: var(--label-2); line-height: 1.45; }
.cap b { display: block; color: var(--label); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.cap::after { content: ""; position: absolute; top: .7em; width: 52px; border-top: 1px solid var(--sep); }
.cap--l { left: 0; text-align: right; }
.cap--l::after { right: -64px; }
.cap--r { right: 0; }
.cap--r::after { left: -64px; }
.home { padding: 29cqi 4cqi 0; align-items: stretch; }
.home .lt { font-size: 8.8cqi; font-weight: 700; letter-spacing: .005em; line-height: 1.15; }
.home .armed { display: flex; align-items: center; gap: 3.2cqi; margin-top: 3.2cqi; padding: 0 1.5cqi; }
.home .armed > svg:first-child { width: 4.6cqi; height: 4.6cqi; flex: none; }
.home .armed > div { flex: 1; min-width: 0; line-height: 1.25; }
.home .armed b { display: block; font-size: 4.3cqi; font-weight: 600; }
.home .armed span { display: block; font-size: 3.7cqi; color: #98989d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .chev { width: 2.2cqi; height: 3.8cqi; flex: none; color: #7c7c80; }
.home .acard { margin-top: 11cqi; border-radius: 5.2cqi; padding: 3.7cqi; background: linear-gradient(180deg, #2b2a24 0%, #1b1b1d 62%); box-shadow: inset 0 0 0 .5cqi rgba(255,214,10,.5); }
.home .badge { display: inline-flex; align-items: center; gap: 1.6cqi; height: 5.6cqi; padding: 0 3cqi 0 2.2cqi; border-radius: 999px; background: #ffd60a; color: #1a1500; font-size: 3.5cqi; font-weight: 700; letter-spacing: .02em; }
.home .badge svg { width: 3.4cqi; height: 3.4cqi; }
.home .who { display: flex; align-items: center; gap: 2.2cqi; margin-top: 3.2cqi; }
.home .who img { width: 7.4cqi; height: 7.4cqi; border-radius: 50%; }
.home .who b { font-size: 4.9cqi; font-weight: 600; }
.home .who small { font-size: 3.3cqi; font-weight: 600; color: #98989d; background: rgba(120,120,128,.26); border-radius: 1.4cqi; padding: .5cqi 1.6cqi; letter-spacing: .02em; }
.home .rule { margin: 3.4cqi 0 0; font-size: 4.8cqi; font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }
.home .rule .y { color: #ffd60a; }
.home .togo { margin-top: 3.2cqi; font-size: 6.8cqi; font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.home .acard > svg { display: block; width: 100%; height: auto; margin-top: 2.6cqi; overflow: visible; }
.home .afoot { display: flex; justify-content: space-between; align-items: center; margin-top: 3.4cqi; font-size: 3.9cqi; }
.home .afoot span { display: inline-flex; align-items: center; gap: 2cqi; }
.home .afoot svg { width: 3.6cqi; height: 3.6cqi; }
.home .afoot .sw { color: #7c7c80; }
.home .hist { margin-top: 10.5cqi; height: 17.6cqi; border-radius: 5cqi; background: #1c1c1e; display: flex; align-items: center; justify-content: space-between; padding: 0 4.4cqi; font-size: 5cqi; }
.home .add { position: absolute; left: 4%; right: 4%; top: 83.7%; height: 12.3cqi; border-radius: 4cqi; background: #0071e3; color: #fff; display: grid; place-items: center; font-size: 5.1cqi; font-weight: 600; box-shadow: 0 0 0 3.2cqi rgba(0,0,0,.55); }
.home .tabbar { position: absolute; left: 16%; right: 16%; bottom: 2.4%; height: 6.9%; border-radius: 999px; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cqi; padding: 1cqi; background: rgba(38,38,40,.86); box-shadow: inset 0 0 0 .3cqi rgba(255,255,255,.1), 0 2cqi 6cqi rgba(0,0,0,.5); font-size: 3cqi; font-weight: 500; text-align: center; }
.home .tabbar span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6cqi; border-radius: 999px; color: #fff; }
.home .tabbar span.on { background: rgba(120,120,128,.3); color: #0a84ff; }
.home .tabbar svg { width: 6cqi; height: 6cqi; }

/* Markets band. */
.logos { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 12px; }
.logos img { width: clamp(40px, 5vw, 56px); height: clamp(40px, 5vw, 56px); border-radius: 50%; box-shadow: 0 0 0 .5px var(--sep); background: #fff; }
.facts { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); border-top: .5px solid var(--sep); padding-top: 28px; }
.facts dt { font-size: 15px; color: var(--label-2); }
.facts dd { margin: 4px 0 0; font-size: 19px; line-height: 1.38; letter-spacing: -0.02em; }

/* Close. */
.close { padding-top: clamp(120px, 16vw, 220px); padding-bottom: clamp(80px, 10vw, 140px); }
.close h2 { font-size: clamp(52px, 11vw, 160px); line-height: .92; letter-spacing: -0.04em; font-weight: 700; }
.close .yline { margin-top: clamp(20px, 3vw, 36px); border-top-width: clamp(3px, .5vw, 6px); }
.close .app { margin-top: clamp(32px, 4.5vw, 52px); display: flex; align-items: center; gap: clamp(16px, 2vw, 24px); }
.close .appicon { flex: none; width: clamp(68px, 8vw, 96px); height: auto; border-radius: 22.37%; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 48px -18px rgba(255,179,0,.35); }
.close .appname { margin: 0 0 8px; font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--label); }
.close .app .soon { margin-top: 0; }
.close .soon { margin-top: clamp(28px, 4vw, 44px); display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.02em; }
.close .soon .plat { display: inline-flex; align-items: center; gap: 10px; color: var(--label); font-weight: 600; }
.close .soon .plat svg { width: 22px; height: 22px; }
.close .soon .when { color: var(--label-2); }

/* Footer. */
.foot { border-top: .5px solid var(--sep); padding-top: 28px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--label-2); }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot nav a { color: var(--label); text-decoration: none; padding: 10px 0; }
.foot nav a:hover { text-decoration: underline; }
/* The publisher, quietly under the product: StockClock is the brand, Dungeon Digital Ltd publishes it. */
.foot .maker { grid-column: 1; display: flex; align-items: center; gap: 9px; margin: -10px 0 0; font-size: 13px; color: var(--label-2); letter-spacing: 0; }
.foot .maker img { flex: none; width: 36px; height: 24px; }
@media (min-width: 561px) { .foot nav { grid-column: 2; grid-row: 1 / span 2; align-self: start; } }
.foot .fine { grid-column: 1 / -1; max-width: 80ch; line-height: 1.5; }

/* ---------------------------------------------------------------- document pages (privacy, support) */
.doc { padding-top: clamp(28px, 6vw, 64px); padding-bottom: 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.doc .meta { margin-top: 14px; color: var(--label-2); font-size: 15px; }
.doc .intro { margin-top: 22px; font-size: 21px; line-height: 1.42; letter-spacing: -0.02em; }
.doc h2 { margin-top: 56px; font-size: 26px; letter-spacing: -0.03em; line-height: 1.2; font-weight: 700; }
.doc h2 + p, .doc h2 + ul { margin-top: 12px; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 14px; }
.doc p, .doc li { color: var(--label); max-width: 68ch; }
.doc ul { padding-left: 1.2em; margin: 0; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--label-2); }
.doc .muted { color: var(--label-2); }
/* Facts still to fill in before launch (see the go-live list). None may remain on the live site. */
mark.todo { background: transparent; color: var(--label); outline: 1.5px dashed var(--label-2); outline-offset: 1px; border-radius: 7px; padding: 0 4px; }
.contact { margin-top: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--cell); border-radius: 14px; padding: 16px 18px; }
@media (prefers-color-scheme: light) { .contact { background: #f2f2f7; } }
.contact .addr { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; user-select: all; -webkit-user-select: all; word-break: break-all; }
.contact .copy { margin-left: auto; height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--fill); color: var(--label); font: 600 15px var(--sans); cursor: pointer; }
.qa { margin-top: 12px; border-top: .5px solid var(--sep); }
.qa details { border-bottom: .5px solid var(--sep); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; position: relative; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--label-2); border-bottom: 2px solid var(--label-2); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa details > div { padding: 0 0 20px; color: var(--label-2); }
.qa details > div p { color: var(--label-2); }

/* ---------------------------------------------------------------- account pages (confirmed, reset password) */
/* The pages an email link opens. One state is shown at a time; the others stay hidden. */
.acct [hidden] { display: none !important; }
.acct h1:focus { outline: none; }
.acct .actions { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--tint-fill); color: #fff;
  font: 600 17px/1.2 var(--sans); letter-spacing: -0.02em; text-decoration: none; cursor: pointer; }
.btn:hover { text-decoration: none; background: color-mix(in srgb, var(--tint-fill) 88%, #000); }
.btn[disabled] { opacity: .55; cursor: default; }
.form { margin-top: 30px; max-width: 420px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--sep); background: var(--cell); color: var(--label);
  font: 400 17px var(--sans); letter-spacing: 0; }
@media (prefers-color-scheme: light) { .field input { background: #fff; } }
.field input:focus-visible { outline: 2px solid var(--tint); outline-offset: 1px; border-radius: 12px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--down-text); }
.field .note { font-size: 14px; color: var(--label-2); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--label); min-height: 44px; cursor: pointer; justify-self: start; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--tint-fill); }
.doc .err { color: var(--down-text); font-size: 15px; font-weight: 500; }
.err:empty { display: none; }
.form .btn { width: 100%; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .trust { gap: 28px; }
  .trust .phone { width: min(300px, 82vw); margin-bottom: 8px; }
  .cap { position: static; width: auto; transform: none; justify-self: stretch; text-align: left; }
  .cap::after { display: none; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bar nav a { padding: 12px 8px; }
  .silent-stage { gap: 14px; }
  .silent-stage .phone { box-shadow: 0 0 0 5px var(--phone-rim), 0 30px 60px -20px var(--shadow); }
  .silent-stage figcaption { font-size: 13px; }
  .silent-stage figcaption b { font-size: 16px; }
  .stage { height: 272px; margin-top: 12px; }
  .hero .lede { margin-top: 14px; }
  .instrument { margin-top: 22px; }
  .quote .now { font-size: 34px; }
  .foot .wrap { grid-template-columns: 1fr; }
  }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
