/* Split Banana: studio site styles.
   Sections: fonts · tokens · base · type · buttons & chips · nav · motion · hero ·
   phones · home sections · app pages · legal · support · footer · responsive */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-display: swap; src: url("/assets/fonts/caveat-700.woff2") format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-weight: 400; font-display: swap; src: url("/assets/fonts/patrick-hand.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #f5f4ef;
  --bg-2: #eceae3;
  --card: #ffffff;
  --ink: #131210;
  --ink-2: #57544d;
  --ink-3: #8d8a82;
  --line: rgba(19, 18, 16, 0.08);
  --line-2: rgba(19, 18, 16, 0.14);

  --banana: #ffd43b;
  --banana-2: #f6bd14;
  --butter: #fff6d2;
  --peel: #7a5a00;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  --shadow-xs: 0 1px 2px rgba(19, 18, 16, 0.05);
  --shadow-sm: 0 0 0 1px var(--line), 0 1px 2px rgba(19, 18, 16, 0.04), 0 4px 12px -6px rgba(19, 18, 16, 0.08);
  --shadow-md: 0 0 0 1px var(--line), 0 2px 4px rgba(19, 18, 16, 0.03), 0 12px 32px -12px rgba(19, 18, 16, 0.14);
  --shadow-lg: 0 2px 6px rgba(19, 18, 16, 0.04), 0 30px 60px -24px rgba(19, 18, 16, 0.28), 0 60px 120px -48px rgba(19, 18, 16, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    /* A soft spring: overshoots a touch, settles quickly. */
    --spring: linear(0, 0.013 0.6%, 0.05 1.2%, 0.2 2.6%, 0.44 4.4%, 0.72 6.6%, 0.93 8.9%, 1.06 11.3%, 1.1 13.1%, 1.1 14.9%, 1.07 17.4%, 1.02 21.1%, 0.99 25.2%, 0.99 30.2%, 1 38%, 1);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, td a, dd a, .link { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color 0.2s; }
p a:hover, li a:hover, td a:hover, dd a:hover, .link:hover { text-decoration-color: currentColor; }
::selection { background: var(--banana); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.nowrap { white-space: nowrap; }

/* ---------- Type ---------- */
.display, .display-2, .display-3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.display { font-size: clamp(3.1rem, 8.2vw, 6.9rem); line-height: 0.92; }
.display-2 { font-size: clamp(2.6rem, 5.8vw, 4.7rem); line-height: 0.96; }
.display-3 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.display em, .display-2 em, .display-3 em, .serif em { font-style: italic; letter-spacing: -0.01em; }

/* The banana highlighter: a skewed marker stroke behind italic words. */
.hl { position: relative; isolation: isolate; white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em; right: -0.1em;
  bottom: 0.06em;
  height: 0.38em;
  border-radius: 0.12em 0.3em 0.2em 0.35em;
  background: var(--hl, var(--banana));
  transform: skewX(-14deg) rotate(-1deg);
  transform-origin: left center;
}
.js .hl::after { transform: skewX(-14deg) rotate(-1deg) scaleX(0); transition: transform 0.9s var(--ease) 0.9s; }
.js .in .hl::after, .js .hl.in::after { transform: skewX(-14deg) rotate(-1deg) scaleX(1); }

.lede { font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Buttons & chips ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  height: var(--h); padding: 0 24px;
  border: 0; border-radius: 999px;
  font: 560 15.5px/1 var(--sans); letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.6s var(--spring), box-shadow 0.3s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn .i { transition: transform 0.5s var(--spring); }
.btn:hover .i-go { transform: translateX(3px); }
.btn:hover .i-down { transform: translateY(3px); }
.btn-ink {
  background: var(--ink); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 24px -10px rgba(19, 18, 16, 0.6);
}
.btn-ink:hover { background: #26241f; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-banana {
  background: var(--banana); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(122, 90, 0, 0.12), 0 10px 26px -12px rgba(214, 160, 0, 0.9);
}
.btn-glass { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { text-align: center; }
.center .actions, .actions.center { justify-content: center; }
.center .lede { margin-inline: auto; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(19, 18, 16, 0.05), 0 6px 16px -10px rgba(19, 18, 16, 0.2);
  font-size: 13.5px; font-weight: 520; color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.5s var(--spring), box-shadow 0.3s;
}
a.chip:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--line-2), 0 8px 20px -10px rgba(19, 18, 16, 0.3); }
.chip b { background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.01em; }
.chip .i { width: 14px; height: 14px; color: var(--ink-3); }
.chip.plain { padding: 6px 13px; }
.chip.plain .i { color: var(--peel); }
.chip-banana { background: var(--butter); color: var(--peel); box-shadow: 0 0 0 1px rgba(214, 160, 0, 0.22); }
.chip-dark { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.chip-dark b { background: #fff; color: var(--ink); }

/* Store buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.center .store-buttons { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 16px;
  border-radius: 16px;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 16px; line-height: 1.1; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px -12px rgba(19, 18, 16, 0.6);
  transition: transform 0.6s var(--spring);
}
a.store:hover { transform: translateY(-2px); }
.store .i { width: 22px; height: 22px; }
.store small { display: block; font-size: 11px; font-weight: 500; opacity: 0.7; letter-spacing: 0; }
.store.is-soon { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.store.is-soon small { color: var(--ink-3); opacity: 1; }
.on-dark .store.is-soon { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.on-dark .store.is-soon small { color: rgba(255, 255, 255, 0.6); }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #34c759; margin-inline: 4px 2px; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3); opacity: 0; } }

/* ---------- Nav ---------- */
.nav-shell {
  position: fixed; z-index: 50;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  left: 0; right: 0;
  display: flex; justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: 0 0 0 1px rgba(19, 18, 16, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 30px -12px rgba(19, 18, 16, 0.22);
  transition: box-shadow 0.4s var(--ease), background-color 0.4s;
}
.scrolled .nav { background: rgba(255, 255, 255, 0.86); box-shadow: 0 0 0 1px rgba(19, 18, 16, 0.08), inset 0 1px 0 #fff, 0 14px 40px -14px rgba(19, 18, 16, 0.3); }
.brand { display: inline-flex; align-items: center; gap: 9px; padding: 0 12px 0 0; font-weight: 640; font-size: 15.5px; letter-spacing: -0.02em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 9px; transition: transform 0.6s var(--spring); }
.brand:hover img { transform: rotate(-10deg) scale(1.06); }
.nav-sep { width: 1px; height: 20px; background: var(--line-2); margin-inline: 2px 6px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background-color 0.2s, color 0.2s; }
.nav-links a:hover { color: var(--ink); background: rgba(19, 18, 16, 0.05); }
.nav-links a[aria-current] { color: var(--ink); background: rgba(19, 18, 16, 0.07); }
.nav-cta { margin-left: 6px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 20px; height: 20px; transition: transform 0.4s var(--spring); }
.menu summary .i-close, .menu[open] summary .i-open { display: none; }
.menu[open] summary .i-close { display: block; animation: pop-in 0.4s var(--spring); }
.menu-panel {
  position: absolute; right: -6px; top: calc(100% + 12px);
  width: min(320px, calc(100vw - 24px));
  display: grid; gap: 2px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(19, 18, 16, 0.35);
  animation: pop-in 0.45s var(--spring);
  transform-origin: top right;
}
@keyframes pop-in { from { opacity: 0; transform: scale(0.94) translateY(-6px); } }
.menu-panel > a:not(.btn) { padding: 10px 12px; border-radius: 12px; font-weight: 520; color: var(--ink); }
.menu-panel > a:not(.btn):hover { background: rgba(19, 18, 16, 0.05); }
.menu-panel .btn { margin-top: 8px; }
.menu-label { margin: 8px 12px 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.menu-label:first-child { margin-top: 2px; }
.menu-app { display: flex !important; align-items: center; gap: 12px; }
.menu-app img { border-radius: 10px; }
.menu-app span { display: grid; line-height: 1.25; }
.menu-app small { color: var(--ink-3); font-weight: 450; }

/* ---------- Motion ----------
   Without JavaScript everything is simply visible. site.js adds .js to <html>
   and .in to elements as they scroll into view. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal="scale"] { transform: translateY(30px) scale(0.96); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-split] .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(0.3em); }
.js [data-split].in .w { animation: word-in 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + var(--base, 80) * 1ms); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
[data-scrub] .w { transition: color 0.35s var(--ease); }
.js [data-scrub] .w { color: color-mix(in srgb, var(--ink) 16%, var(--bg)); }
.js [data-scrub] .w.on { color: var(--ink); }
.js [data-scrub] .pic { opacity: 0.3; transform: scale(0.8) rotate(-8deg); transition: opacity 0.5s, transform 0.7s var(--spring); }
.js [data-scrub] .pic.on { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes float-soft { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(6%, -4%) scale(1.08); } 66% { transform: translate(-5%, 5%) scale(0.95); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- Hero shell ---------- */
.hero {
  position: relative;
  margin: 10px;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(130px, 17vh, 170px);
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-inner .chip { margin-bottom: 26px; }
.hero-inner .display { max-width: 11.5em; margin-bottom: 26px; }
.hero-inner .lede { margin: 0 auto 32px; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.28; mix-blend-mode: overlay;
  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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Home hero: a warm banana-cream sky with slow drifting colour. */
.hero-home { background: linear-gradient(180deg, #fff7df 0%, #fdf3e4 45%, #f6efff 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.85; animation: drift 22s var(--ease-in-out) infinite; }
.b1 { width: 52%; aspect-ratio: 1; left: -12%; top: -18%; background: radial-gradient(circle, #ffe27a 0%, rgba(255, 226, 122, 0) 70%); }
.b2 { width: 46%; aspect-ratio: 1; right: -10%; top: -6%; background: radial-gradient(circle, #ffc8b4 0%, rgba(255, 200, 180, 0) 70%); animation-delay: -7s; animation-duration: 26s; }
.b3 { width: 60%; aspect-ratio: 1; left: 22%; bottom: -34%; background: radial-gradient(circle, #d9d0ff 0%, rgba(217, 208, 255, 0) 70%); animation-delay: -12s; animation-duration: 30s; }
.b4 { width: 30%; aspect-ratio: 1; left: 6%; bottom: 0; background: radial-gradient(circle, #c9f0d6 0%, rgba(201, 240, 214, 0) 70%); animation-delay: -4s; }

/* The phone stage rises out of the bottom of the hero, like it's being lifted into view. */
.stage { position: relative; z-index: 2; height: clamp(360px, 44vw, 540px); margin-top: clamp(40px, 6vw, 70px); }
.stage-item { position: absolute; left: 50%; top: 0; transform: translate3d(calc(-50% + var(--tx, 0px)), calc(var(--ty, 0px) + var(--py, 0px)), 0) rotate(var(--rot, 0deg)); will-change: transform; }
.stage .phone { --w: clamp(220px, 23vw, 290px); }
.stage-l { --tx: calc(clamp(220px, 23vw, 290px) * -0.62); --ty: 40px; --rot: -9deg; }
.stage-r { --tx: calc(clamp(220px, 23vw, 290px) * 0.62); --ty: 14px; --rot: 7deg; }
.stage-solo .phone { --w: clamp(240px, 26vw, 310px); }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 16px 10px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 18px 40px -18px rgba(19, 18, 16, 0.35);
  color: var(--ink); text-align: left;
  animation: float 7s var(--ease-in-out) infinite;
}
.float-card strong { display: block; font-size: 14px; font-weight: 620; letter-spacing: -0.01em; line-height: 1.2; }
.float-card small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.float-card .ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ic, var(--banana)); color: var(--ic-ink, var(--ink)); flex: none; }
.float-card .ic .i { width: 20px; height: 20px; }
.float-card.dark { background: rgba(20, 18, 34, 0.55); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 40px -18px rgba(0, 0, 0, 0.6); }
.float-card.dark small { color: rgba(255, 255, 255, 0.6); }

/* ---------- Phone mockups ----------
   Everything inside a screen is sized in container units (cqi), so the mock scales with --w. */
.phone {
  --w: 280px;
  width: var(--w);
  aspect-ratio: 9 / 19.2;
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(150deg, #3a3a3e 0%, #121214 22%, #0a0a0b 60%, #2a2a2e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--w) * 0.012) #050506,
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 40px 80px -30px rgba(40, 28, 5, 0.5),
    0 70px 120px -50px rgba(40, 28, 5, 0.45);
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.132);
  container-type: inline-size;
  display: flex; flex-direction: column;
}
.screen::before { content: ""; position: absolute; z-index: 9; top: 3.4cqi; left: 50%; width: 30cqi; height: 9cqi; border-radius: 99px; background: #000; transform: translateX(-50%); }
.status { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 15.5cqi; padding: 1cqi 8.5cqi 0 10.5cqi; font: 650 4.9cqi/1 var(--sans); letter-spacing: -0.01em; flex: none; }
.status-r { display: flex; gap: 1.6cqi; align-items: center; }
.sig { width: 5.4cqi; height: 3.6cqi; background: linear-gradient(90deg, currentColor 0 18%, transparent 0 27%, currentColor 0 45%, transparent 0 54%, currentColor 0 72%, transparent 0 81%, currentColor 0); clip-path: polygon(0 75%, 18% 75%, 18% 100%, 0 100%, 0 75%, 27% 50%, 45% 50%, 45% 100%, 27% 100%, 27% 50%, 54% 25%, 72% 25%, 72% 100%, 54% 100%, 54% 25%, 81% 0, 100% 0, 100% 100%, 81% 100%); }
.bat { width: 7.4cqi; height: 3.6cqi; border-radius: 1.1cqi; border: 0.35cqi solid color-mix(in srgb, currentColor 45%, transparent); position: relative; }
.bat::after { content: ""; position: absolute; inset: 0.45cqi; right: 1.8cqi; border-radius: 0.5cqi; background: currentColor; }

/* little hush screen */
.hush { background: #0e0d1b; color: #fff; }
.hush-sky { position: absolute; inset: 0 0 34% 0; background: url("/assets/img/hush-night.webp") 80% 0 / auto 66% no-repeat; }
.hush-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 13, 27, 0.2) 0%, rgba(14, 13, 27, 0) 30%, rgba(14, 13, 27, 0.55) 70%, #0e0d1b 100%); }
.hush > :not(.hush-sky) { position: relative; z-index: 1; }
.hush-top { padding: 2cqi 9cqi 0; }
.hush-top small { display: block; font-size: 4cqi; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.hush-top strong { display: block; font: 400 10.5cqi/1 var(--serif); letter-spacing: -0.02em; margin-top: 1cqi; }
.hush-orb { position: relative; width: 44cqi; aspect-ratio: 1; margin: 12cqi auto 9cqi; }
.hush-orb span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0%, #e8e3ff 14%, #a99ef0 40%, #6a5cc4 70%, #3b3380 100%); box-shadow: 0 0 10cqi 1cqi rgba(160, 145, 255, 0.55), inset -3cqi -4cqi 8cqi rgba(30, 20, 90, 0.5); animation: breathe 6s var(--ease-in-out) infinite; }
.hush-orb i { position: absolute; inset: 0; border-radius: 50%; border: 0.4cqi solid rgba(190, 180, 255, 0.5); animation: ripple 6s var(--ease) infinite; }
.hush-orb i + i { animation-delay: -3s; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes ripple { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.75); opacity: 0; } }
.hush-now { text-align: center; }
.hush-now small { display: block; font-size: 3.8cqi; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.hush-now strong { display: block; font: 400 8.6cqi/1.1 var(--serif); margin-top: 1.6cqi; }
.eq { display: inline-flex; gap: 1cqi; align-items: flex-end; height: 5cqi; margin-top: 2.6cqi; }
.eq i { width: 1cqi; height: 100%; border-radius: 1cqi; background: #b8adff; transform-origin: bottom; animation: eq 1.2s var(--ease-in-out) infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.9s; } .eq i:nth-child(5) { animation-delay: -0.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.hush-progress { height: 1.1cqi; margin: 6cqi 9cqi 0; border-radius: 1cqi; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hush-progress i { display: block; height: 100%; width: 42%; border-radius: inherit; background: linear-gradient(90deg, #8d80e0, #cfc8ff); animation: grow 30s linear infinite; }
@keyframes grow { from { width: 30%; } to { width: 70%; } }
.hush-times { display: flex; justify-content: space-between; margin: 2cqi 9cqi 0; font-size: 3.4cqi; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.hush-controls { display: flex; justify-content: center; align-items: center; gap: 8cqi; margin-top: 6cqi; }
.hush-controls span { display: grid; place-items: center; width: 12cqi; height: 12cqi; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.hush-controls span .i { width: 5.4cqi; height: 5.4cqi; }
.hush-controls .big { width: 19cqi; height: 19cqi; background: #fff; color: #1d1a3a; box-shadow: 0 0 8cqi rgba(170, 155, 255, 0.5); }
.hush-controls .big .i { width: 7.5cqi; height: 7.5cqi; }
.hush-chips { display: flex; gap: 2cqi; margin-top: auto; padding: 0 5cqi 8cqi; overflow: hidden; }
.hush-chips span { flex: none; padding: 2.4cqi 4cqi; border-radius: 99px; font-size: 3.6cqi; font-weight: 550; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 0.3cqi rgba(255, 255, 255, 0.1); }
.hush-chips .on { background: #cfc8ff; color: #1d1a3a; }

/* Linkwords screen: sketchbook paper, highlighter yellow, handwritten tiles. */
.lw {
  --ink-lw: #2b2b2b;
  background:
    radial-gradient(circle, rgba(43, 43, 43, 0.09) calc(var(--w) * 0.0032), transparent calc(var(--w) * 0.0045)) 0 0 / calc(var(--w) * 0.048) calc(var(--w) * 0.048),
    #fbf8f2;
  color: var(--ink-lw);
  font-family: var(--hand);
}
.lw-head { display: flex; align-items: center; justify-content: space-between; padding: 3cqi 7cqi 0; }
.lw-head strong { font: 700 11.5cqi/1 "Caveat", var(--hand); letter-spacing: -0.01em; }
.lw-streak { display: inline-flex; align-items: center; gap: 1cqi; font-size: 5cqi; padding: 1.2cqi 3cqi; border-radius: 99px; background: #fff; box-shadow: 0 0 0 0.35cqi var(--ink-lw); }
.lw-streak .i { width: 4.4cqi; height: 4.4cqi; color: #fa5252; }
.lw-sub { margin: 1.4cqi 7cqi 0; font-size: 4.3cqi; color: #6b6b6b; }
.lw-sizes { display: flex; gap: 1.6cqi; margin: 4cqi 7cqi 6cqi; }
.lw-sizes i { display: grid; place-items: center; width: 7cqi; height: 7cqi; border-radius: 50%; font-style: normal; font-size: 3.8cqi; box-shadow: inset 0 0 0 0.35cqi var(--ink-lw); background: #fff; }
.lw-sizes i.done { background: #8fd19e; }
.lw-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.2cqi 1.8cqi; padding: 0 5cqi; }
.lw-board > span {
  display: grid; place-items: center;
  height: 16cqi;
  border-radius: 2.2cqi;
  background: #fffdf7;
  box-shadow: inset 0 0 0 0.4cqi var(--ink-lw), 0 0.7cqi 0 var(--ink-lw);
  font-size: 3.7cqi; text-transform: uppercase; letter-spacing: 0.01em;
  transform: rotate(var(--r, 0deg));
}
.lw-board > span.sel { animation: pick 7s var(--ease) infinite; animation-delay: calc(var(--n, 1) * 0.45s); }
.lw-board > span[data-n="1"] { --n: 1; } .lw-board > span[data-n="2"] { --n: 2; } .lw-board > span[data-n="3"] { --n: 3; } .lw-board > span[data-n="4"] { --n: 4; }
@keyframes pick {
  0%, 6% { background: #fffdf7; transform: rotate(var(--r)) translateY(0); }
  9%, 74% { background: #ffe066; transform: rotate(var(--r)) translateY(-0.5cqi); }
  80%, 100% { background: #fffdf7; transform: rotate(var(--r)) translateY(0); }
}
.lw-solved {
  grid-column: 1 / -1;
  display: grid; justify-items: center; gap: 0.6cqi;
  padding: 3.4cqi 2cqi;
  border-radius: 2.6cqi;
  background: #eaf7ee;
  box-shadow: inset 0 0 0 0.4cqi var(--ink-lw), 0 0.7cqi 0 var(--ink-lw);
  transform: rotate(-0.6deg);
}
.lw-solved strong { font-size: 4.2cqi; text-transform: uppercase; letter-spacing: 0.04em; }
.lw-solved span { font-size: 3.4cqi; text-transform: uppercase; color: #3d3d3d; }
.lw-mistakes { display: flex; align-items: center; gap: 1.8cqi; margin: auto 7cqi 0; font-size: 4cqi; color: #555; }
.lw-mistakes span { margin-right: auto; }
.lw-mistakes i { width: 3.4cqi; height: 3.4cqi; border-radius: 50%; background: #495057; }
.lw-mistakes i.used { background: #adb5bd; }
.lw-actions { display: flex; gap: 2cqi; margin: 5cqi 5cqi 9cqi; }
.lw-actions span { flex: 1; text-align: center; padding: 2.8cqi 0; border-radius: 99px; font-size: 4.2cqi; background: #fffdf7; box-shadow: inset 0 0 0 0.4cqi var(--ink-lw), 0 0.7cqi 0 var(--ink-lw); }
.lw-actions .go { background: #ffc9c9; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(84px, 12vw, 150px); }
.section.tight { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section-head .chip { margin-bottom: 20px; }
.section-head .display-2 { margin-bottom: 18px; }
.section-head .lede { margin-inline: auto; }
.section-head.left { margin-inline: 0; text-align: left; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 48px; align-items: end; max-width: none; }
.section-head.left .lede { margin: 0; }

/* Statement: words light up as you scroll past. */
.statement-text { max-width: 22em; margin: 0 auto; text-align: center; font: 400 clamp(2rem, 4.4vw, 3.6rem)/1.12 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.statement-text em { font-style: italic; }
.pic { display: inline-block; vertical-align: -0.08em; width: 0.95em; height: 0.95em; border-radius: 0.26em; margin-inline: 0.06em; box-shadow: 0 0.12em 0.3em -0.1em rgba(19, 18, 16, 0.35); }
.pic-pill { width: 1.9em; border-radius: 99px; object-fit: cover; }
.pic-ic { display: inline-grid; place-items: center; background: var(--banana); color: var(--ink); }
.pic-ic .i { width: 60%; height: 60%; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.tags span { padding: 6px 13px; border-radius: 99px; background: var(--bg-2); font-size: 13.5px; color: var(--ink-2); font-weight: 500; }

/* App showcase cards on the home page */
.showcase-list { display: grid; gap: 22px; }
.showcase {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.08fr;
  min-height: 560px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-md);
}
.showcase-copy { position: relative; z-index: 2; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: auto; padding-bottom: 36px; }
.app-id img { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 10px 24px -10px rgba(19, 18, 16, 0.45); }
.app-id h3 { font-size: 20px; letter-spacing: -0.02em; }
.app-id p { margin: 2px 0 0; font-size: 14px; color: var(--ink-3); }
.showcase .display-3 { margin-bottom: 18px; max-width: 12em; }
.showcase-copy > p { max-width: 30em; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 8px 0 30px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.ticks .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--tick, var(--butter)); color: var(--tick-ink, var(--peel)); margin-top: 1px; }
.showcase-art { position: relative; overflow: hidden; margin: 10px; border-radius: calc(var(--r-xl) - 10px); isolation: isolate; }
.showcase-art .stage-item { top: 13%; }
.showcase-art .phone { --w: clamp(210px, 22vw, 270px); }
.showcase-art .float-card { animation-duration: 8s; }
.art-hush { background: #0e0d1b url("/assets/img/hush-night.webp") 70% 50% / cover; }
.art-hush::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 100%, rgba(14, 13, 27, 0.8), transparent); z-index: -1; }
.art-lw { background: radial-gradient(circle, rgba(43, 43, 43, 0.09) 1.3px, transparent 1.6px) 0 0 / 20px 20px, #fbf3d6; }
.tile-cloud { position: absolute; inset: 0; pointer-events: none; }
.tile {
  position: absolute;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: inset 0 0 0 2px #2b2b2b, 0 4px 0 #2b2b2b, 0 18px 30px -16px rgba(43, 43, 43, 0.5);
  font: 400 clamp(15px, 1.5vw, 19px)/1 var(--hand);
  text-transform: uppercase; color: #2b2b2b;
  rotate: var(--r, 0deg);
  animation: float-soft 6s var(--ease-in-out) infinite;
  animation-delay: var(--dl, 0s);
}
.tile.y { background: #ffe066; } .tile.g { background: #bfe6c8; } .tile.b { background: #cfe5f8; } .tile.p { background: #ddd3f7; } .tile.o { background: #ffd2c2; }

/* Bento: how we build */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.cell { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.7s var(--spring), box-shadow 0.4s var(--ease); }
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cell h3 { font-size: 19px; margin-bottom: 8px; }
.cell p { margin: 0; font-size: 15px; }
.cell .cell-foot { margin-top: auto; padding-top: 24px; }
.cell-tall { grid-row: span 2; }
.cell-wide { grid-column: span 2; }
.cell-banana { background: linear-gradient(160deg, #fff3c4, #ffe488); box-shadow: 0 0 0 1px rgba(214, 160, 0, 0.18); }
.cell-dark { background: #141311; color: rgba(255, 255, 255, 0.72); box-shadow: none; }
.cell-dark h3 { color: #fff; }
.cell-dark a { color: #fff; }
.cell-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cell-dark .cell-icon { background: rgba(255, 255, 255, 0.08); color: var(--banana); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.cell-icon .i { width: 22px; height: 22px; }
.cell .big-number { font: 400 clamp(7rem, 13vw, 11rem)/0.8 var(--serif); letter-spacing: -0.04em; color: var(--ink); margin: 6px 0 14px; }
.big-number em { font-style: italic; }
.toggle-demo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 14px 16px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 550; color: var(--ink); font-size: 15px; }
.toggle-demo span { display: flex; align-items: center; gap: 10px; }
.toggle-demo .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #ff9f0a; color: #fff; }
.toggle-demo .ic .i { width: 18px; height: 18px; }
.switch { position: relative; width: 51px; height: 31px; border-radius: 99px; background: #34c759; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 22px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16); animation: flick 5s var(--spring) infinite; }
.switch { animation: flick-bg 5s var(--ease) infinite; }
@keyframes flick { 0%, 12% { left: 2px; } 20%, 100% { left: 22px; } }
@keyframes flick-bg { 0%, 12% { background: #e5e5ea; } 20%, 100% { background: #34c759; } }
.mini-doc { margin-top: auto; padding: 16px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.mini-doc i { display: block; height: 7px; border-radius: 9px; background: rgba(19, 18, 16, 0.1); }
.mini-doc i:nth-child(1) { width: 40%; height: 9px; background: rgba(19, 18, 16, 0.22); }
.mini-doc i:nth-child(3) { width: 86%; background: var(--banana); }
.mini-doc i:nth-child(5) { width: 64%; }
.bubbles { margin-top: auto; display: grid; gap: 8px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.4; }
.bubble.them { background: var(--bg); color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.us { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.receipt { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink-2); }
.receipt b { font-weight: 600; color: #1f8a3e; background: #e3f6e8; padding: 4px 10px; border-radius: 99px; font-size: 13.5px; }
.shield-art { margin: auto auto 0; width: 60%; max-width: 190px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 59, 0.28), rgba(255, 212, 59, 0) 68%); }
.shield-art .i { width: 44%; height: 44%; color: var(--banana); }
.shield-art::before, .shield-art::after { content: ""; position: absolute; }

/* FAQ accordion (Noma-style rows) */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: var(--card); box-shadow: var(--shadow-sm); transition: box-shadow 0.3s; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; font-size: 16.5px; font-weight: 560; color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 100% no-repeat; transition: transform 0.5s var(--spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > :not(summary) { padding: 0 26px; margin: 0 0 16px; color: var(--ink-2); max-width: 44em; }
.faq details > :last-child { padding-bottom: 8px; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  border-radius: var(--r-xl);
  background: #141311;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.cta::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 90%; aspect-ratio: 1.6; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 212, 59, 0.5), rgba(255, 212, 59, 0)); filter: blur(20px); animation: glow 8s var(--ease-in-out) infinite; }
@keyframes glow { 0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
.cta .display-2 { color: #fff; margin: 22px 0 16px; }
.cta .lede { color: rgba(255, 255, 255, 0.7); margin: 0 auto 32px; }
.cta-icons { display: flex; justify-content: center; }
.cta-icons img { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 5px #141311, 0 20px 40px -12px rgba(0, 0, 0, 0.7); transition: transform 0.6s var(--spring); }
.cta-icons img + img { margin-left: -14px; }
.cta-icons img:nth-child(1) { rotate: -8deg; } .cta-icons img:nth-child(2) { rotate: 6deg; translate: 0 -6px; } .cta-icons img:nth-child(3) { rotate: -4deg; }
.cta:hover .cta-icons img:nth-child(1) { transform: translate(-8px, -4px) rotate(-4deg); }
.cta:hover .cta-icons img:nth-child(2) { transform: translate(8px, -6px) rotate(4deg); }

/* ---------- App pages ---------- */
.app-hero-icon { width: clamp(88px, 10vw, 112px); height: auto; aspect-ratio: 1; border-radius: 26%; margin-bottom: 26px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 24px 50px -18px rgba(0, 0, 0, 0.55); animation: float 7s var(--ease-in-out) infinite; }
.hero-hush { background: #0e0d1b; color: rgba(255, 255, 255, 0.78); }
.hero-hush .hero-bg { background: url("/assets/img/hush-night.webp") 72% 30% / cover no-repeat; }
.hero-hush .hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 30%, rgba(14, 13, 27, 0.15), rgba(14, 13, 27, 0.7)), linear-gradient(180deg, rgba(14, 13, 27, 0.35) 0%, rgba(14, 13, 27, 0) 40%, rgba(14, 13, 27, 0.9) 100%); }
.hero-hush .display { color: #fff; }
.hero-hush .display em { color: #cfc8ff; }
.hero-hush .lede { color: rgba(255, 255, 255, 0.72); }
.hero-hush .stars { position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 12%, #fff, transparent), radial-gradient(1.4px 1.4px at 44% 30%, #fff, transparent), radial-gradient(1px 1px at 62% 16%, #fff, transparent), radial-gradient(1.2px 1.2px at 86% 44%, #fff, transparent), radial-gradient(1px 1px at 8% 60%, #fff, transparent), radial-gradient(1.3px 1.3px at 20% 42%, #fff, transparent), radial-gradient(1px 1px at 52% 8%, #fff, transparent); animation: twinkle 5s var(--ease-in-out) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.hero-lw { background: radial-gradient(circle, rgba(43, 43, 43, 0.08) 1.3px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(180deg, #fffbea, #fbf3d6); }
.hero-lw .display em { color: var(--ink); }
.hero-lw .tile-cloud .tile { font-size: clamp(14px, 1.4vw, 18px); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.7s var(--spring), box-shadow 0.4s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .cell-icon { background: var(--soft, var(--butter)); color: var(--deep, var(--peel)); box-shadow: none; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; }

.library { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.shelf { padding: 22px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm); }
.shelf h3 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.shelf h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.shelf ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.shelf li { padding: 5px 11px; border-radius: 99px; background: var(--bg); font-size: 13.5px; color: var(--ink-2); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 900px; margin-inline: auto; padding: 12px; border-radius: calc(var(--r-xl) + 4px); background: rgba(19, 18, 16, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.plan-pro { background: linear-gradient(165deg, #2a2553 0%, #17152e 60%, #100f20 100%); color: rgba(255, 255, 255, 0.72); box-shadow: 0 30px 60px -30px rgba(40, 30, 110, 0.7); position: relative; overflow: hidden; }
.plan-pro::before { content: ""; position: absolute; right: -30%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(170, 155, 255, 0.45), transparent); }
.plan-pro h3, .plan-pro .plan-price { color: #fff; }
.plan-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.plan-top img { width: 44px; height: 44px; border-radius: 12px; }
.plan h3 { font: 400 2.4rem/1 var(--serif); letter-spacing: -0.02em; margin-bottom: 8px; }
.plan-price { font-size: 15px; color: var(--ink); font-weight: 560; margin-bottom: 22px; }
.plan .ticks { margin-bottom: 0; }
.plan-pro .ticks li { color: rgba(255, 255, 255, 0.85); }
.plan-pro .ticks .i { background: rgba(207, 200, 255, 0.18); color: #cfc8ff; }
.plan-note { max-width: 640px; margin: 22px auto 0; text-align: center; font-size: 13.5px; color: var(--ink-3); }

.care { display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; overflow: hidden; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-md); }
.care-copy { padding: clamp(28px, 5vw, 56px); }
.care-copy .display-3 { margin: 16px 0 16px; }
.care-copy .ticks { margin-bottom: 0; }
.care-art { min-height: 300px; background: url("/assets/img/hush-baby.webp") 72% 50% / cover no-repeat; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--fill); box-shadow: inset 0 0 0 2px #2b2b2b; font: 700 24px/1 "Caveat", var(--hand); color: #2b2b2b; rotate: -4deg; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14.5px; }

.sizes-demo { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.sizes-demo i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 400 20px/1 var(--hand); font-style: normal; color: #2b2b2b; background: var(--c); box-shadow: inset 0 0 0 2px #2b2b2b; }
.toast-demo { margin: auto auto 0; padding: 12px 22px; border-radius: 99px; background: #2b2b2b; color: #fff; font: 400 20px/1 var(--hand); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5); animation: nudge 3.6s var(--ease) infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 74% { transform: translateX(-7px); } 78% { transform: translateX(6px); } 82% { transform: translateX(-4px); } 86% { transform: translateX(2px); } }
.herring { margin-top: auto; display: grid; justify-items: center; gap: 12px; }
.herring .tile { position: static; animation: none; }
.herring-paths { display: flex; gap: 10px; }
.herring-paths span { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 550; background: var(--bg); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.herring-paths span.real { background: #eaf7ee; color: #1f6b35; box-shadow: inset 0 0 0 1px rgba(31, 107, 53, 0.2); }
.herring-paths span.fake { text-decoration: line-through; text-decoration-color: rgba(232, 102, 79, 0.8); }
.share-demo { margin-top: auto; padding: 18px; border-radius: 18px; background: #fbf8f2; box-shadow: inset 0 0 0 1px var(--line); font: 400 16px/1.35 var(--hand); color: #2b2b2b; }
.share-grid { display: grid; grid-template-columns: repeat(6, 18px); gap: 4px; margin: 8px 0; }
.share-grid i { width: 18px; height: 18px; border-radius: 4px; background: var(--c); }
.flame-demo { margin-top: auto; display: flex; align-items: flex-end; gap: 14px; }
.flame-demo .i { width: 64px; height: 64px; color: #fa5252; animation: flicker 2.4s var(--ease-in-out) infinite; transform-origin: bottom; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.06, 0.96) rotate(-2deg); } 60% { transform: scale(0.97, 1.05) rotate(2deg); } }
.flame-demo strong { font: 400 4.2rem/0.8 var(--serif); color: var(--ink); letter-spacing: -0.03em; }
.flame-demo small { display: block; font-size: 14px; color: var(--ink-3); margin-top: 8px; }

.help-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.help-link { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm); transition: transform 0.6s var(--spring), box-shadow 0.3s; }
.help-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.help-link .cell-icon { margin: 0; }
.help-link strong { display: block; color: var(--ink); font-weight: 600; }
.help-link small { color: var(--ink-3); font-size: 14px; }
.help-link .go { margin-left: auto; width: 20px; height: 20px; color: var(--ink-3); transition: transform 0.5s var(--spring); }
.help-link:hover .go { transform: translate(2px, -2px); color: var(--ink); }

/* ---------- Page heads (legal, support, 404) ---------- */
.page-head { padding-bottom: clamp(56px, 8vw, 90px); background: linear-gradient(180deg, #fff6d9 0%, #faf3e6 60%, var(--bg) 100%); }
.page-head .hero-inner .display { font-size: clamp(3rem, 7vw, 5.6rem); margin-bottom: 20px; }
.page-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.page-meta .chip { margin: 0; }
.app-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.app-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 550; color: var(--ink); transition: transform 0.5s var(--spring); }
.app-pill:hover { transform: translateY(-2px); }
.app-pill img { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- Legal documents ---------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; padding: 18px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.6); box-shadow: var(--shadow-sm); font-size: 14px; scrollbar-width: thin; }
.toc-title { margin: 4px 10px 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.toc-title + ol, .toc-title + ul { margin-bottom: 14px; }
.toc ol, .toc ul { list-style: none; display: grid; gap: 1px; }
.toc a { display: block; padding: 6px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; line-height: 1.35; transition: background-color 0.2s, color 0.2s; }
.toc a:hover { background: rgba(19, 18, 16, 0.05); color: var(--ink); }
.toc a.active { background: var(--ink); color: #fff; }
.toc ol { counter-reset: toc; }
.toc ol a::before { counter-increment: toc; content: counter(toc) ". "; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toc ol a.active::before { color: rgba(255, 255, 255, 0.55); }

.prose { padding: clamp(24px, 5vw, 60px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-md); font-size: 16.5px; line-height: 1.72; color: #45423c; min-width: 0; }
.prose > * { max-width: 42em; }
.prose h2 { font: 400 clamp(1.8rem, 3vw, 2.3rem)/1.1 var(--serif); letter-spacing: -0.02em; margin: 2.4em 0 0.6em; padding-top: 0.2em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 1.8em 0 0.5em; letter-spacing: -0.01em; }
.prose h4 { font-size: 0.98rem; margin: 1.6em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 3.5em 0; max-width: none; }
.lead-in { font-size: 1.14rem; color: var(--ink); line-height: 1.6; }
.glance { margin: 1.6em 0 0.4em; padding: 26px 28px; border-radius: var(--r-md); background: linear-gradient(160deg, #fff7d6, #fff0b3); box-shadow: 0 0 0 1px rgba(214, 160, 0, 0.2); }
.glance h2, .prose .glance h2 { font: 600 0.8rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--peel); margin: 0 0 16px; padding: 0; }
.checks { list-style: none; padding: 0 !important; display: grid; gap: 10px; margin: 0 !important; }
.checks li { position: relative; padding-left: 32px; margin: 0; color: var(--ink); line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD43B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.address-card { font-style: normal; margin: 1em 0 1.4em; padding: 18px 22px; border-radius: var(--r-sm); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); line-height: 1.6; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); max-width: none !important; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--bg); color: var(--ink); font-weight: 600; font-size: 13px; letter-spacing: 0.01em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.apps-heading { margin-top: 0 !important; }
.app-section { margin-top: 2.2em; padding: clamp(20px, 3.5vw, 32px); border-radius: var(--r-lg); background: color-mix(in srgb, var(--accent, #8878ca) 6%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent, #8878ca) 18%, transparent); max-width: none !important; scroll-margin-top: 110px; }
.app-section > * { max-width: 42em; }
.app-section .table-wrap { background: #fff; }
.app-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-section-head img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 8px 18px -10px rgba(19, 18, 16, 0.5); }
.app-section-head h3, .app-section-head h2 { margin: 0 !important; font: 400 1.9rem/1 var(--serif); letter-spacing: -0.02em; }
.app-section-head p { margin: 4px 0 0; }

/* ---------- Support ---------- */
.contact-card { display: grid; grid-template-columns: 1.3fr auto; gap: 20px 40px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: #141311; color: rgba(255, 255, 255, 0.72); position: relative; overflow: hidden; isolation: isolate; }
.contact-card::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 212, 59, 0.35), transparent); }
.contact-card h2 { color: #fff; font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--serif); letter-spacing: -0.02em; margin-bottom: 12px; }
.contact-card p { margin: 0 0 0.5em; }
.contact-card em { color: #fff; font-style: normal; }
.faq-group { margin-top: clamp(56px, 8vw, 90px); scroll-margin-top: 100px; }
.faq-group > .app-section-head, .faq-group > h2 { max-width: 820px; margin: 0 auto 22px; }
.faq-group > h2 { font: 400 clamp(1.9rem, 3vw, 2.4rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.faq-group .app-section-head a { color: var(--ink-2); }
.faq-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }

/* ---------- 404 ---------- */
.lost { min-height: 78vh; display: grid; align-content: center; padding-bottom: 90px; }
.lost-mark { display: flex; align-items: center; justify-content: center; gap: 0.08em; font: 400 clamp(7rem, 22vw, 15rem)/0.8 var(--serif); color: var(--ink); letter-spacing: -0.04em; margin-bottom: 22px; }
.lost-mark img { width: 0.78em; height: 0.78em; border-radius: 22%; rotate: -12deg; animation: wobble 3.4s var(--spring) infinite; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.5); }
@keyframes wobble { 0%, 100% { rotate: -12deg; } 50% { rotate: 10deg; } }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(56px, 7vw, 80px); background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.footer-brand .brand { font-size: 18px; }
.footer-brand .brand img { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand p { max-width: 22em; margin: 16px 0 18px; color: var(--ink-2); }
.footer-mail { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 520; font-size: 14.5px; transition: transform 0.5s var(--spring); }
.footer-mail:hover { transform: translateY(-2px); }
.footer-mail .i { color: var(--ink-3); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-title { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-bottom: 14px; }
.footer-cols ul { list-style: none; display: grid; gap: 10px; }
.footer-cols a { color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; transition: color 0.2s; }
.footer-cols a:hover { color: var(--ink-3); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.footer-base p { margin: 0; }
.wordmark {
  margin: 10px 0 0;
  text-align: center;
  font: 400 clamp(4.4rem, 19.5vw, 19rem)/0.78 var(--serif);
  letter-spacing: -0.045em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 50%, var(--bg)) 45%, var(--bg) 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
  user-select: none;
}
.wordmark em { font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .library { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links, .nav-sep, .nav-cta { display: none; }
  .menu { display: block; }
  .nav { width: 100%; max-width: 560px; justify-content: space-between; padding: 6px 6px 6px 8px; }
  .showcase { grid-template-columns: 1fr; min-height: 0; }
  .showcase-art { min-height: 440px; order: -1; }
  .app-id { padding-bottom: 24px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-tall { grid-row: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .care { grid-template-columns: 1fr; }
  .care-art { order: -1; min-height: 240px; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc ol, .toc ul { grid-template-columns: 1fr 1fr; }
  .section-head.left { grid-template-columns: 1fr; }
  .help-links { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { margin: 6px; border-radius: 28px; }
  .stage { height: 380px; }
  .stage .phone { --w: 210px; }
  .stage-l { --tx: -70px; --ty: 34px; }
  .stage-r { --tx: 70px; --ty: 10px; }
  .stage-solo .phone { --w: 240px; }
  .float-card { transform: scale(0.86); }
  .hide-sm { display: none !important; }
  .bento, .features, .plans, .library { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cell-wide { grid-column: auto; }
  .toc ol, .toc ul { grid-template-columns: 1fr; }
  .prose { border-radius: var(--r-lg); font-size: 16px; }
  .faq summary { padding: 18px 20px; font-size: 15.5px; }
  .faq details > :not(summary) { padding: 0 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .showcase-art { min-height: 400px; }
  .showcase-art .phone { --w: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .hl::after { transform: skewX(-14deg) rotate(-1deg) !important; }
}

/* ---------- Late additions ---------- */
.cta .store-buttons { justify-content: center; }
.cta-hush { background: linear-gradient(170deg, #1d1a3a, #0e0d1b); }
.cta-hush::before { background: radial-gradient(closest-side, rgba(170, 155, 255, 0.55), rgba(170, 155, 255, 0)); }
.lost .display-2 { max-width: 12em; }
.lost-mark img { display: inline-block; }
