/* Hallmark · custom · genre: playful · surface: tinted · posture: restrained · nav: the lockup and one text link to Support · footer: three text links and the maker's line · hero: the B3 reveal beside a working keyboard · signature: the product as live HTML keys, where tapping a reply types it into a chat */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P and H, a product page tends to list claims; led with a keyboard the visitor can use and kept the features to five short rows */
/* Hallmark · dismissed 77 · privacy and support are one-section documents reached from the footer, not landing strips */
/* Hallmark · dismissed 58 · the home page's first screen counts the demo keyboard's own key labels and reply titles, a working product rather than copy; the copy itself is a headline and one sentence */
/* Hallmark · dismissed 10b · the key's front lip shrinks 4 px as its cap sinks and a matching margin keeps its box, so nothing reflows; the same press as the app */
/* Mynah's website. Colours, keys and voice follow docs/DESIGN.md; headings in M PLUS Rounded 1c (SIL OFL 1.1, licence in /fonts). */
:root {
  --paper: #f4ede0; --paper-2: #ebe3d3; --text: #1d1a16; --text-2: #5c5248; --rule: #d6ccba; --focus: #1d1a16;
  --beak: #f2b10c; --beak-skirt: #c48d00; --on-beak: #1d1a16;
  --chat-bg: #fbf8f2; --chat-line: #e2dbcd; --bubble-in: #ece6da; --bubble-out: #24211d; --bubble-out-text: #f4ede0; --caret: #2f6fd6; --chat-soft: #7a7066;
  --scrim: rgb(29 26 22 / 0.88); --toast-text: #f4ede0; --avatar-ink: #1d1a16;
  /* Keycap sets for the demo, from src/themes.ts. */
  --m-plate: #d7cfbf; --m-cap: #f1ebdf; --m-skirt: #cfc5b2; --m-mod: #bfb5a2; --m-mod-skirt: #a89d88; --m-ink: #1d1a16; --m-ink2: #6b5f52; --m-on-plate: #6b5f52;
  --md-plate: #171512; --md-cap: #36312a; --md-skirt: #26221d; --md-mod: #4a443b; --md-mod-skirt: #332e27; --md-ink: #f1eadc; --md-ink2: #b3a796;
  --k-plate: #1b1310; --k-cap: #3a2a21; --k-skirt: #271b15; --k-mod: #5b4232; --k-mod-skirt: #3e2c21; --k-accent: #e8d3b0; --k-accent-skirt: #b89f78; --k-ink: #f2e4cf; --k-ink2: #bba48a; --k-on-accent: #2a1d16;
  --p-plate: #1f5e5b; --p-cap: #f3e8dc; --p-skirt: #cdbba8; --p-mod: #e6a3b4; --p-mod-skirt: #bf7e90; --p-on-plate: #cfe3df;
  --i-plate: #efe3ea; --i-cap: #fbf3ef; --i-skirt: #e3d3d9; --i-mod: #d9c3e8; --i-mod-skirt: #b9a1cb; --i-accent: #e8708a; --i-accent-skirt: #c2506b; --i-ink: #2a1f26; --i-ink2: #7a6672;
  --i-row1: #f9d9e3; --i-row2: #d9efe1; --i-row3: #fbe8c8;
  --n-plate: #0f1512; --n-cap: #232c27; --n-skirt: #161d19; --n-mod: #34413a; --n-mod-skirt: #222b26; --n-accent: #9ccc65; --n-accent-skirt: #6f9a3e; --n-ink: #e6efe6; --n-ink2: #9fb2a6; --n-on-accent: #0f1512;
  --t-plate: #e9e1d0; --t-cap: #2a2622; --t-skirt: #15120f; --t-mod: #4a443c; --t-mod-skirt: #2c2823; --t-accent: #b8352a; --t-accent-skirt: #8a2219; --t-ink: #f1e9da; --t-ink2: #b9ae9c; --t-on-accent: #f6eee0;
  --f-kopi: #a7835f; --f-teal: #6fa5a0; --f-pandan: #93ad72; --f-rose: #d5939f;
  --display: "M PLUS Rounded 1c", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171512; --paper-2: #1f1c18; --text: #f1eadc; --text-2: #b5a996; --rule: #2f2a24; --focus: #f2b10c;
    --avatar-ink: #f1eadc;
    --chat-bg: #1d1a17; --chat-line: #2f2a24; --bubble-in: #2a2622; --bubble-out: #f1eadc; --bubble-out-text: #1d1a16; --caret: #6aa0f0; --chat-soft: #9a9083;
    --f-kopi: #6b4f37; --f-teal: #3b6865; --f-pandan: #536b3d; --f-rose: #84505b;
  }
}
@font-face {
  font-family: "M PLUS Rounded 1c"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/m-plus-rounded-1c-latin-700-normal.woff2") format("woff2");
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:active { opacity: 0.7; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; margin: 0; }
p, li { text-wrap: pretty; }
p { margin: 0 0 16px; max-width: 62ch; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Header and footer ---------- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.site-head .home { display: block; padding: 4px 0; }
.site-head .home img { display: block; height: 36px; width: auto; }
.site-head .home .dark, .site-foot .dark { display: none; }
@media (prefers-color-scheme: dark) { .site-head .home .light, .site-foot .light { display: none; } .site-head .home .dark, .site-foot .dark { display: block; } }
.site-head nav { display: flex; gap: 8px; }
.site-head nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; text-decoration: none; border-radius: 12px; }
.site-head nav a[aria-current="page"] { background: var(--text); color: var(--paper); }
.site-foot { border-top: 1px solid var(--rule); margin-top: 96px; padding: 32px 0 48px; color: var(--text-2); font-size: 15px; }
.site-foot .row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-foot p { margin: 0; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; min-height: 800px; padding: 8px 0 40px; }
.hero-copy { display: grid; gap: 40px; align-self: stretch; align-content: end; padding: 24px 0 48px; }
.hero-words { display: grid; gap: 20px; }
.reveal { display: block; width: min(100%, 440px); height: auto; }
.reveal.dark { display: none; }
@media (prefers-color-scheme: dark) { .reveal.light { display: none; } .reveal.dark { display: block; } }
.hero h1 { font-size: 56px; line-height: 1.08; letter-spacing: -0.01em; max-width: 15ch; }
.lede { font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 36ch; margin: 0; }

/* ---------- The demo: a chat, and Mynah's keyboard under it ---------- */
.demo { border-radius: 28px; overflow: hidden; background: var(--chat-bg); box-shadow: 0 0 0 1px var(--chat-line); display: flex; flex-direction: column; height: 620px; max-width: 440px; width: 100%; justify-self: end; }
.chat-bar { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--chat-line); }
.chat-bar .avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--f-teal); color: var(--avatar-ink); font-weight: 700; flex: none; }
.chat-bar b { display: block; font-size: 16px; }
.chat-bar span { display: block; font-size: 13px; color: var(--chat-soft); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; min-height: 0; }
.msg { margin: 0; max-width: 80%; padding: 8px 12px; border-radius: 16px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.in { background: var(--bubble-in); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: var(--bubble-out); color: var(--bubble-out-text); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.gif { padding: 4px; }
.field-wrap { position: relative; padding: 8px 12px 12px; }
.field { min-height: 44px; max-height: 112px; overflow-y: auto; border: 1px solid var(--chat-line); border-radius: 20px; padding: 8px 16px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--paper); }
.field .placeholder { color: var(--chat-soft); }
.caret { display: inline-block; width: 2px; height: 1.15em; vertical-align: -3px; background: var(--caret); margin-left: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.field .attachment { display: block; margin-bottom: 4px; }
.paste-callout { position: absolute; left: 24px; top: -36px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--text); color: var(--paper); font: 600 15px/1 var(--body); cursor: pointer; }
.toast { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 8px 16px; border-radius: 12px; background: var(--scrim); color: var(--toast-text); font-size: 14px; font-weight: 600; text-align: center; z-index: 2; }

/* The keyboard: every key is a cap set in its skirt, as in the app. */
.kbd {
  --plate: var(--m-plate); --cap: var(--m-cap); --skirt: var(--m-skirt); --mod: var(--m-mod); --mod-skirt: var(--m-mod-skirt);
  --accent: var(--beak); --accent-skirt: var(--beak-skirt); --on-accent: var(--on-beak); --ink: var(--m-ink); --ink2: var(--m-ink2); --on-plate: var(--m-on-plate);
  --row1: var(--cap); --row2: var(--cap); --row3: var(--cap);
  position: relative; background: var(--plate); color: var(--ink); padding: 8px 4px 12px; display: grid; gap: 8px; user-select: none; -webkit-user-select: none;
}
@media (prefers-color-scheme: dark) {
  .kbd.set-mynah { --plate: var(--md-plate); --cap: var(--md-cap); --skirt: var(--md-skirt); --mod: var(--md-mod); --mod-skirt: var(--md-mod-skirt); --ink: var(--md-ink); --ink2: var(--md-ink2); --on-plate: var(--md-ink2); --row1: var(--cap); --row2: var(--cap); --row3: var(--cap); }
}
.kbd.set-kopi-o { --plate: var(--k-plate); --cap: var(--k-cap); --skirt: var(--k-skirt); --mod: var(--k-mod); --mod-skirt: var(--k-mod-skirt); --accent: var(--k-accent); --accent-skirt: var(--k-accent-skirt); --on-accent: var(--k-on-accent); --ink: var(--k-ink); --ink2: var(--k-ink2); --on-plate: var(--k-ink2); --row1: var(--cap); --row2: var(--cap); --row3: var(--cap); }
.kbd.set-peranakan { --plate: var(--p-plate); --cap: var(--p-cap); --skirt: var(--p-skirt); --mod: var(--p-mod); --mod-skirt: var(--p-mod-skirt); --accent: var(--beak); --accent-skirt: var(--beak-skirt); --on-accent: var(--on-beak); --ink: var(--m-ink); --ink2: var(--m-ink2); --on-plate: var(--p-on-plate); --row1: var(--cap); --row2: var(--cap); --row3: var(--cap); }
.kbd.set-ice-kachang { --plate: var(--i-plate); --cap: var(--i-cap); --skirt: var(--i-skirt); --mod: var(--i-mod); --mod-skirt: var(--i-mod-skirt); --accent: var(--i-accent); --accent-skirt: var(--i-accent-skirt); --on-accent: var(--i-ink); --ink: var(--i-ink); --ink2: var(--i-ink2); --on-plate: var(--i-ink2); --row1: var(--i-row1); --row2: var(--i-row2); --row3: var(--i-row3); }
.kbd.set-night-safari { --plate: var(--n-plate); --cap: var(--n-cap); --skirt: var(--n-skirt); --mod: var(--n-mod); --mod-skirt: var(--n-mod-skirt); --accent: var(--n-accent); --accent-skirt: var(--n-accent-skirt); --on-accent: var(--n-on-accent); --ink: var(--n-ink); --ink2: var(--n-ink2); --on-plate: var(--n-ink2); --row1: var(--cap); --row2: var(--cap); --row3: var(--cap); }
.kbd.set-typewriter { --plate: var(--t-plate); --cap: var(--t-cap); --skirt: var(--t-skirt); --mod: var(--t-mod); --mod-skirt: var(--t-mod-skirt); --accent: var(--t-accent); --accent-skirt: var(--t-accent-skirt); --on-accent: var(--t-on-accent); --ink: var(--t-ink); --ink2: var(--t-ink2); --on-plate: var(--m-ink2); --row1: var(--cap); --row2: var(--cap); --row3: var(--cap); }

.k {
  appearance: none; border: 0; margin: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left;
  background: var(--skirt); border-radius: 12px; padding: 4px 4px 8px; transition: transform 80ms ease-out, padding 80ms ease-out, margin 80ms ease-out;
  display: grid; min-width: 0;
}
.k > span { display: flex; flex-direction: column; justify-content: center; background: var(--cap); border-radius: 9px; padding: 4px 8px; min-width: 0; }
.k:active, .k.down { transform: translateY(4px); padding-bottom: 4px; margin-bottom: 4px; transition-duration: 120ms; }
.k.mod { background: var(--mod-skirt); }
.k.mod > span { background: var(--mod); align-items: center; font-weight: 600; font-size: 14px; }
.k.go { background: var(--accent-skirt); color: var(--on-accent); }
.k.go > span { background: var(--accent); align-items: center; font-weight: 700; font-size: 14px; }
.k.sel { background: var(--ink); color: var(--cap); }
.k.sel > span { background: var(--ink); }
.k svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.folders { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 1px; }
.folders::-webkit-scrollbar { display: none; }
.folders .k { flex: none; border-radius: 10px; }
.folders .k > span { flex-direction: row; align-items: center; gap: 4px; padding: 4px 8px; min-height: 34px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.kopi { background: var(--f-kopi); } .dot.teal { background: var(--f-teal); } .dot.pandan { background: var(--f-pandan); }

.replies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; height: 184px; overflow-y: auto; align-content: start; padding: 2px 1px; }
.reply { height: 54px; }
.reply.lip-kopi { background: var(--f-kopi); } .reply.lip-teal { background: var(--f-teal); } .reply.lip-pandan { background: var(--f-pandan); } .reply.lip-rose { background: var(--f-rose); }
.reply > span { justify-content: center; gap: 0; padding: 0 12px; }
.reply b { line-height: 1.15; font-size: 13px; }
.reply b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply i { font-style: normal; font-size: 11.5px; line-height: 1.15; color: var(--ink2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; }
.reply .next { color: var(--accent-skirt); font-weight: 600; -webkit-line-clamp: 1; }
/* Variables in a preview: a fill-in is a box to fill, as in the app. */
.var { display: inline-block; line-height: 1; border: 1px solid var(--accent-skirt); border-radius: 4px; padding: 0 4px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.reply.gif > span { padding: 2px; justify-content: center; align-items: stretch; }

/* A code-drawn GIF: letters that bob in turn, still under reduced motion. */
.gif-art { display: flex; align-items: center; justify-content: center; gap: 1px; height: 100%; min-height: 36px; border-radius: 7px; background: var(--ink); color: var(--cap); font: 700 14px/1 var(--display); letter-spacing: 0.02em; position: relative; }
.gif-art span { display: inline-block; animation: bob 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * 80ms); }
.gif-art .space { width: 6px; }
.gif-art .tag { position: absolute; right: 8px; bottom: 4px; font: 700 10px/1 var(--body); animation: none; opacity: 0.8; }
@keyframes bob { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } }
.msg .gif-art, .field .gif-art { width: 168px; height: 72px; }

.bottom { display: grid; grid-template-columns: 64px minmax(0, 1fr) 52px 72px; gap: 8px; height: 52px; }
.bottom .k > span { padding: 4px; }
.bottom .space-key > span { align-items: center; color: var(--ink2); font-size: 14px; }

.letters { display: grid; gap: 8px; height: 184px; align-content: center; }
.letters .lrow { display: flex; gap: 4px; }
.letters .lrow.inset { padding: 0 4.5%; }
.letters .k { flex: 1 1 0; height: 44px; border-radius: 8px; padding: 0 0 4px; }
.letters .k > span { align-items: center; font-size: 19px; border-radius: 6px; padding: 0; }
.letters .lrow:nth-child(1) .k:not(.mod) > span { background: var(--row1); }
.letters .lrow:nth-child(2) .k:not(.mod) > span { background: var(--row2); }
.letters .lrow:nth-child(3) .k:not(.mod) > span { background: var(--row3); }
.letters .k.mod { flex-grow: 1.4; }

/* Fill-ins and choices: a bar above the keys, as in the keyboard. */
.fill { display: grid; gap: 8px; height: 184px; align-content: start; }
.fill label { font-size: 14px; font-weight: 600; color: var(--on-plate); }
.fill input { width: 100%; min-height: 44px; border: 1.5px solid var(--accent-skirt); border-radius: 12px; padding: 8px 12px; font: 16px/1.3 var(--body); background: var(--cap); color: var(--ink); }
.fill input:focus-visible { outline: none; } /* the field is the one place to type, already framed in the accent; a second ring around it read as a tab highlight */
.fill .choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fill .choices .k { height: 48px; }
.fill .choices .k > span { align-items: center; font-weight: 700; font-size: 18px; }
.fill .acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.fill .acts .k { height: 48px; }

/* Keycap set: one key under the demo steps through the sets. */
.set-key { justify-self: center; appearance: none; border: 0; margin-top: 16px; padding: 4px 4px 8px; border-radius: 14px; background: var(--rule); cursor: pointer; transition: transform 80ms ease-out; }
.set-key > span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 20px; border-radius: 10px; background: var(--paper-2); color: var(--text); font: 600 15px/1 var(--body); }
.set-key:active { transform: translateY(4px); }
.demo-col { display: grid; justify-items: center; }

/* ---------- Features: five rows, each led by a key ---------- */
.section { padding: 160px 0 0; }
.section > h2 { font-size: 52px; line-height: 1.1; max-width: 18ch; margin-bottom: 32px; }
.section.split { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; align-items: start; }
.section.split > h2 { margin: 0; position: sticky; top: 24px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.features li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.features h3 { font-size: 26px; line-height: 1.2; margin-bottom: 8px; }
.features p { margin: 0; color: var(--text-2); max-width: 52ch; font-size: 18px; }
.glyph { width: 72px; height: 72px; border-radius: 16px; background: var(--m-skirt); padding: 4px 4px 12px; color: var(--m-ink); }
.glyph > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 12px; background: var(--m-cap); }
.glyph svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .glyph { background: var(--md-skirt); color: var(--md-ink); } .glyph > span { background: var(--md-cap); } }

.next-up { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 48px; margin-top: 128px; border-radius: 28px; background: var(--paper-2); }
.next-up p { max-width: 60ch; margin: 0; }
.next-up h2 { font-size: 52px; line-height: 1.1; }
.next-up p { color: var(--text-2); }
.platforms { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.platforms li { display: grid; justify-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-align: center; }
.platforms .glyph { width: 88px; height: 88px; }
.platforms .glyph svg { width: 36px; height: 36px; }
.get { margin-top: 128px; padding: 40px 48px; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 32px; align-items: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.get .app-icon { width: 120px; height: 120px; border-radius: 27px; display: block; }
.get .contact-key { margin: 0; }
.get h2 { font-size: 40px; line-height: 1.15; margin: 0; }
.get p { margin: 0; color: var(--text-2); max-width: 52ch; }

/* ---------- Text pages ---------- */
.doc { max-width: 720px; padding: 32px 0 0; }
.doc-top { padding-bottom: 8px; }
.doc h1 { font-size: 44px; line-height: 1.1; margin-bottom: 12px; }
.doc h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc p.updated { font-size: 15px; }
.doc ul, .doc ol { padding-left: 24px; margin: 0 0 16px; display: grid; gap: 8px; }
.doc strong { color: var(--text); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { text-wrap: balance; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; font: 700 19px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--body); color: var(--text-2); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 20px; }
/* A closed section takes no space, so its text doesn't count until it's opened. */
details:not([open]) > .answer { display: none; }
.short { font-size: 19px; color: var(--text); }
.short li { color: var(--text); }
.contact-key { display: inline-flex; padding: 4px 4px 8px; margin-top: 8px; border-radius: 14px; background: var(--beak-skirt); text-decoration: none; transition: transform 80ms ease-out; }
.contact-key span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--beak); color: var(--on-beak); font-weight: 700; }
.contact-key:active { transform: translateY(4px); opacity: 1; }
.lost { text-align: center; min-height: 690px; display: grid; place-content: center; justify-items: center; gap: 20px; }
.lost .reveal { width: min(100%, 720px); height: auto; margin-bottom: 16px; }
.lost h1 { font-size: 72px; line-height: 1.1; }
.lost-page .site-foot { margin-top: 0; }
.lost p { margin: 0 auto 8px; color: var(--text-2); }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; padding-bottom: 32px; }
  .hero h1 { font-size: 44px; }
  .demo { justify-self: center; }
  .demo-col { justify-items: stretch; }
  .demo-col .demo { margin: 0 auto; }
  .features li { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
  .section.split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section.split > h2 { position: static; }
  .get { grid-template-columns: 88px minmax(0, 1fr); padding: 32px 0; }
  .get .app-icon { width: 88px; height: 88px; border-radius: 20px; }
  .get .contact-key { grid-column: 1 / -1; justify-self: start; }
  .get h2 { font-size: 28px; }
}
@media (max-width: 400px) {
  .get { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .get .app-icon { width: 72px; height: 72px; border-radius: 16px; }
  .hero-copy { padding: 0; align-content: start; }
  .next-up { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 24px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 38px; }
  .lede { font-size: 18px; }
  .demo { height: 640px; border-radius: 24px; }
  .section > h2, .next-up h2, .get h2 { font-size: 34px; }
  .platforms { gap: 8px; font-size: 13px; }
  .platforms li { font-size: 13px; }
  .platforms .glyph { width: 56px; height: 56px; border-radius: 14px; padding: 4px 4px 8px; }
  .platforms .glyph > span { border-radius: 10px; }
  .platforms .glyph svg { width: 24px; height: 24px; }

  .features li { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .section { padding-top: 96px; }
  .next-up, .get { margin-top: 96px; }
  .lost { min-height: 520px; }
  .features p { font-size: 17px; }
  .glyph { width: 56px; height: 56px; }
  .glyph svg { width: 24px; height: 24px; }
  .doc h1, .lost h1 { font-size: 36px; }
}
@media (max-width: 360px) {
  }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .k:active { transform: none; padding-bottom: 8px; margin-bottom: 0; background: var(--mod-skirt); }
}
