:root {
  --bg: #fbfbf9;
  --card: #ffffff;
  --ink: #191919;
  --muted: #5b5f66;
  --line: #e2e2dd;
  --red: #d92c1f;
  --red-deep: #b3241a;
  --button-red: #d92c1f;
  --button-red-hover: #b3241a;
  --wash: rgba(217, 44, 31, 0.055);
  --tip-bg: #17181b;
  --tip-ink: #f2f3f5;
  --shadow: rgba(0, 0, 0, 0.18);
  color-scheme: light dark;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101113;
    --card: #17181b;
    --ink: #ededea;
    --muted: #9b9fa6;
    --line: #292b2f;
    --red: #ea4434;
    --red-deep: #f0685a;
    --button-red: #d92c1f;
    --button-red-hover: #b3241a;
    --wash: rgba(234, 68, 52, 0.08);
    --tip-bg: #f2f3f5;
    --tip-ink: #17181b;
    --shadow: rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.jword:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3, p { text-wrap: pretty; }

.shell { width: min(960px, calc(100% - 48px)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-red,
.button.primary {
  background: var(--button-red);
  color: #fff;
}

.btn-red:hover,
.button.primary:hover {
  background: var(--button-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 44, 31, 0.32);
}

.btn-red:active,
.button.primary:active { transform: translateY(0); box-shadow: none; }

.btn-line,
.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-line:hover,
.button.secondary:hover { border-color: var(--muted); }

.btn-small { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- header ---------- */
.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  position: relative;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img { width: 28px; height: 28px; transition: transform 0.35s ease; }
.brand:hover img { transform: rotate(-14deg) scale(1.08); }

.head nav { display: flex; align-items: center; gap: 22px; }
.head nav a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.head nav a:hover { color: var(--ink); }
.head nav .btn { color: #fff; }

@media (max-width: 560px) {
  .head nav { gap: 14px; }
  .head nav a { font-size: 0.85rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 0 44px;
  background: radial-gradient(620px 340px at 50% -40px, var(--wash), transparent 72%);
}

.hero-inner { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 auto 18px;
  max-width: 21ch;
  text-wrap: balance;
}

.hero h1 em { font-style: normal; color: var(--red); }

.lead { color: var(--muted); font-size: 1.15rem; margin: 18px 0 26px; max-width: 56ch; }
.hero .lead { max-width: 52ch; margin: 0 auto 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-note { color: var(--muted); font-size: 0.85rem; margin: 14px 0 0; }

/* the word "jargon" gets the product treatment */
.jword {
  position: relative;
  border-bottom: 3px solid var(--red);
  cursor: help;
}

.jcard {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(8px) scale(0.97);
  width: max-content;
  max-width: 280px;
  background: var(--tip-bg);
  color: var(--tip-ink);
  text-align: left;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  padding: 11px 14px;
  border-radius: 9px;
  border-left: 3px solid var(--red);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 6;
}

.jcard::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--tip-bg);
}

.jcard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.86rem;
}

.jcard-time { opacity: 0.7; font-weight: 400; font-variant-numeric: tabular-nums; }

.jword:hover .jcard,
.jword:focus-visible .jcard {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

@media (max-width: 620px) {
  .jcard { left: 0; transform: translateX(0) translateY(8px) scale(0.97); max-width: min(280px, 82vw); }
  .jword:hover .jcard,
  .jword:focus-visible .jcard { transform: translateX(0) translateY(0) scale(1); }
  .jcard::after { left: 18%; }
}

/* ambient jargon drifting behind the hero */
.jargon-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }

.jargon-field span {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: var(--muted);
  opacity: 0.13;
  filter: blur(2.5px);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.9s ease, filter 0.9s ease, color 0.9s ease;
  animation: drift ease-in-out infinite alternate;
}

.jargon-field .s1 { font-size: 0.85rem; }
.jargon-field .s2 { font-size: 1.05rem; }
.jargon-field .s3 { font-size: 1.3rem; }

.jargon-field span.lit { opacity: 0.55; filter: blur(0); color: var(--red); }

@keyframes drift {
  from { transform: translate(-50%, -50%) translateY(-11px); }
  to   { transform: translate(-50%, -50%) translateY(13px); }
}

@media (max-width: 700px) { .jargon-field span:nth-child(n+5) { display: none; } }

/* ---------- screenshot ---------- */
.shot-wrap { padding: 20px 0 0; position: relative; z-index: 2; }

.shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px var(--shadow);
  background: var(--card);
}

.shot img { display: block; width: 100%; height: auto; }

.callout {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 14, 16, 0.82);
  color: #f2f3f5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  pointer-events: none;
  white-space: nowrap;
}

.c-dot { position: relative; width: 8px; height: 8px; flex: none; }
.c-dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); }
.c-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: ping 1.9s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(2.7); opacity: 0; }
}

@media (max-width: 640px) {
  .callout { font-size: 0.62rem; padding: 5px 9px; gap: 6px; }
  .c-dot { width: 6px; height: 6px; }
}

.shot-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 16px auto 0;
  max-width: 62ch;
}

.shot-caption b { color: var(--ink); font-weight: 600; }

/* ---------- promo video ---------- */
.video-wrap { padding: 72px 0 0; text-align: center; }

.video-wrap h2 {
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  text-wrap: balance;
}

.video-sub { color: var(--muted); font-size: 0.95rem; margin: 0 auto 26px; max-width: 52ch; }

.video-frame {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 70px var(--shadow);
  line-height: 0;
}

.video-frame video { width: 100%; height: auto; display: block; }

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 72px 0 0;
}

@media (max-width: 760px) { .features { grid-template-columns: 1fr; gap: 28px; } }

.feature h2 { font-size: 1.12rem; letter-spacing: -0.01em; margin: 0 0 6px; }

.feature h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 14px;
  transform-origin: left;
}

.feature p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- closing ---------- */
.closing {
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 64px 24px 72px;
}

.closing h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  text-wrap: balance;
}

.closing p { color: var(--muted); max-width: 54ch; margin: 0 auto 26px; }
.closing p a { color: var(--red); }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot-row { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.foot-row strong { color: var(--ink); }
.foot nav { display: flex; gap: 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-note { margin: 12px 0 0; font-size: 0.8rem; }

/* ---------- subpages: content hero, sections, cards ---------- */
.content-hero { padding: 72px 0 8px; max-width: 760px; }

.content-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.section { padding-block: 64px 0; }
.section:last-of-type { padding-bottom: 72px; }

.section-heading { max-width: 640px; margin-bottom: 34px; }

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
}

h3 { margin: 12px 0 8px; font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.01em; }

.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); }

.feature-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}

.card-number {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.card p,
.split-section p,
.intent-copy p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 0.97rem; }

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.split-section > div:last-child { display: grid; align-content: start; gap: 16px; }

.topic-list { display: flex; flex-wrap: wrap; gap: 9px; }

.topic-list span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--card);
  font-size: 0.82rem;
}

.text-link { width: fit-content; color: var(--red); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--red-deep); }

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 2px; cursor: pointer; font-weight: 600; }
.faq summary:hover { color: var(--red); }
.faq details p { max-width: 66ch; margin: 0 0 20px; color: var(--muted); line-height: 1.65; }
.faq details a { color: var(--red); }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-block: 64px 88px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.cta h2 { max-width: 24ch; font-size: clamp(1.5rem, 3.4vw, 2rem); margin-top: 8px; }

@media (max-width: 850px) {
  .feature-grid,
  .step-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 22px; }
  .cta { flex-direction: column; align-items: stretch; }
}

/* ---------- privacy page ---------- */
.privacy-wrap { width: min(720px, calc(100% - 44px)); margin: auto; padding: 48px 0 70px; }
.privacy-wrap h1 { font-size: 2rem; letter-spacing: -0.025em; }
.privacy-wrap h2 { margin-top: 32px; font-size: 1.15rem; letter-spacing: -0.01em; }
.privacy-wrap p,
.privacy-wrap li { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.privacy-wrap a { color: var(--red); }
.privacy-wrap .date { color: var(--muted); font-size: 0.85rem; }
.privacy-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; color: inherit; text-decoration: none; }
.privacy-brand img { width: 48px; height: 48px; }
.privacy-brand span { display: grid; gap: 2px; }
.privacy-brand strong { color: var(--ink); }
.privacy-brand small { color: var(--muted); }
.notice { padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.notice p { margin: 0; }
.privacy-footer { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; }

/* ---------- motion (only when allowed) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floaty {
  from { transform: translate(-50%, -50%) translateY(-3px); }
  to { transform: translate(-50%, -50%) translateY(3px); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .head { animation: fadeUp 0.55s ease both; }
  .js .hero .cta-row { animation: fadeUp 0.6s ease 0.28s both; }
  .js .hero .hero-note { animation: fadeUp 0.6s ease 0.38s both; }
  .js .shot-wrap { animation: fadeUp 0.8s ease 0.45s both; }

  .js .reveal .feature,
  .js .reveal.closing > *,
  .js .reveal.video-wrap > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--i, 0) * 110ms);
  }

  .js .reveal.live .feature,
  .js .reveal.closing.live > *,
  .js .reveal.video-wrap.live > * { opacity: 1; transform: none; }

  .js .feature h2::before { transform: scaleX(0); transition: transform 0.55s ease 0.25s; }
  .js .reveal.live .feature h2::before { transform: scaleX(1); }

  .js .callout { opacity: 0; transition: opacity 0.5s ease; }
  .js .shot.live .callout { opacity: 1; animation: floaty 3.2s ease-in-out infinite alternate; }
  .js .shot.live .c1 { transition-delay: 0.35s; }
  .js .shot.live .c2 { transition-delay: 0.75s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .callout { opacity: 1; }
}
