/* iReliabee — landing page. The app's Paper theme, with its Dark twin for dark mode. */

:root {
  --base: #f7f7f2;
  --raised: #ffffff;
  --ink-rgb: 15, 42, 48;
  --ink: rgb(var(--ink-rgb));
  --text: #13262b;
  --muted: #5d7073;
  --accent: #0f2a30;
  --accent-hover: #2c6770;
  --on-accent: #f7f7f2;
  --apricot-rgb: 226, 128, 70;
  --apricot: rgb(var(--apricot-rgb));
  --dot-alpha: 0.42;
  --line: rgba(var(--ink-rgb), 0.1);
  --soft: rgba(var(--ink-rgb), 0.05);
  --good: #047857;
  --warn: #a15c07;
  --bad: #b91c1c;
  --shadow: 0 1px 2px rgba(15, 42, 48, 0.05), 0 12px 32px rgba(15, 42, 48, 0.09);
  --shadow-lg: 0 2px 6px rgba(15, 42, 48, 0.06), 0 30px 80px rgba(15, 42, 48, 0.16);
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1180px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --base: #121416;
    --raised: #1e2124;
    --ink-rgb: 236, 242, 240;
    --text: #e6ebea;
    --muted: #8e9a99;
    --accent: #5ebab8;
    --accent-hover: #8fd3d1;
    --on-accent: #0b1f22;
    --dot-alpha: 0.24;
    --good: #34d399;
    --warn: #fbbf24;
    --bad: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 80px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--base); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--text); letter-spacing: -0.02em; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-hover); }
code { font-family: var(--mono); font-size: 0.88em; padding: 1px 5px; border-radius: 5px; background: var(--soft); }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(var(--ink-rgb), 0.18); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--base) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; margin-left: 8px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ── Stipple backgrounds ─────────────────────────────────────────────────── */
.stipple { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 10px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--muted);
  box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.04);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 4px rgba(var(--apricot-rgb), 0.18); animation: pulse 2s ease-in-out infinite; }
.hero h1 { margin-top: 22px; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02; font-weight: 750; letter-spacing: -0.035em; }
.hero h1 em { display: block; font-size: 1.06em; }
.lede { margin-top: 22px; font-size: 18.5px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(var(--apricot-rgb), 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23c2622a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-visual { position: relative; }
.window {
  background: var(--raised); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.win-bar {
  display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); background: rgba(var(--ink-rgb), 0.02);
}
.win-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text); }
.win-dots { margin-left: auto; display: inline-flex; gap: 14px; }
.win-dots i { width: 10px; height: 1.6px; background: var(--muted); opacity: .6; }
.win-dots i:nth-child(2) { width: 9px; height: 9px; background: none; border: 1.5px solid var(--muted); }
.win-dots i:nth-child(3) { width: 11px; height: 11px; background: linear-gradient(45deg, transparent 45%, var(--muted) 45%, var(--muted) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--muted) 45%, var(--muted) 55%, transparent 55%); }
.win-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--bad); }
.win-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: pulse 1.4s ease-in-out infinite; }

.hero-split { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 330px; }
.hero-transcript { padding: 20px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.who { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bubble { padding: 11px 13px; border-radius: 13px; font-size: 14px; line-height: 1.5; min-height: 44px; }
.bubble.them { background: var(--soft); border-top-left-radius: 4px; }
.bubble.you { background: rgba(var(--apricot-rgb), 0.1); border-top-right-radius: 4px; transition: opacity .3s ease; }
.bubble.caret::after, .short.caret::after, .typing::after { content: "▍"; margin-left: 1px; color: var(--apricot); animation: blink 1s steps(2) infinite; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-top: auto; }
.wave i { width: 3px; border-radius: 2px; background: rgba(var(--apricot-rgb), 0.75); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; } .wave i:nth-child(4n) { animation-delay: -.8s; }
.hero-coach { padding: 20px 18px; display: flex; flex-direction: column; gap: 9px; }
.label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--apricot); }
.cues { display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.cues span {
  display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; padding: 7px 11px;
  border-radius: 10px; background: rgba(var(--apricot-rgb), 0.1); border: 1px solid rgba(var(--apricot-rgb), 0.22);
  animation: pop .35s cubic-bezier(.2, .9, .3, 1.3) both;
}
.cues span::before { content: counter(cue); counter-increment: cue; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--apricot); color: #fff; font-size: 11px; flex-shrink: 0; }
.cues { counter-reset: cue; }
.short { font-size: 14px; line-height: 1.55; color: var(--text); min-height: 66px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 11px;
  background: var(--raised); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  font-size: 13px; animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13.5px; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-score { left: -34px; bottom: -26px; }
.fc-cal { right: -22px; top: -22px; animation-delay: -3s; }
.fc-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--soft); font-size: 18px; }
.ring {
  --v: 70; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: conic-gradient(var(--good) calc(var(--v) * 1%), rgba(var(--ink-rgb), 0.08) 0);
  -webkit-mask: radial-gradient(circle, transparent 15px, #000 16px); mask: radial-gradient(circle, transparent 15px, #000 16px);
  position: relative;
}
.fc-score .ring { -webkit-mask: none; mask: none; }
.fc-score .ring b { width: 34px; height: 34px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; font-size: 12.5px; }

.trust { position: relative; z-index: 1; margin-top: 76px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.trust > span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trust ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trust li { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--raised) 70%, transparent); }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { position: relative; padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; position: relative; z-index: 1; }
.section-head.left { margin: 0; text-align: left; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--apricot); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 740; letter-spacing: -0.03em; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 17.5px; color: var(--muted); }

/* ── Walkthrough ─────────────────────────────────────────────────────────── */
.walkthrough { background: linear-gradient(180deg, transparent, rgba(var(--ink-rgb), 0.03) 30%, rgba(var(--ink-rgb), 0.03) 70%, transparent); }
.demo { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }
.demo-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; }
.demo-step {
  width: 100%; text-align: left; padding: 14px 16px 14px 18px; border-radius: 14px; border: 1px solid transparent;
  background: none; cursor: pointer; font: inherit; color: var(--muted); position: relative; overflow: hidden;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.demo-step:hover { background: var(--soft); }
.demo-step strong { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; color: var(--text); }
.demo-step strong small { font: 500 11px var(--mono); color: var(--muted); }
.demo-step p { font-size: 13.5px; line-height: 1.5; margin-top: 4px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }
.demo-step[aria-selected="true"] { background: var(--raised); border-color: var(--line); box-shadow: var(--shadow); }
.demo-step[aria-selected="true"] p { max-height: 90px; opacity: 1; }
.demo-step .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--apricot); }
.demo-stage { position: relative; min-width: 0; }
.demo-window { height: 560px; display: flex; flex-direction: column; }
.demo-crumb { font-weight: 500; }
.demo-crumb::before { content: "/"; margin-right: 10px; opacity: .5; }
.demo-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 168px 1fr; }
.demo-side { border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; background: rgba(var(--ink-rgb), 0.015); }
.side-new { background: var(--accent); color: var(--on-accent); font-weight: 600; border-radius: 9px; padding: 8px 10px; margin-bottom: 10px; font-size: 12px; }
.side-group { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 8px 4px; }
.side-item { padding: 7px 10px; border-radius: 8px; color: var(--muted); transition: background .3s ease, color .3s ease; }
.side-item.on { background: rgba(var(--ink-rgb), 0.07); color: var(--text); font-weight: 600; }
.demo-screen { position: relative; min-width: 0; overflow: hidden; padding: 20px 22px; }
.demo-caption { margin-top: 16px; min-height: 32px; padding: 0 120px; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--muted); transition: opacity .3s ease; }
.demo-controls { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); background: var(--raised); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; box-shadow: var(--shadow); z-index: 5; }
.demo-play { width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; }
.demo-play svg { width: 13px; height: 13px; fill: currentColor; }
.demo-play .i-play, .demo.paused .demo-play .i-pause { display: none; }
.demo.paused .demo-play .i-play { display: block; }

.cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 22px; height: 22px; pointer-events: none; transition: transform .75s cubic-bezier(.45, .05, .25, 1), opacity .3s ease; opacity: 0; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.cursor svg { width: 22px; height: 22px; fill: #111; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.cursor.show { opacity: 1; }
.cursor.click::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--apricot); animation: ripple .5s ease-out forwards; }

/* Scenes inside the demo window */
.scene { animation: fade-in .4s ease both; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.scene-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.scene-sub { font-size: 12.5px; color: var(--muted); margin-top: -8px; }
.tabs { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.tabs span { padding: 0 0 8px; }
.tabs .on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--text); }
.day { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ev { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); font-size: 12.5px; }
.ev.soon { box-shadow: 0 0 0 1.5px rgba(var(--ink-rgb), 0.5); }
.ev-time { font-weight: 700; min-width: 56px; font-variant-numeric: tabular-nums; }
.ev-time small { display: block; font-weight: 400; color: var(--muted); }
.ev-main { flex: 1; min-width: 0; }
.ev-main strong { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ev-main small { color: var(--muted); }
.pill { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.pill.soft { background: var(--soft); color: var(--muted); }
.ev-actions { display: flex; gap: 6px; }
.mbtn { font-size: 11.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--raised); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.mbtn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.mbtn.pressed { transform: scale(.96); }
.spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.plan { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; animation: fade-in .4s ease both; }
.pcard { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--raised); display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.pcard h5 { margin: 0; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--soft); animation: slide-in .35s ease both; }
.row b { font-variant-numeric: tabular-nums; min-width: 20px; }
.row span { flex: 1; }
.row em { font-family: var(--font); font-style: normal; color: var(--muted); font-size: 11px; }

.live-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; flex: 1; min-height: 0; }
.live-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.live-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; background: rgba(185, 28, 28, 0.08); color: var(--bad); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
.coach-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--raised); box-shadow: var(--shadow); }
.coach-card .full { font-size: 12.5px; line-height: 1.55; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.meta-chip { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(4, 120, 87, .1); color: var(--good); }


.score-top { display: flex; align-items: center; gap: 16px; }
.big-ring { --v: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--good) calc(var(--v) * 1%), rgba(var(--ink-rgb), .08) 0); flex-shrink: 0; transition: --v 1.2s ease; }
.big-ring b { width: 62px; height: 62px; border-radius: 50%; background: var(--raised); display: grid; place-items: center; font-size: 20px; font-variant-numeric: tabular-nums; }
.score-top p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lists ul { margin: 6px 0 0; padding-left: 16px; font-size: 12px; line-height: 1.55; }
.qcard { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; font-size: 12.5px; animation: slide-in .35s ease both; background: var(--raised); }
.qcard span:nth-child(2) { flex: 1; min-width: 0; }
.chip { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 50%; border: 2px solid currentColor; font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
.chip.good { color: var(--good); } .chip.mid { color: var(--warn); } .chip.bad { color: var(--bad); }

.retry-q { font-size: 15px; font-weight: 650; line-height: 1.45; }
.fake-input { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; min-height: 86px; font-size: 12.5px; line-height: 1.55; background: var(--raised); }
.result { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: rgba(4, 120, 87, .07); border: 1px solid rgba(4, 120, 87, .2); animation: fade-in .4s ease both; }
.result .chip { width: 42px; height: 42px; font-size: 16px; }
.trend { font-weight: 700; color: var(--good); font-size: 13px; }
.result p { font-size: 12px; color: var(--muted); }

.lang-row { display: flex; gap: 6px; flex-wrap: wrap; }
.lang-row span { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); transition: all .25s ease; }
.lang-row span.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
[dir="rtl"] { text-align: right; }

/* ── Features ────────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--raised);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(var(--ink-rgb), 0.03);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.span-2 { grid-column: span 2; }
.card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--apricot-rgb), 0.12); margin-bottom: 18px; }
.card-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--apricot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 680; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.card b { color: var(--text); font-weight: 600; }
.mini-cues { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mini-cues span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 10px; background: rgba(var(--apricot-rgb), 0.1); border: 1px solid rgba(var(--apricot-rgb), 0.22); }
.mini-trend { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.mini-trend svg { width: 60px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.mini-trend small { color: var(--muted); font-size: 13px; }

/* ── Personas ────────────────────────────────────────────────────────────── */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.persona { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--raised), color-mix(in srgb, var(--raised) 60%, var(--base))); }
.persona-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.persona h3 { font-size: 22px; line-height: 1.25; margin: 16px 0 14px; font-weight: 700; }
.persona ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--muted); }
.persona li { display: flex; gap: 10px; }
.persona li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--apricot); margin-top: 9px; flex-shrink: 0; }

/* ── Languages ───────────────────────────────────────────────────────────── */
.lang-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lang-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lang-list li { font-size: 14.5px; font-weight: 500; padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--raised); }
.lang-demo { display: flex; flex-direction: column; gap: 14px; }
.lang-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lang-tabs button { font: 600 13px var(--font); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--muted); cursor: pointer; transition: all .2s ease; }
.lang-tabs button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.lang-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 290px; }
.lang-q { font-size: 17px; font-weight: 650; }
.lang-card .cues span { font-size: 15px; }
.lang-card .short { font-size: 15px; }
.lang-card.swap > * { animation: fade-in .45s ease both; }

/* ── How ─────────────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--raised); position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 18px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--muted); }

/* ── Privacy ─────────────────────────────────────────────────────────────── */
.privacy { overflow: hidden; }
.privacy-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-list li { padding: 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--raised) 88%, transparent); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.privacy-list h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.privacy-list h3::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6c0 4-3 7.5-7 9-4-1.5-7-5-7-9V6z' fill='none' stroke='%23e28046' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-4' fill='none' stroke='%23e28046' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.privacy-list p { font-size: 14.5px; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-inner { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; }
.faq-list { display: flex; flex-direction: column; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 640px; }

/* ── CTA + footer ────────────────────────────────────────────────────────── */
.cta-card { position: relative; overflow: hidden; text-align: center; padding: 80px 24px; border-radius: 28px; background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-card > *:not(canvas) { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; line-height: 1.08; }
.cta-card p { color: var(--muted); font-size: 17.5px; }
.cta-meta { color: var(--muted); font-size: 13px; }
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); margin-top: 10px; max-width: 280px; }
.footer-links { display: flex; gap: 64px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer-links a:hover { color: var(--accent-hover); }
.footer-base { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ── Motion ──────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 24px; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes float { 50% { transform: translateY(-9px); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@property --v { syntax: "<number>"; inherits: false; initial-value: 0; }

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

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .demo { grid-template-columns: 1fr; }
  .demo-steps { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; }
  .demo-steps::-webkit-scrollbar { display: none; }
  .demo-steps li { flex: 0 0 auto; }
  .demo-step { width: auto; padding: 10px 14px; }
  .demo-step p { display: none; }
  .lang-inner, .privacy-inner, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; background: var(--base); border-bottom: 1px solid var(--line); display: none; }
  .nav-links a { padding: 13px 0; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: auto; }
  .bento, .persona-grid, .steps { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .steps li::after { display: none; }
  .demo-window { height: 520px; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-side { display: none; }
  .privacy-list { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 44px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-transcript { border-right: none; border-bottom: 1px solid var(--line); }
  .fc-score { left: -6px; bottom: -30px; }
  .fc-cal { right: -6px; top: -30px; }
  .demo-screen { padding: 14px; }
  .live-split, .plan, .lists { grid-template-columns: 1fr; }
  .ev-actions .mbtn:not(.primary) { display: none; }
  .demo-caption { padding: 0; text-align: left; margin-bottom: 44px; }
  .demo-controls { right: auto; left: 0; }
  .footer-base { flex-direction: column; gap: 6px; }
  .footer-links { gap: 40px; }
}

/* Download: one card per platform; the visitor's own system comes first. */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 16px; justify-content: center; margin-top: 12px; width: 100%; }
.platform { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--base); text-align: left; }
.platform.mine { border-color: rgba(var(--apricot-rgb), 0.55); box-shadow: 0 0 0 3px rgba(var(--apricot-rgb), 0.12); order: -1; }
.platform-head { display: flex; align-items: center; gap: 12px; }
.platform-head strong { display: block; font-size: 17px; }
.platform-head small { color: var(--muted); font-size: 13px; }
.os-icon { width: 30px; height: 30px; fill: var(--text); flex-shrink: 0; }
.platform .btn { width: 100%; }
.platform-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 720px) { .platforms { grid-template-columns: 1fr; } }
