/* VidSeen — clean, bold SaaS. Brand blue #369AFF with a #369AFF → #0064C9 gradient; DM Sans throughout. */

:root {
  --blue: #369aff;          /* brand: fills, icons, highlights */
  --blue-600: #0a6fd6;      /* text-bearing fills and links (4.9:1 with white) */
  --blue-700: #0858ad;
  --blue-800: #0064c9;
  --grad: linear-gradient(135deg, #369aff 0%, #0064c9 100%);
  --blue-50: #eef6ff;
  --blue-100: #dcebff;

  --ink: #0b1b33;
  --ink-2: #44506a;
  --line: #e4e9f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --dark: #0b1424;
  --dark-2: #16223a;
  --green: #12805c;
  --red: #d92d20;

  --font-head: "DM Sans", system-ui, sans-serif;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --m: clamp(16px, 4vw, 40px);
  --gap: clamp(88px, 10vw, 144px);
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 2px 8px rgba(11, 27, 51, .05);
  --shadow: 0 2px 4px rgba(11, 27, 51, .04), 0 12px 32px rgba(11, 27, 51, .08);
  --shadow-lg: 0 4px 8px rgba(11, 27, 51, .04), 0 32px 80px -12px rgba(11, 27, 51, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
section[id] { scroll-margin-top: 88px; }
::selection { background: var(--blue-100); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.hero-title, .h2, .h3, .h4, .cta-title, .plan-name, .fact-n, .price-n, .logo {
  font-family: var(--font-head); letter-spacing: -0.025em; color: inherit;
}
.hero-title { font-size: clamp(2.75rem, 1.2rem + 5.4vw, 5.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.h4 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.blue { color: #2a8cf0; } /* a hair darker than --blue so large text keeps 3:1 on white */
.blue-light { color: #7cc0ff; }
.muted { color: var(--ink-2); font-weight: 400; }

.label {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700); font-size: 14px; font-weight: 600;
}
.label-soft { padding: 0; background: none; }
.section-head { max-width: 720px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 16px; }
.section-head-left { margin: 0; text-align: left; justify-items: start; }
.section-sub { font-size: 1.1875rem; color: var(--ink-2); max-width: 56ch; }
.section-sub a { color: var(--blue-600); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -6px rgba(0, 100, 201, .45); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(0, 100, 201, .6); filter: brightness(1.06); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--blue-800); }
.btn-light:hover { background: var(--blue-50); transform: translateY(-1px); }
.btn-ghost-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.text-link { display: inline-flex; gap: 6px; color: var(--blue-600); font-weight: 600; text-decoration: none; }
.text-link span { transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 12px; z-index: 40; padding: 0 var(--m); margin-top: 12px; height: 0; }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 8px 8px 8px 20px; border-radius: 999px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(228, 233, 241, .9);
  box-shadow: 0 8px 30px -12px rgba(11, 27, 51, .18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: box-shadow .2s;
}
.nav.is-stuck .nav-inner { box-shadow: 0 12px 36px -12px rgba(11, 27, 51, .28); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; justify-content: center; gap: 4px; }
.nav-links a, .nav-signin { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav-links a:hover, .nav-signin:hover { background: var(--bg-soft); color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--bg-soft); color: var(--ink); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 160px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 40px rgba(11, 27, 51, .12); }
.lang-menu a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 14px; }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a[aria-current='page'] { font-weight: 700; background: var(--bg-soft); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: clamp(120px, 11vw, 152px) var(--m) 0; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #f3f8ff 0%, #fff 55%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M19 17.5v9l7.5-4.5z' fill='%23369AFF' fill-opacity='.16'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -24%; width: min(1500px, 140vw); height: 62%;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(54, 154, 255, .75), rgba(0, 100, 201, .38) 55%, transparent 100%);
  filter: blur(20px);
}
.hero-copy { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; display: grid; justify-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--blue-100); }
.hero-title { margin-top: 28px; }
.hero-sub { margin-top: 24px; max-width: 46ch; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-fine { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* the live tray: video, gauge, viewers */
.hero-stage { position: relative; z-index: 1; max-width: 1120px; margin: clamp(48px, 5vw, 64px) auto 0; padding-bottom: clamp(64px, 8vw, 112px); }
.tray {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, 1fr); gap: 16px;
  padding: 16px; border-radius: 28px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 30px 80px -30px rgba(0, 100, 201, .45), inset 0 0 0 1px rgba(54, 154, 255, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.tcard { padding: 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; line-height: 1.45; display: flex; flex-direction: column; }
.tcard-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.tcard-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.tcard-meta { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.tcard-label { font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.tcard-summary { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--blue-50); color: var(--ink); }
.tcard-summary strong { color: var(--blue-700); }
.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip-blue { background: var(--blue-50); color: var(--blue-700); }

.player { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #e7ebf2; }
.player-frame { width: 100%; height: 100%; object-fit: cover; transform-origin: 30% 40%; }
.is-playing .player-frame { animation: drift 24s linear infinite alternate; }
@keyframes drift { to { transform: scale(1.07) translate(-1.5%, -1%); } }
.player-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(11, 20, 36, .78); color: #fff; }
.player-play { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: var(--grad); color: #fff; cursor: pointer; transition: transform .15s var(--ease); }
.player-play:hover { transform: scale(1.08); }
.player-play .i-pause, .is-playing .player-play .i-play { display: none; }
.is-playing .player-play .i-pause { display: block; }
.player-time { font-size: 13px; font-variant-numeric: tabular-nums; flex: none; }
.player-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
.player-fill { width: 0; height: 100%; border-radius: 2px; background: var(--blue); }

.gauge { position: relative; margin: 6px auto 0; width: 100%; max-width: 230px; }
.gauge svg { display: block; width: 100%; overflow: visible; }
.gauge path { fill: none; stroke-width: 18; stroke-linecap: round; }
.gauge-track { stroke: var(--blue-50); }
.gauge-value { stroke: url(#gg); stroke-dasharray: 100; transition: stroke-dashoffset .8s var(--ease); }
.gauge-n { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--font-head); font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 18px; }
.gauge-split p { display: grid; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); }
.gauge-split span { font-size: 13px; color: var(--ink-2); }
.gauge-split strong { font-size: 15px; font-variant-numeric: tabular-nums; }

.roster { display: grid; gap: 2px; }
.person { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 6px 8px; margin-inline: -8px; border-radius: 10px; transition: background-color .2s; }
.person:hover { background: var(--bg-soft); }
.person-text { display: grid; min-width: 0; }
.person-name { font-weight: 600; }
.person-state { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.person-state.is-done { color: var(--green); font-weight: 500; }
.person.you { background: var(--blue-50); animation: rowIn .45s var(--ease); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } }
.side-tip { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--ink-2); }

.avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 11.5px; font-weight: 600; color: var(--ink); flex: none; }
.av-1 { background: #ffd9b8; } .av-2 { background: #cfe4ff; } .av-3 { background: #d4efd9; }
.av-4 { background: #ecd8f3; } .av-5 { background: #fdeaa7; }
.av-you { background: var(--grad); color: #fff; font-size: 10.5px; }

.mini-btn { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s, background-color .15s, transform .15s var(--ease); }
button.mini-btn:hover { border-color: var(--ink); }
button.mini-btn:active { transform: scale(.96); }
.mini-btn[disabled] { border-color: transparent; background: transparent; color: var(--ink-2); cursor: default; }
.mini-btn-blue { background: var(--grad); border-color: transparent; color: #fff; }
button.mini-btn-blue:hover { border-color: transparent; filter: brightness(1.08); }
.mini-btn-red { background: var(--red); border-color: var(--red); color: #fff; }

.toast {
  position: absolute; z-index: 2; top: -24px; left: -24px;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow); font-size: 14px; white-space: nowrap;
}
.toast-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #dff5ea; color: var(--green); }
.toast.pop { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: translateY(8px) scale(.96); opacity: .3; } }


/* ---------- channels ---------- */
.channels { padding: 40px var(--m) 0; text-align: center; }
.channels-title { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.channels-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 20px; }
.channels-list li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.1875rem; font-weight: 600; color: #5a6680; }
.channels-list svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- shared section frame ---------- */
.how, .features, .cases, .facts, .pricing, .faq { max-width: calc(var(--wrap) + 2 * var(--m)); margin: 0 auto; padding: var(--gap) var(--m) 0; }

/* ---------- how it works ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tab { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps { margin-top: 32px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--bg-soft); animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.step-copy p { margin-top: 16px; color: var(--ink-2); max-width: 46ch; }
.checks { display: grid; gap: 10px; margin-top: 24px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%230858ad' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.step-visual { position: relative; display: grid; gap: 16px; justify-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r); background: linear-gradient(160deg, var(--blue-100), var(--blue-50) 60%); min-height: 340px; align-content: center; }
.ui-card { width: 100%; max-width: 380px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 14px; }
.rec-bar { display: flex; align-items: center; gap: 10px; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fde3e1; flex: none; }
.rec-time { font-family: var(--font-head); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.rec-label { flex: 1; color: var(--ink-2); font-size: 13px; }
.menu-h { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 12px; }
.menu ul { display: grid; gap: 6px; margin-bottom: 12px; }
.menu li { padding: 9px 12px; border-radius: 9px; background: var(--bg-soft); font-weight: 500; }
.menu li.is-on { background: var(--blue-600); color: #fff; }
.menu-row { display: flex; justify-content: space-between; padding: 6px 2px; color: var(--ink-2); }
.menu-row span:last-child { color: var(--ink); font-weight: 500; }
.copied { display: flex; align-items: center; gap: 12px; }
.copied-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dff5ea; color: var(--green); flex: none; }
.transcript ol { display: grid; gap: 10px; }
.transcript li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; }
.transcript time { color: var(--blue-700); font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-track { height: 8px; border-radius: 4px; background: var(--blue-50); overflow: hidden; }
.bar-track span { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.progress-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--ink-2); font-size: 13px; }
.progress-line strong { color: var(--ink); }
.mini-roster { display: grid; gap: 4px; margin-top: 14px; }
.mini-roster li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 4px 0; font-weight: 500; }
.mini-roster .avatar { width: 30px; height: 30px; font-size: 11px; }
.mini-roster li > span:last-child { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.mini-roster .ok { color: var(--green) !important; font-weight: 500 !important; }

/* ---------- features ---------- */
.grid-6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.feature { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.feature:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 20px; box-shadow: 0 8px 18px -8px rgba(0, 100, 201, .6); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { margin-top: 8px; color: var(--ink-2); }

/* ---------- use cases ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: 56px; }
.case + .case { margin-top: clamp(56px, 7vw, 96px); }
.case-flip .case-media { order: 2; }
.case-media { position: relative; }
.case-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.case-copy .label { margin-bottom: 12px; }
.case-copy > p:not(.label) { margin-top: 16px; color: var(--ink-2); max-width: 46ch; }
.case-copy .text-link { margin-top: 28px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; }
.float-bl { left: -20px; bottom: 24px; }
.float-tr { right: -20px; top: 24px; }
.float-wide { display: block; width: 280px; }
.float-wide .bar-track { margin-top: 10px; }
.float-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fde3e1; color: var(--red); flex: none; }

/* ---------- facts ---------- */
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.fact { display: grid; align-content: space-between; gap: 40px; min-height: 260px; padding: 28px; border-radius: var(--r-lg); background: var(--bg-soft); }
.fact-n { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.fact p:last-child { color: var(--ink-2); }
.fact-blue { background: linear-gradient(160deg, #369aff 0%, #0064c9 100%); color: #fff; }
.fact-blue p:last-child { color: #fff; }
.fact-dark { background: var(--dark); color: #fff; }
.fact-dark p:last-child { color: #b8c2d6; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.plan-featured { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: var(--shadow-lg); }
.plan-tag { position: absolute; top: 28px; right: 28px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 600; }
.plan-name { font-size: 1.5rem; font-weight: 700; }
.plan-for { margin-top: 4px; color: var(--ink-2); }
.plan-featured .plan-for, .plan-featured .price-per { color: #b8c2d6; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0; }
.price-n { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-per { color: var(--ink-2); font-size: 15px; }
.plan .checks { margin-top: 28px; }
.plan-featured .checks li::before { background-color: rgba(54, 154, 255, .22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%237cc0ff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-featured .btn-primary { box-shadow: 0 10px 28px -8px rgba(54, 154, 255, .6); }
.pricing-fine { margin-top: 28px; text-align: center; color: var(--ink-2); font-size: 15px; }
.pricing-fine a { color: var(--blue-600); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 112px; display: grid; justify-items: start; gap: 16px; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq summary { position: relative; padding: 22px 64px 22px 24px; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%230b1b33' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-50); }
.faq summary:hover::after { background-color: var(--blue-100); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); max-width: 62ch; }
.faq details a { color: var(--blue-600); font-weight: 500; }

/* ---------- CTA ---------- */
.cta { max-width: calc(var(--wrap) + 2 * var(--m)); margin: var(--gap) auto 0; padding: 0 var(--m); }
.cta-inner {
  position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) var(--m); border-radius: 32px; text-align: center;
  background: radial-gradient(60% 80% at 85% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(135deg, #369aff 0%, #0064c9 70%); color: #fff;
  display: grid; justify-items: center;
}
.cta-title { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.cta-sub { margin-top: 20px; max-width: 44ch; font-size: 1.1875rem; color: #fff; }
.cta-soft { color: #d6ebff; }

/* ---------- footer ---------- */
.footer { max-width: calc(var(--wrap) + 2 * var(--m)); margin: 0 auto; padding: clamp(64px, 8vw, 104px) var(--m) 0; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 32px; align-items: start; }
.footer nav { display: grid; align-content: start; gap: 6px; }
.footer-h { font-weight: 600; margin-bottom: 6px; }
.footer nav a { width: fit-content; color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 3px 0; transition: color .2s; }
.footer nav a:hover { color: var(--blue-600); }
.footer-mail { justify-self: end; color: var(--ink); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.footer-mail:hover { color: var(--blue-600); }
.footer-bottom { margin-top: 56px; color: var(--ink-2); font-size: 14px; }
.footer-word { margin: 28px 0 -0.22em; font-size: clamp(4.75rem, 20vw, 14rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.8; color: var(--ink); user-select: none; }

/* ---------- motion ---------- */
.js .hero-copy > *, .js .hero-stage { opacity: 0; transform: translateY(16px); }
.js.loaded .hero-copy > *, .js.loaded .hero-stage { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s var(--ease); }
.js.loaded .hero-copy > :nth-child(2) { transition-delay: .06s; }
.js.loaded .hero-copy > :nth-child(3) { transition-delay: .12s; }
.js.loaded .hero-copy > :nth-child(4) { transition-delay: .18s; }
.js.loaded .hero-copy > :nth-child(5) { transition-delay: .22s; }
.js.loaded .hero-stage { transition-delay: .3s; }
.js [data-reveal] { opacity: 0; transform: translateY(20px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s var(--ease); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-copy > *, .js .hero-stage, .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .is-playing .player-frame, .person.you, .step, .toast.pop { animation: none; }
  .feature:hover, .btn:hover { transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .tray { grid-template-columns: 1fr 1fr; }
  .tcard-video { grid-column: 1 / -1; }
  .nav-inner { padding-left: 16px; }
  .step { grid-template-columns: minmax(0, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case, .case-flip { grid-template-columns: 1fr; }
  .case-flip .case-media { order: 0; }
  .float-bl { left: 16px; } .float-tr { right: 16px; }
  .toast { left: 12px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .faq { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-mail { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-signin { display: none; }
  .hero-title { font-size: clamp(2.25rem, 9.6vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .toast { position: relative; top: auto; left: auto; transform: none; margin: 0 auto 14px; display: flex; width: fit-content; max-width: 100%; white-space: normal; }
  .toast.pop { animation: none; }
  .hero { padding-top: 112px; }
  .tray { grid-template-columns: 1fr; padding: 10px; border-radius: 22px; }
  .tcard { padding: 14px; }
  .player-bar { left: 8px; right: 8px; bottom: 8px; }
  .tabs { flex-direction: column; align-items: stretch; }
  .step { padding: 20px; }
  .step-visual { padding: 16px; min-height: 0; }
  .rec-label { visibility: hidden; }
  .pill { font-size: 13px; padding: 7px 14px; }
  .grid-6 { grid-template-columns: 1fr; }
  .feature { padding: 22px; }
  .float-card { position: static; margin-top: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
  .float-wide { width: auto; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { min-height: 0; gap: 20px; }
  .plan { padding: 24px; }
  .faq summary { padding: 18px 56px 18px 18px; }
  .faq details p { padding: 0 18px 18px; }
  .cta-inner { border-radius: 24px; padding-inline: 16px; }
  .cta-title { font-size: clamp(1.75rem, 7.4vw, 2.5rem); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}


