/* Ruk's landing. Light, so his black notch stands out at the top of the page as it does at the
   top of your screen. One accent, durazno. Nunito for what he says out loud, Inter for the rest,
   the same text as in the app. Everything that shows the product is a window on his wallpaper:
   a capture today, a video tomorrow (.win takes either). */

@font-face {
  font-family: "Nunito";
  src: url("assets/nunito.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f4f4f2;
  --paper: #ffffff;
  --ink: #0c0c0e;
  --muted: #5c5d63;
  --line: rgba(12, 12, 14, 0.1);
  --notch: #000000;
  --night: #0d0d10;
  --desk: #17181c;
  --desk-2: #212228;
  --accent: #ff9e7a;
  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --radius: 28px;
  --radius-in: 14px;
  --gutter: clamp(16px, 3vw, 40px);
  --space: clamp(88px, 12vw, 176px);
  --wall:
    radial-gradient(46% 62% at 88% -4%, rgba(255, 178, 146, 0.95), rgba(255, 158, 122, 0.42) 46%, rgba(255, 158, 122, 0) 100%),
    radial-gradient(52% 72% at 4% 104%, rgba(255, 196, 160, 0.2), rgba(255, 196, 160, 0) 62%),
    linear-gradient(180deg, #1a1718 0%, #0e0e11 100%);
  --warm:
    radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 60%),
    linear-gradient(170deg, #ffae8e 0%, #ff9e7a 48%, #ff8c62 100%);
  /* The space of the iPhone's status bar and Dynamic Island: 0 everywhere else. */
  --safe-top: env(safe-area-inset-top, 0px);
  --big-w: 420px;
  --rest-w: 300px;
  --small-w: 96px;
  --big-h: 122px;
  --face-w: 210px;
  --face-h: 126px;
  --eye-s: 0.413;
  --spring: cubic-bezier(0.2, 1.15, 0.4, 1);
  --soft: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(84px + var(--safe-top)); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 450 17px/1.55 var(--text);
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* A little grain, so nothing is a flat digital colour. */
body::after {
  content: "";
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--display);
  text-wrap: balance;
}
h1 {
  font-size: min(6.2vw, 11.5vh, 88px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.032em;
}
h3 {
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: fixed;
  z-index: 70;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 16px/1 var(--text);
  letter-spacing: -0.012em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px -12px rgba(12, 12, 14, 0.55);
  transition: background 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s var(--spring);
}
.btn:hover {
  background: #232327;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 30px -12px rgba(12, 12, 14, 0.6);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(12, 12, 14, 0.16);
}
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(12, 12, 14, 0.08), 0 12px 24px -14px rgba(12, 12, 14, 0.3); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-big { min-height: 58px; padding: 0 32px; font-size: 17px; }
.btn-arrow {
  width: 13px;
  height: 13px;
  fill: currentColor;
  transform: rotate(45deg);
  transition: transform 0.24s var(--spring);
}
.btn:hover .btn-arrow { transform: translate(2px, -2px) rotate(45deg); }

/* ── The bar, with his notch hanging in the middle ─────────────────────── */

.nav {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(60px + var(--safe-top));
  padding: var(--safe-top) var(--gutter) 0;
  transition: background 0.2s ease-out, box-shadow 0.2s ease-out;
}
.nav.scrolled {
  background: rgba(244, 244, 242, 0.95);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  font: 900 27px/1 var(--display);
  letter-spacing: -0.045em;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color 0.16s ease-out; }
.nav-link:hover { color: var(--ink); }

/* ── His notch ─────────────────────────────────────────────────────────── */

.ruk {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  width: var(--big-w);
  height: calc(var(--big-h) + var(--safe-top));
  overflow: hidden;
  background: var(--notch);
  border-radius: 0 0 26px 26px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.09), 0 26px 50px -22px rgba(30, 14, 6, 0.6);
  transform: translateX(-50%);
  transition: width 0.36s var(--spring), height 0.36s var(--spring), border-radius 0.3s ease-out, box-shadow 0.4s ease-out;
  pointer-events: none;
}
.ruk.bare { width: var(--rest-w); }
.ruk[data-size="word"] { border-radius: 0 0 18px 18px; }
.ruk[data-size="small"] { width: var(--small-w); height: calc(34px + var(--safe-top)); border-radius: 0 0 15px 15px; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.09), 0 10px 20px -12px rgba(30, 14, 6, 0.5); }
/* While he talks, a warm light comes out from under him. */
.ruk[data-mode="speak"], .ruk[data-mode="cheer"] {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 26px 50px -22px rgba(30, 14, 6, 0.6), 0 14px 70px -6px rgba(255, 158, 122, 0.6);
}

.face-defs { position: absolute; }
.face {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--face-w);
  height: var(--face-h);
  margin-left: calc(var(--face-w) / -2);
  overflow: visible;
  transform-origin: 0 0;
  transform: translateY(calc(8px + var(--safe-top)));
  transition: transform 0.36s var(--spring), left 0.36s var(--spring), margin-left 0.36s var(--spring);
}
/* The eyes alone, 40 px wide: at the left of his word, or in the middle of the small notch. */
.ruk[data-size="word"] .face { left: 0; margin-left: 0; transform: translate(-9px, calc(-1px + var(--safe-top))) scale(var(--eye-s)); }
.ruk[data-size="small"] .face { transform: translate(calc(var(--face-w) / 2 * (1 - var(--eye-s))), calc(-2px + var(--safe-top))) scale(var(--eye-s)); }
.f-brows, .f-mouths { transition: opacity 0.16s ease-out; }
.ruk:not([data-size="big"]) .f-brows,
.ruk:not([data-size="big"]) .f-mouths { opacity: 0; }

.ruk-word {
  position: absolute;
  top: calc(8px + var(--safe-top));
  left: 62px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.14s ease-out;
}
.ruk[data-size="word"] .ruk-word { opacity: 1; transition-delay: 0.1s; }

.ruk-line {
  position: absolute;
  top: calc(var(--big-h) - 6px + var(--safe-top));
  left: 50%;
  width: calc(var(--big-w) - 40px);
  color: #e6e6e3;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.36;
  text-align: center;
  transform: translateX(-50%);
}
.ruk[data-size="word"] .ruk-line { top: calc(34px + var(--safe-top)); }
.ruk[data-size="small"] .ruk-line { opacity: 0; }

/* ── The drawing, in his poses ─────────────────────────────────────────── */

.f-white { fill: url(#ojo); }
.f-ink { fill: #f7f6f2; }
.f-accent { fill: var(--accent); }
.f-tongue { fill: #ff8f73; }
.f-line { fill: #121013; stroke: #f7f6f2; stroke-width: 3.2; stroke-linejoin: round; }

/* He looks where you are: the whole face leans, a little. */
.f-look { transform: translate(var(--lx, 0px), var(--ly, 0px)); transition: transform 0.2s ease-out; }

.f-pose-el, .f-pose-er, .f-pose-bl, .f-pose-br {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.2, 1.3, 0.4, 1);
}
.f-blink { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.06); }
}
.f-happy, .f-mouth { display: none; }

[data-mode="rest"] .f-m1 { display: inline; }

[data-mode="listen"] .f-small { display: inline; }
[data-mode="listen"] .f-pose-el, [data-mode="listen"] .f-pose-er { transform: scale(1.06, 1.12); }
[data-mode="listen"] .f-pose-bl, [data-mode="listen"] .f-pose-br { transform: translateY(-12px); }

[data-mode="think"] .f-side { display: inline; }
[data-mode="think"] .f-pose-el { transform: translateY(8px) scale(1, 0.5); }
[data-mode="think"] .f-pose-er { transform: scale(1.02, 1.06); }
[data-mode="think"] .f-pose-bl { transform: translateY(16px) rotate(5deg); }
[data-mode="think"] .f-pose-br { transform: translateY(-10px); }
[data-mode="think"] .f-look { animation: think 2.4s ease-in-out infinite; }
@keyframes think {
  0%, 100% { transform: translate(14px, -3px); }
  50% { transform: translate(-14px, -5px); }
}

[data-mode="work"] .f-pose-el { transform: scaleX(0.84); }
[data-mode="work"] .f-pose-er { transform: scale(1.08); }

[data-mode="speak"] .f-m1, [data-mode="speak"] .f-m2, [data-mode="speak"] .f-m3 { display: inline; }
[data-mode="speak"] .f-m1 { animation: m1 0.66s steps(1) infinite; }
[data-mode="speak"] .f-m2 { animation: m2 0.66s steps(1) infinite; }
[data-mode="speak"] .f-m3 { animation: m3 0.66s steps(1) infinite; }
@keyframes m1 { 0% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes m2 { 0% { opacity: 0; } 33% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes m3 { 0%, 33% { opacity: 0; } 66%, 100% { opacity: 1; } }
[data-mode="speak"] .f-pose-er { transform: scale(1.06); }
[data-mode="speak"] .f-pose-el { transform: scaleX(0.96); }
[data-mode="speak"] .f-pose-bl, [data-mode="speak"] .f-pose-br { transform: translateY(-4px); }

[data-mode="cheer"] .f-open { display: none; }
[data-mode="cheer"] .f-happy, [data-mode="cheer"] .f-big { display: inline; }
[data-mode="cheer"] .f-spark { transform-box: fill-box; transform-origin: center; animation: spark 0.45s ease-in-out infinite alternate; }
@keyframes spark {
  0% { transform: scale(0.55); opacity: 0.55; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── His arrow ─────────────────────────────────────────────────────────── */

.pointer {
  position: absolute;
  z-index: 60;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}
.pointer.on { opacity: 1; }
.pointer-arrow {
  position: absolute;
  left: -19px;
  top: -5px;
  width: 38px;
  height: 38px;
  overflow: visible;
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 6;
  stroke-linejoin: round;
  paint-order: stroke;
  transform-origin: 19px 5px;
  filter: drop-shadow(0 8px 14px rgba(30, 14, 6, 0.4));
}
.pointer-label {
  position: absolute;
  left: 26px;
  top: 4px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 20px -10px rgba(12, 12, 14, 0.6);
  opacity: 0;
  transform: scale(0.8);
  transform-origin: 0 0;
  transition: opacity 0.14s ease-out, transform 0.24s var(--spring);
}
.pointer.flip .pointer-label { left: auto; right: 24px; transform-origin: 100% 0; }
.pointer.arrived .pointer-label:not(:empty) { opacity: 1; transform: none; }
.pointer-ring {
  position: absolute;
  left: -30px;
  top: -30px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
}
.pointer.arrived .pointer-ring { animation: ring 0.9s ease-out 2; }
@keyframes ring {
  0% { opacity: 0.7; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.2); }
}

/* ── The first screen ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(166px + var(--safe-top)) var(--gutter) 0;
  overflow-x: clip;
  text-align: center;
}
/* The light of his wallpaper falls on the page around it. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -60px;
  width: min(1700px, 140vw);
  height: 760px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 158, 122, 0.34), rgba(255, 158, 122, 0) 72%);
  transform: translateX(-50%);
  pointer-events: none;
}

/* One line at a time, out of a mask. */
.swap { display: grid; justify-items: center; }
.swap-item { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; }
.ln {
  display: block;
  overflow: hidden;
  /* Room for the accents and the descenders, which a tight line would cut. */
  margin: -0.12em -0.05em -0.16em;
  padding: 0.12em 0.05em 0.16em;
}
.ln > span {
  display: block;
  transform: translateY(118%);
  transition: none;
}
.swap-item.on .ln > span {
  transform: none;
  transition: transform 0.62s var(--soft) 0.1s;
}
.swap-item.on .ln + .ln > span { transition-delay: 0.17s; }
.swap-item.out .ln > span {
  transform: translateY(-118%);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0.8, 0.4);
}

.lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.46;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* The desktop: his wallpaper, and on it a window. Today a capture; the videos go in the same place. */
.stage-wrap { width: min(1180px, 100%); margin-top: 44px; }
.stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wall);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 60px 110px -50px rgba(60, 24, 8, 0.7), 0 0 0 1px rgba(12, 12, 14, 0.1);
  text-align: left;
}
.stage-bar {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 50%;
  display: flex;
  width: max-content;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}
.tab {
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font: 600 14px/1 var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease-out, color 0.2s ease-out;
}
.tab:hover { color: #fff; }
.tab.on { background: #fff; color: var(--ink); }
.tab:focus-visible { outline-color: #fff; }

.screens { position: relative; aspect-ratio: 1180 / 664; overflow: hidden; }
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 68px 5% 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.99);
  transition: opacity 0.34s ease-out, transform 0.5s var(--soft), visibility 0s linear 0.34s;
}
.screen.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.34s ease-out, transform 0.5s var(--soft); }

/* A window. It takes an image or a video the same way. */
.win {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-in) var(--radius-in) 0 0;
  background: var(--desk);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 70px -18px rgba(0, 0, 0, 0.75);
}
.win::after {
  /* The light on its top edge. */
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.win > img, .win > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.shot { position: absolute; inset: 0; }
.win > .shot { position: absolute; }
.shot-mark { opacity: 0; transition: opacity 0.22s ease-out; }
.shot-mark.on { opacity: 1; }

/* He sorts them: the names of a real test, moved one by one. */
.win-files { --pad: clamp(10px, 1.6vw, 20px); padding: var(--pad); }
.pile {
  position: absolute;
  z-index: 2;
  top: calc(var(--pad) + clamp(46px, 5vw, 64px));
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px 16px;
  justify-content: center;
  justify-items: center;
}
.file {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 11px;
  background: #2c2d33;
  color: #f4f4f2;
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 22px -12px rgba(0, 0, 0, 0.8);
}
.file::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.file[data-to="facturas"]::before { background: var(--accent); }
.file[data-to="textos"]::before { background: #8d8e95; }
.pile .file { transform: rotate(var(--r, 0deg)); }
.folders { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 14px); height: 100%; }
.folder {
  padding: clamp(10px, 1.4vw, 18px);
  border-radius: 12px;
  background: var(--desk-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.folder p { margin-bottom: clamp(6px, 1vw, 12px); color: #fff; font: 800 clamp(13px, 1.45vw, 19px)/1.2 var(--display); letter-spacing: -0.015em; }
.folder-files { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* A dictation lands where your cursor is. */
.win-paper { background: var(--paper); }
.sheet {
  padding: clamp(20px, 3.6vw, 48px);
  color: var(--ink);
  font: 700 clamp(19px, 2.4vw, 32px)/1.32 var(--display);
  letter-spacing: -0.018em;
}
.caret {
  display: inline-block;
  width: 2.5px;
  height: 1.02em;
  margin-left: 2px;
  vertical-align: -0.14em;
  background: currentColor;
  animation: caret 1.05s steps(2, jump-none) infinite;
}
@keyframes caret { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ── It points ─────────────────────────────────────────────────────────── */

.proof, .more, .price, .faq-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: var(--space) var(--gutter) 0;
}
.section-head { max-width: 760px; }
.section-head p { max-width: 520px; margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.46; letter-spacing: -0.012em; }

.proof-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 64px);
}
.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 22px 0;
  border-radius: var(--radius);
  background: var(--wall);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.tile-tall { grid-row: span 2; }
.tile .win { transition: transform 0.5s var(--soft); }
.tile:hover .win { transform: translateY(-4px); }
.tile-tall .win > img { object-position: left bottom; }
.tile-wide .win > img { object-position: 60% top; }
.tile-wide .win { min-height: 118px; }
.bubble {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 550;
  line-height: 1.28;
  letter-spacing: -0.012em;
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.6);
}
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ── He does it ────────────────────────────────────────────────────────── */

.agents {
  position: relative;
  max-width: 1400px;
  margin: var(--space) var(--gutter) 0;
  padding: clamp(44px, 7vw, 108px) clamp(22px, 6vw, 92px);
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(255, 158, 122, 0.24), rgba(255, 158, 122, 0) 70%),
    var(--night);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
@media (min-width: 1481px) { .agents { margin-inline: auto; } }
.agents h2 { max-width: 860px; }
.asks { margin-top: clamp(44px, 6vw, 84px); }
.asks li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(16px, 1.9vw, 26px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.32);
  font: 800 clamp(24px, 3.3vw, 48px)/1.12 var(--display);
  letter-spacing: -0.024em;
  transition: color 0.35s ease-out;
}
.asks li.on { color: #fff; }
/* His little notch, working on the one you are reading. */
.ask-state {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: 600 13px/1 var(--text);
  letter-spacing: -0.008em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.26s ease-out, transform 0.4s var(--spring);
}
.ask-state i { width: 6px; height: 10px; border-radius: 50% 50% 38% 38%; background: #fff; }
.ask-state i + i { margin-right: 5px; }
.asks li.on .ask-state { opacity: 1; transform: none; }
.agents-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #bfc0c5;
  font-size: clamp(15px, 1.25vw, 17px);
}

/* ── The rest, in three pieces ─────────────────────────────────────────── */

.more {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 14px;
}
.cell {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius);
}
.cell h3 + p { margin-top: 8px; font-size: 16px; line-height: 1.42; }
.cell-dict { grid-row: span 2; padding-bottom: 0; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -44px rgba(60, 24, 8, 0.4), 0 0 0 1px rgba(12, 12, 14, 0.04); }
.cell-dict h2 { font-size: clamp(34px, 3.9vw, 54px); }
.cell-dict > p { max-width: 480px; margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.46; letter-spacing: -0.012em; }
.dict-stage {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 300px;
  margin: 28px calc(clamp(24px, 3vw, 38px) * -1) 0;
  padding: 92px clamp(20px, 3vw, 38px) 0;
  overflow: hidden;
  background: var(--wall);
}
.mini-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(360px, 84%);
  padding: 9px 16px 11px;
  border-radius: 0 0 16px 16px;
  background: var(--notch);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%);
}
.mini-row { display: flex; align-items: center; gap: 4px; }
.mini-row i { width: 8px; height: 13px; border-radius: 50% 50% 38% 38%; background: #fff; }
.mini-row i + i { margin-right: 7px; }
.mini-live {
  min-height: 18px;
  margin-top: 4px;
  overflow: hidden;
  color: #d8d8d5;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}
.dict-paper {
  flex: 1;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: var(--radius-in) var(--radius-in) 0 0;
  background: var(--paper);
  font: 700 clamp(19px, 2.2vw, 30px)/1.32 var(--display);
  letter-spacing: -0.018em;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.7);
}
.cell-keys { justify-content: space-between; background: var(--warm); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.cell-keys p { color: #33190c; }
.keys { display: flex; gap: 10px; margin-bottom: 40px; }
.keys kbd {
  display: inline-grid;
  place-items: center;
  min-width: 92px;
  height: 80px;
  padding: 0 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2c2d32 0%, #131417 100%);
  color: #fff;
  font: 600 20px/1 var(--text);
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 0 #2a1409, 0 16px 22px -8px rgba(60, 24, 8, 0.6);
  animation: press 3.4s var(--soft) infinite;
}
.keys kbd + kbd { animation-delay: 0.06s; }
/* You hold them, you talk, you let go. */
@keyframes press {
  0%, 18%, 76%, 100% { transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 0 #2a1409, 0 16px 22px -8px rgba(60, 24, 8, 0.6); }
  24%, 70% { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 2px 0 #2a1409, 0 6px 12px -6px rgba(60, 24, 8, 0.6); }
}
.cell-quota {
  justify-content: space-between;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 158, 122, 0.2), rgba(255, 158, 122, 0) 70%),
    var(--night);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cell-quota > p { color: #bfc0c5; }
.quota { margin-bottom: 40px; }
.quota p { color: #c9cace; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.quota-bar { display: block; height: 6px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.quota-bar span { display: block; width: 42%; height: 100%; border-radius: 999px; background: #fff; transform-origin: left; }
.js .cell-quota.reveal .quota-bar span { transform: scaleX(0); transition: transform 1.1s var(--soft) 0.3s; }
.js .cell-quota.reveal.seen .quota-bar span { transform: none; }

/* ── The price ─────────────────────────────────────────────────────────── */

.price { position: relative; isolation: isolate; }
.price::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20% 0 -12%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 158, 122, 0.26), rgba(255, 158, 122, 0) 72%);
  pointer-events: none;
}
.price-card {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  padding: clamp(28px, 5vw, 76px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  box-shadow: 0 50px 90px -60px rgba(60, 24, 8, 0.5), 0 0 0 1px rgba(12, 12, 14, 0.04);
}
.price-card h2 { color: var(--muted); font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; letter-spacing: -0.02em; }
.amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 10px; }
.amount strong { font: 850 clamp(76px, 10.5vw, 148px)/0.98 var(--display); letter-spacing: -0.05em; font-variant-numeric: lining-nums; }
.amount span { color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; }
.price-main .btn { margin-top: 28px; }
.price-note { max-width: 420px; margin-top: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.46; }
.includes li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-top: 1px solid var(--line);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.012em;
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
}
.includes li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 21.5px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ── Questions ─────────────────────────────────────────────────────────── */

.faq-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.faq-wrap h2 { position: sticky; top: calc(92px + var(--safe-top)); font-size: clamp(32px, 3.6vw, 50px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 21px 44px 21px 0;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 550;
  line-height: 1.32;
  letter-spacing: -0.014em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.26s var(--soft);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { max-width: 600px; padding-bottom: 24px; color: var(--muted); }

/* ── The end ───────────────────────────────────────────────────────────── */

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: var(--space) var(--gutter) 0;
  padding: 0 24px clamp(52px, 7vw, 104px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--warm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-align: center;
}
@media (min-width: 1481px) { .closing { margin-inline: auto; } }
.closing-notch {
  width: min(340px, 76%);
  padding: 16px 40px 12px;
  border-radius: 0 0 28px 28px;
  background: var(--notch);
  box-shadow: 0 30px 50px -24px rgba(60, 24, 8, 0.75);
}
.closing-face { display: block; width: 100%; height: auto; }
.closing h2 { max-width: 900px; margin-top: clamp(32px, 5vw, 56px); font-size: clamp(42px, 6.6vw, 96px); line-height: 0.98; }
.closing .btn { margin-top: 32px; }

.foot { padding: 36px var(--gutter) 0; overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14.5px; }
.foot-row a { text-underline-offset: 3px; }
.foot-word {
  margin: 8px 0 -0.36em;
  color: #e8e8e5;
  font: 900 32vw/1 var(--display);
  letter-spacing: -0.06em;
  text-align: center;
  user-select: none;
}

/* ── What comes in as you reach it ─────────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--soft), transform 0.9s var(--soft); }
.js .reveal.seen { opacity: 1; transform: none; }
.js .proof-grid .reveal:nth-child(2), .js .more .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .proof-grid .reveal:nth-child(3), .js .more .reveal:nth-child(3) { transition-delay: 0.16s; }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js .swap, .js .lead, .js .hero-actions, .js .stage { animation: rise 0.8s var(--soft) both; }
.js .lead { animation-delay: 0.08s; }
.js .hero-actions { animation-delay: 0.14s; }
.js .stage { animation-delay: 0.22s; }

/* The desktop settles as you come to it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
    .stage-wrap {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 42%;
    }
  }
}
@keyframes settle { from { transform: scale(0.95); } to { transform: none; } }

/* ── Smaller screens ───────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-link { display: none; }
  .proof-grid, .more, .price-card, .faq-wrap { grid-template-columns: 1fr; }
  .tile-tall { grid-row: auto; }
  .tile-tall .win { max-height: 420px; }
  .cell-dict { grid-row: auto; }
  .cell { min-height: 0; }
  .agents-foot { grid-template-columns: 1fr; }
  .faq-wrap h2 { position: static; }
  .ask-state { display: none; }
}

@media (max-width: 700px) {
  :root {
    --big-w: min(340px, calc(100vw - 20px));
    --rest-w: 200px;
    --small-w: 128px;
    --big-h: 92px;
    --face-w: 150px;
    --face-h: 90px;
    --eye-s: 0.58;
    --radius: 22px;
  }
  body { font-size: 16px; }
  h1 { font-size: clamp(38px, 11.6vw, 56px); }
  .hero { padding-top: calc(150px + var(--safe-top)); }
  .hero::before { height: 620px; }
  .nav:not(.scrolled) .brand { opacity: 0; }
  .hero-actions .btn { min-height: 48px; padding: 0 22px; font-size: 15.5px; }
  .stage-wrap { margin-top: 30px; }
  .stage-bar { top: 10px; }
  .tab { padding: 7px 13px; font-size: 13.5px; }
  .screens { aspect-ratio: auto; height: 372px; }
  .screen { padding: 54px 10px 0; }
  .pile { grid-template-columns: repeat(2, auto); gap: 7px 8px; }
  .file { gap: 6px; padding: 6px 9px; border-radius: 9px; }
  .file::before { width: 6px; height: 6px; }
  .folder { border-radius: 10px; }
  .folder-files { gap: 3px; }
  .folder .file { padding: 2px 0; background: none; box-shadow: none; font-size: 10px; letter-spacing: -0.01em; }
  .folder .file::before { display: none; }
  .nav:not(.scrolled) .btn-small { display: none; }
  .tile { padding: 16px 16px 0; }
  .keys kbd { min-width: 76px; height: 66px; font-size: 18px; border-radius: 14px; }
}

@media (max-width: 380px) {
  .hero-actions .btn-ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .f-blink, .f-mouth, .f-look, .f-spark, .caret, .keys kbd { animation: none !important; }
  .ruk, .face, .f-look, .f-pose-el, .f-pose-er, .f-pose-bl, .f-pose-br, .ln > span, .screen, .tile .win { transition: none !important; }
  .js .swap, .js .lead, .js .hero-actions, .js .stage { animation: none; }
  .swap-item:not(.on) .ln > span { visibility: hidden; }
  .js .cell-quota.reveal .quota-bar span { transform: none; transition: none; }
}
