/* ============================================================
   CORRECT — MARKETING SITE
   Premium editorial technology: deep graphite, warm ivory, one
   green that only ever means "go". Type does the work; there are
   no gradients pretending to be depth.

   Tokens are namespaced --c-* on purpose: assets/keyboard.css
   owns --ink, --paper, --cap and the rest inside [data-theme]
   scopes, and the two systems must never collide.
   ============================================================ */

@import url('./fonts/fonts.css');

:root{
  --c-ink:#0E1012;
  --c-ink-2:#15181B;
  --c-ink-3:#1D2124;
  --c-ivory:#F4F1EA;
  --c-ivory-2:#EBE7DD;
  /* The button green is the darkest of the three on purpose: white on it has
     to clear 4.5:1, which #1A8A55 missed at 4.37. --c-green-hi stays the bright
     accent for dark surfaces (dots, ticks, focus ring), and the press state goes
     darker rather than brighter — the same rule the keycaps follow. */
  --c-green:#17834C;
  --c-green-press:#116A3C;
  --c-green-hi:#22A466;
  /* green as TEXT on the ivory ground. The button green is mixed against
     white and clears 4.5:1 there; on #F4F1EA it lands at 4.24, so text gets
     its own darker value rather than the page getting a lighter background. */
  --c-green-ink:#14713F;

  --c-on-dark:#F3F1EB;
  --c-on-dark-2:#A0A29E;
  --c-on-dark-3:#8C8E8A;
  --c-on-light:#14161A;
  --c-on-light-2:#5B5C5A;

  --c-line-dark:rgba(255,255,255,.10);
  --c-line-light:rgba(20,22,26,.12);

  --c-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --c-display:'Playfair Display',Georgia,'Times New Roman',serif;

  --c-gutter:clamp(20px,5vw,48px);
  /* Sections used to open at 140px and close at 140px, which on a long page
     reads as a series of unrelated posters rather than one argument. The
     band below is tight enough that a section ends and the next one starts,
     and wide enough that nothing touches. */
  --c-section:clamp(58px,7.2vw,108px);
  --c-radius:18px;
  --c-head:66px;
}
*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{
  margin:0;
  background:var(--c-ivory);
  color:var(--c-on-light);
  font-family:var(--c-sans);
  font-size:clamp(16px,1.05vw,17.5px);
  line-height:1.62;
  font-feature-settings:'kern' 1,'liga' 1;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg{max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0}
h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.015em}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0}
li{list-style:none}

::selection{background:var(--c-green);color:#fff}

.sr-only{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}
.skip{
  position:absolute;left:50%;top:-100px;transform:translateX(-50%);z-index:100;
  background:var(--c-ink);color:var(--c-on-dark);padding:12px 20px;border-radius:0 0 12px 12px;
  transition:top .18s;
}
.skip:focus{top:0}

:where(a,button,summary,input,[tabindex]):focus-visible{
  outline:2px solid var(--c-green-hi);
  outline-offset:3px;
  border-radius:6px;
}
.dark :where(a,button,summary,[tabindex]):focus-visible{outline-color:#5FD79B}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap{width:min(1180px,100% - var(--c-gutter) * 2);margin-inline:auto}
.wrap.narrow{width:min(820px,100% - var(--c-gutter) * 2)}
.wrap.center{text-align:center}

section{padding-block:var(--c-section);position:relative}
[id]{scroll-margin-top:calc(var(--c-head) + 16px)}
section.dark{background:var(--c-ink);color:var(--c-on-dark)}
section.dark.deep{background:#080A0B}
section.light{background:var(--c-ivory);color:var(--c-on-light)}
section.light.alt{background:var(--c-ivory-2)}
section.light + section.light{padding-top:0}
section.light.alt{padding-top:var(--c-section)}
/* a plain light section after an alt one changes colour, so it needs its own top */
section.light.alt + section.light:not(.alt){padding-top:var(--c-section)}

/* ============================================================
   TYPE
   ============================================================ */
.display{
  font-family:var(--c-display);
  font-weight:500;
  letter-spacing:-.022em;
  line-height:1.03;
  font-size:clamp(2rem,4.3vw,3.5rem);
  text-wrap:balance;
}
h1.display{
  /* sized so that each of the two lines holds on one line from 1000px up,
     which is what makes the brand line read as two beats rather than four.
     Bigger than it was: the first screen has one object competing with the
     phone, and it has to be this one. */
  /* Two clamps, because the hero is two different layouts. The ceilings are
     measured, not chosen: at the hero column's width the Russian second line
     — the longest of the three — sets the largest size at which the brand
     line still reads as two beats instead of four. */
  font-size:clamp(1.72rem,8.4vw,3.1rem);
  line-height:1.03;
  letter-spacing:-.03em;
  margin:0 0 .46em;
  text-wrap:pretty;
}
.display.xl{font-size:clamp(2.3rem,5.6vw,4.5rem)}
/* The second half of the brand line is the half that makes the promise, and
   on the approved preview artwork it is the half that carries the green. One
   colour, one job: <b> inside a display line is the accent, never bold. */
.display b{font-weight:inherit;color:var(--c-green-hi)}
.light .display b{color:var(--c-green-ink)}
.lead b{font-weight:600;color:var(--c-on-dark)}
.light .lead b{color:var(--c-on-light)}

.kicker{
  font-size:12px;font-weight:600;letter-spacing:.17em;text-transform:uppercase;
  color:var(--c-on-light-2);margin:0 0 1.4em;
}
.dark .kicker{color:var(--c-on-dark-3)}

.lead{
  font-size:clamp(1.05rem,1.5vw,1.24rem);
  line-height:1.55;color:var(--c-on-dark-2);max-width:36em;margin-bottom:2em;
}
.section-lead{
  font-size:clamp(1.02rem,1.35vw,1.15rem);
  color:var(--c-on-light-2);max-width:46em;margin:1.1em 0 3.2em;
}
.big{font-size:clamp(1.1rem,1.65vw,1.32rem);line-height:1.5;letter-spacing:-.008em}
.dark .big{color:var(--c-on-dark)}
.light .big{color:var(--c-on-light)}
:where(.dark) p{color:var(--c-on-dark-2)}
.dark .big{color:#DEDCD6}
:where(.light) p{color:var(--c-on-light-2)}

.micro{font-size:.86rem;color:var(--c-on-light-2);margin:0}
.dark .micro{color:var(--c-on-dark-3)}
.micro.center{text-align:center;max-width:42em;margin:2.6em auto 0}

.split{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(28px,5vw,72px);align-items:start}
.split-body{padding-top:.4em}
.split-body p:last-child{margin-bottom:0}
@media (max-width:860px){.split{grid-template-columns:1fr;gap:22px}}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  padding:15px 26px;border-radius:12px;
  font-size:.98rem;font-weight:600;letter-spacing:-.005em;
  border:1px solid transparent;
  transition:transform .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
  will-change:transform;
}
.btn-primary{
  background:var(--c-green);color:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.14) inset,0 10px 26px -14px rgba(23,131,76,.9);
}
.btn-primary:hover{background:var(--c-green-press);transform:translateY(-1px)}
.btn-primary:active{transform:translateY(0)}
.btn-ghost{border-color:var(--c-line-light);color:var(--c-on-light);background:rgba(255,255,255,.4)}
.dark .btn-ghost{border-color:rgba(255,255,255,.18);color:var(--c-on-dark);background:rgba(255,255,255,.03)}
.btn-ghost:hover{border-color:rgba(20,22,26,.28)}
.dark .btn-ghost:hover{border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.06)}
.btn-sm{padding:10px 17px;font-size:.9rem;border-radius:10px}
.btn-lg{padding:18px 34px;font-size:1.06rem;border-radius:14px}
.btn .arrow{transition:transform .18s ease}
.btn:hover .arrow{transform:translateX(3px)}
@media (prefers-reduced-motion:reduce){.btn,.btn .arrow{transition:none}.btn:hover{transform:none}}

.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:1.4em}

/* ============================================================
   HEADER
   ============================================================ */
.site-head{
  position:sticky;top:0;z-index:50;
  background:var(--c-ink);
  transition:background-color .25s ease,border-color .25s ease,backdrop-filter .25s;
  border-bottom:1px solid transparent;
}
.site-head.scrolled{
  background:rgba(12,14,16,.86);
  backdrop-filter:saturate(140%) blur(14px);
  border-bottom-color:rgba(255,255,255,.08);
}
.head-inner{display:flex;align-items:center;gap:clamp(10px,1.8vw,28px);height:var(--c-head);color:var(--c-on-dark)}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:600;letter-spacing:-.01em;font-size:1.06rem}
.brand-cap{
  width:30px;height:30px;border-radius:7px;display:grid;place-items:center;
  background:linear-gradient(180deg,#313437,#26292C);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(0,0,0,.6),0 2px 3px -1px rgba(0,0,0,.7);
  font-size:15px;font-weight:600;color:#EDEEEF;
}
.brand-cap span{transform:translateY(-.5px)}
.head-nav{display:flex;gap:clamp(12px,1.7vw,26px);margin-inline-start:auto;font-size:.9rem}
.head-nav a{color:var(--c-on-dark-2);transition:color .16s}
.head-nav a:hover,.head-nav a.on{color:var(--c-on-dark)}
.head-cta{flex:none}
/* ---- language: three files, three links, one control ----
   The switcher is a group of real anchors to real pages, so it works with
   JavaScript off, arrives already right for a crawler, and cannot flash the
   wrong direction on first paint the way a client-side swap does. */
.lang-switch{
  display:inline-flex;gap:2px;padding:3px;flex:none;
  border-radius:11px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
}
.lang-opt{
  display:inline-grid;place-items:center;
  min-width:34px;height:25px;padding:0 8px;border-radius:8px;
  font-size:.76rem;font-weight:600;letter-spacing:.03em;line-height:1;
  color:var(--c-on-dark-3);
  transition:color .16s ease,background-color .16s ease;
}
a.lang-opt:hover{color:var(--c-on-dark);background:rgba(255,255,255,.07)}
.lang-opt.on{color:#0F1113;background:#EDECE7}

/* ---- the burger: two rules that become a cross ---- */
.burger{
  display:none;flex:none;width:42px;height:42px;border-radius:12px;
  align-items:center;justify-content:center;
  background:rgba(255,255,255,.04);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.13);
  transition:background-color .18s ease,box-shadow .18s ease;
}
.burger:hover{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
.burger-box{position:relative;display:block;width:18px;height:11px}
.burger-box i{
  position:absolute;inset-inline-start:0;height:1.6px;border-radius:2px;
  background:var(--c-on-dark);
  transition:transform .32s cubic-bezier(.2,.8,.3,1),width .28s ease;
}
.burger-box i:first-child{top:0;width:100%}
.burger-box i:last-child{bottom:0;width:66%}
.burger:hover .burger-box i:last-child{width:100%}
.burger.on .burger-box i:first-child{transform:translateY(4.7px) rotate(45deg)}
.burger.on .burger-box i:last-child{width:100%;transform:translateY(-4.7px) rotate(-45deg)}
@media (prefers-reduced-motion:reduce){.burger-box i{transition:none}}

@media (max-width:900px){
  .head-nav,.lang-switch.in-head{display:none}
  .burger{display:inline-flex}
  /* On a phone the header CTA sat directly above the hero's own CTA, which is
     two identical green buttons a thumb's width apart and one hierarchy too
     many. Below 900px the header is quiet while the hero is on screen — the
     hero's button is the offer — and the header's becomes the standing one
     the moment the hero leaves. Availability never drops: there is always
     exactly one obvious way to start. */
  .head-cta{
    margin-inline-start:auto;
    opacity:0;visibility:hidden;transform:translateY(-5px);
    transition:opacity .3s ease,transform .3s ease,visibility .3s;
  }
  .head-cta.show{opacity:1;visibility:visible;transform:none}
  .site-head:not(.scrolled) .brand-word{opacity:.92}
}
@media (max-width:640px){
  /* Brand, a 22-character green button and a burger do not fit across a
     390px header without one of them shrinking into a tap hazard. The
     burger wins: behind it the sheet carries the same offer full width,
     and the hero's own button is still the offer on the first screen. */
  .head-cta{display:none}
  .burger{margin-inline-start:auto}
}
@media (max-width:900px) and (prefers-reduced-motion:reduce){
  .head-cta{transition:none}
}

/* ============================================================
   1 · HERO
   ============================================================ */
.hero{
  /* The first screen used to open with 72px of nothing under a 72px header.
     It opens tight now: the headline is the first thing on the page, and the
     phone is level with it rather than floating in its own column of air. */
  padding-top:clamp(10px,1.6vw,24px);
  padding-bottom:0;
  background:
    radial-gradient(78% 62% at 76% 6%,rgba(34,164,102,.13),transparent 62%),
    radial-gradient(120% 80% at 12% -8%,rgba(255,255,255,.045),transparent 58%),
    var(--c-ink);
  overflow:hidden;
}
@media (min-width:1001px){
  h1.display{font-size:clamp(2.4rem,4.3vw,3.9rem);line-height:1.01}
}

/* The hero runs wider than the rest of the page. Both of its lines have to
   hold on one line for the brand line to read as two beats, and at the body
   measure the second one broke into three. */
.hero > .wrap{width:min(1280px,100% - var(--c-gutter) * 2)}
/* The two columns start together. Centred, the copy — which is 500px against
   the phone's 796 — was pushed 150px down the screen, and the first screen
   opened on a band of empty graphite above the headline. The headline is the
   first thing on the page; it should be the first thing on the page. */
.hero-grid{
  display:grid;grid-template-columns:1.08fr .92fr;
  gap:clamp(22px,3.4vw,56px);align-items:start;
}
@media (min-width:1001px){
  /* the phone's own top edge sits a little below the top of its column, so the
     eyebrow drops by the same amount rather than sitting proud of it */
  .hero-copy{padding-top:clamp(8px,1.4vw,26px)}
}
/* the eyebrow is a label, not a badge: it names the category and then gets
   out of the way of the sentence underneath it */
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.75rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase;
  color:var(--c-on-dark-3);
  margin:0 0 clamp(15px,1.8vw,22px);
}
.hero-eyebrow .dot{
  width:6px;height:6px;border-radius:50%;background:var(--c-green-hi);flex:none;
  box-shadow:0 0 0 4px rgba(34,164,102,.14);
}
.hero .lead{
  color:#C6C4BE;margin-bottom:1.45em;max-width:32em;
  font-size:clamp(1.06rem,1.5vw,1.3rem);line-height:1.5;
}

/* The row, as it is on the keyboard: three keys with the product's own
   marks, then Translate, then the promise about ordinary typing. Six columns
   so the three keys share the first line and the other two share the second. */
.hero-row{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;margin:clamp(20px,2.4vw,30px) 0 0;max-width:36em;
}
.hero-row li{grid-column:span 2;min-width:0}
.hero-row li:nth-child(n+4){grid-column:span 3}
.hero-row a{
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:4px 9px;
  height:100%;padding:10px 11px;border-radius:12px;
  font-size:.8rem;line-height:1.32;color:#A9ACA8;
  background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
  transition:background-color .16s ease,box-shadow .16s ease,color .16s ease;
}
.hero-row a:hover{background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);color:#D2D4D0}
.hero-row b{display:block;font-size:.9rem;font-weight:600;color:#F0EFEA;margin-bottom:1px}
.hero-row b + span{grid-column:2}
.hr-mark{
  width:30px;height:26px;border-radius:6px;flex:none;grid-row:span 2;
  display:grid;place-items:center;background:#2C2F33;color:#D6D9DC;
}
.hr-mark svg{width:15px;height:15px;display:block}
.hero-row li:nth-child(n+4) .hr-mark{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
@media (max-width:1000px){.hero-row{max-width:none}}
@media (max-width:420px){
  .hero-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-row li,.hero-row li:nth-child(n+4){grid-column:span 1}
  .hero-row li:first-child{grid-column:span 2}
}

/* --- the phone, and the light it sits in --- */
.hero-visual{margin:0;display:flex;flex-direction:column;align-items:center;position:relative}
.hero-visual::before{
  content:"";position:absolute;z-index:0;pointer-events:none;
  inset:-8% -14% -6%;
  background:radial-gradient(52% 48% at 50% 46%,rgba(34,164,102,.14),transparent 70%);
  filter:blur(6px);
}
.hero-visual > *{position:relative;z-index:1}
.phone{
  width:min(100%,372px);
  padding:9px;border-radius:46px;
  background:linear-gradient(160deg,#303337,#131517 42%,#0A0B0C);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 30px 60px -24px rgba(0,0,0,.9),
    0 80px 120px -60px rgba(0,0,0,.9);
}
/* The screen is a fixed height, the way a phone's is. The keyboard sits on
   its floor and the result card joins the keyboard between the action row
   and the keys — which is where the product puts it — so when the card
   arrives the deck grows upward and the conversation above it gives way,
   exactly as on a phone. Nothing outside the screen moves. */
.phone-screen{
  border-radius:38px;overflow:hidden;
  height:clamp(640px,60vw,700px);
  background:#0F1113;
  display:flex;flex-direction:column;
}
.phone-status{
  display:flex;justify-content:space-between;align-items:center;flex:none;
  padding:13px 22px 6px;font-size:12px;font-weight:600;color:#B9BCBE;
}
.status-icons{display:flex;gap:4px;align-items:center}
.status-icons i{width:12px;height:9px;border-radius:2px;background:rgba(255,255,255,.45);display:block}
.status-icons i:nth-child(2){width:10px}
.status-icons i:nth-child(3){width:16px;height:8px;border-radius:3px}
.chat-head{
  display:flex;align-items:center;gap:11px;padding:8px 18px 11px;flex:none;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.avatar{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(180deg,#3B4F45,#2A3A32);color:#D8E5DD;font-size:13px;font-weight:600;
}
.chat-name{display:flex;flex-direction:column;font-size:.88rem;font-weight:600;color:#E7E6E2;line-height:1.25}
.chat-name em{font-style:normal;font-size:.7rem;font-weight:400;color:#8C8F8D}
.chat{
  flex:1 1 auto;min-height:0;overflow:hidden;
  display:flex;flex-direction:column;justify-content:flex-end;
  gap:10px;padding:12px 14px 8px;
}
.bubble{
  max-width:82%;padding:9px 13px;border-radius:16px;font-size:.86rem;line-height:1.42;margin:0;
}
.bubble.them{background:#22262A;color:#D9DCDE;border-end-start-radius:6px}
/* the messenger's own compose bar: the field the keyboard is typing into */
.compose{display:flex;align-items:flex-end;gap:8px;padding:6px 10px 8px;flex:none}
.compose-field{
  flex:1;min-width:0;border-radius:20px;padding:9px 14px;
  background:#1E2124;color:#E3E5E7;font-size:.84rem;line-height:1.42;
  max-height:9.2em;overflow:hidden;
}
.compose-text{white-space:pre-wrap}
.compose-send{
  width:36px;height:36px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:#1F5B42;color:#DCEBE1;
}
.compose-send svg{width:17px;height:17px}
[dir="rtl"] .compose-send svg{transform:scaleX(-1)}
.phone-kb{flex:none;background:#151618}

/* The keyboard is drawn at a phone's width — 390px — and scaled into the box
   it is given. It is taken out of flow so its natural width never becomes the
   page's minimum width; the box carries the scaled height instead. */
.phone-kb,.kb-holder{position:relative;overflow:hidden}
.kb-scale{
  width:var(--kb-w,390px);
  position:absolute;top:0;left:50%;
  transform:translateX(-50%) scale(var(--kb-scale,1));
  transform-origin:top center;
}
/* with no script there is no keyboard to put the card in: it stands on its
   own, finished, where the keyboard would be */
.phone-kb > .kb-card,.kb-holder > .kb-card{position:relative;margin:8px}

/* ============================================================
   SIGNATURE BRAND OBJECT — seven tactile keys
   Built to the brand boards, not from memory:

     legends      C o r r e c t — one capital, six lowercase
     material     graphite soft-touch, low sheen, fine matte
     legend fill  paper-white, laser-etched: recessed, soft upper fillet
     profile      superellipse, R 3.2mm on a 17.6mm cap
     body         11.2mm tall on that footprint — the wall is a real surface
     pitch        118 units: 100 of cap, 18 of air
     travel       ~2.0mm, soft bottom-out, and the face goes DARKER
     shadow       soft and grounded. It carries the object, never blurs it
     rules        no rotation, no scatter, no keyboard body behind them

   The cap is BUILT, not shaded — the same construction the product's own
   CapPainter uses. The element's border box is the silhouette, painted in
   chamfer material: light where it faces the light, dark where it turns
   away. The top plane is laid on top of it, inset by the chamfer's own
   width, which is uneven because the light is somewhere — a fine catch on
   top, more down the sides, the widest band where the plane turns over
   into the wall. That asymmetry is what the eye reads as a solid object,
   and it is why this is not seven styled buttons.

   The DOM object exists because it can animate and answer a finger. The
   approved static renders remain the right thing for high-fidelity brand
   moments once those assets are in the repository; this is built to sit
   beside them, not to replace them.
   ============================================================ */
/* The line about opening a keyboard rather than a messenger used to sit in
   a pill above the headline, where it read as the first thing the page had
   to say. It is not; it is the thought that explains why seven keycaps are
   worth looking at. So it stands here, centred, one beat before them. */
.sbo-stage{
  position:relative;
  padding:clamp(22px,3.2vw,44px) 0 clamp(26px,3.8vw,54px);
  display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2vw,24px);
}
.sbo-lead{
  position:relative;margin:0 0 clamp(2px,1vw,10px);max-width:24em;text-align:center;
  font-family:var(--c-display);font-weight:500;
  font-size:clamp(1.05rem,1.85vw,1.5rem);line-height:1.3;letter-spacing:-.016em;
  color:#B7B9B5;text-wrap:balance;
}
.sbo-lead::before{
  content:"";display:block;width:30px;height:1px;margin:0 auto clamp(14px,1.8vw,20px);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);
}
/* the ground the keys sit on: one light source, above and slightly left */
.sbo-stage::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(56% 72% at 44% 28%,rgba(255,255,255,.052),transparent 66%),
    radial-gradient(98% 68% at 50% 114%,rgba(0,0,0,.6),transparent 72%);
}
.sbo{
  --cap:clamp(38px,7.8vw,104px);
  --air:calc(var(--cap) * .18);
  --wall:calc(var(--cap) * .085);
  --travel:calc(var(--cap) * .05);
  --r:calc(var(--cap) * .215);
  --ch-t:calc(var(--cap) * .02);
  --ch-l:calc(var(--cap) * .026);
  --ch-r:calc(var(--cap) * .038);
  --ch-b:calc(var(--cap) * .052);
  display:flex;gap:var(--air);position:relative;
}

/* the silhouette, in edge material */
.sbo-key{
  width:var(--cap);height:var(--cap);
  border-radius:var(--r);
  position:relative;flex:none;cursor:pointer;
  display:grid;place-items:center;
  background:linear-gradient(178deg,#53575B 0%,#3A3E41 26%,#212427 78%,#191C1E 100%);
  box-shadow:
    0 calc(var(--wall) * .3) 0 #1B1E20,          /* the wall, a real surface */
    0 calc(var(--wall) * .6) 0 #16191B,
    0 var(--wall) 0 #101315,
    0 calc(var(--wall) + 2px) calc(var(--wall) * .55) calc(var(--wall) * -.25) rgba(0,0,0,.82),
    0 calc(var(--wall) * 2.3) calc(var(--wall) * 2.2) calc(var(--wall) * -.85) rgba(0,0,0,.5),
    0 calc(var(--wall) * 4.6) calc(var(--wall) * 5.2) calc(var(--wall) * -2.7) rgba(0,0,0,.62);
  /* release is slower than press: a key comes back up more gently than it
     goes down, and a spring that returns at the speed it was struck is a
     spring nobody has touched */
  transition:transform .22s cubic-bezier(.2,.7,.35,1),box-shadow .22s ease,background .22s ease;
}

/* the top plane, laid on the silhouette and cut back by the chamfer */
.sbo-key::after{
  content:"";position:absolute;z-index:1;
  inset:var(--ch-t) var(--ch-r) var(--ch-b) var(--ch-l);
  border-radius:calc(var(--r) - var(--ch-l));
  background:linear-gradient(176deg,#34383B 0%,#2E3235 52%,#282C2E 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -1px 2px rgba(0,0,0,.34);
  transition:background .22s ease;
}
/* fine matte texture — a sheen you should have to look for */
.sbo-key::before{
  content:"";position:absolute;z-index:2;
  inset:var(--ch-t) var(--ch-r) var(--ch-b) var(--ch-l);
  border-radius:calc(var(--r) - var(--ch-l));
  pointer-events:none;
  background:
    radial-gradient(116% 78% at 38% -18%,rgba(255,255,255,.058),transparent 58%),
    linear-gradient(202deg,rgba(255,255,255,.016),transparent 44%);
}
.sbo-key span{
  position:relative;z-index:3;
  font-family:var(--c-sans);
  font-size:calc(var(--cap) * .47);
  font-weight:420;
  letter-spacing:-.012em;
  line-height:1;
  color:#F1F0EB;                                   /* paper-white, never pure */
  /* laser-etched and filled: recessed, with a soft upper fillet */
  text-shadow:0 -1px 1.2px rgba(0,0,0,.58),0 1px 0 rgba(255,255,255,.12);
  transform:translateY(calc(var(--cap) * -.018));
  user-select:none;
}
.sbo-key[data-legend="C"] span{font-size:calc(var(--cap) * .52)}

/* pressed: shallow travel, the wall collapses, the contact tightens, and the
   face goes into its own shadow instead of lighting up */
.sbo-key.press{
  transform:translateY(var(--travel));
  transition:transform .09s cubic-bezier(.35,.6,.5,1),box-shadow .09s ease,background .09s ease;
  box-shadow:
    0 calc(var(--wall) * .22) 0 #1B1E20,
    0 calc(var(--wall) * .45) 0 #15181A,
    0 calc(var(--wall) * .55) calc(var(--wall) * .4) calc(var(--wall) * -.2) rgba(0,0,0,.8),
    0 calc(var(--wall) * 1.3) calc(var(--wall) * 1.2) calc(var(--wall) * -.7) rgba(0,0,0,.42);
}
.sbo-key.press::after{
  background:linear-gradient(176deg,#2B2F32 0%,#26292C 52%,#212426 100%);
  transition:background .09s ease;
}

.sbo-caption{
  position:relative;
  font-size:.78rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--c-on-dark-3);margin:0;text-align:center;
}

/* assembly: the keys arrive and settle. No bounce, no overshoot, no scale —
   a keycap that springs is a keycap made of rubber.

   `.has-js` is on <html> from the first line of app.js, and every state on
   this page that only a script can leave hangs off it: a demo waiting for an
   answer, a keycap waiting to land, a pair of buttons that belong to a result.
   Without a script none of those waits ever ends, so without a script none of
   them starts — the page renders as the finished thing instead of as a demo
   frozen at frame nought. */
@media (prefers-reduced-motion:no-preference){
  .has-js .sbo[data-assemble="pending"] .sbo-key{opacity:0;transform:translateY(-10px)}
  .sbo[data-assemble="run"] .sbo-key{
    animation:sbo-land .58s cubic-bezier(.16,.84,.3,1) both;
    animation-delay:var(--d,0ms);
  }
}
@keyframes sbo-land{
  0%{opacity:0;transform:translateY(-10px)}
  55%{opacity:1}
  100%{opacity:1;transform:none}
}

@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr;gap:clamp(22px,4vw,32px)}
  .hero-copy{max-width:34em}
  .phone{width:min(100%,344px)}
  .chat{gap:9px}
  .hero-visual::before{inset:-4% -18% -2%}
}
@media (max-width:600px){
  /* On a phone the hero is one column of eight elements, and every one of
     them was carrying desktop air. */
  .hero{padding-top:14px}
  .hero .lead{font-size:1.02rem;margin-bottom:1.35em}
  .cta-row{gap:10px;margin-bottom:0}
  .cta-row .btn{flex:1 1 100%;padding:15px 20px}
  .phone{width:min(100%,318px)}
}

/* ============================================================
   2 · EVERYDAY
   ============================================================ */
.funnel{margin:clamp(44px,6vw,84px) 0 clamp(30px,4vw,56px);text-align:center}
.funnel-apps{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px;margin-bottom:8px;
  max-width:700px;margin-inline:auto;
}
.funnel-apps li{
  border:1px solid var(--c-line-light);border-radius:10px;
  padding:9px 15px;font-size:.9rem;color:var(--c-on-light-2);
  background:rgba(255,255,255,.55);
}
.funnel-lines{height:clamp(46px,7vw,88px);opacity:.42;max-width:700px;margin-inline:auto}
.funnel-lines svg{width:100%;height:100%;fill:none;stroke:var(--c-on-light-2);stroke-width:1}
.funnel-cap{display:flex;justify-content:center;margin:-2px 0 20px}
/* the product's own key, flat, one hairline of shadow */
.funnel-cap span{
  width:clamp(46px,6.4vw,62px);height:clamp(46px,6.4vw,62px);border-radius:10px;
  display:grid;place-items:center;background:#424448;color:#F1F2F4;
  box-shadow:0 1px 0 #08090A,0 18px 30px -18px rgba(0,0,0,.6);
  font-size:clamp(20px,2.6vw,27px);font-weight:500;
}
.funnel-end{
  font-family:var(--c-display);font-size:clamp(1.3rem,2.6vw,2.05rem);
  color:var(--c-on-light);margin:0;letter-spacing:-.02em;
}
.funnel-end strong{font-weight:600}

.not-list{
  border-top:1px solid var(--c-line-light);
  padding-top:clamp(28px,3.6vw,44px);
  display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(20px,4vw,60px);align-items:start;
}
.not-said{display:grid;gap:1em;align-content:start}
.not-title{font-size:clamp(1.08rem,1.7vw,1.35rem);color:var(--c-on-light);margin:0;letter-spacing:-.01em}
.not-list ul{display:grid;gap:11px}
.not-list li{
  padding-inline-start:26px;position:relative;color:var(--c-on-light-2);font-size:.98rem;
}
.not-list li::before{
  content:"";position:absolute;inset-inline-start:0;top:.62em;
  width:13px;height:1.5px;background:var(--c-on-light-2);opacity:.6;
}
.not-end{margin:0;font-weight:600;color:var(--c-on-light)}
@media (max-width:760px){.not-list{grid-template-columns:1fr;gap:18px}}

/* ============================================================
   5 · KEYBOARD
   ============================================================ */
/* ============================================================
   THE KEYBOARD MODULE
   Four settings, the deck they drive, and the read-out of what is
   currently on the stage — inside one card, on one surface.

   It used to be a row of controls floating in the page above a
   black rectangle with a keyboard somewhere in the middle of it,
   which is a settings screen, not a showroom. The controls are on
   a shelf that belongs to the object now, the stage is sized to
   the deck rather than to a round number, and the module says out
   loud what it is showing.
   ============================================================ */
.kb-module{
  max-width:900px;margin:clamp(28px,3.6vw,52px) auto clamp(26px,3.4vw,46px);
  padding:clamp(12px,1.5vw,18px);
  border-radius:30px;
  display:grid;gap:clamp(11px,1.4vw,15px);
  background:linear-gradient(180deg,#FFFFFF,#FBF9F4);
  box-shadow:
    inset 0 0 0 1px rgba(20,22,26,.07),
    0 1px 0 rgba(255,255,255,.7),
    0 44px 74px -50px rgba(30,26,16,.6);
}
/* The shelf sits UNDER the deck, not over it: a screen with its controls
   below it is the shape of the thing being demonstrated, and on a phone it
   puts the four settings where the thumb already is.

   Labels sit above their controls, not beside them. Beside them the four
   groups measure a thousand pixels and the last one wrapped onto a line of
   its own, centred, looking like an afterthought. Above them they measure
   seven hundred and the shelf is one row. */
.kb-bar{
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;
  gap:10px clamp(10px,1.4vw,22px);
  padding:clamp(8px,1.1vw,12px) clamp(11px,1.6vw,18px);
  border-radius:20px;
  background:rgba(20,22,26,.035);
  box-shadow:inset 0 0 0 1px rgba(20,22,26,.055);
}
.control{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
/* the numbers control answers to two names: the shelf has room for the long
   one, a phone row does not */
.lbl-narrow{display:none}
.control-label{
  font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
  color:var(--c-on-light-2);white-space:nowrap;
}
.seg{
  display:inline-flex;padding:3px;border-radius:11px;
  background:#fff;box-shadow:inset 0 0 0 1px rgba(20,22,26,.10);
}
.seg button{
  padding:6px 11px;border-radius:8px;font-size:.83rem;font-weight:500;
  color:var(--c-on-light-2);white-space:nowrap;
  transition:background-color .16s,color .16s,box-shadow .16s;
}
.seg button:hover{color:var(--c-on-light)}
.seg button.on{
  background:var(--c-ink);color:#F2F1EC;font-weight:600;
  box-shadow:0 1px 2px rgba(20,22,26,.3);
}
.kb-stage{
  border-radius:22px;padding:clamp(14px,1.9vw,24px) clamp(10px,1.5vw,20px);
  background:#0E1012;
  transition:background-color .3s ease;
}
.kb-stage[data-theme="light"]{background:#DDD9CF}
/* the caption of the picture, so it stays with the picture — between the
   deck it describes and the shelf that changes it */
.kb-foot{
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:4px clamp(14px,2vw,26px);padding:2px 8px 3px;
}
/* the caption a showroom card needs: what is on the stage, right now */
.kb-readout{
  margin:0;font-size:.8rem;font-weight:600;letter-spacing:.01em;
  color:var(--c-on-light);white-space:nowrap;
}
.kb-holder{max-width:472px;margin-inline:auto;transition:height .36s cubic-bezier(.22,1,.36,1)}
.phone-kb{transition:height .36s cubic-bezier(.22,1,.36,1)}
.kb-holder .kb-scale{transition:opacity .16s ease,filter .16s ease}
.kb-holder.swapping .kb-scale{opacity:.18;filter:blur(2px)}
@media (prefers-reduced-motion:reduce){
  .kb-holder,.phone-kb,.kb-holder .kb-scale{transition:none}
  .kb-holder.swapping .kb-scale{opacity:1;filter:none}
}
.kb-caption{font-size:.8rem;color:var(--c-on-light-2);margin:0;text-align:end;max-width:44em;flex:1 1 16em}
/* ---- the shelf on a phone: four rows, label and control on one line ----
   Stacked labels cost four extra lines of height for four words, and the
   panel ended up taller than the deck it drives. Beside them, the shelf is
   four rows of one tap target each.

   The label column is the bar's, not each control's: `subgrid` lets the four
   controls share one column so the four segmented controls line up on the
   same edge, in whichever language has the longest word. */
@media (max-width:760px){
  .kb-bar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px clamp(10px,3vw,16px);padding:clamp(8px,2vw,12px) clamp(10px,3vw,14px)}
  .control{
    display:grid;grid-column:1 / -1;grid-template-columns:subgrid;
    align-items:center;gap:0 clamp(10px,3vw,16px);
  }
  .control-label{white-space:nowrap}
  .lbl-wide{display:none}
  .lbl-narrow{display:inline}
  .seg{width:100%}
  /* 44px of tap target per row, which is the floor and also the row height */
  .seg button{flex:1 1 0;min-height:44px;padding:6px;font-size:.82rem;text-align:center;justify-content:center;display:flex;align-items:center}
  .kb-foot{flex-direction:column;align-items:flex-start;gap:5px}
  /* the shelf turns the foot into a column, and `flex:1 1 16em` on a column
     item is 16em of HEIGHT — 250px of empty card under the caption */
  .kb-caption{text-align:start;flex:0 1 auto}
  .kb-readout{white-space:normal}
}
/* where subgrid is not available the rows still read, they just do not share
   one label column */
@supports not (grid-template-columns: subgrid){
  @media (max-width:760px){
    .kb-bar{display:grid;grid-template-columns:1fr}
    .control{display:grid;grid-template-columns:auto minmax(0,1fr)}
  }
}
@media (max-width:360px){
  .seg button{padding:6px 3px;font-size:.78rem}
}

.feature-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(14px,2vw,26px);
  border-top:1px solid var(--c-line-light);padding-top:clamp(30px,4vw,50px);
}
.feature-grid h3{font-size:.99rem;margin-bottom:.4em;letter-spacing:-.01em}
.feature-grid p{font-size:.9rem;margin:0;color:var(--c-on-light-2)}
@media (max-width:1000px){.feature-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.feature-grid{grid-template-columns:1fr;gap:20px}}

.rule-line{
  margin:clamp(32px,4vw,52px) 0 0;padding-top:clamp(22px,3vw,34px);
  border-top:1px solid var(--c-line-light);
  font-size:clamp(1rem,1.5vw,1.2rem);color:var(--c-on-light-2);max-width:44em;
}
.rule-line strong{color:var(--c-on-light)}

/* ============================================================
   8 · PRIVACY
   ============================================================ */
.privacy-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.6vw,20px);
  margin-top:clamp(38px,5vw,66px);
}
.privacy-grid article{
  border-radius:var(--c-radius);padding:clamp(20px,2.4vw,28px);
  background:rgba(255,255,255,.6);box-shadow:inset 0 0 0 1px var(--c-line-light);
}
.privacy-grid article.wide{
  grid-column:1/-1;background:var(--c-ink);color:var(--c-on-dark);box-shadow:none;
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,3vw,44px);align-items:start;
}
.privacy-grid article.wide h3{grid-column:1/-1;font-size:clamp(1.1rem,1.7vw,1.35rem)}
.privacy-grid article.wide p,.privacy-grid article.wide li{color:#A9ACA8}
.privacy-grid h3{font-size:1.05rem;margin-bottom:.55em;letter-spacing:-.012em}
.privacy-grid p{font-size:.94rem;margin:0}
.numbered{counter-reset:n;display:grid;gap:9px;margin:0 0 1em}
.numbered li{
  counter-increment:n;padding-inline-start:30px;position:relative;font-size:.94rem;line-height:1.5;
}
.numbered li::before{
  content:counter(n);position:absolute;inset-inline-start:0;top:.1em;
  width:20px;height:20px;border-radius:50%;display:grid;place-items:center;
  font-size:.68rem;font-weight:700;color:#8FD9B4;box-shadow:inset 0 0 0 1px rgba(143,217,180,.35);
}
@media (max-width:960px){
  .privacy-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
  .privacy-grid{grid-template-columns:1fr}
  .privacy-grid article.wide{grid-template-columns:1fr}
}

/* ============================================================
   7b · TRUST ANCHORS
   Four lines on the main path. The detail is one disclosure away,
   because six technical cards on the conversion path is a wall,
   not an answer.
   ============================================================ */
/* Six checkable sentences, each one a card rather than a line under a dash.
   "What does this keyboard see?" is the objection that decides whether a
   person installs a system keyboard at all, so the answer gets the weight of
   a section and not the weight of a footnote. */
.anchors{
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(11px,1.5vw,18px);
  margin-top:clamp(32px,4vw,52px);
}
.anchors li{
  padding:clamp(18px,2.1vw,25px);border-radius:var(--c-radius);
  background:rgba(255,255,255,.66);
  box-shadow:inset 0 0 0 1px var(--c-line-light);
  display:flex;flex-direction:column;align-items:flex-start;
}
.anchor-mark{
  width:34px;height:34px;border-radius:11px;display:grid;place-items:center;
  margin-bottom:14px;flex:none;
  color:var(--c-green-ink);
  background:rgba(20,113,63,.085);
  box-shadow:inset 0 0 0 1px rgba(20,113,63,.2);
}
.anchor-mark svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.anchors h3{font-size:1rem;margin-bottom:.45em;letter-spacing:-.012em}
.anchors p{font-size:.92rem;margin:0}
@media (max-width:900px){.anchors{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.anchors{grid-template-columns:1fr}}

/* The disclosure closes the section, so it looks like a closing row rather
   than a short link trailing off into the section's bottom padding. */
.more{
  margin-top:clamp(30px,3.6vw,46px);
  border-top:1px solid var(--c-line-light);
  border-bottom:1px solid var(--c-line-light);
}
.more summary{
  list-style:none;cursor:pointer;position:relative;width:100%;
  padding:20px 0;padding-inline-end:30px;
  font-size:1rem;font-weight:500;color:var(--c-green-ink);
}
.more summary::-webkit-details-marker{display:none}
.more summary::after{
  content:"";position:absolute;inset-inline-end:6px;top:50%;margin-top:-4px;
  width:7px;height:7px;border-inline-end:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(-45deg);transition:transform .2s ease;
}
.more[open] summary::after{transform:rotate(45deg);margin-top:-6px}
.more-body{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3.4vw,52px);
  padding-bottom:clamp(20px,3vw,34px);
}
.more-body h3{font-size:1rem;margin-bottom:.5em}
.more-body h3 + p + h3{margin-top:1.4em}
.more-body p{font-size:.94rem}
.more-body p:last-child{margin-bottom:0}
@media (max-width:760px){.more-body{grid-template-columns:1fr}}

/* ============================================================
   9 · GET IT
   ============================================================ */
.get{
  display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:clamp(22px,3.4vw,56px);align-items:start;
  margin-top:clamp(32px,4vw,54px);
}
.get-main{display:grid;gap:clamp(20px,2.6vw,30px);align-content:start}
.get-stores{display:flex;flex-wrap:wrap;gap:13px}

/* what actually happens after the button is pressed. Three lines, because
   "it is a system keyboard" is the one thing a visitor has to have understood
   before they install one. */
.steps{display:grid;gap:13px}
.steps li{
  display:grid;grid-template-columns:auto 1fr;gap:13px;align-items:start;
  font-size:.94rem;line-height:1.5;color:var(--c-on-dark-2);
}
.steps strong{color:var(--c-on-dark);font-weight:600}
.step-n{
  width:23px;height:23px;border-radius:50%;display:grid;place-items:center;flex:none;
  font-size:.7rem;font-weight:700;color:var(--c-green-hi);
  box-shadow:inset 0 0 0 1px rgba(34,164,102,.34);
  margin-top:.12em;font-variant-numeric:tabular-nums;
}

/* The built-in control: the official wording, in this site's material.
   Swap in the official artwork via store.*Badge and .official takes over. */
.store-badge{
  display:inline-flex;align-items:center;gap:13px;
  padding:15px 26px 15px 21px;border-radius:15px;
  background:linear-gradient(180deg,#23272A,#191C1E);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 0 1px rgba(255,255,255,.09),
    0 10px 24px -14px rgba(0,0,0,.9);
  color:var(--c-on-dark);
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
/* a badge with a listing behind it and a badge that opens the tester
   panel are the same object under a fingertip, so they answer alike */
.store-badge:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,#282C30,#1D2123);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 0 0 1px rgba(255,255,255,.14),
    0 14px 30px -14px rgba(0,0,0,.95);
}
.store-glyph{width:23px;height:23px;color:#8FD9B4;flex:none}
.store-glyph svg{width:100%;height:100%;display:block}
.store-text{display:flex;flex-direction:column;line-height:1.15;white-space:nowrap}
.store-text em{font-style:normal;font-size:.72rem;color:var(--c-on-dark-2);letter-spacing:.01em}
.store-text b{font-size:1.14rem;font-weight:600;letter-spacing:-.015em}
.store-badge.official{padding:0;background:none;box-shadow:none}
.store-badge.official img{display:block;height:54px;width:auto}
@media (prefers-reduced-motion:reduce){.store-badge:hover{transform:none}}

.get-plan{
  border-radius:var(--c-radius);padding:clamp(22px,3vw,32px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);
  background:rgba(255,255,255,.028);
}
.plan-name{font-size:1.05rem;letter-spacing:-.01em;margin-bottom:1.1em}
.plan-list{display:grid;gap:10px;margin-bottom:1.3em}
.plan-list li{
  position:relative;padding-inline-start:26px;font-size:.94rem;color:var(--c-on-dark-2);line-height:1.5;
}
.plan-list li::before{
  content:"";position:absolute;inset-inline-start:2px;top:.52em;
  width:11px;height:6px;border-inline-start:1.6px solid var(--c-green-hi);
  border-bottom:1.6px solid var(--c-green-hi);transform:rotate(-45deg);
}
.plan-foot{font-size:.86rem;color:var(--c-on-dark-3);margin:0}
@media (max-width:820px){.get{grid-template-columns:1fr}}
@media (max-width:420px){
  .get-stores{flex-direction:column;align-items:stretch}
  .store-badge{justify-content:center}
}

.get-stores.final{justify-content:center;margin-bottom:clamp(30px,4vw,44px)}

/* ============================================================
   CONTACT, AND THE PANEL A STORE BADGE OPENS
   Two rows, one address and one number, in the site's own material.
   Nothing here announces a release process: the page shows the launch
   UI, and pressing it explains what pressing it can do today.
   ============================================================ */
.contact{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.86fr);
  gap:clamp(20px,3vw,44px);align-items:center;
  margin-top:clamp(34px,4vw,52px);padding-top:clamp(28px,3.4vw,42px);
  border-top:1px solid var(--c-line-dark);
}
.contact-copy h3{font-size:clamp(1.06rem,1.5vw,1.24rem);margin-bottom:.4em}
.contact-copy p{margin:0;color:var(--c-on-dark-2);font-size:.95rem;line-height:1.55}
.contact-rows{display:grid;gap:10px;min-width:0}
.contact-row{
  display:flex;align-items:center;gap:13px;
  padding:13px 16px;border-radius:14px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.contact-row:hover{
  background:rgba(255,255,255,.075);
  box-shadow:inset 0 0 0 1px rgba(143,217,180,.34);
  transform:translateY(-1px);
}
.contact-glyph{
  display:grid;place-items:center;width:38px;height:38px;flex:none;
  border-radius:11px;background:rgba(34,164,102,.16);color:#8FD9B4;
}
.contact-glyph svg{width:20px;height:20px;display:block}
.contact-text{display:grid;gap:1px;min-width:0}
.contact-text em{
  font-style:normal;font-size:.7rem;font-weight:600;letter-spacing:.13em;
  text-transform:uppercase;color:var(--c-on-dark-3);
}
.contact-text b{
  font-weight:600;font-size:.98rem;color:var(--c-on-dark);
  overflow-wrap:anywhere;unicode-bidi:isolate;
}
@media (max-width:820px){
  .contact{grid-template-columns:1fr;align-items:start;gap:clamp(18px,4vw,24px)}
}

/* the panel itself */
.modal-scrim{
  position:fixed;inset:0;z-index:80;
  background:rgba(6,8,9,.66);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  opacity:0;transition:opacity .26s ease;
}
.modal-scrim.in{opacity:1}
.modal-scrim[hidden]{display:none}
.modal{
  position:fixed;z-index:90;left:50%;top:50%;
  width:min(440px,calc(100vw - 32px));
  transform:translate(-50%,-46%) scale(.97);
  opacity:0;transition:opacity .26s ease,transform .26s cubic-bezier(.22,1,.36,1);
  padding:clamp(22px,3vw,30px);border-radius:24px;
  background:linear-gradient(180deg,#1B1F22,#121517);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09),0 44px 80px -40px rgba(0,0,0,1);
  color:var(--c-on-dark);
}
.modal.in{opacity:1;transform:translate(-50%,-50%) scale(1)}
.modal[hidden]{display:none}
.modal h2{font-size:clamp(1.2rem,2vw,1.44rem);letter-spacing:-.015em;margin-bottom:.45em;padding-inline-end:30px}
.modal-lead{color:var(--c-on-dark-2);font-size:.95rem;line-height:1.55;margin:0 0 18px}
.modal .contact-row{background:rgba(255,255,255,.05)}
.modal{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;width:min(480px,calc(100vw - 32px))}
.beta-list{display:flex;flex-direction:column;gap:12px;margin:0 0 18px}
.beta{padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.beta h3{font-size:1.02rem;margin:0 0 .5em;letter-spacing:-.01em}
.beta-steps{list-style:decimal;margin:0 0 14px;padding-inline-start:1.25em;display:grid;gap:6px;color:var(--c-on-dark-2);font-size:.92rem;line-height:1.5}
.beta-steps li::marker{color:var(--c-on-dark)}
.beta-steps strong{color:var(--c-on-dark);font-weight:600}
.beta-links{display:flex;flex-wrap:wrap;gap:8px}
.beta-links a[hidden]{display:none}
.modal .btn-ghost{border-color:rgba(255,255,255,.18);color:var(--c-on-dark);background:rgba(255,255,255,.03)}
.modal .btn-ghost:hover{border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.06)}
.beta-help{color:var(--c-on-dark-2);font-size:.88rem;margin:0 0 10px}
.modal-close{
  position:absolute;inset-block-start:14px;inset-inline-end:14px;
  width:34px;height:34px;border-radius:11px;display:grid;place-items:center;
  color:var(--c-on-dark-2);transition:background-color .16s,color .16s;
}
.modal-close:hover{background:rgba(255,255,255,.07);color:var(--c-on-dark)}
.modal-close span{position:relative;width:14px;height:14px;display:block}
.modal-close span::before,.modal-close span::after{
  content:"";position:absolute;left:0;top:6px;width:14px;height:1.5px;
  background:currentColor;border-radius:2px;
}
.modal-close span::before{transform:rotate(45deg)}
.modal-close span::after{transform:rotate(-45deg)}
/* a badge with no listing is a control, and reads like one */
button.store-badge{cursor:pointer;font:inherit;text-align:start}
@media (prefers-reduced-motion:reduce){
  .modal,.modal-scrim,.contact-row{transition:none}
  .modal{transform:translate(-50%,-50%)}
}

/* ============================================================
   10 · FAQ
   ============================================================ */
.noscript-note{
  background:var(--c-green);color:#fff;padding:12px var(--c-gutter);font-size:.9rem;text-align:center;
}
.faq{margin-top:clamp(28px,3.4vw,44px);border-top:1px solid var(--c-line-light)}
.faq-item{border-bottom:1px solid var(--c-line-light)}
.faq-item summary{
  list-style:none;cursor:pointer;padding:20px 40px 20px 0;position:relative;
  font-size:clamp(1rem,1.4vw,1.12rem);font-weight:500;letter-spacing:-.012em;color:var(--c-on-light);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"";position:absolute;inset-inline-end:8px;top:50%;
  width:11px;height:11px;margin-top:-7px;
  border-inline-end:1.5px solid var(--c-on-light-2);border-bottom:1.5px solid var(--c-on-light-2);
  transform:rotate(45deg);transition:transform .2s ease;
}
.faq-item[open] summary::after{transform:rotate(-135deg);margin-top:-3px}
.faq-item p{margin:0 0 22px;max-width:60ch;font-size:.99rem;color:var(--c-on-light-2)}
@media (prefers-reduced-motion:reduce){.faq-item summary::after{transition:none}}

/* ============================================================
   THE PRIVACY POLICY
   The same header, the same footer, the same type, and nothing else:
   a legal page is read, so it gets one column at a reading measure,
   generous space above each heading, and no motion at all.
   ============================================================ */
.legal .wrap{max-width:760px}
.legal .kicker{margin-bottom:14px}
.legal h1.display{font-size:clamp(2.1rem,5vw,3.1rem);line-height:1.08;margin-bottom:.5em}
.legal-lead{
  font-size:clamp(1.05rem,1.5vw,1.24rem);line-height:1.55;color:var(--c-on-light);
  margin:0 0 18px;
}
.legal-updated{
  font-size:.82rem;letter-spacing:.02em;color:var(--c-on-light-2);
  margin:0 0 clamp(30px,4vw,44px);padding-bottom:clamp(24px,3vw,34px);
  border-bottom:1px solid var(--c-line-light);
}
.legal-updated b{color:var(--c-on-light);font-weight:600}
.legal-body h2{
  font-size:clamp(1.08rem,1.5vw,1.24rem);letter-spacing:-.012em;
  margin:clamp(30px,3.6vw,44px) 0 .55em;
}
.legal-body h2:first-child{margin-top:0}
.legal-body p{font-size:1rem;line-height:1.62;color:var(--c-on-light-2);margin:0 0 .9em}
.legal-body p:last-child{margin-bottom:0}
.legal-body a{color:var(--c-green-ink);text-decoration:underline;text-underline-offset:3px}
.legal-list{display:grid;gap:.5em;margin:0 0 .9em}
.legal-list li{
  font-size:1rem;line-height:1.62;color:var(--c-on-light-2);
  padding-inline-start:18px;position:relative;
}
.legal-list li::before{
  content:"";position:absolute;inset-inline-start:2px;top:.72em;
  width:5px;height:5px;border-radius:50%;background:var(--c-green);
}
.legal-back{
  margin:clamp(34px,4vw,50px) 0 0;padding-top:clamp(24px,3vw,34px);
  border-top:1px solid var(--c-line-light);font-size:.94rem;
}
.legal-back a{color:var(--c-on-light-2)}
.back-arrow{display:inline-block;margin-inline-end:.45em}
[dir="rtl"] .back-arrow{transform:scaleX(-1)}
.legal-back a:hover{color:var(--c-on-light)}

/* the way into the document from the home page's privacy summary */
.privacy-full{margin:clamp(26px,3vw,38px) 0 0}

/* ============================================================
   11 · FINAL + FOOTER
   ============================================================ */
.final{background:radial-gradient(110% 80% at 50% 120%,rgba(34,164,102,.13),transparent 60%),var(--c-ink)}
.final-sub{font-size:clamp(1.08rem,1.7vw,1.35rem);color:var(--c-on-dark-2);margin:.9em 0 2.3em}
.brand-line{
  font-family:var(--c-display);font-size:clamp(1.15rem,2vw,1.6rem);line-height:1.3;
  color:var(--c-on-dark-3);margin:clamp(38px,5vw,66px) 0 0;letter-spacing:-.015em;
}

.site-foot{background:var(--c-ink);color:var(--c-on-dark);padding:38px 0 46px;border-top:1px solid rgba(255,255,255,.07)}
.foot-inner{display:flex;align-items:center;gap:clamp(16px,3vw,40px);flex-wrap:wrap}
.foot-nav{display:flex;gap:18px;font-size:.9rem;flex-wrap:wrap}
.foot-nav a{color:var(--c-on-dark-2)}
.foot-nav a:hover{color:var(--c-on-dark)}
.foot-note{margin:0;font-size:.82rem;color:var(--c-on-dark-3);margin-inline-start:auto}
@media (max-width:760px){.foot-note{margin-inline-start:0;flex-basis:100%}}
/* the legal row sits under everything else, on its own line */
.foot-legal{flex-basis:100%;display:flex;gap:18px;font-size:.82rem;flex-wrap:wrap}
.foot-legal a{color:var(--c-on-dark-3)}
.foot-legal a:hover{color:var(--c-on-dark-2)}

/* ============================================================
   THE REBUILD — subtract, recede, assemble
   No element ever travels across another one. The whole failure
   mode of a word-level morph is a token crossing live text, so
   nothing here translates horizontally at all: words leave where
   they stand, and the answer arrives a line at a time.
   ============================================================ */
.rebuild-stage{position:relative}
.w{display:inline-block;white-space:pre-wrap}

/* 1 · leaving, in place. Opacity only — a path it cannot take is a path it
       cannot take across somebody's sentence. */
.w-drop{animation:w-drop .26s cubic-bezier(.4,0,.75,.35) forwards;animation-delay:var(--d,0ms)}
@keyframes w-drop{to{opacity:0}}

/* 2 · what is left steps back as one block */
.rebuild-stage > .out,
.rebuild-stage.out{opacity:0;transition:opacity .16s ease}

/* 3 · the answer, a line at a time */
.assembling .w{animation:line-in .42s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--line,0) * 64ms)}
@keyframes line-in{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:none}
}
/* the words that survived, marked once so they can be found again */
.assembling .w:not(.w-new){
  animation:line-in .42s cubic-bezier(.22,1,.36,1) both,
            w-kept .95s ease-out both;
  animation-delay:calc(var(--line,0) * 64ms),calc(var(--line,0) * 64ms + 130ms);
}
@keyframes w-kept{
  0%{background-color:rgba(34,164,102,0)}
  24%{background-color:rgba(34,164,102,.115)}
  100%{background-color:rgba(34,164,102,0)}
}

@media (prefers-reduced-motion:reduce){
  .w-drop,.assembling .w,.assembling .w:not(.w-new){animation:none}
  .rebuild-stage > .out,.rebuild-stage.out{opacity:1;transition:none}
}

/* ============================================================
   REVEAL
   Three motions rather than one. A heading rises. A row of small
   things arrives one after another, left to right, the way somebody
   reads it. A product object settles — it comes forward slightly
   instead of sliding, because it is an object and not a line of
   text. A page where everything enters identically reads as a
   slideshow; this is meant to read as a page assembling itself.

   Nothing here is the stylesheet's own initial state. `motion-ready`
   is put on <html> by app.js as the last thing it does, once every
   target is already being observed — so a page whose JavaScript
   never arrives, or throws on the way, is simply a visible page.
   That is the whole no-JS story, and it is one line of CSS.
   ============================================================ */
@media (prefers-reduced-motion:no-preference){
  /* Two classes, one frame apart, and the order is the whole trick.
     `motion-ready` paints the starting state with no transition on it;
     `motion-armed` turns the transitions on a frame later. Done in one
     step the element would animate *into* hiding — a 0.56s fade out
     immediately reversed, which looks like nothing happening at all,
     because very nearly nothing does. */
  html.motion-ready [data-reveal]{opacity:0}
  /* text and groups of text: a short rise, no scale — letters that
     change size on the way in are letters you read twice */
  html.motion-ready [data-reveal="rise"]{transform:translateY(16px)}
  /* product objects — the phone, a demo stage, the keyboard: they
     arrive from slightly behind the page rather than below it */
  html.motion-ready [data-reveal="settle"]{transform:translateY(11px) scale(.988)}
  html.motion-armed [data-reveal]{
    transition:opacity .56s cubic-bezier(.22,1,.36,1),transform .56s cubic-bezier(.22,1,.36,1);
    transition-delay:calc(var(--d,0) * 1ms);
  }
  html.motion-ready [data-reveal].in{opacity:1;transform:none}

  /* ---- the hero, which plays on arrival rather than on scroll ----
     Small distances, one easing, and the phone leaving with the headline
     on its own path, so the two halves of the first screen are one
     composition and not a relay race. These delays live here rather than
     in app.js because the hero's starting state is in the markup: it has
     to exist before the first paint, and a script cannot be that early. */
  html.motion-ready .hero-eyebrow{--d:90}
  html.motion-ready .hero-copy h1{--d:130}
  html.motion-ready .hero-visual{--d:140}
  html.motion-ready .hero .lead{--d:200}
  html.motion-ready .hero .cta-row{--d:250}
  html.motion-ready .hero-row > li:nth-child(1){--d:300}
  html.motion-ready .hero-row > li:nth-child(2){--d:345}
  html.motion-ready .hero-row > li:nth-child(3){--d:390}
  html.motion-ready .hero-row > li:nth-child(4){--d:435}
  html.motion-ready .hero-row > li:nth-child(5){--d:480}
  html.motion-ready .hero-row > li:nth-child(6){--d:525}
  /* the object gets a little longer to come to rest than a line of text */
  html.motion-armed .hero-visual[data-reveal]{transition-duration:.72s,.72s}
  /* 0–150ms: the chrome settles, and only in opacity. A header that
     moves on arrival is a header the eye has to find twice. */
  html.motion-ready .site-head{animation:head-in .26s ease both}
  @keyframes head-in{from{opacity:0}to{opacity:1}}
}

/* ============================================================
   REDUCED MOTION — the backstop
   Every scene already checks the preference in JavaScript and every
   decorative keyframe is inside a no-preference query. This is the
   net under all of it: a transition somebody adds later cannot
   quietly reintroduce movement for a visitor who asked for none.
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}


/* ============================================================
   MOBILE NAVIGATION
   The only navigation a phone has, so it is a dialog and not a
   dropdown: the page behind it does not move, Tab cannot walk out
   of it, Escape closes it, and it carries the two things the
   header gives up at this width — the sections and the language.
   ============================================================ */
html.nav-open{overflow:hidden}
html.nav-open body{overflow:hidden}

.nav-scrim{
  position:fixed;inset:0;z-index:60;
  background:rgba(6,8,9,.62);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  opacity:0;transition:opacity .3s ease;
}
.nav-scrim.in{opacity:1}
.nav-scrim[hidden]{display:none}

.nav-sheet{
  position:fixed;z-index:70;top:0;bottom:0;inset-inline-end:0;
  width:min(400px,86vw);
  display:flex;flex-direction:column;
  padding:14px 22px calc(24px + env(safe-area-inset-bottom,0px));
  color:var(--c-on-dark);
  background:
    radial-gradient(120% 46% at 100% 0%,rgba(34,164,102,.13),transparent 62%),
    linear-gradient(180deg,#16191B,#0B0D0E 64%);
  border-inline-start:1px solid rgba(255,255,255,.09);
  box-shadow:0 0 80px -18px rgba(0,0,0,.95);
  overflow-y:auto;overscroll-behavior:contain;
  transform:translateX(101%);
  transition:transform .34s cubic-bezier(.22,1,.36,1);
}
[dir="rtl"] .nav-sheet{transform:translateX(-101%)}
.nav-sheet.in,[dir="rtl"] .nav-sheet.in{transform:none}
.nav-sheet[hidden]{display:none}

.nav-sheet-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:52px;
}
.nav-close{
  width:42px;height:42px;border-radius:12px;flex:none;
  display:grid;place-items:center;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.13);
  background:rgba(255,255,255,.04);
  transition:background-color .18s ease,box-shadow .18s ease;
}
.nav-close:hover{background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.26)}
.nav-close span{position:relative;display:block;width:15px;height:15px}
.nav-close span::before,.nav-close span::after{
  content:"";position:absolute;top:50%;left:0;width:100%;height:1.6px;border-radius:2px;
  background:var(--c-on-dark);
}
.nav-close span::before{transform:rotate(45deg)}
.nav-close span::after{transform:rotate(-45deg)}

.nav-sheet-links{display:grid;margin-top:clamp(12px,3vw,24px)}
.nav-sheet-links a{
  display:grid;grid-template-columns:auto 1fr;column-gap:14px;
  padding:15px 2px;
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:padding-inline-start .22s ease;
}
.nav-sheet-links a:first-child{border-top:1px solid rgba(255,255,255,.07)}
.nav-sheet-links a:hover,.nav-sheet-links a.on{padding-inline-start:8px}
.nav-sheet-links em{
  font-style:normal;font-size:.66rem;font-weight:600;letter-spacing:.14em;
  color:var(--c-on-dark-3);font-variant-numeric:tabular-nums;padding-top:.55em;
}
.nav-sheet-links a.on em{color:var(--c-green-hi)}
.nav-sheet-links span{
  font-family:var(--c-display);font-weight:500;
  font-size:1.42rem;line-height:1.14;letter-spacing:-.022em;color:var(--c-on-dark);
}
.nav-sheet-links small{
  grid-column:2;margin-top:3px;font-size:.79rem;line-height:1.4;color:var(--c-on-dark-3);
}

/* The slack between five links and the controls at the thumb end used to be
   200px of nothing. The brand line takes it — it is the one thing this sheet
   was missing anyway, and it is what the page says at the very bottom too. */
.nav-sheet-sign{
  margin:auto 0 0;padding:clamp(22px,5vw,34px) 2px clamp(6px,2vw,12px);
  font-family:var(--c-display);font-weight:500;
  font-size:1.12rem;line-height:1.32;letter-spacing:-.016em;
  color:var(--c-on-dark-3);
}
.nav-sheet-foot{
  padding-top:clamp(14px,3vw,20px);
  border-top:1px solid rgba(255,255,255,.07);
  display:grid;gap:11px;justify-items:start;
}
.nav-lang-label{
  font-size:.66rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--c-on-dark-3);
}
.lang-switch.in-sheet{width:100%}
.lang-switch.in-sheet .lang-opt{flex:1 1 0;height:36px;font-size:.85rem}
.nav-sheet-cta{width:100%;margin-top:5px}

/* the links arrive after the sheet, one after another */
@media (prefers-reduced-motion:no-preference){
  .nav-sheet.in .nav-sheet-links a,
  .nav-sheet.in .nav-sheet-foot > *{
    animation:sheet-item .42s cubic-bezier(.22,1,.36,1) both;
  }
  .nav-sheet.in .nav-sheet-links a:nth-child(1){animation-delay:60ms}
  .nav-sheet.in .nav-sheet-links a:nth-child(2){animation-delay:100ms}
  .nav-sheet.in .nav-sheet-links a:nth-child(3){animation-delay:140ms}
  .nav-sheet.in .nav-sheet-links a:nth-child(4){animation-delay:180ms}
  .nav-sheet.in .nav-sheet-links a:nth-child(5){animation-delay:220ms}
  .nav-sheet.in .nav-sheet-sign{animation:sheet-item .42s cubic-bezier(.22,1,.36,1) both;animation-delay:250ms}
  .nav-sheet.in .nav-sheet-foot > *:nth-child(1){animation-delay:280ms}
  .nav-sheet.in .nav-sheet-foot > *:nth-child(2){animation-delay:310ms}
  .nav-sheet.in .nav-sheet-foot > *:nth-child(3){animation-delay:340ms}
}
@keyframes sheet-item{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .nav-sheet,.nav-scrim{transition:none}
}

/* the footer carries the language too, for anybody who reached the bottom
   before deciding they would rather read this in another one */
.foot-inner .lang-switch{margin-inline-start:auto}
@media (max-width:760px){
  .foot-inner .lang-switch{margin-inline-start:0}
}

/* ============================================================
   RIGHT TO LEFT
   The layout is written in logical properties, so Hebrew mostly
   mirrors itself. What is left is the handful of places where
   something is literally pointing somewhere, plus the type: this
   site's display face has no Hebrew, and Hebrew set in a fallback
   serif at a Latin line height is the tell that a page was
   translated rather than designed.
   ============================================================ */

/* the drawn keyboard owns its own direction and must not inherit the page's:
   a Russian deck inside a Hebrew page is still a Russian deck */
.kb{direction:ltr}
.kb.rtl{direction:rtl}

/* arrows point at what they point at */
[dir="rtl"] .btn .arrow{transform:scaleX(-1)}
[dir="rtl"] .btn:hover .arrow{transform:scaleX(-1) translateX(3px)}
[dir="rtl"] .funnel-lines svg{transform:scaleX(-1)}

/* disclosure and FAQ chevrons sit on the reading edge */
.faq-item summary{padding:20px 0;padding-inline-end:40px}
.more summary{padding:20px 0;padding-inline-end:30px}

/* Hebrew: Heebo does the display work, at a display weight and a line
   height that leaves room for the letterforms Playfair never had. */
html[lang="he"]{
  --c-sans:'Heebo','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --c-display:'Heebo','Inter',-apple-system,'Segoe UI',Roboto,sans-serif;
}
html[lang="he"] .display{font-weight:700;letter-spacing:-.028em;line-height:1.14}
html[lang="he"] h1.display{line-height:1.13;letter-spacing:-.03em}
html[lang="he"] .display.xl{line-height:1.12}
html[lang="he"] :is(.sbo-lead,.funnel-end,.brand-line,.nav-sheet-links span){
  font-weight:600;line-height:1.35;
}
html[lang="he"] .legal h1.display{line-height:1.16;letter-spacing:-.02em}
html[lang="he"] .kicker,
html[lang="he"] .control-label,
html[lang="he"] .nav-lang-label,
html[lang="he"] .hero-eyebrow{letter-spacing:.06em}
/* Hebrew has no small caps and no case, so an uppercase transform is a
   no-op that only ever widens the tracking of a label that did not ask */
html[lang="he"] :is(.kicker,.hero-eyebrow,.control-label,.nav-lang-label,.sbo-caption){text-transform:none}
html[lang="he"] .sbo-caption{letter-spacing:.04em}

/* Latin product words inside Hebrew sentences keep their own direction, so
   a full stop after "Correct" lands after the t and not in front of the C */
html[lang="he"] .plan-name,
html[lang="he"] .brand-word,
html[lang="he"] .tr-lang b,
html[lang="he"] .store-text{direction:ltr;unicode-bidi:isolate}

/* The translate mark is an exchange, not a direction: the two arrows already
   point at each other, so mirroring it produces the same mark and the flip is
   not worth the rule. What does turn around is the panel, and it does that by
   itself — everything in it is a logical property. */

/* the read-out is a list of names in three scripts; keep it in one order */
.kb-readout{unicode-bidi:isolate}

/* ============================================================
   STORE CONTROLS — a little more presence
   ============================================================ */
.store-badge{min-width:min(100%,232px)}
.store-text b{font-size:1.17rem}

/* ============================================================
   V3 · THE CURRENT PRODUCT
   Everything below draws the product as it ships today: three
   different jobs, Write as its own input model, the everyday
   keyboard with its strip and Quick Settings, Translate as a key
   with a badge and a hold.
   Product surfaces are always dark or light *keyboard* material
   (keyboard.css tokens), never the page's ivory.
   ============================================================ */

/* ---- shared: the kicker can carry the product's mark ---- */
.kicker{display:flex;align-items:center;gap:10px}
.kicker-mark{
  width:28px;height:24px;border-radius:6px;display:grid;place-items:center;flex:none;
  background:#2C2F33;color:#D6D9DC;
}
.light .kicker-mark{background:var(--c-ink);color:#EDEEEF}
.kicker-mark svg{width:14px;height:14px}

/* ---- shared: a caret and a field that is being typed into ---- */
.caret{
  display:none;width:1.5px;height:1em;vertical-align:-.16em;margin-inline-start:2px;
  background:#8FD9B4;
}
.typing .caret{display:inline-block}
@media (prefers-reduced-motion:no-preference){
  .typing .caret{animation:caret 1s steps(2,end) infinite}
}
@keyframes caret{50%{opacity:0}}

/* ---- shared: the product card's own states on the site ---- */
.kb-card{transform-origin:bottom center}
.kb-thinking{font-size:12px;color:var(--ink-dim);font-weight:500}
.kb-thinking[hidden]{display:none}
.kb-card-actions{transition:opacity .26s ease}
.kb-card-actions.waiting{opacity:0;pointer-events:none}
.kb-card-actions[hidden]{display:none}
@media (prefers-reduced-motion:no-preference){
  .has-js .phone-kb .kb-card:not([hidden]){animation:card-in .42s cubic-bezier(.22,1,.36,1) both}
}
@keyframes card-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
button.kb-btn{cursor:pointer}
button.kb-btn:hover{filter:brightness(1.08)}
.kb-card :where(button):focus-visible{outline:2px solid #8FA9CF;outline-offset:2px;border-radius:8px}
.kb-card-body .w-new{color:inherit}

/* Which words are Correct's. In the jobs and Write demos the answer arrives
   with the words it wrote tinted and the writer's own words plain — Tidy is
   almost all plain, Write almost all tinted, which is the point. The product
   card itself carries no such mark: the product does not draw one. */
.job-out .w-new,.wcase-result .w-new{color:#9FD2B4}
.kb-card-body .w-new{color:inherit}

.hero-replay{
  margin-top:14px;align-self:center;
  opacity:0;visibility:hidden;
  font-size:.82rem;color:var(--c-on-dark-3);
  padding:9px 14px;border-radius:9px;min-height:40px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
  transition:opacity .3s ease,visibility .3s,color .16s,box-shadow .16s;
}
.hero-replay:hover{color:var(--c-on-dark);box-shadow:inset 0 0 0 1px rgba(255,255,255,.26)}
.hero-replay.show{opacity:1;visibility:visible}

/* ============================================================
   THREE JOBS
   ============================================================ */
.jobs{margin-top:clamp(8px,1vw,14px)}
.jobs-row{
  display:flex;gap:6px;padding:8px;border-radius:18px;
  background:#151618;max-width:600px;margin:0 auto clamp(16px,2vw,24px);
  box-shadow:0 24px 40px -30px rgba(0,0,0,.7);
}
.jobs-row[hidden]{display:none}
.jobs-row .chip{height:46px;font-size:15px;cursor:pointer;min-width:0}
.jobs-row .chip > svg{width:16px;height:16px}
.jobs-row .chip:hover{color:var(--ink)}
.jobs-row .chip.on{background:#4A4D52;color:var(--ink)}
.jobs-row .chip:focus-visible{outline:2px solid #8FA9CF;outline-offset:2px}
.jobs-row .chip.tr{flex:0 0 64px;color:#6E7176;cursor:default}

.job{
  border-radius:26px;padding:clamp(18px,2.4vw,32px);
  background:#FFFEFB;box-shadow:inset 0 0 0 1px var(--c-line-light),0 30px 60px -48px rgba(30,26,16,.5);
}
.job + .job{margin-top:16px}
.jobs.tabbed .job{display:none}
.jobs.tabbed .job.current{display:block}
@media (prefers-reduced-motion:no-preference){
  .jobs.tabbed .job.current{animation:job-in .38s cubic-bezier(.22,1,.36,1) both}
}
@keyframes job-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.job-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:clamp(16px,2vw,24px)}
.job-key{
  display:inline-flex;align-items:center;gap:8px;
  font-size:1rem;font-weight:600;letter-spacing:0;
  padding:8px 13px;border-radius:9px;background:#2C2F33;color:#F1F2F4;
}
.job-key svg{width:16px;height:16px}
.jobs.tabbed .job-key{display:none}
.job-who{
  margin:0;font-family:var(--c-display);font-weight:500;letter-spacing:-.018em;
  font-size:clamp(1.3rem,2.3vw,1.85rem);line-height:1.18;color:var(--c-on-light);
}
.job-who em{font-style:normal;color:#7A7B77}
.job-flow{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:clamp(10px,1.6vw,18px);align-items:stretch;
}
.job-in,.job-out{border-radius:18px;padding:clamp(14px,1.8vw,20px);min-width:0}
.job-in{background:rgba(20,22,26,.035);box-shadow:inset 0 0 0 1px var(--c-line-light)}
.job-out{background:#151618;color:#F1F2F4}
.job-label{
  display:flex;align-items:center;gap:7px;margin-bottom:10px;
  font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--c-on-light-2);
}
.job-label svg{width:13px;height:13px;flex:none}
.job-out .job-label{color:#8C9096}
.job-text{margin:0;font-size:clamp(.98rem,1.2vw,1.06rem);line-height:1.55;white-space:pre-line}
.job-text.raw{color:#55575A}
.job-out .job-text{color:#F1F2F4}
.job-arrow{display:grid;place-items:center;color:#9A9C98}
.job-arrow svg{width:34px;height:12px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.job-rules{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,2vw,28px);
  margin:clamp(16px,2vw,24px) 0 0;padding-top:clamp(14px,1.8vw,20px);
  border-top:1px solid var(--c-line-light);
}
.job-rules dt{
  font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--c-green-ink);margin-bottom:6px;
}
.job-rules div + div dt{color:#8A5A1C}
.job-rules dd{margin:0;font-size:.95rem;line-height:1.52;color:var(--c-on-light-2)}
.jobs-foot{margin-top:14px}
@media (max-width:760px){
  .job-flow{grid-template-columns:1fr}
  .job-arrow svg{transform:rotate(90deg)}
  .job-rules{grid-template-columns:1fr}
  .jobs-row .chip{font-size:14px}
}
@media (max-width:400px){
  .jobs-row{padding:6px;gap:5px}
  .jobs-row .chip{font-size:13px;gap:5px;height:44px}
  .jobs-row .chip.tr{flex-basis:48px}
  .jobs-row .chip.tr .badge{display:none}
}

/* ============================================================
   WRITE
   ============================================================ */
.write-rule{
  font-family:var(--c-display);font-weight:500;letter-spacing:-.022em;
  font-size:clamp(1.6rem,3.4vw,2.75rem);line-height:1.1;color:#F3F1EB;
  margin:clamp(34px,4.4vw,60px) 0 clamp(26px,3vw,40px);max-width:22em;text-wrap:balance;
}
.write-rule strong{font-weight:inherit;color:#6FB58C}
.write-rule span{color:#8E918C}
.wdemo{
  border-radius:28px;padding:clamp(14px,2vw,26px);
  background:#131517;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 40px 70px -50px rgba(0,0,0,1);
}
.wdemo-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:clamp(14px,1.8vw,20px)}
.wdemo-tabs[hidden]{display:none}
.wtab{
  padding:10px 15px;border-radius:11px;min-height:42px;
  font-size:.88rem;font-weight:500;color:#BFC2C6;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
  transition:background-color .16s,color .16s,box-shadow .16s;
}
.wtab:hover{color:#F1F2F4;box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
.wtab.on{background:#EFEDE7;color:#14161A;font-weight:600;box-shadow:none}
.wcase + .wcase{margin-top:26px;padding-top:26px;border-top:1px solid rgba(255,255,255,.08)}
.wdemo.tabbed .wcase{display:none;margin:0;padding:0;border:0}
.wdemo.tabbed .wcase.current{display:block}
.wcase-tab{font-size:1rem;color:#F1F2F4;margin-bottom:12px}
.wdemo.tabbed .wcase-tab{display:none}
.wcase-flow{
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:clamp(10px,1.6vw,18px);align-items:stretch;
}
.wcase-brief,.wcase-result{border-radius:18px;padding:clamp(14px,1.8vw,20px);min-width:0}
.wcase-brief{background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.wcase-brief .job-label,.wcase-result .job-label{color:#8C9096}
.wcase-brief .job-text{color:#C9CCD0}
.wcase-brief mark{background:rgba(111,181,140,.2);color:#E3F3E9;border-radius:4px;padding:0 3px}
.wcase-result{background:#1C1E21;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.wcase-result .job-text{color:#F1F2F4;font-size:clamp(1.02rem,1.3vw,1.12rem)}
.wcase.pending .wcase-result .job-text{opacity:.4}
.wcase-bad{margin:14px 0 0;padding-top:12px;border-top:1px dashed rgba(255,255,255,.1)}
.wcase-bad .job-label{color:#D9A84E}
.wcase-bad s{color:#8C9096;font-size:.93rem;line-height:1.5;text-decoration-color:rgba(217,168,78,.65)}
.wcase-why{
  margin:14px 2px 0;font-size:.95rem;line-height:1.5;color:#B4B7B2;
  border-inline-start:2px solid #6FB58C;padding-inline-start:12px;
}
.wdemo .job-arrow{color:#5E6166}
@media (max-width:760px){
  .wcase-flow{grid-template-columns:1fr}
  .wdemo .job-arrow svg{transform:rotate(90deg)}
}

/* the two ledgers: what a brief can authorise, and what nothing can */
.ledger{display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,3vw,44px);margin-top:clamp(32px,4vw,56px)}
.ledger h3{font-size:1rem;margin-bottom:14px;color:var(--c-on-dark)}
.ok-list{display:grid;gap:9px}
.ok-list li{font-size:.95rem;color:#C9CCC8;padding-inline-start:18px;position:relative}
.ok-list li::before{content:"";position:absolute;inset-inline-start:0;top:.6em;width:7px;height:7px;border-radius:50%;background:#6FB58C}
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chips li{
  font-size:.86rem;padding:6px 11px;border-radius:9px;
  border:1px solid var(--c-line-light);color:var(--c-on-light-2);background:rgba(255,255,255,.5);
}
.dark .chips li{border-color:rgba(255,255,255,.14);color:var(--c-on-dark-2);background:rgba(255,255,255,.03)}
.chips.never li{color:#9A9C98;text-decoration:line-through;text-decoration-color:rgba(255,255,255,.3)}
@media (max-width:760px){.ledger{grid-template-columns:1fr}}

.versus{margin-top:clamp(34px,4.4vw,60px);padding-top:clamp(26px,3vw,40px);border-top:1px solid rgba(255,255,255,.1)}
.versus-h{font-size:clamp(1.1rem,1.8vw,1.4rem);margin-bottom:clamp(14px,2vw,22px);color:var(--c-on-dark)}
.versus-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,2vw,20px)}
.versus-cell{
  display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;
  padding:clamp(16px,2vw,22px);border-radius:18px;background:rgba(255,255,255,.03);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.versus-cell p{margin:0;font-size:.97rem;line-height:1.55;color:#B8BBB6}
.versus-cell strong{color:#F1F2F4;font-weight:600}
.versus-mark{width:36px;height:32px;border-radius:7px;display:grid;place-items:center;background:#2C2F33;color:#D6D9DC}
.versus-mark svg{width:17px;height:17px}
.versus .micro{margin-top:16px;max-width:52em}
@media (max-width:760px){.versus-grid{grid-template-columns:1fr}}

/* ============================================================
   THE EVERYDAY KEYBOARD — the module, the strip, Quick Settings
   ============================================================ */
.kb-module{
  max-width:1120px;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  align-items:start;
}
.kb-main{display:grid;gap:clamp(10px,1.3vw,14px);min-width:0}
.kb-stage{border-radius:22px;padding:clamp(14px,1.9vw,22px) clamp(10px,1.5vw,18px)}
.kb-stage[data-theme="dark"]{background:#0E1012}
.kb-stage[data-theme="light"]{background:#E4E1DA}
.kb-field{
  max-width:430px;margin:0 auto 12px;border-radius:14px;padding:11px 14px;min-height:46px;
  font-size:1rem;line-height:1.45;background:#1E2124;color:#F1F2F4;
  transition:background-color .3s ease,color .3s ease;
}
.kb-stage[data-theme="light"] .kb-field{background:#FFFFFF;color:#1B1A18;box-shadow:inset 0 0 0 1px rgba(62,59,53,.14)}
.kb-field-label{display:block;font-size:.64rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#8C9096;margin-bottom:4px}
.kb-holder{max-width:430px;margin-inline:auto;transition:height .36s cubic-bezier(.22,1,.36,1)}
.kb-holder .kb .kb-card{position:static;margin:0 0 8px}
.kb-holder .kb,.phone-kb .kb{border-radius:12px}
.phone-kb .kb{border-radius:0}

.kb-side{display:grid;gap:clamp(20px,2.4vw,28px);align-content:start;min-width:0}
.side-h{font-size:1rem;letter-spacing:-.01em;margin-bottom:10px;color:var(--c-on-light)}
.typing-steps{display:grid;gap:6px;margin-bottom:10px}
.ts-btn{
  width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;
  text-align:start;padding:11px 13px;border-radius:14px;
  box-shadow:inset 0 0 0 1px var(--c-line-light);background:rgba(255,255,255,.5);
  transition:background-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.ts-btn:hover{box-shadow:inset 0 0 0 1px rgba(20,22,26,.26)}
.ts.on .ts-btn{background:var(--c-ink);color:#F2F1EC;box-shadow:none}
.ts-n{
  width:24px;height:24px;border-radius:50%;display:grid;place-items:center;margin-top:1px;
  font-size:.72rem;font-weight:700;box-shadow:inset 0 0 0 1px currentColor;color:#7A7B77;
}
.ts-body{min-width:0}
.ts-body b{display:block;font-size:.95rem;font-weight:600}
.ts-note{display:block;font-size:.85rem;line-height:1.45;color:var(--c-on-light-2);margin-top:2px}
.ts.on .ts-note{color:#A9ACA8}
.ts-mock{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:7px;font-size:.8rem;color:#7A7B77}
.ts.on .ts-mock{color:#8C9096}
.ts-text{font-style:italic}
.ts-strip b{display:inline;font-size:inherit;color:var(--c-green-ink)}
.ts.on .ts-strip b{color:#8FD9B4}
.has-js .ts-mock{display:none}
.has-js .ts.on .ts-mock{display:flex}

.qs-p{font-size:.9rem;color:var(--c-on-light-2);margin:0 0 12px}
.qs-block .qs{max-width:380px;box-shadow:0 24px 40px -30px rgba(0,0,0,.6)}
.qs-tile{min-height:72px}
.qs-auto{display:none}
.qs-tile.auto .qs-auto{display:inline}
.qs-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.qs-done{cursor:default}
@media (max-width:980px){
  .kb-module{grid-template-columns:1fr}
}

/* ============================================================
   TRANSLATE
   ============================================================ */
.tr-demo{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(22px,4vw,60px);align-items:start;margin-top:clamp(34px,4.4vw,60px);
}
.tr-stage{
  border-radius:26px;padding:clamp(14px,2vw,22px);min-width:0;
  background:#0E1012;box-shadow:0 0 0 1px rgba(20,22,26,.1),0 34px 70px -42px rgba(0,0,0,.62);
}
.tr-stage .kb-field{margin-bottom:12px}
.tr-stage .kb-holder{max-width:430px}
.tr-chooser[hidden]{display:none}
.tr-chooser-title{font-size:13px;font-weight:600;color:var(--ink);margin:0 2px 8px}
.tr-langs{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tr-lang{
  display:inline-flex;align-items:baseline;gap:6px;min-height:36px;
  padding:8px 10px;border-radius:8px;background:var(--chip);color:var(--ink-soft);
  font-size:13.5px;cursor:pointer;border:0;font-family:inherit;
  box-shadow:inset 0 0 0 1.5px transparent;
}
.tr-lang b{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--ink-dim)}
.tr-lang[aria-selected="true"]{box-shadow:inset 0 0 0 1.5px var(--accent);color:var(--ink)}
.tr-lang:hover{color:var(--ink)}
.tr-lang:focus-visible,.tr-done:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tr-more{font-size:12.5px;color:var(--ink-dim);padding:0 4px}
.tr-done{margin-inline-start:auto;color:var(--accent);font-weight:600;font-size:14px;padding:8px 6px;background:none;border:0;cursor:pointer;font-family:inherit}
.tr-out[hidden]{display:none}
.tr-how{display:grid;gap:12px;margin-bottom:clamp(16px,2vw,22px)}
.tr-how li{font-size:1rem;line-height:1.5;color:var(--c-on-light-2)}
.tr-how b{color:var(--c-on-light);font-weight:600}
/* #reply: the four steps beside the three truths; one column on a phone */
.reply-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);margin-top:clamp(24px,3vw,40px);align-items:start}
.reply-how{counter-reset:rs;gap:16px}
.reply-how li{counter-increment:rs;position:relative;padding-inline-start:40px}
.reply-how li::before{content:counter(rs);position:absolute;inset-inline-start:0;top:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--c-green);color:#fff;font-size:.85rem;font-weight:600}
@media (max-width:900px){.reply-grid{grid-template-columns:minmax(0,1fr)}}
.tr-try{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:clamp(20px,2.4vw,28px)}
.tr-try[hidden]{display:none}
.tr-try .btn{min-height:44px}
.tr-side{padding-top:clamp(2px,.6vw,8px)}
.tr-side .truths li,.reply-grid .truths li{color:var(--c-on-light-2)}
.tr-side .truths strong,.reply-grid .truths strong{color:var(--c-on-light)}
.tr-all{margin-top:clamp(26px,3vw,40px);border-top:1px solid var(--c-line-light)}
.tr-all summary{
  cursor:pointer;list-style:none;padding:18px 0;padding-inline-end:30px;position:relative;
  font-weight:600;color:var(--c-on-light);
}
.tr-all summary::-webkit-details-marker{display:none}
.tr-all summary::after{
  content:"";position:absolute;inset-inline-end:4px;top:50%;width:9px;height:9px;
  border-inline-end:1.6px solid currentColor;border-bottom:1.6px solid currentColor;
  transform:translateY(-70%) rotate(45deg);transition:transform .2s ease;
}
.tr-all[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.tr-all-list{columns:4 11em;column-gap:22px;margin:0 0 14px;padding:0}
.tr-all-list li{break-inside:avoid;padding:4px 0;font-size:.93rem;color:var(--c-on-light)}
.tr-all-list b{display:inline-block;min-width:2.8em;font-size:.72rem;letter-spacing:.06em;color:var(--c-on-light-2)}
@media (max-width:900px){
  .tr-demo{grid-template-columns:1fr;gap:clamp(24px,5vw,34px)}
  .tr-side{padding-top:0}
}

.truths{display:grid;gap:14px}
.truths li{font-size:.95rem;color:var(--c-on-dark-2);line-height:1.52}
.truths strong{color:var(--c-on-dark);font-weight:600}

/* ---- right to left, for the new parts ---- */
[dir="rtl"] .job-arrow svg{transform:scaleX(-1)}
@media (max-width:760px){
  [dir="rtl"] .job-arrow svg{transform:rotate(90deg)}
}
html[lang="he"] :is(.job-label,.kb-field-label,.job-rules dt){text-transform:none;letter-spacing:.04em}
html[lang="he"] .job-who{font-weight:700;line-height:1.3}
html[lang="he"] .write-rule{font-weight:700;line-height:1.2}
.legend-new{color:#3F7D59}
.dark .legend-new{color:#9FD2B4}
.wdemo-legend{margin:14px 2px 0}
html:not(.has-js) .legend-new{display:none}
.ts.on .ts-n{color:#C9CCD0}

/* the brand object is a Latin word in every language: it reads C o r r e c t
   left to right on a Hebrew page too */
.sbo{direction:ltr}

/* ============================================================
   TRY IT — the live demo (#try)
   The product's keyboard under a chat; every key on the action
   row presses. demo.js drives it, assets/content.js (LIVE) holds
   its words. The deck here wears the product's CURRENT dark
   theme (KeyboardTheme.kt:284-326 — deck #232323, keys #464646,
   pressed #6B6B6B, card #2C2C2E), scoped to this phone.
   ============================================================ */
.ld{
  display:grid;align-items:start;
  grid-template-columns:minmax(0,1fr) minmax(0,372px);
  grid-template-areas:"steps visual" "guide visual" "foot visual";
  grid-template-rows:auto auto 1fr;
  column-gap:clamp(28px,6vw,96px);row-gap:20px;
  margin-top:clamp(26px,3.6vw,46px);
}
.ld-steps{grid-area:steps;display:grid;gap:8px;max-width:520px}
.ld-visual{grid-area:visual;margin:0;display:flex;flex-direction:column;align-items:center;min-width:0}
.ld-guide{grid-area:guide;max-width:520px;display:grid;gap:12px;align-content:start}
.ld-foot{grid-area:foot;max-width:520px;display:grid;gap:14px;align-content:start}

.ld-step{
  width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:start;
  text-align:start;padding:12px 14px;border-radius:14px;
  box-shadow:inset 0 0 0 1px var(--c-line-light);background:rgba(255,255,255,.55);
  transition:background-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.ld-step:hover{box-shadow:inset 0 0 0 1px rgba(20,22,26,.28)}
.ld-step:focus-visible{outline:2px solid var(--c-green);outline-offset:2px}
.ld-step.on{background:var(--c-ink);color:#F2F1EC;box-shadow:none}
.ld-step-mark{
  width:30px;height:26px;border-radius:6px;display:grid;place-items:center;flex:none;margin-top:1px;
  background:#2C2F33;color:#E6E8EA;
}
.ld-step.on .ld-step-mark{background:#464646;color:#fff}
.ld-step-mark svg{width:15px;height:15px}
.ld-step-text{min-width:0}
.ld-step-text b{display:block;font-size:.98rem;font-weight:600;line-height:1.35}
.ld-step-text span{display:block;font-size:.86rem;line-height:1.45;color:var(--c-on-light-2);margin-top:1px}
.ld-step.on .ld-step-text span{color:#A9ACA8}

.ld-hint{
  margin:0;min-height:3.1em;font-size:1rem;line-height:1.5;color:var(--c-on-light);
  padding-inline-start:14px;border-inline-start:2px solid var(--c-green);
}
html:not(.has-js) .ld-hint{display:none}
.ld-langs{display:flex;flex-wrap:wrap;gap:6px}
.ld-langs[hidden]{display:none}
.ld-lang{
  padding:8px 14px;border-radius:999px;min-height:40px;font-size:.9rem;font-weight:500;
  box-shadow:inset 0 0 0 1px var(--c-line-light);background:rgba(255,255,255,.55);color:var(--c-on-light);
}
.ld-lang[aria-pressed="true"]{background:var(--c-ink);color:#F2F1EC;box-shadow:none}
.ld-lang:focus-visible,.ld-replay:focus-visible{outline:2px solid var(--c-green);outline-offset:2px}
.ld-replay{
  justify-self:start;display:inline-flex;align-items:center;gap:8px;min-height:40px;
  padding:8px 14px;border-radius:10px;font-size:.88rem;font-weight:600;color:var(--c-on-light);
  box-shadow:inset 0 0 0 1px rgba(20,22,26,.2);
}
.ld-replay:hover{box-shadow:inset 0 0 0 1px rgba(20,22,26,.4)}
.ld-replay svg{width:16px;height:16px}
[dir="rtl"] .ld-replay svg{transform:scaleX(-1)}
.ld-replay[hidden]{display:none}
.ld-note{max-width:34em}

/* ---- the phone ---- */
.ld-phone{box-shadow:0 0 0 1px rgba(255,255,255,.06),0 30px 60px -28px rgba(20,16,8,.55),0 70px 110px -60px rgba(20,16,8,.5)}
.ld-phone[data-theme="dark"]{
  --deck:#232323;
  --key:#464646;  --key-press:#6B6B6B;  --key-shadow:transparent;
  --mod:#464646;  --mod-press:#6B6B6B;  --mod-shadow:transparent;
  --chip:#464646; --chip-press:#6B6B6B;
  --ink:#FFFFFF;  --ink-soft:#FFFFFF;   --ink-dim:#8E8E93;
  --hint:rgba(255,255,255,.36);
  --predict-ink:#DCDCDC;
  --rule:rgba(255,255,255,.12);
  --card:#2C2C2E; --card-rim:rgba(255,255,255,.08);
  --well:#232323;
  --running:#6FB58C;
}
.ld-phone[data-theme="light"]{--running:#2E7D57}
.ld-phone .phone-kb{background:var(--deck)}
.ld-phone .phone-screen{height:clamp(640px,62vw,700px)}

.ld-chat{position:relative}
.ld-day{
  align-self:center;margin:0 0 auto;padding:3px 10px;border-radius:999px;
  font-size:.68rem;font-weight:600;color:#8C8F8D;background:rgba(255,255,255,.05);
}
.bubble.me{align-self:flex-end;background:#1E3A2E;color:#DDEBE2;border-end-end-radius:6px}
.bubble[hidden],.ld-in[hidden]{display:none}
.ld-chat .bubble{unicode-bidi:plaintext;text-align:start}
.ld-in{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%}
.ld-in .bubble{cursor:pointer;max-width:86%}
.ld-in.arrive{animation:ld-arrive .5s cubic-bezier(.22,1,.36,1) both}
@keyframes ld-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* the long-press menu, the messenger's own */
.ld-menu{
  display:flex;padding:4px;border-radius:12px;background:#2B2F33;
  box-shadow:0 10px 24px -8px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.06);
}
.ld-menu[hidden]{display:none}
.ld-copy{
  display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 12px;border-radius:9px;
  font-size:.82rem;font-weight:600;color:#ECEEEF;
}
.ld-copy:hover,.ld-copy.tap{background:rgba(255,255,255,.1)}
.ld-copy:focus-visible{outline:2px solid #8FA9CF;outline-offset:1px}
.ld-copy svg{width:16px;height:16px}
.ld-toast{
  position:absolute;left:50%;top:10px;transform:translateX(-50%);margin:0;
  padding:6px 13px;border-radius:999px;background:rgba(236,238,239,.92);color:#151618;
  font-size:.74rem;font-weight:600;white-space:nowrap;pointer-events:none;
}
.ld-toast[hidden]{display:none}
.ld-phone .compose-field[dir="rtl"]{text-align:right}
.ld-phone .compose-field[dir="ltr"]{text-align:left}

/* ---- the row: real buttons, the size never changes with the word ---- */
.ld-phone .ai{position:relative}
.ld-phone .chip{border:0;font-family:inherit;cursor:pointer;padding:0 4px;color:var(--ink-soft)}
.ld-phone .chip > span:first-of-type{overflow:hidden;text-overflow:ellipsis;min-width:0}
.ld-phone .chip.tr{padding:0 6px}
.ld-phone .chip.on,.ld-phone .chip.tap{background:var(--chip-press);color:var(--ink)}
.ld-phone .chip:focus-visible{outline:2px solid #8FA9CF;outline-offset:2px}
.ld-phone .kb-btn.tap,.ld-phone .ld-p-btn.tap{filter:brightness(1.25)}

/* the running hairline and the still outline: an overlay on the key's box */
.ld-ring{position:absolute;pointer-events:none;z-index:2;color:var(--running)}
.ld-ring svg{position:absolute;inset:0;display:block;overflow:hidden}
.ld-ring rect{fill:none;stroke:var(--running);stroke-width:1.6;stroke-linecap:round}
.ld-halo{position:absolute;inset:0;opacity:0}

/* ---- the card, product-flat ---- */
.ld-phone .kb-card{box-shadow:inset 0 0 0 1px var(--card-rim)}
.ld-phone .kb-card-body{background:#1C1C1E;white-space:pre-line}
.ld-phone .kb-card-body[dir="rtl"]{text-align:right}
.ld-phone .kb-card-body[dir="ltr"]{text-align:left}
.ld-phone .kb-btn{cursor:pointer;background:#3A3A3C}
.ld-phone .kb-btn.primary{background:#E6E8EA;color:#101214;box-shadow:none}

/* ---- the reply panels, in the letter keys' place (ReplyPanelView) ---- */
/* s21: the card sits between the row and the letters; only the suggestion row folds away */
.kb.ld-paneled .strip{display:none}
.ld-panel{display:flex;flex-direction:column;padding:2px 12px 8px;color:#F2F2F7}
.ld-panel[hidden]{display:none}
.ld-p-head{display:flex;align-items:center;min-height:32px;gap:0}
.ld-p-title{font-size:14px;font-weight:600;color:#F2F2F7;white-space:nowrap}
.ld-p-suffix{font-size:14px;color:#8E8E93;flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-inline-start:4px}
.ld-p-close{width:44px;height:44px;margin:-6px -12px -6px 0;display:grid;place-items:center;color:#8E8E93;flex:none}
[dir="rtl"] .ld-p-close{margin:-6px 0 -6px -12px}
.ld-p-close svg{width:18px;height:18px}
/* the text: 17 on 24, the reply 19 on 26, at most four lines and then it scrolls (s21) */
.ld-p-body{max-height:calc(24px * 5);overflow-y:auto}
.ld-p-main{margin:0;font-size:17px;line-height:24px;color:#FFFFFF}
.ld-p-main.dim{font-size:16px;line-height:22px;color:#8E8E93}
.ld-p-main.answer{font-size:19px;line-height:26px}
.ld-p-howto{margin:0;padding-top:8px;font-size:13px;line-height:18px;color:#8E8E93}
.ld-p-label.listen{padding-top:8px;color:#6FB58C}
.ld-p-heard{margin:2px 0 0;font-size:16px;line-height:22px;color:#D1D1D6;min-height:22px}
.ld-p-main[dir="rtl"],.ld-p-original[dir="rtl"]{text-align:right}
.ld-p-main[dir="ltr"],.ld-p-original[dir="ltr"]{text-align:left}
[data-lang="he"] .ld-panel{font-family:var(--hebrew)}
.ld-p-main[lang="ru"],.ld-p-main[lang="en"],.ld-p-original[lang="en"]{font-family:var(--sans)}
.ld-p-toggle{display:inline-flex;align-items:center;gap:4px;padding:10px 0 4px;font-size:14px;color:#8E8E93;font-family:inherit}
.ld-p-toggle svg{width:11px;height:11px}
.ld-p-original{margin:2px 0 0;font-size:15px;line-height:22px;color:#8E8E93}
.ld-p-original[hidden]{display:none}
.ld-p-rule{height:1px;background:rgba(255,255,255,.09);margin:12px 0 10px}
.ld-p-label{margin:0;font-size:13px;color:#8E8E93}
.ld-p-gloss{margin:2px 0 0;font-size:16px;line-height:22px;color:#D1D1D6}
.ld-p-btns{display:flex;gap:8px;margin-top:10px}
.ld-p-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
  border-radius:12px;padding:0 12px;font-family:inherit;white-space:nowrap;
}
.ld-p-btn{flex:1 1 0;min-width:0;height:44px}
.ld-p-btn.primary{background:#E6E8EA;color:#101214;font-size:16px;font-weight:600}
.ld-p-btn.secondary{background:#464646;color:#FFFFFF;font-size:16px;font-weight:500}
.ld-p-btn svg{width:19px;height:19px;stroke:currentColor;fill:none}
.ld-p-btn:focus-visible,.ld-p-close:focus-visible,.ld-p-toggle:focus-visible{outline:2px solid #8FA9CF;outline-offset:2px}

@media (prefers-reduced-motion:reduce){
  .ld-step,.ld-ring,.ld-in.arrive{transition:none;animation:none}
}

/* ---- one column: steps, the phone, then what to press ---- */
@media (max-width:900px){
  .ld{grid-template-columns:minmax(0,1fr);grid-template-areas:"guide" "visual" "steps" "foot";grid-template-rows:auto;row-gap:16px}
  .ld-steps{display:flex;flex-wrap:wrap;gap:6px;max-width:none}
  .ld-steps li{flex:1 1 auto}
  .ld-step{grid-template-columns:auto auto;align-items:center;justify-content:center;gap:7px;padding:8px 11px;border-radius:999px}
  .ld-step-mark{width:auto;height:auto;background:none;color:inherit;margin:0}
  .ld-step.on .ld-step-mark{background:none}
  .ld-step-text b{font-size:.86rem;white-space:nowrap}
  .ld-step-text span{display:none}
  .ld-guide,.ld-foot{max-width:none}
  .ld-hint{min-height:0}
  .ld .phone{width:min(100%,344px)}
}
@media (max-width:600px){
  .ld .phone{width:min(100%,330px)}
  .ld-phone .phone-screen{height:640px}
}
