
/* ---------------------------------------------------------------------------
   Tokens. These are DesignTokens.swift, transcribed. Nothing below writes a
   colour literal that isn't in the app.
--------------------------------------------------------------------------- */
:root {
  --ground:    #17191D;
  --card:      #1E2126;
  --panel:     #24272C;
  --selection: #353A43;
  --sunken:    #26292F;
  --line:      #2E323A;
  --line2:     #3A4049;
  --ink:       #F2F4F7;
  --ink2:      #99A1AC;
  --ink3:      #828A96;
  --hud:       #0A0A0C;
  --accent:    #0A84FF;      /* the one value the accent picker rewrites */
  --accent-fg: #FFFFFF;      /* what to write on the accent block */
  --danger:    #FF9E93;

  --r-card: 18px;
  --r-row:  12px;
  --r-ctl:  10px;
  --r-pill: 999px;

  --face-ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --face-display: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --face-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--face-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--accent-fg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* Silkscreen labels: small, uppercase, tightly set, monospaced. */
.silk {
  font-family: var(--face-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink3);
}

h1, h2, .display { font-family: var(--face-display); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.lede { color: var(--ink2); font-size: 18px; max-width: 560px; }

/* --------------------------------- Nav ---------------------------------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 60px; transition: height .25s ease; }
/* The name is the one thing not set in Manrope: the wordmark face is
   Figtree, ExtraBold. */
.brand { display: flex; align-items: center; gap: 7px; text-decoration: none; font-family: "Figtree", var(--face-display); font-weight: 800; font-size: 21px; transition: font-size .25s ease; }
.brand .k { color: var(--accent-ink); }
/* Optically raised: the lean drops the long stroke's tip further below the
   baseline than the top tip rises above the caps, so dead centre reads low. */
.brand .mark { width: 32px; height: 32px; transform: translateY(-4%); transition: width .25s ease, height .25s ease; }
/* At the top of the page the name is the masthead; scrolling minimises it. */
nav:not(.mini) .nav-inner { height: 80px; }
nav:not(.mini) .brand { font-size: 27px; }
nav:not(.mini) .brand .mark { width: 44px; height: 44px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink2); font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .nav-links { display: none; }.nav-accents { display: none; }
  .nav-inner .btn-sm { margin-left: auto; }
  /* On a phone the growing masthead just jumps and covers content;
     it stays compact and the page keeps every pixel. */
  nav:not(.mini) .nav-inner { height: 60px; }
  nav:not(.mini) .brand { font-size: 21px; }
  nav:not(.mini) .brand .mark { width: 32px; height: 32px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-row); border: none; cursor: pointer;
  font-family: var(--face-ui); font-weight: 700; font-size: 15px;
  text-decoration: none; padding: 10px 20px;
  transition: transform .15s ease, filter .15s ease;
}
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-quiet { background: var(--panel); color: var(--ink); border: 1px solid var(--line2); }
.btn-quiet:hover { background: var(--selection); }
.btn-sm { padding: 7px 14px; font-size: 14px; margin-left: 8px; }

/* --------------------------------- Hero --------------------------------- */
.hero { padding: 88px 0 40px; text-align: center; }
.hero .silk { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.hero .silk .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1.05; letter-spacing: -0.02em;
  max-width: 780px; margin: 0 auto 20px;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .said { background: none; -webkit-text-fill-color: var(--accent); color: var(--accent); }
.hero .lede { margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--ink3); }

/* The demo: a compose window with the pill floating at its foot. */
.demo { margin: 56px auto 0; max-width: 720px; position: relative; padding-bottom: 46px; }
.window {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 4px 14px rgba(0,0,0,.3);
  text-align: left; overflow: hidden;
}
.titlebar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tl { width: 12px; height: 12px; border-radius: 50%; background: var(--selection); }
.titlebar .title { margin: 0 auto; transform: translateX(-26px); font-size: 13px; color: var(--ink3); }
.compose-meta { padding: 10px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink2); display: flex; gap: 8px; }
.compose-meta b { color: var(--ink); font-weight: 500; }
.compose-body { padding: 20px; min-height: 128px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.caret {
  display: inline-block; width: 2px; height: 1.15em; vertical-align: text-bottom;
  background: var(--accent); margin-left: 1px;
  animation: blink 1.06s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* The pill, as the app draws it. Black whatever the theme, no outline, a
   rounded rectangle rather than a capsule: 11 point corners on the quick
   shape, 16 on the tall one. The flat white mark takes 22 of the pill's 32
   points and the wave rests as dots. Live text sits above the control row
   and rolls off the top. */
.pill {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  background: var(--hud);
  border-radius: 11px; padding: 5px 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,.55);
  transition: opacity .3s ease, transform .3s ease,
    border-radius .25s ease, padding .25s ease;
}
/* Live text makes it the tall pill, slightly softer in the corner. */
.pill:has(.live.has-text) { border-radius: 16px; padding: 8px 14px; }
.pill.idle { opacity: 0; transform: translateX(-50%) translateY(8px); }
.pill-row { display: flex; align-items: center; gap: 8px; height: 22px; }
.pill .pmark { width: 22px; height: 22px; flex: none; opacity: .85; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; height: 3px; display: block; }
.pill .live {
  font-size: 13px; line-height: 17px; color: rgba(255,255,255,.85);
  width: 0; max-height: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-align: left; transition: max-height .25s ease, margin .25s ease, width .25s ease;
}
.pill .live.has-text { width: min(292px, 62vw); max-height: 68px; margin-bottom: 6px; }
@keyframes wob {
  0%, 100% { height: 4px; }
  50%      { height: var(--h); }
}
.wave.on i { animation: wob .9s ease-in-out infinite; }

.keycap-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 26px; color: var(--ink3); font-size: 13px; }
.keycap-sub { text-align: center; margin-top: 12px; }
.keycap {
  font-family: var(--face-mono); font-size: 13px; color: var(--ink);
  background: linear-gradient(180deg, var(--selection), var(--panel));
  border: 1px solid var(--line2); border-bottom-width: 3px;
  border-radius: 8px; padding: 5px 12px; min-width: 40px; text-align: center;
  transition: transform .12s ease, border-bottom-width .12s ease;
}
.keycap.held { transform: translateY(2px); border-bottom-width: 1px; }

/* ----------------------------- Statement bar ---------------------------- */
.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: 84px; padding: 20px 0;
}
.strip .wrap { display: flex; gap: 14px 40px; justify-content: center; flex-wrap: wrap; }
.strip .silk { display: flex; align-items: center; gap: 9px; color: var(--ink2); }
.strip .silk::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* -------------------------------- Sections ------------------------------ */
section { padding: 96px 0; }
.sec-head { margin-bottom: 48px; }
.sec-head .silk { display: block; margin-bottom: 12px; }
.sec-head .lede { margin-top: 14px; }

.reveal { opacity: 1; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* How it works: three steps, an actual sequence. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 24px 28px;
}
.step .stage { height: 84px; display: flex; align-items: center; margin-bottom: 18px; }
.step h3 { font-family: var(--face-display); font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink2); font-size: 14.5px; }
.step .silk { display: block; margin-bottom: 14px; }
/* The quick pill's real shape: 32pt, radius 11, no outline, 22pt mark. */
.minipill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--hud);
  border-radius: 11px; height: 32px; padding: 0 14px;
}
.minipill .pmark { width: 22px; height: 22px; opacity: .85; }
.landed { font-size: 15px; }
.landed .caret { animation-duration: 1.06s; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Private by default */
.private-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .private-grid { grid-template-columns: 1fr; } }
.private-copy p { color: var(--ink2); margin-bottom: 16px; }
.private-copy p b { color: var(--ink); font-weight: 600; }
.flowcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 26px;
}
.flow { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
.flow-node {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r-row);
  padding: 12px 16px; font-size: 14.5px;
}
.flow-node .silk { margin-left: auto; color: var(--ink3); }
.flow-join { width: 2px; height: 22px; background: var(--line2); margin: 0 auto; }
.flow-node.deck { border-color: color-mix(in srgb, var(--accent) 45%, var(--line2)); }
.flow-node .ic { width: 18px; text-align: center; flex: none; }
.no-cloud {
  margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line2);
  display: flex; align-items: center; gap: 12px; color: var(--ink3); font-size: 13.5px;
}
.no-cloud svg { flex: none; }

/* Dictionary */
.dict-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 34px 30px; max-width: 640px;
}
.dict-heard { font-size: 20px; line-height: 1.7; min-height: 3.4em; }
.dict-heard .miss { border-bottom: 2px solid var(--danger); }
.dict-heard .fixterm { border-bottom: 2px solid var(--accent); }
.dict-rule {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r-pill);
  padding: 8px 16px; font-family: var(--face-mono); font-size: 13px; color: var(--ink2);
}
.dict-rule .to { color: var(--ink3); }
.dict-rule .fixed { color: var(--accent); }

/* In use: vignettes */
.vignettes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .vignettes { grid-template-columns: 1fr; } }
.vignette { position: relative; padding-bottom: 24px; min-width: 0; }
.vignette .window { box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.vignette .compose-body { min-height: 108px; font-size: 14.5px; }
.vignette .pill .pmark { width: 18px; height: 18px; }
.vignette .pill-row { gap: 8px; height: 20px; }
.vig-label { margin-top: 14px; display: block; text-align: center; }
.msgrow { display: flex; margin-bottom: 10px; }
.bubble {
  background: var(--panel); border-radius: 16px; padding: 8px 13px; font-size: 14px;
  color: var(--ink2); max-width: 85%;
}
.msgrow.me { justify-content: flex-end; }
.msgrow.me .bubble { background: var(--selection); color: var(--ink); }
.codeline { font-family: var(--face-mono); font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: break-word; overflow: hidden; }
.codeline .cm { color: var(--ink3); }
.codeline .kw { color: var(--accent); }

/* Stats: the app's Stats screen, recreated from its own tiles. */
.stats-window { max-width: 760px; margin: 0 auto; }
.stats-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat-tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 14px; display: flex; flex-direction: column; gap: 7px;
}
.stat-tile.primary {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent-ink) 35%, transparent);
}
.stat-tile .tlabel {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink3);
}
.stat-tile.primary .tlabel { color: var(--accent-ink); }
.stat-tile .tvalue {
  font-family: var(--face-display);
  font-weight: 800; font-size: 27px; line-height: 1.1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-tile .tvalue small { font-size: 13px; font-weight: 500; color: var(--ink3); margin-left: 2px; }
.stat-tile .tfoot { font-size: 11.5px; color: var(--ink3); }
.activity {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px 14px 12px;
}
.activity .tlabel {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink3); display: block; margin-bottom: 12px;
}
.activity-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.activity-bars i {
  flex: 1; border-radius: 3px 3px 1px 1px; background: var(--accent);
  height: 3px; transition: height .6s cubic-bezier(.2,.7,.3,1); opacity: .85;
}
.activity .axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: var(--ink3); font-family: var(--face-mono); }

/* The scratchpad, as the app draws it: a Saved drawer beside a sunken
   editor card, with the type-or-dictate hint and Clear and Save below. */
.pad-wrap { max-width: 640px; margin: 0 auto; position: relative; padding-bottom: 56px; }
.pad-title { display: flex; align-items: center; gap: 8px; padding: 12px 16px; }
.pad-title .name { font-family: "Figtree", var(--face-display); font-weight: 800; font-size: 15px; margin-left: 6px; }
.pad-body { display: flex; min-height: 230px; }
.pad-drawer {
  width: 190px; flex: none; background: var(--panel); border-right: 1px solid var(--line);
  padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 9px;
}
.pad-drawer .dlabel { font-size: 13px; color: var(--ink2); }
.pad-search {
  background: var(--selection); border-radius: 8px;
  padding: 6px 10px; font-size: 12.5px; color: var(--ink3);
}
.pad-note {
  font-size: 12.5px; color: var(--ink2); line-height: 1.45;
  padding: 4px 2px; border-bottom: 1px solid var(--line);
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pad-main { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 14px 12px; gap: 12px; }
.pad-editor-row { display: flex; gap: 10px; flex: 1; }
.pad-toggle { color: var(--accent); font-size: 15px; padding-top: 4px; }
.pad-editor {
  flex: 1; background: var(--sunken); border-radius: 12px; padding: 12px 14px;
  font-size: 15px; line-height: 1.55; color: var(--ink); min-height: 130px;
}
.pad-foot { display: flex; align-items: center; gap: 10px; }
.pad-hint { font-size: 13px; color: var(--ink2); margin-right: auto; max-width: 200px; line-height: 1.35; }
.pad-btn { font-weight: 700; font-size: 13.5px; padding: 6px 15px; border-radius: 9px; }
@media (max-width: 560px) { .pad-drawer { display: none; } }

/* Everything else grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px;
}
.feature h3 { font-family: var(--face-display); font-size: 17px; margin-bottom: 7px; }
.feature p { color: var(--ink2); font-size: 14px; }
.feature .silk { display: block; margin-bottom: 12px; }
.swatches { display: flex; gap: 9px; margin: 14px 0 4px; flex-wrap: wrap; }
.nav-accents { margin: 0 4px 0 0; gap: 6px; flex-wrap: nowrap; }
.nav-accents .swatch { width: 13px; height: 13px; }
.nav-accents .swatch:hover { transform: scale(1.3); }
.swatch {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; padding: 0; transition: transform .15s ease;
}
.swatch:hover { transform: scale(1.15); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }

/* Pricing */
.price-wrap { display: flex; justify-content: center; }
.price-card {
  background: var(--card); border: 1px solid var(--line2); border-radius: var(--r-card);
  padding: 40px 42px; max-width: 460px; width: 100%; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.price-card .silk { display: block; margin-bottom: 18px; }
.price {
  font-family: var(--face-display); font-weight: 700; font-size: 58px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price small { font-size: 22px; vertical-align: 18px; margin-right: 2px; font-weight: 600; }
.price-sub { color: var(--ink2); font-size: 14.5px; margin: 10px 0 26px; }
.price-list { list-style: none; text-align: left; margin: 0 auto 30px; max-width: 320px; }
.price-list li {
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink2);
  display: flex; gap: 11px; align-items: baseline;
}
.price-list li:last-child { border-bottom: none; }
.price-list .tick { color: var(--accent); font-weight: 700; flex: none; }
.price-card .btn { width: 100%; padding: 13px; font-size: 16px; }
.try-first { display: block; margin-top: 12px; font-size: 13.5px; color: var(--ink2);
  text-decoration: none; }
.try-first:hover { color: var(--accent); }
.deal-note { margin-top: 26px; font-size: 13px; color: var(--ink3); max-width: 420px; text-align: center; }
.reqs { margin-top: 34px; text-align: center; }
.reqs .silk { color: var(--ink3); }

/* FAQ */
.faq { max-width: 680px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink3); font-family: var(--face-mono); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); font-size: 14.5px; padding: 0 0 20px; max-width: 600px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; }
.foot .silk { margin-left: auto; }
@media (max-width: 640px) { .foot .silk { margin-left: 0; width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave.on i { animation: none; height: var(--h); }
  .caret { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* QuillKey showcase: graphite surfaces, blue glass, layered native windows. */
:root { --face-display: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif; --ink2: #B4BCC7; --ink3: #9BA5B2; --accent-ink: #65B1FF; }
body { overflow-x: clip; }
.wrap { max-width: 1280px; padding-inline: 48px; }
h1,h2 { letter-spacing: -.04em; }
h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1.04; }
h3 { letter-spacing: -.025em; }
.silk { font-size: 12px; letter-spacing: .1em; line-height: 1.6; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px 20px; background: var(--ink); color: var(--ground); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
nav { background: color-mix(in srgb, var(--ground) 85%, transparent); border-color: rgba(255,255,255,.075); }
.nav-inner { gap: 22px; }
nav:not(.mini) .nav-inner { height: 88px; }
nav:not(.mini) .brand { font-size: 25px; }
nav:not(.mini) .brand .mark { width: 36px; height: 36px; }
.brand .k { color: var(--ink); }
.nav-links a { font-size: 13px; }
.btn { border-radius: 10px; min-height: 48px; gap: 14px; padding: 12px 20px; }
.btn-accent { box-shadow: inset 0 1px rgba(255,255,255,.15), 0 6px 24px color-mix(in srgb,var(--accent) 12%,transparent); }
.btn-sm { min-height: 40px; font-size: 13px; padding: 8px 15px; }
.hero { position: relative; isolation: isolate; padding: 70px 0 0; min-height: 850px; overflow: clip; }
.hero-layout { display: grid; grid-template-columns: .95fr 1.1fr; gap: 10px; align-items: center; min-height: 650px; }
.hero-copy { text-align: left; position: relative; z-index: 5; padding-bottom: 80px; min-width: 0; }
.hero .availability { color: var(--ink2); margin-bottom: 26px; font-family: var(--face-ui); text-transform: none; letter-spacing: .015em; font-size: 14px; }
.hero .dot { box-shadow: 0 0 0 4px color-mix(in srgb,var(--accent) 10%,transparent); }
.hero h1 { font-size: clamp(65px,7.8vw,108px); line-height: .97; color: var(--ink); background: none; margin: 0 0 28px; letter-spacing: -.045em; }
.hero h1 .said { color: var(--accent-ink); -webkit-text-fill-color: var(--accent-ink); }
.hero .lede { max-width: 380px; margin: 0 0 30px; font-size: 17px; line-height: 1.7; }
.hero-ctas { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.hero-ctas .btn { font-size: 16px; padding: 15px 20px; }
.button-price { border-left: 1px solid currentColor; padding-left: 15px; margin-left: 3px; }
.trial-link { font-size: 14px; text-decoration: none; color: var(--ink2); }
.trial-link span { margin-left: 10px; }
.trial-link:hover { color: var(--ink); }
.hero-note { font-size: 13px; line-height: 1.8; }
.hero-note span { color: var(--ink3); font-size: 12px; }
.hero-orbit { display: none; }
.hero-scene { position: relative; height: 650px; margin-right: -45px; perspective: 1300px; }
.scene-grid { position: absolute; width: 520px; height: 520px; top: 20px; left: 0; opacity: .13; background-image: linear-gradient(var(--line2) 1px, transparent 1px),linear-gradient(90deg,var(--line2) 1px,transparent 1px); background-size: 55px 55px; mask-image: radial-gradient(ellipse,black,transparent 68%); transform: rotate(-12deg); }
.scene-backplate { position: absolute; width: 430px; height: 360px; top: 40px; left: 115px; border-radius: 30px; border: 1px solid #3c4653; background: linear-gradient(145deg,#252f3c,#1c2026); transform: rotate(-8deg); padding: 28px; box-shadow: 0 40px 70px #0003; }
.scene-brand { display: block; width: 180px; height: 180px; margin: 28px auto; opacity: .75; }
.scene-note { display: none; }
.scene-mail { position: absolute; z-index: 4; width: 450px; top: 250px; left: 30px; transform: rotateY(-9deg) rotateZ(3deg); }
.hero .demo { margin: 0; padding-bottom: 48px; }
.hero .window { background: linear-gradient(130deg,#2B3039,#1F232A); border: 1px solid #505865; box-shadow: 0 30px 65px #0008, 0 0 0 5px #17191d35; }
.hero .compose-body { min-height: 155px; padding: 20px 24px; font-size: 15px; }
.titlebar { padding: 13px 17px; }
.tl { width: 9px; height: 9px; background: #5b6069; }
.tl:first-child { background: #FA736A; }.tl:nth-child(2) { background: #E9BC59; }.tl:nth-child(3) { background: #65BE75; }
.titlebar .title { font-size: 12px; }
.hero .pill { bottom: 14px; z-index: 6; box-shadow: 0 18px 35px #0007; }
.scene-key { position: absolute; top: 530px; right: 0; z-index: 5; max-width: 330px; text-align: center; }
.scene-key .keycap-row { margin-top: 0; font-size: 12px; }
.scene-key .keycap-sub { font-size: 10px; max-width: 270px; margin-top: 8px; }
.scene-key .keycap { font-size: 20px; padding: 13px 20px; border-radius: 13px; box-shadow: 0 10px 20px #0005; }
.scene-local { position: absolute; top: 90px; left: 0; z-index: 3; display: flex; gap: 13px; align-items: center; padding: 15px 18px; border-radius: 16px; background: #232932eb; border: 1px solid #475564; box-shadow: 0 20px 40px #0004; font-size: 12px; }
.scene-local small { display: block; color: var(--ink3); font-size: 11px; margin-top: 3px; }
.local-icon { color: var(--accent-ink); font-size: 27px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #6BCDA0; margin-left: 10px; }
.scene-caption { position: absolute; bottom: 10px; left: 60px; font-size: 10px; color: var(--ink3); }
.scroll-cue { position: relative; display: flex; justify-content: center; gap: 14px; align-items: center; font-size: 12px; color: var(--ink3); text-decoration: none; padding: 16px 0 40px; }
.scroll-cue span { font-size: 19px; color: var(--accent-ink); }
.strip { background: #1C1F24; border-block: 1px solid #ffffff0b; }
.strip .wrap { display: flex; justify-content: space-between; padding-block: 22px; gap: 24px; }
.strip .silk { color: var(--ink2); font-family: var(--face-ui); font-size: 13px; text-transform: none; letter-spacing: 0; }
.strip .silk::before { content: '✓'; color: var(--accent-ink); margin-right: 10px; }
section { padding: 115px 0; position: relative; border: 0; }
.sec-head { margin-bottom: 48px; }
.sec-head .silk { color: var(--accent-ink); display: block; margin-bottom: 20px; }
.sec-head .lede { margin-top: 24px; font-size: 16px; line-height: 1.8; }
#how .sec-head { text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 55px; }
.step { background: transparent; border: 0; border-radius: 0; padding: 12px 38px 10px; position: relative; }
.step + .step { border-left: 1px solid var(--line2); }
.step .silk { color: var(--ink3); font-size: 11px; }
.step .stage { height: 115px; display: flex; align-items: center; justify-content: flex-start; }
.step .stage .keycap { transform: perspective(400px) rotateX(18deg) rotateY(-16deg); padding: 15px 23px !important; font-size: 22px !important; box-shadow: 0 12px 22px #0005; }
.step h3 { font-size: 23px; font-family: var(--face-display); margin-bottom: 12px; }
.step p { font-size: 15px; line-height: 1.85; color: var(--ink2); }
.step .landed { font-size: 14px; }
#private { background: #1C2026; border-block: 1px solid #ffffff09; }
.private-grid { gap: 90px; align-items: center; grid-template-columns: 1fr 1fr; }
.private-copy p { font-size: 15px; line-height: 1.85; }
.flowcard { background: linear-gradient(145deg,#273340,#1B2129); padding: 45px 30px; border: 1px solid #3e4a58; border-radius: 24px; box-shadow: 0 25px 60px #0003; transform: rotate(2deg); }
.flow-node { background: #222B36; padding: 17px; border-color: #3C4959; font-size: 14px; }
.flow-node.deck { background: color-mix(in srgb,var(--accent) 12%,#222B36); box-shadow: 0 10px 35px color-mix(in srgb,var(--accent) 10%,transparent); }
.no-cloud { font-size: 12px; }
#dictionary>.wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
#dictionary .sec-head { margin: 0; }
.dict-card { background: linear-gradient(140deg,#242B35,#1D2229); padding: 42px 32px; border-color: #3c4652; box-shadow: 0 25px 50px #0004; transform: rotate(-2deg); }
.dict-heard { font-family: var(--face-display); font-size: 27px; line-height: 1.5; min-height: 6em; }
.dict-rule { font-size: 11px; margin: 12px 0 0 !important; display: flex; width: fit-content; }
#inuse { background: #1C2026; }
#inuse .sec-head { text-align: center; }
.vignettes { gap: 46px 35px; }
.vignette:nth-child(even) { transform: translateY(40px); }
.vignette .window { min-height: 180px; background: #242A33; border-color: #424B58; }
.vignette .compose-body { padding: 25px; }
.vig-label { font-family: var(--face-ui); font-size: 12px; letter-spacing: 0; text-transform: none; }
#stats>.wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px 60px; align-items: center; }
#stats .sec-head { margin: 0; }
#stats .hero-note { grid-column: 2; }
.stats-window { width: 100%; background: #202730; border-color: #414C5B; transform: rotate(2deg); box-shadow: 0 24px 60px #0005; }
.stat-grid { grid-template-columns: 1fr 1fr; }
.stat-tile { padding: 18px; border-radius: 12px; background: #272F3A; }
.stat-tile .tvalue { font-size: 32px; }
.activity { background: #272F3A; }
#scratchpad { background: #1C2026; }
#scratchpad>.wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
#scratchpad .sec-head { grid-column: 2; grid-row: 1; margin: 0; }
#scratchpad .pad-wrap { grid-column: 1; grid-row: 1; width: 100%; transform: rotate(-2deg); }
.pad-wrap .window { border-color: #434D5B; }
.pad-drawer { width: 155px; padding: 16px 12px; }
.pad-body { min-height: 280px; }
.pad-main { min-width: 0; }
.pad-editor { min-width: 0; }
.pad-foot { flex-wrap: wrap; }
.pad-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }
.pad-hint { width: 100%; max-width: none; font-size: 11px; }
.pad-editor-row { min-width: 0; }
#more .sec-head { max-width: 780px; }
.features { gap: 0 40px; }
.feature { background: transparent; border: 0; border-top: 1px solid var(--line2); border-radius: 0; padding: 28px 0; }
.feature h3 { font-size: 22px; }.feature p { font-size: 14px; line-height: 1.85; }
.feature .silk { font-size: 11px; color: var(--accent-ink); }
.swatch { width: 28px; height: 28px; }
#pricing { background: radial-gradient(ellipse at 80% 55%,#123151 0,transparent 60%),#1C222B; border-block: 1px solid #ffffff0b; }
#pricing>.wrap { display: grid; grid-template-columns: 1fr .9fr; gap: 0 85px; align-items: center; }
#pricing .sec-head { text-align: left !important; margin-bottom: 0; grid-row: span 2; }
#pricing h2 { font-size: clamp(48px,5.5vw,75px); }
#pricing h2 span { color: var(--accent-ink); }
#pricing .sec-head .lede { max-width: 290px; }
.price-card { position: relative; padding: 40px; max-width: none; background: linear-gradient(130deg,#2A3645,#222A35); border-color: #506076; border-radius: 22px; text-align: left; }
.licence-mark { position: absolute; width: 40px; height: 40px; right: 32px; top: 34px; }
.price-card .silk { color: var(--ink2); font-size: 12px; }
.price { font-size: 76px; letter-spacing: -.06em; }
.price small { vertical-align: 28px; font-size: 28px; }
.price-sub { font-size: 13px; }
.price-list { max-width: none; margin-bottom: 25px; }
.price-list li { font-size: 14px; padding: 10px 0; border-color: #ffffff0d; }
.price-card .btn { justify-content: space-between; }
.try-first { text-align: center; font-size: 12px; }
.deal-note { font-size: 12px; text-align: left; max-width: none; margin-top: 24px; }
.reqs { grid-column: 1 / -1; text-align: left; margin-top: 35px; }
.reqs .silk { text-transform: none; letter-spacing: 0; font-family: var(--face-ui); font-size: 12px; }
#faq>.wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq { max-width: none; }
.faq summary { font-size: 16px; padding: 22px 0; }
.faq details p { font-size: 14px; line-height: 1.85; }
footer { background: #14171C; padding: 40px 0; }
.foot { gap: 20px; }
.foot .silk { font-size: 10px; text-transform: none; letter-spacing: 0; }
.foot>span:not(.silk) { font-size: 11px !important; }
.depth-layer { translate: 0 var(--depth-y,0px); }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused { scroll-behavior: auto; }
.motion-paused .depth-layer { translate: none; }
.motion-paused .reveal { opacity: 1; transform: none; }
@media(min-width:1500px) { .hero { min-height: 900px; padding-top: 90px; }.hero-layout { min-height: 690px; } }
@media(max-width:1100px) {
 .wrap { padding-inline: 32px; }.nav-links { gap: 16px; }.nav-links a { font-size: 12px; }
 .hero-layout { grid-template-columns: .9fr 1.1fr; }.hero h1 { font-size: 78px; }.hero-scene { transform: scale(.86); transform-origin: left center; margin-right: -65px; }
 .private-grid,#dictionary>.wrap,#stats>.wrap,#scratchpad>.wrap,#pricing>.wrap,#faq>.wrap { gap: 40px; }
 .scene-mail { width: 400px; }.scene-key { right: -20px; }
 .step { padding-inline: 22px; }.step .landed { font-size: 12px; }
 .pad-drawer { width: 125px; }.pad-main { padding: 12px; }.pad-toggle { display: none; }
 .nav-inner { gap: 16px; }
}
@media(max-width:800px) {
 .wrap { padding-inline: 24px; }.nav-links { display: none; }.nav-accents { display: none; }.nav-inner { height: 64px !important; gap: 16px; }.nav-inner .btn-sm { margin-left: auto; }
 nav:not(.mini) .brand { font-size: 23px; }nav:not(.mini) .brand .mark { width: 30px; height: 30px; }
 .hero { min-height: auto; padding-top: 54px; }.hero-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }.hero-copy { text-align: center; padding-bottom: 0; }.hero h1 { font-size: clamp(68px,13vw,96px); }.hero h1 br:last-of-type { display: none; }.hero .lede { margin-inline: auto; max-width: 420px; }.hero-ctas { align-items: center; }.hero .availability { margin-bottom: 22px; }
 .hero-scene { width: 550px; max-width: 100%; margin: 0 auto; height: 610px; transform: none; }.scene-mail { left: 20px; width: 430px; max-width: 90%; top: 240px; }.scene-backplate { width: 78%; left: 20%; top: 55px; }.scene-local { left: 5px; top: 95px; }.scene-key { right: 0; top: 520px; }.scene-caption { display: none; }
 .scroll-cue { padding-top: 30px; }.strip .wrap { flex-wrap: wrap; justify-content: center; gap: 12px 28px; }.strip .silk { font-size: 12px; }
 section { padding: 80px 0; }h2 { font-size: clamp(38px,7vw,56px); }.steps { gap: 15px; }.step { padding-inline: 12px; }.step p { font-size: 14px; }.step h3 { font-size: 20px; }.step .stage { height: 95px; }
 .private-grid,#dictionary>.wrap,#stats>.wrap,#scratchpad>.wrap,#pricing>.wrap,#faq>.wrap { grid-template-columns: 1fr; gap: 35px; }.private-grid { max-width: 620px; margin: auto; }.flowcard { transform: none; }.dict-card { transform: none; max-width: none; }.dict-heard { min-height: 3em; }
 #stats .hero-note { grid-column: 1; } .stats-window { transform: none; }#scratchpad .sec-head,#scratchpad .pad-wrap { grid-column: 1; grid-row: auto; }#scratchpad .pad-wrap { transform: none; max-width: none; }.pad-drawer { width: 190px; }
 #pricing .sec-head { grid-row: auto; }#pricing>.wrap { max-width: 620px; }#pricing h2 { font-size: 58px; }.price-wrap { width: 100%; }.price-card { width: 100%; }.deal-note { margin-top: 0; }.reqs { margin-top: 0; }
 .features { grid-template-columns: 1fr 1fr; gap: 0 28px; }.vignettes { gap: 30px; }.vignette:nth-child(even) { transform: none; }.vignettes .titlebar .title { font-size: 11px; }.vignette .compose-body { padding: 18px; }
 .foot .silk { margin-left: 0; }.depth-layer { translate: none; }
}
@media(max-width:540px) {
 .wrap { padding-inline: 20px; }.nav-inner { gap: 12px; }.nav-inner .brand { gap: 5px; font-size: 20px !important; }.nav-inner .brand .mark { width: 26px !important; height: 26px !important; }.btn-sm { padding: 8px 12px; font-size: 12px; }
 .hero h1 { font-size: clamp(34px, 11.4vw, 70px); }.hero h1 br:last-of-type { display: initial; }.hero .lede { font-size: 16px; max-width: 310px; }.hero-scene { height: 530px; }.scene-backplate { height: 270px; width: 76%; left: 23%; }.scene-brand { width: 120px; height: 120px; }.scene-backplate .silk { font-size: 9px; }.scene-mail { left: 0; max-width: 96%; top: 210px; transform: rotate(-2deg); }.hero .compose-body { min-height: 145px; padding: 18px; font-size: 13px; }.hero .compose-meta { font-size: 12px; padding: 10px 18px; }.hero .titlebar { padding: 10px 14px; }.scene-local { top: 60px; left: -5px; padding: 11px; font-size: 10px; }.scene-local small { font-size: 9px; }.local-icon { font-size: 22px; }.scene-key { top: 435px; right: 0; }.scene-key .keycap { padding: 9px 17px; font-size: 17px; }.scene-key .keycap-sub { font-size: 8px; max-width: 220px; }.scroll-cue { padding-top: 16px; font-size: 11px; }
 .steps { grid-template-columns: 1fr; gap: 0; }.step { padding: 25px 0; display: grid; grid-template-columns: 90px 1fr; column-gap: 20px; }.step + .step { border-left: 0; border-top: 1px solid var(--line); }.step>.silk { grid-column: 2; font-size: 10px; }.step .stage { grid-column: 1; grid-row: 1 / 4; align-self: center; }.step h3,.step p { grid-column: 2; }.step h3 { margin: 8px 0; }.step .stage .landed { font-size: 11px; line-height: 1.8; }.step .stage .minipill { padding: 8px; }.step .wave { gap: 1.5px; }.step .wave i { width: 2px; }
 .sec-head { margin-bottom: 25px; }.sec-head .silk { font-size: 11px; }.sec-head .lede { font-size: 15px; }.private-copy p { font-size: 14px; }.flowcard { padding: 28px 16px; }.flow-node { font-size: 12px; padding: 14px 10px; gap: 8px; }.flow-node .silk { font-size: 9px; }.no-cloud { font-size: 11px; }
 .dict-card { padding: 25px; }.dict-heard { font-size: 24px; min-height: 4.5em; }.vignettes { grid-template-columns: 1fr; }.features { grid-template-columns: 1fr; }.feature { padding-block: 24px; }.feature h3 { font-size: 23px; }.stat-tile .tvalue { font-size: 27px; }.stats-body { padding: 14px; }.stat-grid { gap: 10px; }.stat-tile { padding: 13px; }.stat-tile .tlabel { font-size: 10px; }.stat-tile .tfoot { font-size: 10px; }.price-card { padding: 30px 25px; }.licence-mark { right: 25px; width: 34px; height: 34px; }.price-list li { font-size: 13px; }#pricing h2 { font-size: 54px; }.faq summary { font-size: 15px; }.foot { align-items: flex-start; flex-direction: column; gap: 16px; }.foot>span:not(.silk) { line-height: 2; }
}
@media(prefers-reduced-motion:reduce) { .depth-layer { translate: none !important; } *,*::before,*::after { animation: none !important; scroll-behavior: auto !important; } }
.strip .silk::before { width: auto; height: auto; border-radius: 0; background: none; }

/* Outlined brand lockup keeps the refined spacing independent of font loading. */
.brand-lockup { display: block; width: 100%; height: auto; }
.nav-inner .brand { flex: 0 1 176px; min-width: 0; }
nav.mini .brand { flex-basis: 158px; }
.foot .brand { width: 140px; }
@media(max-width:800px) { .nav-inner .brand, nav.mini .brand { flex-basis: 150px; } }
@media(max-width:540px) { .nav-inner { gap: 8px; }.nav-inner .brand, nav.mini .brand { flex-basis: 140px; }.nav-inner .btn-sm { flex-shrink: 0; } }

/* The Key lettering and symbol follow the chosen accent. */
.brand-lockup .word-accent { fill: var(--accent-ink); }
.brand-lockup .brand-wave > g { fill: var(--accent); }

/* The illustration caption collides with the keycap sub-caption under 800px. */
@media (max-width: 800px) { .hero-scene .scene-caption { display: none !important; } }
