/* Quolio site. Shared by index, privacy and support. Light only: warm paper and ink. */
:root {
  --paper: #fbf6eb;
  --card: #fffcf5;
  --card-2: #fbf6ea;
  --butter: #fff1c6;
  --gold: #f6d36d;
  --gold-hover: #f1c64b;
  --gold-deep: #b57a19;
  --ink: #191917;
  --body: #3e3c37;
  --muted: #77736a;
  --line: #e9e2d5;
  --edge: #e6dcc8;
  --hl: #ffe58a;
  --sp-blue: #4f8fd6;
  --sp-yellow: #e9b52f;
  --sp-rose: #e8746a;
  --s1: #3d7cc4;
  --s2: #c0544a;
  --s3: #4a8a4f;
  --rec: #d9534a;
  --tint-rose: #f8ebe5;
  --tint-blue: #e9f0f7;
  --tint-butter: #fcf1cf;
  --tint-sage: #ecf0e2;
  --tint-cream: #f4ecdd;
  --shadow-card: 0 24px 44px -28px rgba(70, 50, 20, 0.45), 0 1px 2px rgba(70, 50, 20, 0.06);
  --display: "Libre Caslon Display", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --out: cubic-bezier(0.2, 0.7, 0.24, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sp-blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2 { font-family: var(--display); font-weight: 400; color: var(--ink); letter-spacing: -0.01em; margin: 0; }
h3, h4 { font-family: var(--serif); color: var(--ink); margin: 0; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; color: var(--ink); }
.eyebrow { margin: 0 0 16px; font: 600 12.5px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #4a4740; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 14px 0 0; }

/* ---------- Buttons and links ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(181, 122, 25, 0.7);
  transition: background 0.2s, transform 0.25s var(--pop);
}
.pill:hover { background: var(--gold-hover); transform: translateY(-2px); }
.pill.small { padding: 11px 22px; font-size: 14px; box-shadow: none; }
.text-link { display: inline-block; margin-top: 22px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-stuck { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.pill) { color: var(--body); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a:not(.pill):hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 70px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: center; gap: 12px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; }
.hero .lede { font-size: 19px; color: var(--body); max-width: 30em; margin: 24px 0 30px; }
.small-print { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.promises { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 520px; }
.promises svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.promises b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 600; }
.promises span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }


/* ---------- Mockups: shared stage ---------- */
.mock { position: relative; width: 100%; aspect-ratio: 1470 / 1070; }
.mock--notebook { aspect-ratio: 1349 / 1166; }
.mock-canvas { position: absolute; left: 0; top: 0; width: 1470px; height: 1070px; transform: scale(var(--k, 0.4)); transform-origin: 0 0; }
.mock--notebook .mock-canvas { width: 1349px; height: 1166px; }
.mock .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}
.mock .leaf { position: absolute; transform-origin: 75% 95%; }
.paper { position: absolute; border-radius: 20px; background: #f2e8d4; opacity: 0.55; transform: rotate(var(--r, 0deg)); box-shadow: inset 0 0 50px rgba(176, 146, 96, 0.18); }
.sketch, .hand-arrows, .orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sketch path { fill: none; stroke: #8f8676; stroke-width: 2; opacity: 0.4; stroke-linecap: round; }
.hand-arrows path { fill: none; stroke: #5c564c; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.orbit ellipse { fill: none; stroke: #b59f6c; stroke-width: 2; opacity: 0.55; stroke-dasharray: 1; }
.hand-note { position: absolute; margin: 0; font: 500 50px/1.02 var(--hand); color: #5c564c; transform: rotate(-8deg); }
.cb { width: 38px; height: 38px; flex: none; border: 2.5px solid #6b6a66; border-radius: 7px; display: grid; place-items: center; background: #fffdf8; }
.cb.on { border-color: #4a7fb8; background: #e3eef9; }
.cb svg { width: 30px; height: 30px; fill: none; stroke: #2d6bb0; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cb svg path, .tick svg path { stroke-dasharray: 1; }

/* 1. Notebook */
.nb-page {
  position: absolute;
  left: 0;
  top: 0;
  width: 620px;
  height: 780px;
  transform-origin: 0 0;
  transform: matrix3d(0.98006791, 0.15881976, 0, -1.3301181e-5, -0.21215211, 0.89361547, 0, -8.4824778e-5, 0, 0, 1, 0, 638, 206, 0, 1);
  background: linear-gradient(170deg, #fbf3e4 0%, #f8eedc 55%, #f4e9d5 100%);
  padding: 46px 40px 24px 50px;
  color: #2a2722;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 16px), transparent), linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 16px), transparent), linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  mask-composite: intersect;
}
.nb-title { font: 400 40px/1.1 var(--serif); min-height: 44px; }
.nb-meta { margin: 6px 0 0; font: 400 16px/1.2 var(--sans); color: #6f6a60; }
.nb-hand { position: absolute; right: 28px; top: 36px; margin: 0; font: 500 30px/1 var(--hand); color: #6d655a; transform: rotate(-7deg); text-align: right; }
.nb-wave { position: relative; margin-top: 34px; height: 128px; }
.nb-wave svg { position: absolute; left: 0; top: 0; width: 100%; height: 90px; }
.nb-wave .playhead { position: absolute; left: 100%; top: -6px; width: 2px; height: 102px; background: var(--ink); border-radius: 2px; opacity: 0; }
.nb-wave .playhead::before { content: ""; position: absolute; left: -5px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.nb-axis { position: absolute; left: 0; right: 0; top: 96px; display: flex; justify-content: space-between; border-top: 1.5px solid #cfc5b2; padding-top: 6px; font: 400 15px/1 var(--sans); color: #6f6a60; }
.nb-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 18px 0 16px; border-bottom: 1px solid rgba(80, 60, 30, 0.12); }
.nb-row:last-child { border-bottom: 0; }
.nb-row img { width: 76px; height: 76px; border-radius: 50%; margin-top: 2px; }
.nb-row b { font: 700 24px/1.2 var(--serif); color: #1f1c18; }
.nb-row i { font: 400 15px/1 var(--sans); color: #8a8478; font-style: normal; margin-left: 14px; }
.nb-row p { margin: 6px 0 0; font: 400 19.5px/1.38 var(--serif); color: #2e2a24; min-height: 80px; }

/* 2. Voices */
.voice-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 38px 42px;
  background: var(--card-2);
  border: 2px solid #ece2cf;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  font-family: var(--sans);
  transition: transform 0.5s var(--out), box-shadow 0.5s, border-color 0.5s;
}
.voice-card img { width: 104px; height: 104px; flex: none; }
.voice-card b { font: 600 33px/1.1 var(--sans); color: var(--ink); }
.voice-card p { margin: 8px 0 0; font: 400 29px/1.3 var(--sans); color: var(--body); min-height: 76px; }
.voice-card.is-speaking { transform: translateY(-10px) scale(1.025); border-color: var(--c); box-shadow: 0 36px 60px -30px rgba(70, 50, 20, 0.55); }
.voice-wave { position: absolute; height: 120px; display: flex; align-items: center; gap: 8px; }
.voice-wave .lead { width: 76px; height: 3px; border-radius: 2px; background: var(--c); }
.voice-wave i { width: 6px; border-radius: 3px; background: var(--c); height: calc(var(--h) * 1px); transform-origin: center; }
.voice-wave b { width: 6px; height: 6px; border-radius: 50%; background: var(--c); opacity: 0.6; }

/* 3. Notes */
.note-card {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 34px;
  padding: 44px 50px 46px;
  background: var(--card-2);
  border: 2px solid #ebe0cb;
  border-radius: 26px;
  box-shadow: 0 30px 50px -30px rgba(70, 50, 20, 0.55);
  transform: rotate(var(--r));
}
.note-card h4 { font: 700 52px/1.1 var(--serif); margin: 0 0 12px; }
.note-card p { margin: 0; font: 400 29px/1.36 var(--sans); color: var(--body); }
.n1 p { min-height: 118px; }
.tile { width: 86px; height: 86px; flex: none; border-radius: 20px; display: grid; place-items: center; }
.tile svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tile--blue { background: #cfe2f3; }
.tile--gold { background: #fbe0a0; }
.note-card .tick { display: flex; gap: 16px; align-items: flex-start; margin-top: 10px; }
.tick svg { width: 34px; height: 34px; flex: none; margin-top: 4px; fill: none; stroke: var(--gold-deep); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.note-card .todo-row { display: flex; align-items: center; gap: 20px; margin-top: 14px; }

/* 4. Search */
.search-pill {
  position: absolute;
  left: 342px;
  top: 152px;
  width: 790px;
  height: 118px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 50px;
  background: #fdf9f0;
  border: 2px solid var(--edge);
  border-radius: 60px;
  box-shadow: var(--shadow-card);
  font: 400 40px/1 var(--sans);
  color: var(--ink);
}
.search-pill svg { width: 46px; height: 46px; flex: none; fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; }
.search-pill .caret::after { background: #3d6fc0; width: 3px; }
.result {
  position: absolute;
  left: 340px;
  width: 818px;
  height: 206px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 38px 44px;
  background: var(--card-2);
  border: 2px solid var(--edge);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transform: rotate(var(--r));
}
.result h4 { font: 600 33px/1.15 var(--sans); }
.result .meta { margin: 8px 0 4px; font: 400 30px/1.2 var(--sans); color: #4a4740; font-variant-numeric: tabular-nums; }
.result .snip { margin: 0; font: 400 27px/1.3 var(--sans); color: var(--muted); }
.result mark { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 88% / 100% 48%; color: inherit; padding: 0 3px; }
.play-btn { position: relative; width: 84px; height: 84px; flex: none; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; margin-top: 8px; }
.play-btn i { border-left: 24px solid var(--ink); border-block: 15px solid transparent; margin-left: 7px; }
.play-btn .ring { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: rotate(-90deg); fill: none; stroke: var(--gold-deep); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* 5. Privacy */
.shine { position: absolute; left: 984px; top: 404px; width: 128px; height: 132px; border-radius: 22px; overflow: hidden; }
.shine::after { content: ""; position: absolute; top: -30%; bottom: -30%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent); transform: skewX(-12deg); }
.flecks i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #f5cf62 0 35%, transparent 70%); opacity: 0.8; }
.tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 36px 24px 26px;
  background: var(--card-2);
  border: 2px solid var(--edge);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  font: 600 36px/1 var(--sans);
  color: var(--ink);
  transform: rotate(var(--r));
}

/* ---------- Choreography (only when motion is allowed and the scene is playing) ---------- */
.motion .is-playing .pop { animation: pop 0.6s var(--pop) both; animation-delay: var(--t, 0ms); }
.motion .is-playing .rise { animation: rise 0.75s var(--out) both; animation-delay: var(--t, 0ms); }
.motion .is-playing .drop { animation: drop 0.9s var(--out) both; animation-delay: var(--t, 0ms); }
.motion .is-playing .ink-reveal { animation: ink 1.6s var(--ease) both; animation-delay: var(--t, 0ms); }
.motion .is-playing .mark, .motion .is-playing mark { animation: mark 0.8s var(--ease) both; animation-delay: var(--t, 0ms); }
.motion .is-playing .cb.on { animation: cb-on 0.35s ease both; animation-delay: var(--t, 0ms); }
.motion .is-playing .cb.on path { animation: draw 0.45s var(--ease) both; animation-delay: calc(var(--t, 0ms) + 120ms); }
.motion .is-playing .tick path,
.motion .is-playing .hand-arrows path { animation: draw 0.7s var(--ease) both; animation-delay: var(--t, 0ms); }
.motion .is-playing .sketch path:not([stroke-dasharray]) { stroke-dasharray: 1; animation: draw 2.4s var(--ease) both; }
.motion .is-playing .sketch path[stroke-dasharray] { animation: fade 1.6s ease both; }
.motion .is-playing .orbit ellipse { animation: draw 3s var(--ease) both; }
.motion .is-playing .orbit ellipse + ellipse { animation-delay: 0.5s; }
.motion .is-playing .leaf { animation: sway 7s ease-in-out infinite alternate; }
.motion .is-playing .nb-wave .bars-color { animation: sweep 7.6s linear 0.6s both; }
.motion .is-playing .nb-wave .playhead { animation: playhead 7.6s linear 0.6s both; }
.motion .is-playing .voice-wave i { transform: scaleY(0.32); transition: transform 0.45s var(--ease); }
.motion .is-playing .voice-wave.is-speaking i { animation: talk 0.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -63ms); }
.motion .is-playing.is-done .voice-wave i { transform: none; }
.motion .is-playing .r1 .play-btn { animation: press 0.35s ease both; animation-delay: 4200ms; }
.motion .is-playing .r1 .play-btn i { animation: press-icon 0.35s ease both; animation-delay: 4200ms; }
.motion .is-playing .r1 .ring { animation: ring 6s linear both; animation-delay: 4300ms; }
.motion .is-playing .shine::after { animation: shine 4s ease-in-out 1.2s infinite; }
.motion .is-playing .flecks i { animation: twinkle 2.6s ease-in-out infinite; animation-delay: var(--d); }
.motion .is-playing .wave i { animation: bar 0.9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -97ms); }
.motion .is-playing .rec-btn { animation: pulse 1.6s ease-out infinite; }
.motion .is-playing .player .track i { animation: playhead-bar 4s linear both; animation-delay: var(--t, 0ms); }
.motion .is-playing .cite { animation: citepulse 1.2s ease-out 2; animation-delay: var(--t, 0ms); }
.motion .is-playing .flash-inner { animation: flip 0.9s var(--ease) both; animation-delay: var(--t, 0ms); }

@keyframes pop { from { opacity: 0; transform: scale(0.6) translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-70px) rotate(calc(var(--r, 0deg) - 5deg)); } }
@keyframes ink { from { clip-path: inset(-10% 100% -10% -5%); } to { clip-path: inset(-10% -5% -10% -5%); } }
@keyframes mark { from { background-size: 0% 48%; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes cb-on { from { border-color: #6b6a66; background: #fffdf8; } }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes playhead { 0% { left: 0; opacity: 1; } 96% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes talk { from { transform: scaleY(0.3); } to { transform: scaleY(1.05); } }
@keyframes press { to { background: var(--ink); } }
@keyframes press-icon { to { border-left-color: #fbf6ea; } }
@keyframes ring { to { stroke-dashoffset: 0.55; } }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes twinkle { 50% { opacity: 0.15; transform: scale(0.5); } }
@keyframes bar { from { height: 8%; } to { height: calc(14% + var(--h) * 1%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 83, 74, 0.45); } 100% { box-shadow: 0 0 0 16px rgba(217, 83, 74, 0); } }
@keyframes playhead-bar { from { transform: scaleX(0.02); } to { transform: scaleX(0.34); } }
@keyframes citepulse { 0% { box-shadow: 0 0 0 0 rgba(61, 124, 196, 0.55); } 100% { box-shadow: 0 0 0 10px rgba(61, 124, 196, 0); } }
@keyframes flip { from { transform: rotateY(0); } }

/* ---------- How it works: slides ---------- */
.how { padding: clamp(70px, 9vw, 120px) 0 20px; border-top: 1px solid var(--line); }
.slider { position: relative; }
.slider-viewport { position: relative; height: 560px; overflow: hidden; touch-action: pan-y; }
.slide {
  --w: min(960px, 100vw - 120px);
  --gap: 28px;
  position: absolute;
  top: 10px;
  left: 50%;
  width: var(--w);
  height: calc(100% - 50px);
  margin-left: calc(var(--w) / -2);
  transform: translateX(calc(var(--d, 0) * (var(--w) + var(--gap)))) scale(var(--s, 1));
  opacity: var(--o, 1);
  transition: transform 0.85s var(--ease), opacity 0.85s var(--ease);
  will-change: transform;
}
.slide.no-anim { transition: none; }
.slide:not(.is-active) { cursor: pointer; }
.slide:not(.is-active) .slide-card { pointer-events: none; }
.slide-card {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
}
.slide-copy { padding: 44px 10px 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.slide-copy .step { font: 600 26px/1 var(--hand); color: var(--gold-deep); margin: 0 0 14px; }
.slide-copy h3 { font: 400 clamp(30px, 3.3vw, 42px)/1.06 var(--display); }
.slide-copy p:not(.step) { color: var(--body); margin: 16px 0 0; font-size: 16.5px; }
.slide-stage { margin: 16px; border-radius: 22px; background: var(--tint); display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; overflow: hidden; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 20px; }
.slider-tabs { display: flex; gap: 4px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.slider-tabs::-webkit-scrollbar { display: none; }
.slider-tab { position: relative; flex: none; border: 0; background: transparent; color: var(--muted); font: 500 14px/1 var(--sans); padding: 12px 17px; border-radius: 999px; cursor: pointer; overflow: hidden; transition: color 0.3s, background 0.3s; }
.slider-tab[aria-selected="true"] { color: var(--ink); background: var(--butter); }
.slider-tab .fill { position: absolute; left: 17px; right: 17px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--gold-deep); transform-origin: left; transform: scaleX(0); }
.slider-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform 0.25s var(--pop); }
.slider-arrow:hover { transform: scale(1.08); }
.slider-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Mini UI inside slides */
.ui { background: #fffdf8; border: 1px solid var(--line); border-radius: 16px; padding: 15px 18px; box-shadow: 0 10px 26px -18px rgba(70, 50, 20, 0.5); font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.ui p { margin: 10px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px; border: 1.5px solid currentColor; color: var(--gold-deep); }
.spk { font-weight: 700; font-size: 12.5px; margin-right: 6px; }
.spk.s1 { color: var(--s1); }
.spk.s2 { color: var(--s2); }
.spk.s3 { color: var(--s3); }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--s1); vertical-align: -2px; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rec-bar { display: flex; align-items: center; gap: 16px; }
.rec-btn { width: 50px; height: 50px; flex: none; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; background: #fff; }
.rec-btn i { width: 18px; height: 18px; border-radius: 5px; background: var(--rec); }
.rec-time { font: 600 13px/1 var(--sans); color: var(--rec); font-variant-numeric: tabular-nums; display: block; margin-top: 6px; text-align: center; }
.wave { display: flex; align-items: center; gap: 4px; height: 50px; flex: 1; overflow: hidden; }
.wave i { flex: none; width: 3px; border-radius: 3px; background: var(--ink); height: calc(10% + var(--h) * 1%); }
.voices { display: flex; flex-wrap: wrap; gap: 8px; }
.voice { display: inline-flex; align-items: center; gap: 7px; background: #fffdf8; padding: 6px 12px 6px 6px; border-radius: 999px; font: 600 13px/1 var(--sans); box-shadow: 0 6px 16px -10px rgba(70, 50, 20, 0.5); }
.voice b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; }
.voice.s1 b { background: var(--s1); }
.voice.s2 b { background: var(--s2); }
.voice.s3 b { background: var(--s3); }
.bubble { border-left: 3px solid var(--c); border-radius: 4px 14px 14px 4px; }
.bubble .spk { display: block; margin-bottom: 2px; }
.bubble.s1 { --c: var(--s1); }
.bubble.s2 { --c: var(--s2); }
.bubble.s3 { --c: var(--s3); }
.note h4 { font: 700 18px/1.25 var(--serif); margin: 0 0 4px; }
.note h5 { font: 700 10.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.note p { margin: 0; }
.mark { background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 88% / 100% 48%; padding: 0 2px; }
.todo { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.todo .box { width: 15px; height: 15px; border: 1.5px solid var(--muted); border-radius: 4px; flex: none; }
.todo .who { margin-left: auto; font: 600 11.5px/1 var(--sans); padding: 5px 8px; border-radius: 999px; background: var(--butter); color: #6b5a2c; white-space: nowrap; }
.ask-field { display: flex; align-items: center; gap: 10px; border-radius: 14px; font-weight: 600; min-height: 50px; }
.ask-field svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.cite { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 6px; background: var(--s1); color: #fff; font: 700 11px/1 var(--sans); margin-left: 4px; vertical-align: 1px; }
.source { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.source b { color: var(--ink); }
.source .ts { margin-left: auto; color: var(--s1); font-weight: 700; white-space: nowrap; }
.player { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; }
.player .play { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.player .play::before { content: ""; border-left: 9px solid #fff; border-block: 6px solid transparent; margin-left: 3px; }
.player .track { flex: 1; height: 5px; border-radius: 5px; background: var(--line); position: relative; overflow: hidden; }
.player .track i { position: absolute; inset: 0; background: var(--gold-deep); transform-origin: left; transform: scaleX(0.34); }
.points { margin: 8px 0 0; padding-left: 18px; }
.points li { margin: 0 0 4px; }
.flash { perspective: 900px; height: 150px; }
.flash-inner { position: relative; height: 100%; transform-style: preserve-3d; transform: rotateY(180deg); }
.flash-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; text-align: center; padding: 34px 22px 18px; font: 400 19px/1.3 var(--serif); }
.flash-face .chip { position: absolute; top: 14px; left: 14px; }
.flash-face.back { transform: rotateY(180deg); }
.flash-face.back .chip { color: var(--s3); }

/* ---------- Feature rows ---------- */
.row { padding: clamp(56px, 7vw, 100px) 0; }
.row--butter { background: linear-gradient(180deg, #fbf0cf, #fdf5dc); }
.row-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.row-grid--flip { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); }
.row-copy h2 { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.04; }
.row-copy > p:not(.eyebrow) { font-size: 18px; margin: 20px 0 0; max-width: 30em; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: "✓"; color: var(--gold-deep); font-weight: 700; }
.mini-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mini-points b { display: block; color: var(--ink); font-size: 15px; }
.mini-points span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 3px; }

/* Scroll reveal */
.motion [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--out), transform 0.9s var(--out); transition-delay: var(--t, 0ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Real app ---------- */
.real-app { padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.phones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; width: min(var(--wrap), 100% - 40px); margin-inline: auto; padding-bottom: 20px; }
.phones figure { margin: 0; text-align: center; }
.phones figure:nth-child(odd) .phone { transform: rotate(-1.5deg); }
.phones figure:nth-child(even) .phone { transform: rotate(1.5deg) translateY(18px); }
.phone { aspect-ratio: 9 / 18.5; border-radius: 32px; padding: 7px; background: #23211d; box-shadow: 0 40px 60px -36px rgba(40, 30, 10, 0.6); transition: transform 0.4s var(--pop); }
.phones .phone:hover { transform: translateY(-8px); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; background: #fff; }
.phones figcaption { margin-top: 26px; font: 600 23px/1 var(--hand); color: var(--body); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(70px, 9vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq h2 { font-size: clamp(40px, 5vw, 62px); line-height: 1.04; }
.faq-aside { color: var(--muted); margin: 16px 0 0; }
.req { margin-top: 28px; padding: 20px 22px; border-radius: 18px; background: var(--butter); font-size: 15px; }
.req b { display: block; font: 700 16px/1.3 var(--serif); color: var(--ink); margin-bottom: 4px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin: 0 0 12px; transition: box-shadow 0.3s; }
details[open] { box-shadow: var(--shadow-card); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 400 19px/1.3 var(--serif); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; font: 400 20px/1 var(--sans); color: var(--ink); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details > p { margin: 0; padding: 0 24px 22px; color: var(--body); }

/* ---------- Closing ---------- */
.closing { padding: clamp(60px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.closing-inner { position: relative; text-align: center; }
.closing-logo { width: 150px; height: auto; margin: 0 auto 18px; }
.motion .closing-logo { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
.closing h2 { font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.closing-inner > p:not(.eyebrow):not(.closing-hand) { color: var(--body); margin: 16px 0 30px; }
.closing-leaf { position: absolute; right: 2%; top: 50%; width: 170px; transform: translateY(-50%) rotate(-10deg); opacity: 0.95; }
.closing-hand { position: absolute; right: 15%; bottom: -10px; margin: 0; font: 500 26px/1.05 var(--hand); color: #6d655a; transform: rotate(-8deg); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 44px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 34px; align-items: center; justify-content: space-between; }
.site-footer .brand img { height: 44px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.site-footer nav a { color: var(--body); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer p { margin: 0; }

/* ---------- Document pages (privacy, support) ---------- */
.doc { width: min(760px, 100% - 40px); margin: 0 auto; padding: clamp(48px, 8vw, 88px) 0 90px; }
.doc h1 { font-size: clamp(46px, 7vw, 72px); line-height: 1.02; margin-bottom: 18px; }
.doc h2 { font: 400 28px/1.2 var(--serif); margin: 46px 0 10px; }
.doc .lede { font-size: 20px; color: var(--body); margin: 18px 0 0; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0; }
.doc p, .doc li { margin: 0 0 14px; }
.doc ul { padding-left: 22px; }
.doc a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .row-grid, .row-grid--flip, .faq-grid { grid-template-columns: 1fr; }
  .hero .mock { margin-right: 0; max-width: 680px; margin-inline: auto; }
  .row-grid .row-copy { order: -1; }
  .phones { grid-template-columns: repeat(6, 200px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 20px 30px; width: 100%; }
  .phones::-webkit-scrollbar { display: none; }
  .phones figure { scroll-snap-align: center; }
}
@media (max-width: 760px) {
  .nav a:not(.pill) { display: none; }
  .brand img { height: 46px; }
  .promises { grid-template-columns: 1fr; gap: 14px; }
  .promises li { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
  .promises svg { grid-row: span 2; margin: 0; }
  .mini-points { grid-template-columns: 1fr; }
  .slider-viewport { height: 640px; }
  .slide { --w: calc(100vw - 40px); --gap: 14px; }
  .slide-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 24px; }
  .slide-copy { padding: 24px 22px 0; }
  .slide-copy .step { font-size: 22px; margin-bottom: 8px; }
  .slide-copy h3 { font-size: 27px; }
  .slide-copy p:not(.step) { font-size: 15px; margin-top: 8px; }
  .slide-stage { margin: 12px; padding: 16px; justify-content: flex-start; gap: 10px; }
  .ui { font-size: 13.5px; padding: 13px 15px; }
  .slider-arrow { display: none; }
  .row .mock, .hero .mock { width: calc(100% + 40px); margin-inline: -20px; }
  .closing-leaf { display: none; }
  .closing-hand { position: static; margin-top: 26px; transform: rotate(-4deg); }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}
