/* 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;
}

/* Light is the default; the switch in the nav sets data-theme="dark" (site.js). */
:root[data-theme="dark"] {
  --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); }
.theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--muted); cursor: pointer; transition: color .2s ease, background .2s ease; }
.theme-toggle:hover { color: var(--text); background: rgba(var(--ink-rgb), 0.05); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun, :root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.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: 10px 16px 10px 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: 6px; font-size: 12px; }
.side-group { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 3px; }
.side-item { padding: 5px 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; }

/* Walkthrough: the Notebook page and the reading-notes deck (walkthrough.js) */
.nbw-paper { border: 1px solid var(--line); border-radius: 6px 12px 12px 6px; padding: 12px 16px 14px; animation: fade-in .4s ease both;
  background: var(--raised) repeating-linear-gradient(to bottom, transparent 0, transparent 23px, rgba(var(--ink-rgb), .07) 23px, rgba(var(--ink-rgb), .07) 24px);
  display: flex; flex-direction: column; gap: 6px; }
.nbw-kicker { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nbw-title { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; line-height: 1.2; }
.nbw-cornell { display: grid; grid-template-columns: 32% 1fr; gap: 0; margin-top: 4px; }
.nbw-cues { padding-right: 10px; display: flex; flex-direction: column; gap: 6px; }
.nbw-cue { font-family: Georgia, serif; font-style: italic; font-size: 12.5px; animation: slide-in .35s ease both; }
.nbw-main { border-left: 2px solid rgba(220, 90, 90, .45); padding-left: 12px; display: flex; flex-direction: column; gap: 6px; }
.nbw-sec { font-family: Georgia, serif; font-weight: 700; font-size: 14px; }
.nbw-sec b { color: var(--apricot); margin-right: 4px; }
.nbw-b { font-family: Georgia, serif; font-size: 12.5px; line-height: 1.5; padding: 5px 8px; border-radius: 6px; animation: slide-in .35s ease both; }
.nbw-key { padding: 2px 2px; }
.nbw-hl { background: linear-gradient(to bottom, transparent 58%, rgba(255, 200, 60, .38) 58%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nbw-pt { padding: 2px 0 2px 14px; position: relative; }
.nbw-pt::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--apricot); }
.nbw-def { background: rgba(90, 140, 210, .12); border: 1px solid rgba(90, 140, 210, .35); }
.nbw-exam { background: rgba(230, 110, 70, .10); border-left: 4px solid #e0673f; border-radius: 0 8px 8px 0; }
.nbw-exam i { display: block; font-style: normal; font-family: var(--font); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d9532c; }
.nbw-src { font-family: var(--font); font-size: 10px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; margin-left: 4px; white-space: nowrap; transition: all .25s ease; }
.nbw-src.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.row .nbw-box, .nbw-box { width: 14px; height: 14px; flex: 0 0 14px; border: 1.5px solid var(--muted); border-radius: 4px; transition: all .2s ease; }
.nbw-box.on { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--raised); }
.nbw-go { display: flex; align-items: center; gap: 10px; }
.nbw-slide { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-height: 150px; display: flex; flex-direction: column; gap: 8px;
  background: var(--raised) repeating-linear-gradient(to bottom, transparent 0, transparent 23px, rgba(var(--ink-rgb), .06) 23px, rgba(var(--ink-rgb), .06) 24px);
  transform-origin: left center; }
.nbw-slide.flip { animation: nbw-flip .6s ease both; }
@keyframes nbw-flip { from { transform: perspective(900px) rotateY(-24deg); opacity: .3; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nbw-slide.flip { animation: none; } }
[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; }
.span-3 { grid-column: 1 / -1; }
.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-inner { gap: 10px; }
  .theme-toggle { margin-left: auto; }
  .nav-cta { margin-left: auto; }
  .theme-toggle + .nav-cta { margin-left: 0; }
  .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; }
}
/* Small phones: brand, theme switch, Download and menu only just fit in one
   row, so the nav tightens, and below 360px the wordmark gives way to the logo
   (the link keeps its "iReliabee home" label). */
@media (max-width: 400px) {
  .nav-inner { gap: 8px; }
  .nav-toggle { margin-left: 0; }
}
@media (max-width: 359.98px) {
  .nav .brand span { display: none; }
}

/* 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%; }
.alt-download { align-self: center; text-align: center; margin-top: -6px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.alt-download:hover { color: var(--ink); }
.alt-download[hidden] { display: none; }
.winget, .platform .winget { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; font-size: 13px; color: var(--muted); }
.winget code { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; padding: 6px 9px; }
.winget-copy { font: inherit; font-size: 12px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.winget-copy:hover { background: var(--soft); }
.winget[hidden] { display: none; }
.platform .platform-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.platform-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 720px) { .platforms { grid-template-columns: 1fr; } }

/* Two ways to install on Windows (/desktop#windows): the direct installer and the Store, side by side. */
.install-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 22px; }
.install-choice { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--raised); min-width: 0; }
.install-recommended { border-color: rgba(var(--apricot-rgb), 0.55); box-shadow: 0 0 0 3px rgba(var(--apricot-rgb), 0.1); }
.install-choice-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.legal-body .install-choice h3 { margin: 0; font-size: 17px; }
.install-badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--text); background: rgba(var(--apricot-rgb), 0.18); }
.install-choice h4 { margin: 8px 0 0; font-size: 13px; font-weight: 650; color: var(--text); }
.install-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.install-store { width: 100%; justify-content: center; border: 1px solid var(--line); color: var(--text); background: transparent; }
.install-store:hover { background: var(--soft); }
.install-checksum { margin-top: 6px; padding: 12px; border-radius: 12px; background: var(--soft); font-size: 13px; color: var(--muted); }
.legal-body .install-checksum p { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.install-checksum code { margin-bottom: 10px; }
.install-checksum code:last-child { margin-bottom: 0; }
.install-checksum code, .platform-checksum code { display: block; font-family: var(--mono); font-size: 12px; color: var(--text); overflow-wrap: anywhere; word-break: break-all; }
.platform-checksum { margin: 0; font-size: 12.5px; color: var(--muted); }
.platform-checksum[hidden] { display: none; }
.smartscreen-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.smartscreen-step { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.smartscreen-step img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.smartscreen-coming { aspect-ratio: 8 / 5; display: grid; place-items: center; border-radius: 12px; border: 1px dashed var(--line); background: var(--soft); color: var(--muted); font-size: 13px; }
.smartscreen-step figcaption { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.smartscreen-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--accent); color: var(--on-accent); flex-shrink: 0; }
.smartscreen-caption { margin: 10px 0 18px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 720px) { .install-choices, .smartscreen-steps { grid-template-columns: 1fr; } }

/* Footer contact addresses */
.footer-contact a { display: flex; flex-direction: column; gap: 1px; }
.footer-contact small { font-size: 11.5px; color: var(--muted); }
@media (max-width: 560px) { .footer-links { flex-wrap: wrap; row-gap: 28px; } }

/* ─── Pricing page (pro.html) ──────────────────────────────────────────────
   `.plan` is already the walkthrough's demo layout, so everything here is
   prefixed `price-`. */

.pricing-head { padding-top: 130px; }
.pricing-head .section-head { margin-bottom: 48px; }

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--raised); transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.price-card.featured .pill { position: absolute; top: -11px; left: 24px; }
.price-card h3 { font-size: 17px; font-weight: 680; }
.price-figure { display: flex; align-items: baseline; gap: 1px; font-weight: 760; letter-spacing: -0.03em; color: var(--text); }
.price-figure .amount { font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.price-figure [data-sym] { font-size: 24px; }
.price-figure .per { margin-left: 6px; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { font-size: 13.5px; color: var(--muted); min-height: 38px; }
.price-card .btn { width: 100%; justify-content: center; margin-top: 2px; }
.price-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.price-list li { position: relative; padding-left: 22px; }
.price-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--apricot); border-bottom: 2px solid var(--apricot); transform: rotate(-45deg); }
.price-list b { color: var(--text); font-weight: 600; }
.price-foot { max-width: 680px; margin: 40px auto 0; text-align: center; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.price-foot b { color: var(--text); font-weight: 600; }
.price-foot a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

/* Free vs Pro */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); }
.compare-col.pro { border-color: var(--accent); }
.compare-col h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 18px; }
.compare-col.pro h3 { color: var(--accent-hover); }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.compare-col li { position: relative; padding-left: 24px; }
.compare-col li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 5px; border-left: 2px solid var(--apricot); border-bottom: 2px solid var(--apricot); transform: rotate(-45deg); }

/* Teams */
.teams-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.teams-inner h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.teams-inner > div > p { margin-top: 16px; font-size: 17px; color: var(--muted); line-height: 1.7; }
.teams-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.teams-list li { position: relative; padding-left: 24px; }
.teams-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 5px; border-left: 2px solid var(--apricot); border-bottom: 2px solid var(--apricot); transform: rotate(-45deg); }
.teams-card { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--raised); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.teams-card h3 { font-size: 20px; font-weight: 700; }
.teams-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.teams-card .btn { width: 100%; justify-content: center; }
.teams-card small { font-size: 12.5px; color: var(--muted); text-align: center; }

.price-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Buy panel */
.buy-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(var(--ink-rgb), 0.45); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.buy-backdrop[hidden] { display: none; }
.buy-panel { position: relative; width: 420px; max-width: 100%; padding: 32px 30px 28px; border-radius: var(--radius); background: var(--raised); box-shadow: var(--shadow-lg); }
.buy-close { position: absolute; top: 14px; right: 16px; border: none; background: none; cursor: pointer; font-size: 24px; line-height: 1; color: var(--muted); padding: 4px 8px; }
.buy-panel h3 { font-size: 21px; font-weight: 720; }
.buy-summary { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.buy-panel form { display: flex; flex-direction: column; gap: 7px; margin-top: 22px; }
.buy-panel label { font-size: 13.5px; font-weight: 600; }
.buy-panel input { height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--base); color: var(--text); font: 400 15px var(--font); }
.buy-panel input:focus-visible { border-color: var(--accent); }
.buy-panel small { font-size: 12.5px; color: var(--muted); }
.buy-panel .btn { width: 100%; justify-content: center; margin-top: 10px; }
.buy-error { margin-top: 10px; font-size: 13.5px; color: var(--bad); line-height: 1.5; }

@media (max-width: 1060px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .teams-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .price-how { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-note { min-height: 0; }
  .pricing-head { padding-top: 110px; }
}

/* Region selector — the country picks the currency and, behind it, the rail. */
.region { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 auto 40px; max-width: 420px; text-align: center; }
.region label { font-size: 13px; font-weight: 600; color: var(--muted); }
.region select {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 11px; background: var(--raised); color: var(--text);
  font: 500 14.5px var(--font); cursor: pointer;
}
.region select:hover { border-color: var(--accent); }
.region-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; min-height: 20px; }

/* ─── Legal pages (terms.html, privacy.html) ──────────────────────────────
   Long documents nobody reads by choice: a sticky contents list, a narrow
   measure, and enough air between sections to find your place again. */

.legal { padding: 130px 0 90px; }
.legal-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }

.legal-toc { position: sticky; top: 92px; }
.legal-toc-head { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal-toc nav { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { font-size: 13.5px; color: var(--muted); padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.4; }
.legal-toc a:hover { color: var(--text); border-left-color: var(--accent); }

.legal-body { max-width: 680px; }
.legal-head { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-weight: 760; letter-spacing: -0.035em; margin-top: 18px; }
.legal-meta { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.legal-meta a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

.legal-body section { padding-top: 44px; scroll-margin-top: 90px; }
.legal-body h2 { font-size: 23px; font-weight: 720; letter-spacing: -0.02em; margin-bottom: 14px; }
.legal-body h3 { font-size: 16px; font-weight: 680; margin: 26px 0 8px; }
.legal-body p { font-size: 15.5px; line-height: 1.75; color: var(--muted); margin-bottom: 14px; }
.legal-body p b, .legal-body li b { color: var(--text); font-weight: 600; }
.legal-body a:not(.btn) { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.legal-body code { font-size: 13px; }

.legal-lede { font-size: 17.5px !important; line-height: 1.7 !important; color: var(--text) !important; }

.legal-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.legal-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.legal-list li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--apricot); }

.legal-callout {
  padding: 18px 20px; border-radius: 12px; border: 1px solid var(--accent);
  background: rgba(var(--accent-rgb), 0.06); color: var(--text) !important;
  font-size: 16px !important;
}

@media (max-width: 900px) {
  .legal { padding-top: 110px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-toc nav { flex-flow: row wrap; gap: 4px 16px; border-left: none; }
  .legal-toc a { padding: 2px 0; border-left: none; }
  .legal-toc a:hover { border-left: none; }
}

/* The winget line under the Windows download (index.html, /desktop). */
.winget { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.winget code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; padding: 2px 6px; border-radius: 6px; background: var(--line); color: var(--text); }
.winget-copy { font: 600 12px inherit; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.winget-copy:hover { color: var(--ink); }
.winget-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
