/* Kynetix site. Graphite, bone, one ember. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --graphite: #0B0B0C;
  --carbon: #141416;
  --carbon-2: #1B1B1E;
  --line: rgba(242, 241, 236, .12);
  --line-strong: rgba(242, 241, 236, .22);
  --bone: #F2F1EC;
  --ash: #A9A8A2;
  --ember: #FF6A3D;
  --display: "Bricolage", "Arial Black", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-cut: cubic-bezier(.7, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --nav-gap: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-gap); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--bone);
  font: 400 17px/1.6 var(--text);
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Fine static grain, under 5%. */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media print { body::after { display: none; } }

/* ── Scrollbar: a graphite rail, a bone thumb cut by an ember line ── */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--graphite); border-left: 1px solid rgba(242, 241, 236, .05); }
::-webkit-scrollbar-thumb {
  border: 3px solid var(--graphite); border-radius: 999px; min-height: 64px;
  background: linear-gradient(to bottom, transparent calc(50% - 1px), var(--ember) calc(50% - 1px), var(--ember) calc(50% + 1px), transparent calc(50% + 1px)), #3A3A3F;
}
::-webkit-scrollbar-thumb:hover { background-color: #56565C; }
::-webkit-scrollbar-thumb:active { background: var(--ember); }
::-webkit-scrollbar-corner { background: var(--graphite); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: #4A4A50 var(--graphite); scrollbar-width: thin; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(255, 106, 61, .7); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ember); }
button { font: inherit; color: inherit; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ember); color: var(--graphite); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--bone); color: var(--graphite); padding: 12px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: top .2s ease; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Wordmark (nav + footer) with a shear micro-interaction ── */
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand .bm { height: 18px; width: auto; overflow: visible; }
.bm-t { transition: transform .6s var(--spring); }
.bm-cut { transform-box: fill-box; transform-origin: 0 50%; transition: transform .6s var(--spring); }
.brand:hover .bm-t, .brand:focus-visible .bm-t { transform: translateX(150px); }
.brand:hover .bm-cut, .brand:focus-visible .bm-cut { transform: scaleX(1.5); }

/* ── Header island (desktop) ──────────────────────────── */
.top { position: absolute; inset: 0 0 auto 0; z-index: 60; padding: 14px var(--gutter) 0; pointer-events: none; display: flex; justify-content: flex-start; }
.island { pointer-events: auto; display: flex; align-items: center; gap: 10px; }
.links { display: none; }
.prog { display: none; }

@media (min-width: 860px) {
  .top { position: fixed; justify-content: center; padding: 14px 16px 0; }
  .island {
    position: relative; gap: 18px; padding: 6px 6px 6px 22px;
    background: rgba(20, 20, 22, .74);
    -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 1px 0 rgba(242, 241, 236, .05) inset, 0 18px 40px -18px rgba(0, 0, 0, .9);
    transition: padding .55s var(--spring), gap .55s var(--spring), transform .55s var(--spring), background-color .3s ease;
  }
  .links { display: flex; align-items: center; gap: 2px; position: relative; }
  .links a {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 15px 0 13px;
    border-radius: 999px; color: var(--ash); font-size: 14.5px; font-weight: 500; text-decoration: none;
    transition: color .3s ease, padding .55s var(--spring), gap .55s var(--spring);
  }
  .links a:hover { color: var(--bone); }
  .links a.on { color: var(--graphite); }
  .links .ico { width: 18px; height: 18px; }
  .links .sep { width: 1px; height: 20px; background: var(--line-strong); margin: 0 6px; }
  /* Compact while reading down: the dock folds to icons, the active pill keeps its label. */
  .top.compact .island { padding: 4px 4px 4px 18px; gap: 12px; transform: translateY(-4px); background-color: rgba(16, 16, 18, .86); }
  .top.compact .brand .bm { height: 15px; }
  .top.compact .links a:not(.on) { padding: 0 13px; gap: 0; }
  .top.compact .links a:not(.on) .lb { max-width: 0; opacity: 0; }
  .brand .bm { transition: height .55s var(--spring); }
  .island::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px;
    background: var(--ember); transform-origin: left; transform: scaleX(var(--prog, 0)); opacity: .9;
  }
}
.lb { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 8em; transition: max-width .55s var(--spring), opacity .3s ease; }
.ind {
  position: absolute; left: 0; top: 50%; height: 44px; margin-top: -22px; width: var(--w, 0px);
  transform: translateX(var(--x, 0px)); background: var(--bone); border-radius: 999px; opacity: 0; z-index: 0;
  transition: transform .6s var(--spring), width .6s var(--spring), opacity .3s ease;
}
.ind.show { opacity: 1; }
.ind.instant { transition: opacity .3s ease; }

/* ── Mobile dock (like the app's bottom dock) ───────────── */
.dock {
  position: fixed; z-index: 60; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 5px;
  background: rgba(20, 20, 22, .86);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 1px 0 rgba(242, 241, 236, .05) inset, 0 18px 40px -12px rgba(0, 0, 0, .95);
  transition: transform .55s var(--spring);
}
.dock a, .dock button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0;
  height: 50px; min-width: 50px; padding: 0 13px; border: 0; background: none; border-radius: 999px;
  color: var(--ash); text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: color .3s ease, padding .55s var(--spring), gap .55s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.dock .ind { height: 50px; margin-top: -25px; }
.dock .lb { max-width: 0; opacity: 0; }
.dock .on { color: var(--graphite); gap: 8px; padding: 0 18px 0 15px; }
.dock .on .lb { max-width: 6em; opacity: 1; }
.dock.compact { transform: translateX(-50%) translateY(4px) scale(.92); }
@media (min-width: 860px) { .dock { display: none; } }
@media (max-width: 859.98px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  :root { --nav-gap: 24px; }
}

/* ── Full-screen menu, opens from the cut line ──────────── */
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--graphite); color: var(--bone); overflow: auto;
}
.menu::backdrop { background: transparent; }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 14px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-x { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--carbon); cursor: pointer; }
.menu-list { list-style: none; margin: auto 0; padding: 32px 0; display: grid; gap: 2px; }
.menu-list a {
  display: block; padding: 6px 0; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.1rem, 11vw, 3.6rem); line-height: 1; letter-spacing: -.03em; text-decoration: none;
}
.menu-list li:nth-child(n+6) a { font-family: var(--text); font-weight: 600; text-transform: none; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ash); padding: 10px 0; }
.menu-list li:nth-child(6) { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.menu-foot { color: var(--ash); font-size: 15px; display: grid; gap: 4px; }
.menu-foot p { margin: 0; }
.menu-cut { position: fixed; left: 0; right: 0; top: 50%; height: 2px; background: var(--ember); transform: scaleX(0); pointer-events: none; }
.motion .menu[open] { animation: menu-open .6s var(--ease-cut) both; }
.motion .menu[open] .menu-cut { animation: menu-cut .6s var(--ease-cut) both; }
.motion .menu[open] .menu-list li { animation: rise .7s var(--ease-out) both; animation-delay: calc(.22s + var(--i) * 45ms); }
.motion .menu.closing { animation: menu-close .38s var(--ease-cut) both; }
@keyframes menu-open { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes menu-close { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(50% 0 50% 0); } }
@keyframes menu-cut { 0% { transform: scaleX(0); opacity: 1; } 50% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ── Custom cursor (fine pointers, motion allowed) ──────── */
/* One element, moved by one transform per frame from the latest pointer
   position, so the dot and its ring can never drift apart. Personality comes
   from shape: a stretch along fast moves, the ring cut in two on links (the
   Kynetix shear), a frame that wraps buttons, a slash on click. */
.cur { position: fixed; top: 0; left: 0; width: 0; height: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .2s ease; will-change: transform; contain: layout style; }
.cur.live { opacity: 1; transition: none; }
.cur > * { position: absolute; left: 0; top: 0; pointer-events: none; transition: transform .2s var(--ease-out), opacity .15s ease; }
.cur-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.cur-sq { position: absolute; inset: 0; }
.cur-rt, .cur-rb { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(242, 241, 236, .55); transition: transform .35s var(--spring), border-color .2s ease; }
.cur-rt { clip-path: inset(0 0 calc(50% + 1px) 0); }
.cur-rb { clip-path: inset(calc(50% + 1px) 0 0 0); }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--bone); }
.cur-blade { width: 50px; height: 2px; margin: -1px 0 0 -32px; border-radius: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; opacity: 0; }
.cur-beam { width: 2px; height: 22px; margin: -11px 0 0 -1px; border-radius: 2px; background: var(--bone); transform: scaleY(.2); opacity: 0; }
.cur-fill { width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--bone); display: grid; place-items: center; transform: scale(.3); opacity: 0; }
.cur-lb { font: 600 12px/1 var(--text); color: var(--graphite); white-space: nowrap; letter-spacing: .01em; }
/* Links: the ring is sheared like the K, an ember cut through the middle. */
.cur.is-link .cur-rt { transform: translateX(6px); border-color: var(--bone); }
.cur.is-link .cur-rb { transform: translateX(-2px); border-color: var(--bone); }
.cur.is-link .cur-blade { transform: scaleX(1); opacity: 1; }
.cur.is-link .cur-dot { transform: scale(0); }
/* Buttons: the ring steps aside and a frame wraps the button instead. */
.cur.is-btn .cur-ring { transform: scale(.5); opacity: 0; }
.cur.is-btn .cur-dot { transform: scale(.85); }
.cur-box {
  position: fixed; left: 0; top: 0; z-index: 399; pointer-events: none;
  width: 34px; height: 34px; border-radius: 17px;
  border: 1.5px solid rgba(255, 106, 61, .9); background: rgba(242, 241, 236, .035);
  opacity: 0; transition: opacity .18s ease, scale .16s ease; will-change: transform;
}
.cur-box.on { opacity: 1; }
.cur-box.morph { transition: opacity .2s ease, scale .16s ease, transform .3s var(--ease-out), width .3s var(--ease-out), height .3s var(--ease-out), border-radius .3s var(--ease-out); }
.cur-box.down { scale: .96; }
/* Cards: a bone disc with a word in it. */
.cur.is-label .cur-ring, .cur.is-label .cur-dot { transform: scale(.4); opacity: 0; }
.cur.is-label .cur-fill { transform: scale(1); opacity: 1; }
/* Text: a thin I-beam. */
.cur.is-text .cur-ring { transform: scale(.5); opacity: 0; }
.cur.is-text .cur-dot { transform: scale(.3); opacity: 0; }
.cur.is-text .cur-beam { transform: scaleY(1); opacity: 1; }
/* Press: the two halves of the ring slip along the cut. */
.cur.down .cur-rt { transform: translate(5px, -2px); }
.cur.down .cur-rb { transform: translate(-5px, 2px); }
.cur.down.is-link .cur-rt { transform: translate(10px, -2px); }
.cur.down .cur-dot { transform: scale(.6); }
.cur.down.is-label .cur-fill { transform: scale(.9); }
.cur-blade.slash { animation: cur-slash .45s var(--ease-cut); }
@keyframes cur-slash { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 100% { transform: translateX(26px) scaleX(0); opacity: .6; } }
html.cursor-on, html.cursor-on * { cursor: none !important; }

/* ── Shear headline ─────────────────────────────────────── */
/* Each line is cut through mid-cap; the top half sits 0.07 em forward and an
   ember line runs in the first cut, trailing left of the first letter. */
.shear {
  --lh: .9;
  --cut: calc(var(--lh) * .5em - .01em);
  --gap: .022em;
  --sx: .07em;
  --rest: .8em;
  position: relative;
  font-family: var(--display); font-weight: 800;
  line-height: var(--lh);
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 9vw, 6.4rem);
  padding-right: var(--sx);
  overflow-wrap: break-word;
}
.shear .sh-b, .shear .sh-t { display: block; }
.shear .sh-b {
  -webkit-mask: linear-gradient(to bottom, transparent calc(var(--cut) + var(--gap)), #000 calc(var(--cut) + var(--gap))) 0 0 / 100% calc(var(--lh) * 1em) repeat-y;
          mask: linear-gradient(to bottom, transparent calc(var(--cut) + var(--gap)), #000 calc(var(--cut) + var(--gap))) 0 0 / 100% calc(var(--lh) * 1em) repeat-y;
}
.shear .sh-t {
  position: absolute; top: 0; left: 0; right: var(--sx);
  transform: translateX(var(--sx));
  -webkit-mask: linear-gradient(to bottom, #000 var(--cut), transparent var(--cut)) 0 0 / 100% calc(var(--lh) * 1em) repeat-y;
          mask: linear-gradient(to bottom, #000 var(--cut), transparent var(--cut)) 0 0 / 100% calc(var(--lh) * 1em) repeat-y;
}
.shear .blade {
  position: absolute; left: -.17em; top: calc(var(--cut) + var(--gap) / 2 - max(.008em, 1px));
  height: max(.016em, 2px); width: calc(100% + .17em);
  background: var(--ember); border-radius: 2px;
  clip-path: inset(0 calc(100% - var(--rest)) 0 0 round 2px);
  pointer-events: none;
}
.motion .shear:not(.is-in) .sh-t { transform: none; }
.motion .shear:not(.is-in) .blade { clip-path: inset(0 100% 0 0); }
.motion .shear:not(.is-in) .sh-b { -webkit-mask-image: none; mask-image: none; }
.motion .shear:not(.is-in) .sh-t { visibility: hidden; }
.motion .shear.is-in .sh-t { transition: transform .9s var(--ease-out) .2s; }
.motion .shear.is-in .blade { animation: blade 1.1s var(--ease-cut) both; }
@keyframes blade {
  0% { clip-path: inset(0 100% 0 0 round 2px); }
  42% { clip-path: inset(0 0 0 0 round 2px); }
  100% { clip-path: inset(0 calc(100% - var(--rest)) 0 0 round 2px); }
}
/* Hover a section headline and the cut opens a little further. */
@media (hover: hover) and (pointer: fine) {
  .motion .sec-head .shear.is-in:hover .sh-t, .motion .chapter .shear.is-in:hover .sh-t, .motion .kyno-copy .shear.is-in:hover .sh-t { transform: translateX(.14em); transition: transform .5s var(--spring); }
}

/* ── Reveals ───────────────────────────────────────────── */
.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
.motion [data-reveal] { transition: opacity .8s ease, transform 1s var(--ease-out); }
.motion .promise[data-reveal] { opacity: 1; transform: none; }
.motion .promise[data-reveal] li { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.motion .promise[data-reveal].is-in li { opacity: 1; transform: none; }

/* ── Badges, buttons ───────────────────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  min-height: 58px; padding: 10px 22px 10px 16px;
  border: 1px solid var(--line-strong); border-radius: 16px;
  background: var(--carbon);
  color: var(--bone); font-weight: 500; line-height: 1.2;
  transition: border-color .3s ease, background-color .3s ease, translate .5s var(--spring);
  translate: var(--mx, 0) var(--my, 0);
}
.badge:hover { border-color: rgba(242, 241, 236, .38); }
.badge .b-ico { width: 26px; height: 26px; flex: none; }
.badge small { display: block; color: var(--ash); font-size: 12.5px; font-weight: 500; letter-spacing: .01em; }
.badge b { display: block; font-weight: 600; font-size: 16.5px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); margin-left: 6px; flex: none; }
.motion .badge .dot { animation: pulse 2.4s ease-in-out 3 2.6s; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }
.badge.dl-main { background: var(--bone); color: var(--graphite); border-color: var(--bone); text-decoration: none; min-height: 62px; }
.badge.dl-main:hover { background: #fff; border-color: #fff; }
.badge.dl-main small { color: #4A4A50; }
.badge.dl-main .b-ico { color: var(--ember); }
.badge.dl-main b { font-weight: 700; }
.badge.mini { min-height: 50px; padding: 8px 16px 8px 12px; gap: 10px; background: transparent; }
.badge.mini .b-ico { width: 20px; height: 20px; }
.badge.mini b { font-size: 14.5px; }
.badge.mini small { font-size: 11.5px; }
.badge.ios { background: transparent; border-style: dashed; border-color: rgba(242, 241, 236, .26); }
.badge.ios .b-ico { fill: none; stroke: var(--ash); stroke-width: 1.6; stroke-linecap: round; }
.badge.ios b { color: #D9D8D2; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px; font-weight: 500; color: var(--bone); text-decoration: none; translate: var(--mx, 0) var(--my, 0); transition: translate .5s var(--spring); }
.link-arrow span { background: linear-gradient(var(--ember), var(--ember)) 0 100% / 0 1px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease-out); }
.link-arrow:hover span { background-size: 100% 1px, 100% 1px; }
.link-arrow::after { content: ""; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--spring); }
.link-arrow:hover::after { transform: translateX(4px) rotate(45deg); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; padding-top: 104px; display: flex; flex-direction: column; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { margin: 0 0 clamp(28px, 5vw, 48px); }
.wm { width: 100%; height: auto; overflow: visible; display: block; }
.wm-top { transform: translateX(var(--wx, 70px)); }
.wm-cut { stroke: var(--ember); stroke-width: 17.6; stroke-linecap: round; fill: none; stroke-dasharray: 786.4 6000; }
.hero-copy { display: grid; gap: 28px; max-width: 680px; }
.tag { font-family: var(--text); font-weight: 600; font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.lede { color: var(--ash); font-size: clamp(1.05rem, 2.2vw, 1.2rem); max-width: 34em; margin: 0; }
.lede strong { color: var(--bone); font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.motion .hero .wm-top { animation: wm-top 1.25s var(--ease-out) .55s both; }
.motion .hero .wm-cut { animation: wm-cut 1.5s var(--ease-cut) .25s both; }
.motion .hero .rise { animation: rise .9s var(--ease-out) both; animation-delay: calc(1s + var(--d, 0s)); }
@keyframes wm-top { from { transform: translateX(0); } to { transform: translateX(70px); } }
@keyframes wm-cut {
  0% { stroke-dasharray: 0 6000; opacity: 0; }
  4% { opacity: 1; }
  45% { stroke-dasharray: 3762 6000; }
  100% { stroke-dasharray: 786.4 6000; opacity: 1; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-phones {
  position: relative; z-index: 1; margin-top: auto; padding-top: 56px;
  display: flex; justify-content: center; gap: clamp(12px, 3vw, 40px);
  height: clamp(280px, 42vh, 460px);
  perspective: 1600px;
}
.hero-phones .phone {
  width: clamp(200px, 26vw, 300px); flex: none;
  transform: translateY(calc(var(--py, 0px) + var(--lift, 0px))) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease-out);
}
.hero-phones .phone:nth-child(2) { --lift: -36px; }
.hero-phones .phone:nth-child(1), .hero-phones .phone:nth-child(3) { display: none; }
@media (min-width: 760px) { .hero-phones .phone:nth-child(1), .hero-phones .phone:nth-child(3) { display: block; } }
.hero-phones::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to bottom, transparent, var(--graphite)); pointer-events: none; }
.motion .hero-phones .phone { animation: phone-in 1.2s var(--ease-out) both; animation-delay: calc(1.15s + var(--d, 0s)); }
@keyframes phone-in { from { opacity: .01; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }

/* ── Phone frame ────────────────────────────────────────── */
.phone {
  position: relative; border-radius: 40px; padding: 7px;
  background: #050506;
  box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.phone .screen { position: relative; border-radius: 33px; overflow: hidden; aspect-ratio: 540 / 1152; background: #000; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── Sections ───────────────────────────────────────────── */
section { position: relative; }
.sec { padding: clamp(88px, 14vw, 180px) 0; }
.sec-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 7vw, 80px); max-width: 980px; }
.sec-head p { color: var(--ash); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 36em; margin: 0; }
.kicker { font-size: 15px; font-weight: 500; color: var(--ash); display: flex; align-items: center; gap: 10px; margin: 0; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--ember); border-radius: 2px; }

/* Product story: a sticky phone on wide screens, inline shots on phones. */
.story { padding-top: clamp(40px, 8vw, 100px); }
.story-grid { display: grid; gap: 0; }
.chapter { padding: clamp(56px, 10vw, 96px) 0; border-top: 1px solid var(--line); display: grid; gap: 22px; }
.chapter:first-child { border-top: 0; }
.chapter h2 { font-size: clamp(2.3rem, 8.4vw, 4.6rem); }
.chapter p { color: var(--ash); max-width: 32em; margin: 0; font-size: 1.08rem; }
.chapter p strong { color: var(--bone); font-weight: 500; }
.chapter .inline-shot { width: min(300px, 78vw); margin: 18px auto 0; }
.stick { display: none; }

@media (min-width: 980px) {
  .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); }
  .chapter { min-height: 92vh; align-content: center; border-top: 0; padding: 0; }
  .chapter .inline-shot { display: none; }
  .stick { display: block; grid-column: 2; grid-row: 1 / span 4; }
  .stick-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; gap: 28px; perspective: 1400px; }
  .stick .phone { width: min(340px, calc(74vh * 540 / 1152 + 14px)); }
  .chapters { grid-column: 1; grid-row: 1; }
}
.tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-out); }
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dots li { width: 2px; height: 22px; border-radius: 2px; background: var(--line-strong); transition: background-color .4s ease, height .5s var(--spring); }
.dots li.on { background: var(--ember); height: 40px; }

/* Screens that swap with a cut. */
.screens { position: relative; }
.scr { position: absolute; inset: 0; visibility: hidden; }
.scr.on, .scr.was { visibility: visible; }
.scr.was { z-index: 1; }
.scr.on { z-index: 2; }
.scr img { position: absolute; inset: 0; }
.scr .h-t { clip-path: inset(0 0 50% 0); }
.scr .h-b { clip-path: inset(50% 0 0 0); }
.motion .scr.on.cutting .h-t { animation: half-t .8s var(--ease-out) both; }
.motion .scr.on.cutting .h-b { animation: half-b .8s var(--ease-out) both; }
@keyframes half-t { from { transform: translateX(26%); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes half-b { from { transform: translateX(-26%); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
.screens .slash { position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--ember); z-index: 3; transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.motion .screens .slash.go { animation: slash .8s var(--ease-cut) both; }
@keyframes slash { 0% { transform: scaleX(0); opacity: 1; transform-origin: left; } 50% { transform: scaleX(1); opacity: 1; transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); opacity: 1; transform-origin: right; } }

/* Typing demo */
.describe {
  margin-top: 6px; max-width: 30em;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--carbon);
  padding: 14px 16px;
}
.describe .k { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--display); font-size: 15px; }
.describe .lbl { display: block; font-size: 13px; color: var(--ash); }
.describe .typed { display: block; font-weight: 500; min-height: 1.6em; }
.describe .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--ember); vertical-align: -.15em; margin-left: 2px; }
.motion .describe .caret { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.reads { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.reads li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; font-weight: 500; }
.note { font-size: 14.5px !important; color: var(--ash); }

/* ── Kyno ───────────────────────────────────────────────── */
.kyno { background: var(--carbon); border-block: 1px solid var(--line); overflow: hidden; }
.kyno-grid { display: grid; gap: 56px; align-items: center; }
.kyno-phones { position: relative; width: min(300px, 74vw); margin: 0 auto; aspect-ratio: 554 / 1166; }
.kyno-phones .phone { position: absolute; inset: 0; transition: transform .8s var(--spring), opacity .5s ease, filter .5s ease; }
.kyno-phones .k-empty { z-index: 2; }
.kyno-phones .k-answer { z-index: 1; transform: translate(16%, 3%) rotate(5deg) scale(.9); opacity: .45; filter: brightness(.6); }
.kyno-phones.swap .k-answer { z-index: 3; transform: none; opacity: 1; filter: none; }
.kyno-phones.swap .k-empty { transform: translate(-14%, 3%) rotate(-5deg) scale(.9); opacity: .45; filter: brightness(.6); }
.kyno-copy { display: grid; gap: 24px; min-width: 0; }
.kyno-copy > p { color: var(--ash); font-size: 1.1rem; max-width: 34em; margin: 0; }
.kyno-copy > .ask-hint { font-size: 15px; color: var(--ash); margin: 0 0 -8px; }
.ask-hint .coarse { display: none; }
@media (hover: none), (pointer: coarse) { .ask-hint .fine { display: none; } .ask-hint .coarse { display: inline; } }
.asks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 36em; }
.ask { border-bottom: 1px solid var(--line); position: relative; }
.ask::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.ask.open::after { transform: scaleX(1); }
.ask h3 { font: inherit; margin: 0; }
.ask-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 14px 0; border: 0; background: none; text-align: left;
  font-weight: 500; font-size: 1.05rem; line-height: 1.4; color: var(--bone); cursor: pointer;
  transition: color .3s ease, transform .45s var(--spring);
}
.ask-q i { flex: none; width: 10px; height: 10px; margin-right: 4px; border-top: 2px solid var(--ash); border-right: 2px solid var(--ash); transform: rotate(45deg); transition: transform .45s var(--spring), border-color .3s ease; }
.asks.has-open .ask:not(.open) .ask-q { color: var(--ash); }
.ask.open .ask-q { transform: translateX(6px); }
.ask.open .ask-q i { transform: rotate(135deg); border-color: var(--ember); }
.ask-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.ask.open .ask-a { grid-template-rows: 1fr; }
.ask-in { min-height: 0; overflow: hidden; }
.bubble { position: relative; margin: 0 0 18px; padding: 14px 16px 16px; background: var(--graphite); border: 1px solid var(--line); border-radius: 6px 20px 20px 20px; }
.bubble .who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ember); margin-bottom: 6px; }
.bubble .av { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 800 11px/1 var(--display); color: var(--bone); }
.bubble p { margin: 0; color: #DAD9D3; font-size: 15.5px; line-height: 1.6; }
.bubble .typer { position: absolute; left: 16px; right: 16px; top: 42px; color: #DAD9D3; font-size: 15.5px; line-height: 1.6; }
.bubble.typing p { visibility: hidden; }
.typer .dots3 { display: inline-flex; gap: 4px; padding-top: 8px; }
.typer .dots3 span { width: 6px; height: 6px; border-radius: 50%; background: var(--ash); animation: dots 1s ease-in-out infinite; }
.typer .dots3 span:nth-child(2) { animation-delay: .15s; }
.typer .dots3 span:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ask-a .bubble { opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .35s ease .1s, transform .5s var(--ease-out) .1s, filter .35s ease .1s; }
.ask.open .ask-a .bubble { opacity: 1; transform: none; filter: none; }
.no-js .ask .ask-a { grid-template-rows: 1fr; }
@media (min-width: 980px) {
  .kyno-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); }
  .kyno-phones { width: min(320px, 80%); }
}

/* ── Widgets ─────────────────────────────────────────────
   Phones: a 4-column home screen grid with two copy tiles.
   Wide screens: copy and size list on the left, a square 6 x 6 home screen
   on the right that the four real widgets fill exactly. With a fine pointer
   and motion allowed, the stage pins and the widgets land one per scroll
   step (pin + transform), the panel tilts under the pointer with a sheen
   that slides the other way, and the size list tracks what just landed. */
.widgets { padding-top: clamp(64px, 10vw, 140px); }
.wg-stage { display: grid; gap: clamp(36px, 6vw, 64px); }
.wg-copy { display: grid; gap: 24px; align-content: center; min-width: 0; }
.wg-copy > p { color: var(--ash); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 30em; margin: 0; }
.wg-steps, .wg-prog { display: none; }
.wg {
  --gap: 10px; --pad: 12px;
  --cw: calc((min(100vw - 2 * var(--gutter), 620px) - 2 * var(--pad) - 3 * var(--gap)) / 4);
  position: relative; margin: 0 auto; width: 100%; max-width: 620px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: var(--cw); gap: var(--gap);
  padding: var(--pad); border-radius: 34px;
  background: radial-gradient(120% 70% at 50% 0%, #131315 0%, #050506 55%, #000 100%);
  box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px #000;
}
.wg-cut { position: absolute; left: -28px; top: calc(var(--pad) + var(--cr, 2) * (var(--cw) + var(--gap)) - var(--gap) / 2 - 1px); width: 120px; height: 2px; border-radius: 2px; background: var(--ember); transform-origin: left; z-index: 3; pointer-events: none; }
.wg-tile { position: relative; z-index: 1; margin: 0; min-width: 0; min-height: 0; border-radius: 22px; background: #000; overflow: hidden; box-shadow: 0 0 0 1px rgba(242, 241, 236, .07); transition: transform .5s var(--spring), box-shadow .3s ease; }
.wg-tile img { width: 100%; height: 100%; object-fit: contain; }
.wg-slot, .wg-sheen { display: none; }
.t-2x2 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.t-note { grid-column: 3 / span 2; grid-row: 1 / span 2; }
.t-4x2 { grid-column: 1 / span 4; grid-row: 3 / span 2; }
.t-2x4 { grid-column: 1 / span 2; grid-row: 5 / span 4; }
.t-key { grid-column: 3 / span 2; grid-row: 5 / span 4; }
.t-4x4 { grid-column: 1 / span 4; grid-row: 9 / span 4; }
.wg-note { display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(160deg, #18181B, #0B0B0C); }
.wg-note p { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; font-size: clamp(1.05rem, 4.6vw, 1.7rem); text-transform: uppercase; }
.wg-key { margin: 0; padding: 14px; display: grid; align-content: space-evenly; gap: 10px; background: linear-gradient(200deg, #141416, #0A0A0B); }
.wg-key div { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.wg-key div:first-child { border-top: 0; padding-top: 0; }
.wg-key dt { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1; color: var(--ember); }
.wg-key dd { margin: 0; color: var(--ash); font-size: 13.5px; line-height: 1.4; }
.motion .widgets:not(.wg-pin) .wg[data-reveal] { opacity: 1; transform: none; }
.motion .widgets:not(.wg-pin) .wg[data-reveal] .wg-tile { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .7s ease, transform .9s var(--ease-out); transition-delay: calc(var(--i) * 80ms); }
.motion .widgets:not(.wg-pin) .wg[data-reveal].is-in .wg-tile { opacity: 1; transform: none; }
.motion .widgets:not(.wg-pin) .wg[data-reveal] .wg-cut { transform: scaleX(0); transition: transform 1s var(--ease-cut) .5s; }
.motion .widgets:not(.wg-pin) .wg[data-reveal].is-in .wg-cut { transform: scaleX(1); }

@media (min-width: 1100px) {
  .wg-copy .shear { font-size: clamp(2.8rem, 4.4vw, 4.6rem); }
  .wg-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; column-gap: clamp(48px, 5vw, 96px); }
  .wg-steps { display: grid; list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 30em; }
  .wg-steps li { border-bottom: 1px solid var(--line); }
  .wg-steps button {
    width: 100%; display: grid; grid-template-columns: 3.2em minmax(0, 1fr); align-items: baseline; gap: 12px;
    min-height: 48px; padding: 14px 0; border: 0; background: none; text-align: left; color: var(--ash); cursor: pointer;
    transition: color .3s ease, transform .5s var(--spring);
  }
  .wg-steps button:disabled { cursor: default; color: #DAD9D3; }
  .wg-steps b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1; color: inherit; transition: color .3s ease; }
  .wg-steps span { font-size: 15.5px; line-height: 1.45; }
  .wg-steps .done button { color: #CFCEC8; }
  .wg-steps .on button { color: var(--bone); transform: translateX(8px); }
  .wg-steps .on b, .wg-steps button:disabled b { color: var(--ember); }
  .wg {
    --gap: 12px; --pad: 14px; --cr: 4;
    --side: min(100vh - 170px, 44vw, 760px);
    --cw: calc((var(--side) - 2 * var(--pad) - 5 * var(--gap)) / 6);
    width: var(--side); max-width: none; margin: 0 0 0 auto;
    grid-template-columns: repeat(6, minmax(0, 1fr)); border-radius: 40px;
  }
  .wg-tile { border-radius: 26px; }
  .t-note, .t-key { display: none; }
  .t-4x4 { grid-column: 1 / span 4; grid-row: 1 / span 4; }
  .t-2x4 { grid-column: 5 / span 2; grid-row: 1 / span 4; }
  .t-4x2 { grid-column: 1 / span 4; grid-row: 5 / span 2; }
  .t-2x2 { grid-column: 5 / span 2; grid-row: 5 / span 2; }
}

/* Pinned: the home screen assembles as you scroll. */
/* The pinned layout comes from CSS, so the page has its final height from the
   first paint; script only decides which widgets have landed. */
@media (min-width: 1100px) and (min-height: 680px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .widgets { padding-top: 0; padding-bottom: 0; }
  .js .wg-track { height: 360vh; }
  .js .wg-stage { position: sticky; top: 0; height: 100vh; align-content: center; padding-top: 64px; }
}
.wg-pin .wg-prog { display: block; position: relative; height: 2px; max-width: 30em; border-radius: 2px; background: var(--line); overflow: hidden; }
.wg-pin .wg-prog i { position: absolute; inset: 0; background: var(--ember); transform-origin: left; transform: scaleX(var(--p, 0)); }
.wg-pin .wg-view { perspective: 1600px; }
.wg-pin .wg { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-out); }
.wg-pin .wg-slot {
  display: grid; place-items: center; position: relative; z-index: 0; border-radius: 26px;
  border: 1.5px dashed rgba(242, 241, 236, .16); color: rgba(169, 168, 162, .7);
  font: 800 1.1rem/1 var(--display); letter-spacing: -.01em;
  transition: opacity .4s ease, border-color .4s ease, color .4s ease;
}
.wg-pin .wg-slot.next { border-color: rgba(255, 106, 61, .6); color: var(--ember); }
.wg-pin .wg-slot.in { opacity: 0; }
.wg-pin .wg-tile[data-step] { opacity: 0; transform: translate3d(0, -56px, 0) scale(1.08) rotate(-1.5deg); transition: opacity .35s ease, transform .9s var(--spring); }
.wg-pin .wg-tile[data-step].in { opacity: 1; transform: none; }
.wg-pin .wg-cut { transform: scaleX(0); transition: transform .9s var(--ease-cut); }
.wg-pin .wg.cut-in .wg-cut { transform: scaleX(1); }
.wg-pin .wg-sheen {
  display: block; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(242, 241, 236, .05) 48%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: var(--gx, 50%) 0; transition: background-position .8s var(--ease-out);
}
@media (hover: hover) { .wg-pin .wg-tile.in:hover { transform: translateY(-4px); transition-duration: .5s; } }

/* ── Share cards ────────────────────────────────────────── */
.share-head { display: grid; gap: 40px; align-items: center; margin-bottom: clamp(40px, 7vw, 72px); }
.share-head .sec-head { margin-bottom: 0; }
.done-shot { display: none; }
@media (min-width: 980px) {
  .share-head { grid-template-columns: minmax(0, 1fr) 200px; }
  .share { padding-top: clamp(72px, 9vw, 120px); }
  .done-shot { display: block; transform: rotate(4deg); }
}
.cards { list-style: none; margin: 0; padding: 30px var(--gutter) 8px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cards::-webkit-scrollbar { display: none; }
.cards li { flex: none; width: min(64vw, 280px); scroll-snap-align: center; }
.cards figure { margin: 0; }
.cards .card {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 9 / 16;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px #000;
}
.cards .card img { width: 100%; height: 100%; object-fit: cover; }
/* The sticker is a transparent cut-out, so it sits on a stand-in gym photo:
   a dim, out-of-focus room with a rubber floor. */
.cards .card.sticker, .lightbox img.sticker {
  background:
    radial-gradient(18% 10% at 24% 14%, rgba(255, 236, 205, .38), transparent 70%),
    radial-gradient(14% 8% at 74% 11%, rgba(255, 236, 205, .28), transparent 70%),
    radial-gradient(70% 30% at 30% 20%, rgba(214, 170, 120, .45), transparent 72%),
    radial-gradient(30% 22% at 88% 46%, rgba(120, 140, 150, .40), transparent 70%),
    radial-gradient(22% 30% at 8% 58%, rgba(70, 50, 40, .9), transparent 70%),
    radial-gradient(100% 40% at 50% 104%, rgba(0, 0, 0, .75), transparent 75%),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, .035) 0 3px, transparent 3px 52px),
    linear-gradient(180deg, #6a5a48 0%, #4a4038 40%, #2c2622 62%, #1d1a18 63%, #141312 100%);
}
.finish { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 8px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.finish[hidden] { display: none; }
.finish button { font: inherit; font-size: 14px; color: var(--ash); background: transparent; border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; transition: background .3s ease, color .3s ease; }
.finish button[aria-pressed="true"] { background: var(--bone); color: var(--carbon); }
.finish button:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.cards figcaption { padding: 16px 2px 0; }
.cards figcaption b { display: block; font-weight: 600; }
.cards figcaption span { color: var(--ash); font-size: 15px; }
.cards-wrap { position: relative; overflow-x: clip; }
@media (min-width: 980px) {
  .cards { overflow: visible; justify-content: center; padding: 30px 0 0; gap: 0; perspective: 1400px; }
  .cards li {
    width: clamp(190px, 17vw, 240px); margin: 0 calc(-30px + var(--spread, 0px));
    transform: translateX(calc(var(--o) * -150px * (1 - var(--p, 1)))) translateY(calc((var(--o) * var(--o)) * 20px * var(--p, 1)));
    z-index: calc(10 - var(--o) * var(--o));
    transition: margin .6s var(--spring);
  }
  .cards .card {
    transform: rotate(calc(var(--o) * 5deg * var(--p, 1) * (1 - var(--flat, 0)))) translateY(var(--lift, 0px)) scale(var(--sc, 1));
    transform-origin: 50% 120%;
    transition: transform .6s var(--spring), filter .4s ease, box-shadow .4s ease;
  }
  .cards:hover { --spread: clamp(0px, calc((100vw - 1000px) / 12), 28px); }
  .cards:hover li { --flat: .5; }
  .cards li:hover { z-index: 20; --flat: 1; --lift: -18px; --sc: 1.03; }
  .cards:hover li:not(:hover) .card { filter: brightness(.62) saturate(.8); }
  .cards li:hover .card { box-shadow: 0 0 0 1px var(--line-strong), 0 50px 80px -30px #000; }
  .cards figcaption { text-align: center; opacity: var(--p, 1); padding: 24px 34px 0; font-size: 15px; }
  .cards figcaption span { font-size: 14px; }
}
.quip { margin-top: clamp(32px, 6vw, 64px); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; letter-spacing: .14em; color: var(--ash); text-align: center; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); max-height: 92vh; overflow: visible; color: var(--bone); }
.lightbox::backdrop { background: rgba(5, 5, 6, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: 18px; box-shadow: 0 0 0 1px var(--line-strong); }
.lb-cap { text-align: center; margin: 14px 0 0; color: var(--ash); font-size: 15px; }
.lb-x { position: absolute; top: -14px; right: -14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--carbon); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.motion .lightbox[open] { animation: lb-in .5s var(--spring) both; }
.motion .lightbox[open]::backdrop { animation: fade .3s ease both; }
@keyframes lb-in { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

/* ── What is Kynetix: a plain, quotable definition ───────── */
.what { padding: clamp(40px, 7vw, 88px) 0 0; }
.what-in { display: grid; gap: 18px; }
.what h2 { font: 600 15px/1.2 var(--text); color: var(--ash); display: flex; align-items: center; gap: 10px; margin: 0; }
.what h2::before { content: ""; width: 22px; height: 2px; background: var(--ember); border-radius: 2px; }
.what p { margin: 0; max-width: 46em; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: #DAD9D3; text-wrap: pretty; }
.facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; color: var(--ash); }
.facts b { color: var(--bone); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { padding-top: 0; }
.faq-grid { display: grid; gap: 32px; }
.faq .sec-head { margin-bottom: 0; align-content: start; }
.faq .shear { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.faq-more { font-size: 15.5px !important; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); position: relative; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font: 600 1.08rem/1.4 var(--text); color: var(--bone); transition: transform .45s var(--spring); }
.qa summary i { flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--ash); border-bottom: 2px solid var(--ash); transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--spring), border-color .3s ease; }
.qa[open] summary i { transform: rotate(225deg) translateY(-3px); border-color: var(--ember); }
.qa summary:hover h3 { transform: translateX(4px); }
.qa-a p { margin: 0 0 20px; max-width: 40em; color: var(--ash); font-size: 1.02rem; line-height: 1.65; }
.qa::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.qa[open]::after { transform: scaleX(1); }
.motion .qa[open] .qa-a { animation: rise .5s var(--ease-out) both; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: clamp(48px, 7vw, 120px); }
  .faq .sec-head { position: sticky; top: 110px; }
}

/* About: press screenshots */
.press-shots { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; }
.press-shots li { margin: 0; }
.press-shots a { display: grid; gap: 8px; text-decoration: none; color: var(--ash); font-size: 14px; }
.press-shots img { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--spring); }
.press-shots a:hover img { transform: translateY(-4px); }
.prose th[scope="row"] { width: 9em; }

/* ── Privacy band ───────────────────────────────────────── */
.promise { display: grid; gap: 0; border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.promise li { position: relative; display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.promise li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.promise li:hover::after { transform: scaleX(1); }
.promise b { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.1; transition: transform .45s var(--spring); }
.promise li:hover b { transform: translateX(6px); }
.promise span { color: var(--ash); }
@media (min-width: 860px) {
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
}
.after-list { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ── Closing ────────────────────────────────────────────── */
.close { padding-bottom: clamp(96px, 14vw, 160px); }
.close .shear { font-size: clamp(2.7rem, 13.5vw, 11rem); margin-bottom: clamp(36px, 6vw, 56px); }
.close p { color: var(--ash); }

/* ── Footer ─────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--ash); }
.foot .wrap { display: grid; gap: 28px; }
.foot-a p { margin: 10px 0 0; }
.foot .brand .bm { height: 16px; }
.talk { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--carbon); color: var(--ash); max-width: 34em; }
.talk b { color: var(--bone); font-weight: 600; }
.talk .path { color: var(--bone); white-space: nowrap; }
.talk a { color: var(--bone); overflow-wrap: anywhere; }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; margin-right: 12px; color: var(--bone); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--ember); }
@media (min-width: 1000px) {
  /* The brand column keeps a real minimum so long translated link rows wrap instead of squeezing it to zero. */
  .foot .wrap { grid-template-columns: minmax(18rem, 1fr) minmax(0, auto); align-items: center; column-gap: 48px; }
  .foot .wrap > * { min-width: 0; }
  .talk { grid-column: 1 / -1; order: -1; max-width: none; justify-self: stretch; margin-bottom: 12px; }
}

/* ── Legal pages ────────────────────────────────────────── */
.legal-head { padding: clamp(96px, 14vw, 140px) 0 40px; border-bottom: 1px solid var(--line); }
.legal-head .shear { font-size: clamp(2.3rem, 10vw, 6rem); margin-bottom: 24px; }
.legal-head p { color: var(--ash); max-width: 40em; margin: 0; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 0 96px; }
.legal-grid > * { min-width: 0; }
.toc { font-size: 14.5px; position: sticky; top: 0; z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter); background: rgba(11, 11, 12, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.toc details { border: 1px solid var(--line); border-radius: 14px; background: var(--carbon); }
.toc summary { cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; font-weight: 600; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .t-label { color: var(--ash); font-weight: 500; flex: none; }
.toc summary .t-now { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bone); }
.toc summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.6px solid var(--ash); border-bottom: 1.6px solid var(--ash); transform: rotate(45deg) translateY(-2px); transition: transform .3s ease; }
.toc details[open] summary::after { transform: rotate(225deg); }
.toc ol { list-style: none; counter-reset: t; margin: 0; padding: 4px 8px 10px; max-height: min(60vh, 460px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.toc li { counter-increment: t; }
.toc a {
  position: relative; display: flex; gap: 10px; align-items: baseline; padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: var(--ash); line-height: 1.35; transition: color .25s ease, background-color .25s ease;
}
.toc a::before { content: counter(t, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: 12px; color: rgba(169, 168, 162, .7); flex: none; width: 1.6em; }
.toc a:hover { color: var(--bone); }
.toc a.on { color: var(--bone); background: rgba(242, 241, 236, .06); }
.toc a.on::before { color: var(--ember); }
@media (min-width: 1000px) {
  .legal-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; padding-top: 48px; }
  .toc { position: static; margin: 0; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .toc .inner { position: sticky; top: 100px; }
  .toc details { border: 0; background: none; }
  .toc summary { pointer-events: none; padding: 0 10px; min-height: 0; margin-bottom: 10px; color: var(--bone); }
  .toc summary .t-now, .toc summary::after { display: none; }
  .toc summary .t-label { color: var(--bone); font-weight: 600; }
  .toc ol { max-height: calc(100vh - 160px); padding: 0; border-left: 1px solid var(--line); padding-left: 4px; }
  .toc ol { position: relative; }
  .toc a.on::after { content: ""; position: absolute; left: -5px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--ember); }
}
.prose { max-width: 70ch; font-size: 17px; line-height: 1.7; }
.prose h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1.15; margin: 56px 0 16px; scroll-margin-top: 8px; }
.prose h3 { scroll-margin-top: 8px; }
/* html already pads by --nav-gap; phones add room for the sticky contents bar. */
@media (max-width: 999.98px) { .prose h2, .prose h3 { scroll-margin-top: 64px; } }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 32px 0 10px; }
.prose p, .prose li { color: #D3D2CC; }
.prose strong { color: var(--bone); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--ember); }
.prose hr { display: none; }
.prose code { font-size: .92em; background: var(--carbon-2); padding: 1px 6px; border-radius: 6px; }
.prose a { overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-weight: 600; color: var(--bone); background: var(--carbon); }
.prose td { color: #D3D2CC; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 24px; }
.meta span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: var(--ash); }

/* Delete account page */
.steps { list-style: none; counter-reset: s; margin: 0 0 8px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ember); line-height: 1; }
.steps li::marker { content: none; }
.prose .steps { padding-left: 0; }
.mail { display: grid; gap: 14px; margin: 8px 0 24px; padding: 22px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--carbon); }
.mail dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.mail dt { color: var(--ash); }
.mail dd { margin: 0; color: var(--bone); font-weight: 500; overflow-wrap: anywhere; }
.btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--bone); color: var(--graphite); font-weight: 600; text-decoration: none;
  translate: var(--mx, 0) var(--my, 0);
  transition: transform .15s ease, translate .5s var(--spring), background-color .25s ease;
}
.btn:hover { text-decoration: none; background: #FFFFFF; }
.btn:active { transform: scale(.96); }

/* Download page */
.dl-head { padding-bottom: 32px; }
.dl-top { display: grid; gap: 32px; align-items: center; }
.dl-copy > p { color: var(--ash); max-width: 36em; margin: 0 0 24px; }
.dl-cta { display: grid; gap: 14px; justify-items: start; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 26px 12px 20px;
  border-radius: 20px; background: var(--bone); color: var(--graphite); text-decoration: none;
  translate: var(--mx, 0) var(--my, 0); transition: translate .5s var(--spring), transform .15s ease, background-color .2s ease;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9);
}
.dl-btn:hover { background: #FFFFFF; }
.dl-btn:active { transform: scale(.97); }
.dl-btn .b-ico { width: 26px; height: 26px; flex: none; color: var(--ember); }
.dl-btn b { display: block; font-size: 18px; font-weight: 700; }
.dl-btn small { display: block; font-size: 13px; color: #4A4A50; font-weight: 500; }
.dl-alt { margin: 0; }
.dl-alt a { display: inline-flex; min-height: 44px; align-items: center; color: var(--bone); }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.dl-meta div { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.dl-meta dt { font-size: 12.5px; color: var(--ash); }
.dl-meta dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.dl-badges .badge { min-height: 50px; padding: 8px 16px; }
.dl-qr { display: none; margin: 0; justify-self: end; text-align: center; max-width: 220px; }
.dl-qr .qr { width: 200px; height: 200px; border-radius: 18px; padding: 0; box-shadow: 0 0 0 1px var(--line-strong); }
.dl-qr figcaption { margin-top: 12px; font-size: 14px; color: var(--ash); }
@media (min-width: 900px) and (hover: hover) { .dl-top { grid-template-columns: minmax(0, 1fr) auto; } .dl-qr { display: block; } }
.sha p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; }
.sha code { font-size: 13px; overflow-wrap: anywhere; flex: 1 1 260px; }
.copy { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--carbon); color: var(--bone); cursor: pointer; font-weight: 600; font-size: 14px; }
.copy.done { border-color: var(--ember); color: var(--ember); }
.prose .qa summary h3 { margin: 0; }
.prose .qa { margin: 0; }
.nav-dl .ico { color: var(--ember); }
.foot-learn { margin-bottom: 4px !important; }

/* 404 */
.lost { min-height: 100svh; display: grid; align-content: center; gap: 28px; padding-top: 120px; padding-bottom: 80px; }
.lost .shear { font-size: clamp(3rem, 16vw, 12rem); }
.lost p { color: var(--ash); font-size: 1.15rem; max-width: 30em; margin: 0; }

/* ── Page transition: two halves meet at the cut ────────── */
html.wiping::before { content: ""; position: fixed; inset: 0; z-index: 500; background: var(--carbon); animation: wipe-safety .2s linear 1.6s forwards; }
@keyframes wipe-safety { to { opacity: 0; visibility: hidden; } }
.wipe { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.wipe i { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--carbon); }
.wipe i:first-child { top: 0; transform: translateX(101%); }
.wipe i:nth-child(2) { bottom: 0; transform: translateX(-101%); }
.wipe b { position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; }
.wipe.in i { transform: none; transition: transform .42s var(--ease-cut); }
.wipe.in b { transform: scaleX(1); transition: transform .42s var(--ease-cut) .05s; }
.wipe.cover i { transform: none; }
.wipe.cover b { transform: scaleX(1); }
.wipe.out i:first-child { transform: translateX(101%); transition: transform .55s var(--ease-cut) .05s; }
.wipe.out i:nth-child(2) { transform: translateX(-101%); transition: transform .55s var(--ease-cut) .05s; }
.wipe.out b { transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-cut); }

/* ── Play: the things you can touch on the home page (play.js) ── */

/* Phones: the hero wordmark is the brand, so the corner logo steps aside. */
@media (max-width: 859.98px) { body:has(.hero) .top { display: none; } }
.dock::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ember); transform-origin: left; transform: scaleX(var(--prog, 0)); opacity: .8; pointer-events: none; }

/* Drag the top half of the wordmark; it snaps back on a spring. */
.hero .wm { touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab; }
.hero .wm.grab { cursor: grabbing; }

/* Rolling digits: an invisible 0 keeps the text baseline, the strip slides inside a clip. */
.rd { position: relative; display: inline-block; line-height: 1.15; clip-path: inset(0 -2px); font-variant-numeric: tabular-nums; }
.rd-0 { visibility: hidden; }
.rd-s { position: absolute; left: 0; right: 0; top: 0; transition: transform .75s cubic-bezier(.2, .9, .25, 1); }
.rd-s i { display: block; height: 1.15em; line-height: 1.15; font-style: normal; text-align: center; }

/* ── App tour (phones): story bars, tap to skip, hold to pause ── */
.tour { display: none; }
@media (max-width: 759.98px) {
  .hero-phones { display: none; }
  .tour { display: grid; justify-items: center; gap: 12px; position: relative; z-index: 1; margin: 44px auto 0; padding-bottom: 12px; }
}
.tour-tilt { perspective: 1200px; }
.tour-phone { width: min(276px, 72vw); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out), scale .35s var(--spring); }
.tour-phone::after { content: ""; position: absolute; inset: 7px; border-radius: 33px; pointer-events: none; z-index: 8; background: linear-gradient(115deg, transparent 36%, rgba(242, 241, 236, .07) 48%, transparent 60%) no-repeat; background-size: 260% 100%; background-position: var(--gx, 50%) 0; }
.tour.held .tour-phone { scale: .97; }
.tsl { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.tsl.on, .tsl.was { visibility: visible; }
.tsl.was { z-index: 1; }
.tsl.on { z-index: 2; }
.tsl img { position: absolute; inset: 0; }
.tsl .h-t { clip-path: inset(0 0 50% 0); }
.tsl .h-b { clip-path: inset(50% 0 0 0); }
.motion .tsl.on.cutting .h-t { animation: half-t .7s var(--ease-out) both; }
.motion .tsl.on.cutting .h-b { animation: half-b .7s var(--ease-out) both; }
.tour .slash { position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: var(--ember); z-index: 3; transform: scaleX(0); opacity: 0; pointer-events: none; }
.motion .tour .slash.go { animation: slash .7s var(--ease-cut) both; }
.tour-bars { display: flex; gap: 5px; width: min(252px, 66vw); pointer-events: none; }
.tour-bars i { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(242, 241, 236, .16); overflow: hidden; }
.tour-bars i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--bone); transform-origin: left; transform: scaleX(var(--p, 0)); }
.tour-bars i.now::after { background: var(--ember); }
.tour-hit { position: absolute; top: 0; bottom: 0; z-index: 7; border: 0; padding: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.tour-hit.prev { left: 0; width: 34%; }
.tour-hit.next { right: 0; width: 66%; }
.tour-hit:focus-visible { outline: 2px solid var(--ember); outline-offset: -4px; border-radius: 33px; }
.tour-cap { margin: 0; font-size: 15px; color: var(--ash); text-align: center; }
.tour-cap b { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--bone); margin-right: 4px; }
.tour-cap.swap { animation: cap-in .45s var(--ease-out); }
@keyframes cap-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.dl-pill.show.aside { transform: translate(-50%, 24px) scale(.9); opacity: 0; pointer-events: none; }
.tour-hint { margin: 0; font-size: 12.5px; color: rgba(169, 168, 162, .75); }

/* ── Shared card for the two demos ── */
.chapter > * { min-width: 0; }
.plate, .setlog {
  position: relative; max-width: 34em; min-width: 0; display: grid; gap: 14px; padding: 16px;
  border: 1px solid var(--line); border-radius: 24px; background: var(--carbon);
  box-shadow: 0 1px 0 rgba(242, 241, 236, .04) inset;
}
.plate .plate-t, .setlog .sl-t { margin: 0; font: 800 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--bone); }
.plate-top, .sl-top { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; min-height: 36px; }

/* ── Build a plate ── */
.plate-clear { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--ash); font-size: 14px; cursor: pointer; }
.plate-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; }
.rings { position: relative; width: 112px; aspect-ratio: 1; }
.rings svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.rings circle { fill: none; stroke-width: 9; }
.rg-track { stroke: #232324; }
.rg { stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .9s var(--ease-out), stroke .4s ease, opacity .3s ease; }
.rg-k { stroke: var(--ember); }
.rg-p { stroke: #79D49B; }
.rings.met .rg-p { stroke: #E0B65C; }
.rings.gulp { animation: gulp .5s var(--spring); }
@keyframes gulp { 35% { transform: scale(1.07); } }
.rg-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.rg-mid b { font: 800 1.4rem/1.1 var(--display); }
.rg-mid span { font-size: 12px; color: var(--ash); }
.plate-nums { margin: 0; display: grid; gap: 8px; }
.plate-nums div { display: grid; gap: 1px; }
.plate-nums dt { font-size: 12.5px; color: var(--ash); }
.plate-nums dd { margin: 0; font-weight: 600; color: var(--bone); font-variant-numeric: tabular-nums; font-size: 15px; }
.plate-nums .pn-p b { color: #79D49B; }
.plate-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; }
.plate-empty { color: var(--ash); font-size: 14px; align-self: center; }
.plate-empty[hidden] { display: none; }
.pi { display: inline-flex; align-items: center; gap: 6px; padding-left: 12px; border-radius: 999px; background: var(--graphite); border: 1px solid var(--line-strong); font-size: 14px; }
.pi-q { color: var(--ember); font-weight: 700; font-variant-numeric: tabular-nums; }
.pi-k { color: var(--ash); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pi-x { position: relative; width: 40px; height: 38px; margin-left: -4px; border: 0; padding: 0; background: radial-gradient(circle, rgba(242, 241, 236, .08) 12px, transparent 13px); border-radius: 999px; cursor: pointer; }
.pi-x::before, .pi-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; border-radius: 2px; background: var(--ash); transform: translate(-50%, -50%) rotate(45deg); }
.pi-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.motion .pi.bump { animation: pi-bump .45s var(--spring); }
@keyframes pi-bump { from { transform: scale(.7); opacity: .3; } }
.pi.out { animation: pi-out .25s ease forwards; }
@keyframes pi-out { to { transform: scale(.6); opacity: 0; } }
.pchips {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); justify-content: start; gap: 8px;
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0 -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent);
          mask: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent);
}
.pchips::-webkit-scrollbar { display: none; }
@media (min-width: 980px) { .pchips { display: flex; flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; -webkit-mask: none; mask: none; } }
.pchip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px 0 8px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--carbon-2);
  color: var(--bone); font-size: 14.5px; font-weight: 500; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .3s var(--spring), border-color .2s ease;
}
.pchip b { width: 24px; height: 24px; border-radius: 50%; background: var(--ember); color: var(--graphite); display: grid; place-items: center; font: 700 16px/1 var(--text); }
.pchip small { color: var(--ash); font-size: 12.5px; }
.pchip:hover { border-color: rgba(255, 106, 61, .6); }
.pchip:active { transform: scale(.93); }
.plate .plate-note, .setlog .sl-ex { margin: 0; font-size: 13px; color: var(--ash); }
.p-ghost { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; font: 800 15px/1 var(--display); color: var(--ember); padding: 7px 11px; border-radius: 999px; background: var(--graphite); border: 1px solid rgba(255, 106, 61, .55); white-space: nowrap; }

/* ── Log a set ── */
.setlog { overflow: hidden; }
.setlog .sl-ex { font-size: 13.5px; }
.sl-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 380px) { .stp-b { width: 40px; height: 40px; } .stp { padding: 10px 6px; } }
.stp { display: grid; gap: 6px; justify-items: center; padding: 10px 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--graphite); }
.stp-l { font-size: 12.5px; color: var(--ash); }
.stp-row { display: flex; align-items: center; justify-content: space-between; gap: 2px; width: 100%; }
.stp-b {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--carbon-2);
  color: var(--bone); font: 500 22px/1 var(--text); cursor: pointer; -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent; transition: transform .25s var(--spring), border-color .2s ease;
}
.stp-b:active { transform: scale(.88); border-color: var(--ember); }
.stp-o { flex: 1; min-width: 0; text-align: center; font: 800 clamp(1.6rem, 7.6vw, 2.1rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.stp-u { font-size: 12.5px; color: var(--ash); margin: 0 2px 0 -2px; align-self: flex-end; padding-bottom: 12px; }
.motion .stp-o.up { animation: stp-up .3s var(--ease-out); }
.motion .stp-o.down { animation: stp-down .3s var(--ease-out); }
@keyframes stp-up { from { transform: translateY(45%); opacity: .2; } }
@keyframes stp-down { from { transform: translateY(-45%); opacity: .2; } }
.stp-o.nope { animation: nope .4s ease; color: var(--ember); }
@keyframes nope { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.sl-log { min-height: 54px; border: 0; border-radius: 16px; background: var(--bone); color: var(--graphite); font-weight: 700; font-size: 16.5px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .25s var(--spring), background-color .2s ease; }
.sl-log:hover { background: #fff; }
.sl-log:active { transform: scale(.97); }
.sl-rest { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--graphite); animation: set-in .4s var(--ease-out); }
.sl-rest[hidden] { display: none; }
.sl-rest svg { width: 34px; height: 34px; flex: none; transform: rotate(-90deg); }
.sl-rest circle { fill: none; stroke-width: 4; }
.rr-track { stroke: #232324; }
.rr { stroke: var(--ember); stroke-linecap: round; stroke-dasharray: 100 100; transition: stroke-dasharray .25s linear; }
.sl-rest > span { flex: 1; color: var(--ash); font-size: 14.5px; }
.sl-rest b { color: var(--bone); font-variant-numeric: tabular-nums; }
.sl-rest.done b { color: #79D49B; }
.sl-skip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; color: var(--bone); cursor: pointer; }
.sl-sets { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sl-sets:empty { display: none; }
.sl-set { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--graphite); animation: set-in .45s var(--ease-out); }
.sl-set .sn { color: var(--ash); font-size: 13.5px; width: 3.6em; flex: none; }
.sl-set .sw { flex: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.sl-set .sb { font-size: 12px; font-weight: 700; color: var(--graphite); background: var(--ember); padding: 3px 9px; border-radius: 999px; }
.sl-set.pr { border-color: rgba(255, 106, 61, .6); }
@keyframes set-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.sl-foot { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--ash); }
.sl-foot b { color: var(--bone); font-weight: 600; font-variant-numeric: tabular-nums; }
.sl-pr { font-size: 15px; color: var(--bone); }
.sl-pr:empty { display: none; }
.sl-pr b { font: 800 1.15rem/1 var(--display); text-transform: uppercase; color: var(--ember); margin-right: 4px; }
.setlog::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ember); transform: scaleX(0); opacity: 0; pointer-events: none; }
.motion .setlog.pr-hit::after { animation: slash .8s var(--ease-cut) both; }
.motion .setlog.pr-hit .sl-pr { animation: pr-in .6s var(--spring) both; }
@keyframes pr-in { from { transform: translateY(10px) scale(.9); opacity: 0; } }

/* ── Kyno as a chat (phones and touch screens) ── */
.kchat { display: none; }
@media (max-width: 979.98px), (hover: none) { .js .kyno-copy .asks, .js .kyno-copy .ask-hint { display: none; } .js .kyno-copy .kchat { display: grid; } }
.chat-on .kchat { display: grid; max-width: 36em; border: 1px solid var(--line); border-radius: 24px; background: var(--graphite); overflow: hidden; }
.chat-on .asks, .chat-on .ask-hint { display: none; }
.kc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.kc-av { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 800 14px/1 var(--display); }
.kc-who b { display: block; font-size: 15px; line-height: 1.2; }
.kc-who small { display: flex; align-items: center; gap: 6px; color: var(--ash); font-size: 12.5px; }
.kc-who small i { width: 7px; height: 7px; border-radius: 50%; background: #79D49B; }
.kc-log { height: min(54vh, 380px); overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.kc-log::-webkit-scrollbar { display: none; }
.kb { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.motion .kb { animation: kb-in .4s var(--ease-out) both; }
@keyframes kb-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.kb-k { align-self: flex-start; background: var(--carbon-2); border: 1px solid var(--line); border-top-left-radius: 6px; color: #DAD9D3; }
.kb-u { align-self: flex-end; background: var(--bone); color: var(--graphite); border-bottom-right-radius: 6px; font-weight: 500; transform-origin: 100% 100%; }
.kb-dots { display: inline-flex; gap: 4px; padding: 15px 16px; }
.kb-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--ash); animation: dots 1s ease-in-out infinite; }
.kb-dots span:nth-child(2) { animation-delay: .15s; }
.kb-dots span:nth-child(3) { animation-delay: .3s; }
.kc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; border-top: 1px solid var(--line); scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 14px; }
.kc-chips::-webkit-scrollbar { display: none; }
.kc-chip { flex: none; max-width: 72vw; min-height: 44px; padding: 9px 14px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--carbon); color: var(--bone); font-size: 14px; line-height: 1.35; text-align: left; cursor: pointer; scroll-snap-align: start; -webkit-tap-highlight-color: transparent; transition: opacity .3s ease, transform .3s var(--spring), border-color .2s ease; }
.kc-chip:active { transform: scale(.95); }
.kc-chip.asked { opacity: .45; }
.kchat .kc-note { margin: 0; padding: 0 14px 12px; font-size: 12.5px; color: var(--ash); }

/* ── Share cards on phones: a deck you flick ── */
.deck-nav { display: none; }
@media (max-width: 979.98px) {
  .js .cards { display: grid; overflow: visible; justify-content: center; padding: 18px 0 48px; scroll-snap-type: none; touch-action: pan-y; }
  .js .cards li {
    --dd: var(--d, 0); --side: 1;
    grid-area: 1 / 1; width: min(66vw, 280px);
    transform: translate3d(var(--tx, 0px), calc(var(--ty, 0px) + var(--dd) * 17px), 0) rotate(calc(var(--tr, 0deg) + var(--dd) * var(--side) * 2.4deg)) scale(calc(1 - var(--dd) * .055));
    transition: transform .55s var(--spring), opacity .3s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .js .cards li:nth-child(even) { --side: -1; }
  .js .cards li.next { --dd: calc(1 - var(--lift, 0) * .8); }
  .js .cards li.deep { opacity: 0; }
  .js .cards li.dragging { transition: none; }
  .js .cards li.flying { z-index: 50 !important; transition: transform .34s cubic-bezier(.3, .2, .7, .5), opacity .34s ease; opacity: 0; }
  .js .cards li.tuck { transition: none !important; }
  .js .cards .card { box-shadow: 0 0 0 1px var(--line), 0 30px 50px -26px #000; transition: filter .4s ease; }
  .js .cards li:not(.is-top) .card { filter: brightness(calc(1 - var(--dd) * .14)); }
  .js .cards figcaption { text-align: center; transition: opacity .3s ease; }
  .js .cards li:not(.is-top) figcaption { opacity: 0; }
  .motion.js .cards.flip .card { animation: card-flip .6s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 55ms); }
  @keyframes card-flip { from { transform: perspective(900px) rotateY(-90deg); } }
  .js .deck-nav { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 4px; }
  .deck-nav[hidden] { display: none; }
  .dk-b { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--carbon); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .25s var(--spring); }
  .dk-b:active { transform: scale(.9); }
  .dk-b::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-top: 1.8px solid var(--bone); border-right: 1.8px solid var(--bone); transform: translate(-65%, -50%) rotate(45deg); }
  .dk-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
}

/* ── Closing recap of what you tried ── */
.close .recap { color: var(--bone); font-size: 1.05rem; max-width: 34em; border-left: 2px solid var(--ember); padding: 4px 0 4px 14px; margin: 0 0 28px; animation: rise .7s var(--ease-out) both; }
.recap[hidden] { display: none; }

/* ── Scroll-driven motion on phones: runs on the compositor, tied to the thumb ── */
@supports (animation-timeline: view()) {
  @media (max-width: 979.98px) and (prefers-reduced-motion: no-preference) {
    .motion .tour-tilt { animation: tour-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    @keyframes tour-rise { from { transform: translateY(70px) rotateX(26deg) scale(.88); opacity: .35; } to { transform: none; opacity: 1; } }
    .motion .chapter .inline-shot { perspective: 1000px; }
    .motion .chapter .inline-shot .phone { animation: shot-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    @keyframes shot-rise { from { transform: translateY(80px) rotateX(30deg) scale(.86); opacity: .3; } to { transform: none; opacity: 1; } }
    .motion .widgets .wg-tile { animation: wg-fly linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
    @keyframes wg-fly { from { transform: translateY(90px) rotate(calc(var(--i) * 3deg - 7deg)) scale(.82); opacity: 0; } to { transform: none; opacity: 1; } }
    .motion .kyno-phones { animation: k-swing linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes k-swing { from { transform: translateY(60px) rotate(-6deg) scale(.9); opacity: .3; } to { transform: none; opacity: 1; } }
    .motion .close .shear.is-in .sh-t { animation: close-shear linear both; animation-timeline: view(); animation-range: cover 10% cover 70%; }
    @keyframes close-shear { from { transform: translateX(.07em); } to { transform: translateX(.2em); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wipe, .cur, .cur-box { display: none !important; }
}

/* @content-start */
/* ── Content hubs (foods, exercises, guides, tools, languages): lean, no JS ── */
.lang-hi body, .lang-mr body { font-family: var(--text), "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif; }
.lang-ta body { font-family: var(--text), "Noto Sans Tamil", "Nirmala UI", "Latha", system-ui, sans-serif; }
.lang-te body { font-family: var(--text), "Noto Sans Telugu", "Nirmala UI", "Gautami", system-ui, sans-serif; }
.lang-bn body { font-family: var(--text), "Noto Sans Bengali", "Nirmala UI", "Vrinda", system-ui, sans-serif; }
.lang-gu body { font-family: var(--text), "Noto Sans Gujarati", "Nirmala UI", "Shruti", system-ui, sans-serif; }
.lang-kn body { font-family: var(--text), "Noto Sans Kannada", "Nirmala UI", "Tunga", system-ui, sans-serif; }
.lang-ml body { font-family: var(--text), "Noto Sans Malayalam", "Nirmala UI", "Kartika", system-ui, sans-serif; }
.lang-pa body { font-family: var(--text), "Noto Sans Gurmukhi", "Nirmala UI", "Raavi", system-ui, sans-serif; }
html.content:not(.lang-en) .c-h1 { font-family: inherit; font-weight: 700; text-transform: none; letter-spacing: -.01em; line-height: 1.2; }
html.content body { padding-bottom: 0; }
.chead { border-bottom: 1px solid var(--line); background: var(--graphite); }
.chead-in { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.chead .brand .bm { height: 17px; }
.cnav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.cnav::-webkit-scrollbar { display: none; }
.cnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ash); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.cnav a:hover { color: var(--bone); background: rgba(242, 241, 236, .06); }
.cnav a[aria-current="page"] { color: var(--graphite); background: var(--bone); }
.cnav .cnav-app { border: 1px solid var(--line-strong); color: var(--bone); }
.c-main { width: 100%; max-width: 860px; margin: 0 auto; padding: 18px var(--gutter) 72px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--ash); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.4px solid var(--ash); border-right: 1.4px solid var(--ash); transform: rotate(45deg); }
.crumbs a { color: var(--ash); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--bone); }
.c-head { display: grid; gap: 16px; margin-bottom: 30px; }
.c-h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: .98; font-size: clamp(2rem, 6.4vw, 3.4rem); margin: 0; overflow-wrap: break-word; }
.answer { font-size: clamp(1.05rem, 2.4vw, 1.22rem); line-height: 1.6; color: #DAD9D3; margin: 0; }
.byline { color: var(--ash); font-size: 14.5px; margin: 0; }
.c-sec { margin: 0 0 36px; }
.c-sec > h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 3.4vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 14px; }
html.content:not(.lang-en) .c-sec > h2 { font-family: inherit; font-weight: 700; }
.c-sec p, .c-sec li { color: #D3D2CC; line-height: 1.7; }
.c-sec ul:not(.chips):not(.food-list):not(.facts) { padding-left: 1.2em; }
.c-sec li::marker { color: var(--ember); }
.c-art .table-scroll { margin-bottom: 14px; }
.nut { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.nut-s { min-width: 0; }
.nut th, .nut td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
.nut thead th { background: var(--carbon); color: var(--bone); font-weight: 600; }
.nut tbody th { color: var(--bone); font-weight: 500; }
.nut td { color: #D3D2CC; }
.nut tr:last-child th, .nut tr:last-child td { border-bottom: 0; }
.small { font-size: 14px; color: var(--ash) !important; }
.note { font-size: 14px; color: var(--ash); border-left: 2px solid var(--ember); padding: 4px 0 4px 14px; margin: 28px 0 0; }
.cue { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 3vw, 1.5rem); line-height: 1.25; color: var(--bone) !important; margin: 0 0 8px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--bone); text-decoration: none; font-size: 15px; }
.chips a:hover { border-color: var(--ember); }
.food-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.food-list a { display: grid; gap: 2px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--carbon); color: var(--bone); text-decoration: none; transition: border-color .2s ease, transform .3s var(--spring); }
.food-list a:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.food-list b { font-weight: 600; }
.food-list span { font-size: 13.5px; color: var(--ash); }
.cards-list { grid-template-columns: 1fr; }
.g-toc { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 0 0 32px; background: var(--carbon); }
.g-toc ol { margin: 0; padding-left: 1.2em; color: var(--ash); }
.g-toc li { margin: 4px 0; }
.g-toc a { color: var(--bone); text-decoration: none; display: inline-block; padding: 4px 0; }
.g-toc a:hover { text-decoration: underline; }
.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ash); }
.langs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.langs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--bone); text-decoration: none; }
.langs a[aria-current] { background: var(--bone); color: var(--graphite); }
.foot-langs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; }
.foot-langs a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 10px 0 0; color: var(--ash); text-decoration: none; font-size: 14px; }
.foot-langs a:hover { color: var(--bone); }
@media (min-width: 1000px) { .foot-langs { grid-column: 1 / -1; } }
/* Calculators */
.tool { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: var(--carbon); margin: 0 0 22px; }
.fld-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-bottom: 18px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 14px; color: var(--ash); }
.fld input, .fld select { font: inherit; color: var(--bone); background: var(--graphite); border: 1px solid var(--line-strong); border-radius: 12px; min-height: 48px; padding: 0 12px; width: 100%; }
.fld input:focus-visible, .fld select:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
.tool .btn { border: 0; cursor: pointer; }
.results { border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px; margin: 0 0 32px; }
.results h2 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; margin: 0 0 12px; }
.res-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); margin: 0 0 14px; }
.res { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.res dt { font-size: 13.5px; color: var(--ash); }
.res dd { margin: 4px 0 0; }
.res b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--bone); font-variant-numeric: tabular-nums; }
.res span { color: var(--ash); font-size: 14px; }
/* Localized home */
.l-hero { padding: 18px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.l-hero-in { display: grid; gap: 18px; }
.l-h1 { font-size: clamp(2.2rem, 8vw, 3.6rem) !important; }
.lede-l { font-size: 1.12rem; color: #DAD9D3; margin: 0; line-height: 1.65; }
.badge.dl { text-decoration: none; background: var(--bone); color: var(--graphite); border-color: var(--bone); }
.badge.dl small { color: #3A3A3F; }

/* ── Phones: thumb-first, touch-native ───────────────────── */
/* Press feedback on everything you tap. */
@media (hover: none) {
  .badge, .dl-btn, .dl-pill, .dock a, .dock button, .ask-q, .cards .card, .chips a, .food-list a, .link-arrow, .qa summary, .wg-tile, .copy, .btn {
    transition: transform .35s var(--spring), background-color .2s ease, border-color .2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .badge:active, .dl-btn:active, .dl-pill:active, .dock a:active, .dock button:active, .chips a:active, .food-list a:active, .copy:active, .btn:active, .link-arrow:active { transform: scale(.95); }
  .ask-q:active, .qa summary:active { transform: scale(.98); }
  .cards .card:active, .wg-tile:active { transform: scale(.97); }
}

/* Download pill: rests above the dock once the hero has gone. */
.dl-pill {
  position: fixed; z-index: 59; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px 0 14px; white-space: nowrap;
  border-radius: 999px; background: var(--bone); color: var(--graphite); font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
  transform: translate(-50%, 24px) scale(.9); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform .5s var(--spring), opacity .25s ease, visibility 0s linear .5s;
}
.dl-pill .ico { width: 18px; height: 18px; color: var(--ember); stroke-width: 2.2; }
.dl-pill.show { transform: translate(-50%, 0) scale(1); opacity: 1; pointer-events: auto; visibility: visible; transition: transform .55s var(--spring), opacity .25s ease, visibility 0s; }
@media (min-width: 860px) { .dl-pill { display: none; } }

/* Shear cut between sections: an ember line slices across as each section arrives. */
.sec-cut { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--ember) 0 30%, var(--line) 30% 100%); transform-origin: left; pointer-events: none; z-index: 1; }
.motion .sec-cut[data-reveal]:not(.is-in) { opacity: 1; transform: scaleX(0); }
.motion .sec-cut[data-reveal] { transition: transform 1.1s var(--ease-cut); }
.kyno .sec-cut { top: -1px; }

/* Share cards on phones: a deck you flick (play.js), with dots. */
.card-dots { display: none; }
@media (max-width: 979.98px) {
  .cards { scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .cards li { width: min(72vw, 300px); }
  .card-dots { display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .card-dots button { width: 32px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; }
  .card-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong); transition: width .4s var(--spring), background-color .3s ease; }
  .card-dots button[aria-current="true"]::before { width: 22px; background: var(--ember); }
  .finish { justify-content: center; }
}

/* Widgets on phones: tap a tile to see what that size shows. */
.wg-cap { display: none; }
@media (max-width: 1099.98px) {
  .wg-tile[data-step] { cursor: pointer; }
  .wg-cap { display: block; position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(11, 11, 12, .9);
            border: 1px solid var(--line-strong); font-size: 13px; line-height: 1.35; color: var(--bone); transform: translateY(8px); opacity: 0;
            transition: transform .4s var(--spring), opacity .2s ease; pointer-events: none; }
  .wg-tile.tapped .wg-cap { transform: none; opacity: 1; }
  .wg.has-tap .wg-tile:not(.tapped) { opacity: .55; }
  .wg-tile { transition: opacity .3s ease, transform .4s var(--spring); }
}

/* Short screens: reveals travel less and start sooner. */
@media (max-width: 859.98px) {
  .motion [data-reveal]:not(.is-in) { transform: translateY(14px); }
  .motion [data-reveal] { transition-duration: .55s, .7s; }
  .hero { padding-top: 84px; }
  .hero-phones { height: clamp(300px, 46vh, 420px); }
  .hero-phones .phone:nth-child(2) { width: min(270px, 70vw); }
}

/* Low-end phones: keep it calm. */
.lite body::after { display: none; }
.lite .hero-phones .phone { animation-duration: .6s !important; }
/* @content-end */
