/* relk.dev. Colour values are the brandbook's (Joined 1.0), as in docs/design/hifi/relk.css;
   the device mocks port that file's iOS 26 pieces (glass bars, composer, tab bar). */

/* Self-hosted so no visitor request goes to a third party; latin subset only (the page is English). */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/sora-latin.woff2) format('woff2'); }

:root {
  --coral: #B23636; --on-coral: #FFFFFF;
  /* Fills take the light coral in both schemes: #B23636 behind a button reads as an
     alert; dark text on #FF9589 is 9:1. --coral stays for coral text. */
  --coral-fill: #FF9589; --on-coral-fill: #1B181E;
  --canvas: #F8F6FA; --surface: #FFFFFF; --raised: #EEE9F1;
  --text: #302333; --text-2: #705D74;
  --border: #DBD3DF; --control: #827087;
  --bubble-other: #F1EDF4; --bubble-own: #D8C8E3;
  --glass: rgb(255 255 255 / .72); --glass-edge: rgb(48 35 51 / .08);
  --shadow-card: 0 4px 12px rgb(48 35 51 / .08); --shadow-float: 0 24px 64px rgb(48 35 51 / .16);
  --glow: rgb(178 54 54 / .08);
  --bezel-ring: transparent;
  color-scheme: light;

  --display: 'Sora', sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --r-card: 12px; --r-panel: 16px;
  --gutter: clamp(16px, 5vw, 64px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --coral: #FF9589; --on-coral: #1B181E;
    --canvas: #1B181E; --surface: #2B252F; --raised: #39313E;
    --text: #F8F3FA; --text-2: #BDB0C2;
    --border: #37333A; --control: #97899D;
    --bubble-other: #39313E; --bubble-own: #5C4D67;
    --glass: rgb(43 37 47 / .72); --glass-edge: rgb(255 255 255 / .09);
    --shadow-card: 0 4px 12px rgb(0 0 0 / .16); --shadow-float: 0 24px 64px rgb(0 0 0 / .4);
    --glow: rgb(255 149 137 / .07);
    --bezel-ring: #4A444E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --coral: #FF9589; --on-coral: #1B181E;
  --canvas: #1B181E; --surface: #2B252F; --raised: #39313E;
  --text: #F8F3FA; --text-2: #BDB0C2;
  --border: #37333A; --control: #97899D;
  --bubble-other: #39313E; --bubble-own: #5C4D67;
  --glass: rgb(43 37 47 / .72); --glass-edge: rgb(255 255 255 / .09);
  --shadow-card: 0 4px 12px rgb(0 0 0 / .16); --shadow-float: 0 24px 64px rgb(0 0 0 / .4);
  --glow: rgb(255 149 137 / .07);
  --bezel-ring: #4A444E;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; background: var(--canvas); color: var(--text); font: 17px/26px var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; gap: 24px; padding: 20px 0; }
.lockup { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.lockup .wm { width: 80px; height: 32px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font: 500 15px/20px var(--ui); }
.top nav a { text-decoration: none; color: var(--text-2); }
.top nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; font: 600 15px/20px var(--ui); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--coral-fill); color: var(--on-coral-fill); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.quiet { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.top nav .btn { color: var(--text); }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

/* ---------- Hero copy ---------- */
.eyebrow { font: 600 15px/20px var(--ui); color: var(--text-2); margin: 0 0 14px; }
h1 { font: 500 clamp(38px, 5.6vw, 68px)/1.05 var(--display); letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--text-2); margin: 20px 0 0; max-width: 34em; text-wrap: pretty; }
.lede b { color: var(--text); font-weight: 600; }

.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.cta .btn { min-height: 52px; padding: 0 24px; font-size: 16px; }
.cta-note { font-size: 14px; line-height: 20px; color: var(--text-2); margin: 12px 0 0; }
.mail { color: var(--text); font-weight: 600; user-select: all; }
.final-mail { margin: 12px 0 0; font-size: 15px; }
.fine { font-size: 14px; line-height: 20px; color: var(--text-2); margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--control); }

/* ---------- Device ---------- */
.phone { position: relative; isolation: isolate; width: 300px; height: 620px; flex-shrink: 0; border-radius: 52px; padding: 10px; background: #0E0C10; box-shadow: var(--shadow-float), 0 0 0 1.5px var(--bezel-ring), inset 0 0 0 1.5px #3A353D; }
.phone .screen { position: relative; height: 100%; border-radius: 42px; overflow: hidden; display: flex; flex-direction: column; background: var(--s-canvas); color: var(--s-text); font-size: 15px; line-height: 20px; }
.phone .island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 20; }
.phone .sb { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 15px 28px 0 32px; height: 50px; font: 600 15px/20px var(--ui); flex-shrink: 0; }
.phone .sb i { display: flex; gap: 5px; align-items: center; }
.phone .sb i b { display: block; width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .9; position: relative; }
.phone .sb i b::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.phone .home { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 110px; height: 5px; border-radius: 3px; background: var(--s-text); opacity: .85; z-index: 20; }

/* The host app's world: iOS system colours and the host's tint (Interval: green). The shipped
   SDK draws white on the tint until D47 lands, so every demo tint keeps white at 4.5:1. */
.host { --tint: #0B7A5C; --on-tint: #FFFFFF; }
.host { --s-canvas: #FFFFFF; --s-surface: #F2F2F7; --s-text: #000000; --s-text-2: #6E6E73; --s-border: #C6C6C8; --s-bubble: #E9E9EB; --s-glass: rgb(249 249 249 / .8); --s-glass-edge: rgb(0 0 0 / .06); }
:root[data-theme="dark"] .host { --s-canvas: #000000; --s-surface: #1C1C1E; --s-text: #FFFFFF; --s-text-2: #98989F; --s-border: #38383A; --s-bubble: #262629; --s-glass: rgb(30 30 30 / .8); --s-glass-edge: rgb(255 255 255 / .08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .host { --s-canvas: #000000; --s-surface: #1C1C1E; --s-text: #FFFFFF; --s-text-2: #98989F; --s-border: #38383A; --s-bubble: #262629; --s-glass: rgb(30 30 30 / .8); --s-glass-edge: rgb(255 255 255 / .08); } }
/* Relk's own app: brand tokens. */
.relkapp { --s-canvas: var(--canvas); --s-surface: var(--surface); --s-text: var(--text); --s-text-2: var(--text-2); --s-border: var(--border); --s-bubble: var(--bubble-other); --s-glass: var(--glass); --s-glass-edge: var(--glass-edge); --tint: var(--coral); --on-tint: var(--on-coral); }

.glass { background: var(--s-glass); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 0 0 .5px var(--s-glass-edge), 0 6px 20px rgb(0 0 0 / .12); }
.ios-grab { width: 36px; height: 5px; border-radius: 3px; background: var(--s-text-2); opacity: .4; margin: 6px auto 0; flex-shrink: 0; }
.ios-bar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; flex-shrink: 0; gap: 8px; }
.ios-bar .title { font: 600 17px/22px var(--ui); text-align: center; flex: 1; }
.ios-bar .side { width: 40px; display: flex; justify-content: flex-end; }
.gbtn { width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; color: var(--s-text); }
.gbtn svg { width: 18px; height: 18px; }

/* Host screen behind the sheet (hi-fi S-1). */
.host-bg { position: absolute; inset: 0; background: var(--s-surface); padding: 54px 0 0; }
.host-bg h2 { font: 700 30px/36px var(--ui); margin: 8px 16px 12px; }
.sheet-dim { position: absolute; inset: 0; background: rgb(0 0 0 / .22); z-index: 5; }
.sheet-page { position: absolute; left: 0; right: 0; bottom: 0; top: 100px; background: var(--s-canvas); border-radius: 34px 34px 0 0; display: flex; flex-direction: column; z-index: 6; box-shadow: 0 -8px 30px rgb(0 0 0 / .18); }

/* Chat (hi-fi S-2). */
.chat { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 4px 12px 6px; justify-content: flex-end; overflow: hidden; }
.time-sep { align-self: center; font: 600 12px/16px var(--ui); color: var(--s-text-2); margin: 4px 0 2px; }
.time-sep span { font-weight: 400; }
.dev-label { align-self: flex-start; font: 500 12px/16px var(--ui); color: var(--s-text-2); margin: 6px 0 -2px 12px; }
.b { max-width: 80%; padding: 8px 13px; border-radius: 18px; background: var(--s-bubble); color: var(--s-text); font-size: 15px; line-height: 20px; align-self: flex-start; }
.b.me { align-self: flex-end; background: var(--tint); color: var(--on-tint); }
.b.shot { padding: 3px; width: 112px; }
.b.shot .img { height: 132px; border-radius: 15px; background: linear-gradient(160deg, #1C3B33, #0B7A5C 60%, #4CC9A4); display: grid; place-items: center; color: #fff; font: 300 30px/1 var(--ui); font-variant-numeric: tabular-nums; }
.composer { display: flex; align-items: center; gap: 8px; padding: 6px 12px 34px; flex-shrink: 0; }
.composer .round { width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; flex-shrink: 0; color: var(--s-text); }
.composer .fieldcap { flex: 1; min-height: 40px; border-radius: 20px; padding: 0 14px; display: flex; align-items: center; color: var(--s-text-2); font-size: 16px; }
.composer svg { width: 18px; height: 18px; }

/* ---------- Floating cards ---------- */
.card { background: var(--surface); color: var(--text); border-radius: var(--r-panel); box-shadow: var(--shadow-float), 0 0 0 1px var(--border); }
.push { display: flex; gap: 12px; padding: 13px 15px; border-radius: 24px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: var(--shadow-float), 0 0 0 1px var(--border); color: var(--text); width: 340px; max-width: 100%; }
.push .icon { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(150deg, #FFB3A6, #E8675A); color: #1B181E; }
.push .icon svg { width: 24px; height: 24px; }
.push .body { min-width: 0; flex: 1; font-size: 14px; line-height: 19px; }
.push .row1 { display: flex; justify-content: space-between; gap: 8px; }
.push .row1 b { font-weight: 600; }
.push .row1 span { color: var(--text-2); font-size: 13px; }

/* A Telegram forum topic, drawn neutrally (D17: an optional mirror). */
.tg { padding: 14px 16px; width: 300px; max-width: 100%; text-align: left; }
.tg .h { display: flex; align-items: center; gap: 10px; font: 600 14px/18px var(--ui); }
.tg .h .av { width: 30px; height: 30px; border-radius: 50%; background: #2AABEE; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.tg .h .av svg { width: 16px; height: 16px; }
.tg .h small { display: block; font-weight: 400; color: var(--text-2); font-size: 12px; }
.tg .m { margin: 12px 0 0; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--raised); font-size: 14px; line-height: 19px; width: fit-content; max-width: 90%; }
.tg .m.me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, #2AABEE 22%, var(--surface)); }

/* Relk iOS admin inbox (hi-fi I-3). */
.ios-large { font: 700 30px/36px var(--ui); padding: 0 16px 8px; margin: 0; }
.irow { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 6px; row-gap: 2px; padding: 9px 14px 10px 6px; position: relative; }
.irow + .irow::before { content: ""; position: absolute; top: 0; left: 26px; right: 0; height: .5px; background: var(--s-border); }
.irow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tint); margin: 6px 0 0 3px; }
.irow .who { display: flex; align-items: center; gap: 6px; min-width: 0; font: 600 15px/20px var(--ui); }
.irow .who span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irow .when { font: 13px/20px var(--ui); color: var(--s-text-2); white-space: nowrap; }
.irow .snip { grid-column: 2 / 4; font: 14px/19px var(--ui); color: var(--s-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.irow .snip b { font-weight: 500; color: var(--s-text); }
.appicon { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; display: inline-grid; place-items: center; font: 700 10px/1 var(--ui); color: #fff; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .15); }
.appicon.interval { background: linear-gradient(160deg, #2BB58C, #0B7A5C); }
.step-push { margin-top: 18px; box-shadow: 0 0 0 1px var(--border); }
.push .host-icon { background: linear-gradient(160deg, #2BB58C, #0B7A5C); color: #fff; font: 700 18px/1 var(--ui); }
.appicon.fretboard { background: linear-gradient(160deg, #6E6AF0, #3B36B5); }
.appicon.practice { background: linear-gradient(160deg, #5AA9E6, #2266A8); }
.ios-tabbar { position: absolute; left: 20px; right: 20px; bottom: 26px; height: 58px; border-radius: 29px; padding: 4px; display: flex; z-index: 6; }
.ios-tabbar span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 25px; color: var(--s-text); font: 600 10px/12px var(--ui); }
.ios-tabbar span.on { background: color-mix(in oklab, var(--s-text) 9%, transparent); color: var(--tint); }
.ios-tabbar svg { width: 24px; height: 24px; }

svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 400px) { .phone { zoom: .9; } }

/* ---------- Hero (direction B) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: clamp(24px, 4vw, 56px) 0 80px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 60px); }
.demo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.demo::before { content: ""; position: absolute; inset: -6% 0 18%; background: radial-gradient(closest-side, var(--glow), transparent); z-index: -1; }
/* The developer's side overlaps the phone's lower left, over the same reply in the chat. */
.stack { display: flex; align-items: flex-end; }
.stack .phone { order: 2; }
.demo .tg { order: 1; width: 240px; margin: 0 -24px 24px 0; position: relative; z-index: 2; }
.tune { display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); font: 500 13px/16px var(--ui); color: var(--text-2); }
.tune[hidden] { display: none; }
.swatches { display: flex; }
.swatches button { width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
/* Rings in text colours: the tints alone fall to 1.9–2.9:1 on the dark surface. */
.swatches button::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1.5px var(--text-2); }
.swatches button[aria-pressed="true"]::before { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.swatches button:focus-visible { outline: 2px solid var(--text); outline-offset: -4px; }
.demo .phone .b { transition: background-color 220ms cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .demo .phone .b { transition: none; } }
@media (max-width: 1180px) {
  .demo .tg { display: none; }
  .tune { order: -1; }
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0 0; scroll-margin-top: 16px; }
.sec-head { max-width: 40em; margin: 0 0 40px; }
.sec-head h2 { font: 500 clamp(30px, 3.6vw, 44px)/1.12 var(--display); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.sec-head p { color: var(--text-2); margin: 14px 0 0; font-size: 18px; line-height: 28px; }
.soon { display: inline-flex; align-items: center; font: 600 13px/16px var(--ui); color: var(--text-2); padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); margin: 0 0 16px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { background: var(--surface); border-radius: var(--r-panel); box-shadow: 0 0 0 1px var(--border); padding: 24px; counter-increment: step; display: flex; flex-direction: column; }
.steps li::before { content: counter(step); font: 500 15px/1 var(--display); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); margin: 0 0 18px; }
.steps h3 { font: 600 19px/26px var(--ui); margin: 0 0 6px; }
.steps p { color: var(--text-2); margin: 0; font-size: 16px; line-height: 24px; }
pre.code { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--r-card); background: var(--raised); font: 13px/20px var(--mono); overflow-x: auto; color: var(--text); }
pre.code .c { color: var(--text-2); }
.mini { margin: 18px 0 0; display: flex; flex-direction: column; gap: 6px; }
.mini .b { font-size: 14px; line-height: 19px; max-width: 90%; }
.mini .ctx { font: 12px/16px var(--ui); color: var(--text-2); display: flex; gap: 5px; align-items: center; }
.mini .ctx svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Admin showcase: the web dashboard (hi-fi W-2) with the iOS admin (I-4) in front. */
.showcase { position: relative; padding-bottom: 40px; min-height: 660px; }
.browser { width: 812px; border-radius: 14px; overflow: hidden; background: var(--canvas); color: var(--text); box-shadow: var(--shadow-float), 0 0 0 1px var(--border); font-size: 14px; line-height: 20px; }
.bchrome { height: 40px; display: flex; align-items: center; gap: 16px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.bchrome .lights { display: flex; gap: 7px; }
.bchrome .lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.bchrome .addr { flex: 1; max-width: 420px; margin: 0 auto; height: 26px; border-radius: 8px; background: var(--raised); display: grid; place-items: center; font-size: 12px; color: var(--text-2); }
/* 812 px ends where the phone starts at 1440, so user info stays in view. */
.wapp { display: grid; grid-template-columns: 56px 240px minmax(0, 1fr) 180px; height: 520px; }
.wside { background: var(--surface); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; }
.wside .wm { width: 40px; height: 16px; margin-bottom: 14px; }
.wside span { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--text-2); position: relative; }
.wside span.on { background: var(--raised); color: var(--text); }
.wside span svg { width: 20px; height: 20px; }
.wside span b { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; border-radius: 8px; background: var(--coral-fill); color: var(--on-coral-fill); font: 700 10px/16px var(--ui); text-align: center; padding: 0 4px; }
.pane { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; --s-text: var(--text); --s-text-2: var(--text-2); --s-border: var(--border); --tint: var(--coral); }
.pane:last-child { border-right: 0; }
.pane-head { height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--border); font: 600 15px/20px var(--ui); }
.pane-head .sub { font-weight: 400; color: var(--text-2); }
.pane-head .chip { font: 500 12px/16px var(--ui); color: var(--text-2); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); }
.pane .label { font: 600 12px/16px var(--ui); color: var(--text-2); padding: 12px 16px 4px; }
.pane .irow.on { background: var(--raised); border-radius: 12px; margin: 0 6px; }
.pane .irow.on::before, .pane .irow.on + .irow::before { display: none; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px; justify-content: flex-end; overflow: hidden; }
.msgs .b { font-size: 14px; line-height: 19px; max-width: 72%; background: var(--bubble-other); color: var(--text); }
.msgs .b.me { background: var(--bubble-own); color: var(--text); }
.ctx { align-self: center; display: flex; gap: 5px; align-items: center; font: 13px/18px var(--ui); color: var(--text-2); margin: 6px 0 2px; }
.ctx svg { width: 13px; height: 13px; }
.shot-img { width: 120px; height: 150px; border-radius: 14px; background: linear-gradient(160deg, #1C3B33, #0B7A5C 60%, #4CC9A4); display: grid; place-items: center; color: #fff; font: 300 28px/1 var(--ui); }
.status-line { align-self: flex-end; display: flex; gap: 4px; align-items: center; font: 13px/18px var(--ui); color: var(--text-2); }
.status-line svg { width: 13px; height: 13px; }
.wcomposer { margin: 0 14px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--border); background: var(--surface); padding: 10px 12px; display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.wcomposer > span:first-child { flex: 1; }
.wcomposer .send { font: 600 13px/18px var(--ui); color: var(--on-coral-fill); background: var(--coral-fill); border-radius: 8px; padding: 6px 12px; }
.info { padding: 14px 16px; font-size: 14px; line-height: 20px; }
.info dt { color: var(--text-2); margin: 10px 0 2px; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: 0; }
.showcase .phone { position: absolute; right: 0; bottom: 0; z-index: 2; }
.showcase-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding: 0; list-style: none; }
.showcase-notes b { display: block; font: 600 16px/22px var(--ui); margin: 0 0 4px; }
.showcase-notes span { color: var(--text-2); font-size: 15px; line-height: 22px; }
@media (max-width: 1180px) {
  .browser { zoom: .86; } .showcase .phone { zoom: .9; }
  /* The phone covers the user info column here; it goes rather than show cut in half. */
  .wapp { grid-template-columns: 56px 240px minmax(0, 1fr); }
  .wapp > .pane:last-child { display: none; }
}
@media (max-width: 960px) {
  .showcase { min-height: 0; padding-bottom: 0; display: flex; flex-direction: column; align-items: flex-end; }
  .browser { zoom: .8; align-self: flex-start; }
  .showcase .phone { position: relative; margin: -160px 0 0; }
  .showcase-notes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .showcase { align-items: center; }
  /* The thread pane alone, at full size: the whole dashboard would need text under 6 px. */
  .browser { width: 100%; zoom: 1; }
  .wapp { grid-template-columns: minmax(0, 1fr); height: auto; }
  .wapp > .wside, .wapp > .pane:not(.thread) { display: none; }
  .wapp > .pane.thread { border-right: 0; }
  .showcase .phone { margin: 0; }
  .showcase-notes { grid-template-columns: 1fr; }
}

/* Pricing (D49) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { padding: 28px; border-radius: var(--r-panel); background: var(--surface); box-shadow: 0 0 0 1px var(--border); display: flex; flex-direction: column; }
.plan.mid { box-shadow: 0 0 0 2px var(--text); }
.plan h3 { font: 600 18px/24px var(--ui); margin: 0; }
.plan .price { font: 500 44px/1 var(--display); letter-spacing: -.03em; margin: 16px 0 4px; }
.plan .price small { font: 400 16px/1 var(--ui); color: var(--text-2); letter-spacing: 0; }
.plan .yr { font-size: 14px; color: var(--text-2); margin: 0; min-height: 20px; }
.plan .au { font: 600 16px/22px var(--ui); margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); }
.plan ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; color: var(--text-2); flex: 1; }
.plan li { display: flex; gap: 8px; }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--text); }
.plan li.lim::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--control); margin: 9px 6.5px 0; flex-shrink: 0; }
.plan .tag { font: 600 12px/16px var(--ui); color: var(--text-2); margin-left: 8px; }
.terms { color: var(--text-2); font-size: 15px; line-height: 22px; margin: 24px 0 0; max-width: 60em; }
.terms b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }

/* FAQ */
.faq { max-width: 760px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 18px/26px var(--ui); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform 160ms; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq summary:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.faq details p { margin: -6px 0 20px; color: var(--text-2); max-width: 44em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Closing call */
.final { margin: clamp(64px, 9vw, 112px) 0 0; padding: clamp(40px, 6vw, 72px) var(--gutter); border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); text-align: center; }
.final h2 { font: 500 clamp(30px, 3.6vw, 44px)/1.12 var(--display); letter-spacing: -.025em; margin: 0; }
.final p { color: var(--text-2); margin: 14px auto 0; max-width: 32em; }
.final .cta { justify-content: center; }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 40px 0 48px; color: var(--text-2); font-size: 14px; }
.foot .lockup .wm { width: 60px; height: 24px; }
.foot nav { margin-left: auto; display: flex; gap: 20px; }
.foot a { text-decoration: none; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { color: var(--text); }
