:root {
  --void: #07060a;
  --paper: #f3f1f6;
  --ink: #14131a;
  --muted: #5e5a68;
  --line: rgba(20, 19, 26, 0.1);
  --violet: #5c43f5;
  --white: #ffffff;
  --nav: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }
::selection { background: var(--violet); color: white; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  color: white;
}
.nav.is-light {
  color: var(--ink);
  background: rgba(243, 241, 246, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}
.mark {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(92, 67, 245, 0.16);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.82;
}
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--violet);
  color: white;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background 0.2s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); filter: none; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20, 19, 26, 0.16);
}
.tier-focus .btn { width: 100%; }
.tier .btn, .tier .btn-line { width: 100%; }
.btn-line:hover { background: rgba(20, 19, 26, 0.04); filter: none; }

.kicker, .eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}
.eyebrow { color: rgba(255, 255, 255, 0.72); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.045em; line-height: 0.96; margin: 0; }
h2 { font-size: clamp(2.4rem, 5vw, 4.15rem); max-width: 14ch; }
.lede { margin: 18px 0 0; max-width: 38rem; font-size: 1.12rem; line-height: 1.55; }

.scrub { height: 320vh; background: var(--void); position: relative; }
.method { height: 300vh; }
.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--void);
  color: white;
}
.scrub-sticky video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--void);
}
.scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 10, 0.45) 0%, rgba(7, 6, 10, 0.08) 28%, rgba(7, 6, 10, 0.12) 52%, rgba(7, 6, 10, 0.78) 100%);
  opacity: calc(1 - var(--reveal, 0) * 0.45);
  pointer-events: none;
}
.scrim-method {
  background: linear-gradient(180deg, rgba(7, 6, 10, 0.55), rgba(7, 6, 10, 0.35) 40%, rgba(7, 6, 10, 0.62));
  opacity: 1;
}
.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9vh;
  padding: 0 7vw;
  z-index: 2;
  max-width: 1240px;
}
.hero-copy h1 {
  font-size: clamp(4.2rem, 11.5vw, 8.6rem);
  max-width: 12ch;
  letter-spacing: -0.06em;
}
.hero-copy .lede { color: rgba(255, 255, 255, 0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.scroll-hint {
  position: absolute;
  right: 7vw;
  bottom: 28px;
  z-index: 2;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.scrub-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 3;
}
.scrub-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left center;
}

.bridge {
  height: 22vh;
  background: linear-gradient(to bottom, var(--void), var(--paper));
}

.logos { padding: 28px 0 72px; }
.logos-label {
  margin: 0 0 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 72px;
  width: max-content;
  padding-left: 24px;
  animation: ticker 46s linear infinite;
}
.marquee-track span {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(20, 19, 26, 0.46);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.method-stage {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav) + 12px) 24px 48px;
}
.method-stage .eyebrow { color: rgba(255, 255, 255, 0.7); }
.glass-block {
  background: rgba(16, 14, 24, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.35);
  border-radius: 28px;
  padding: 18px 48px 28px;
  width: max-content;
  max-width: min(92vw, 980px);
}
.method-all { display: none; }
.method-word {
  font-size: clamp(4.4rem, 13vw, 9.2rem);
  letter-spacing: -0.065em;
  line-height: 0.88;
}
.method-word.is-in { animation: rise 0.55s var(--ease); }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.steps { display: flex; gap: 8px; margin-top: 28px; }
.steps span {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}
.method[data-step="0"] .steps span:nth-child(1),
.method[data-step="1"] .steps span:nth-child(2),
.method[data-step="2"] .steps span:nth-child(3) {
  background: var(--violet);
  width: 44px;
}

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.wrap-narrow { width: min(760px, calc(100% - 48px)); }
.metrics { padding: 40px 0 20px; }
.metrics h2, .product h2, .pricing h2, .faq h2 { margin-bottom: 8px; }
.product h2 { max-width: 12em; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.metric { padding: 32px 28px 8px 0; }
.metric + .metric { border-left: 1px solid var(--line); padding-left: 28px; }
.metric-value {
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-weight: 500;
}
.metric-label { margin: 10px 0 0; color: var(--muted); font-size: 1.02rem; }

.product { padding: 96px 0 40px; }
.product-head .lede { color: var(--muted); }
.browser {
  margin: 48px 0 0;
  background: white;
  border-radius: 18px;
  border: 1px solid rgba(20, 19, 26, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 60px rgba(28, 22, 48, 0.1),
    0 8px 18px rgba(28, 22, 48, 0.05);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 46px;
  padding: 0 16px;
  background: #f7f6f9;
  border-bottom: 1px solid rgba(20, 19, 26, 0.06);
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d9d6e0;
  display: block;
}
.url {
  font-size: 0.82rem;
  color: var(--muted);
  background: white;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid rgba(20, 19, 26, 0.06);
}
.app { display: grid; grid-template-columns: 196px 1fr; min-height: 540px; background: #f6f5f8; }
.app-side {
  background: #12111a;
  color: rgba(255, 255, 255, 0.72);
  padding: 22px 16px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: white;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.app-side ul { list-style: none; margin: 0; padding: 0; }
.app-side li {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
}
.app-side .is-current { background: rgba(92, 67, 245, 0.22); color: white; }
.app-main { padding: 22px 22px 8px; }
.app-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}
.app-kicker { margin: 0; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.app-top h3 { margin-top: 6px; font-size: 1.45rem; letter-spacing: -0.04em; }
.app-pill {
  margin: 0;
  background: white;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  border: 1px solid rgba(20, 19, 26, 0.08);
  white-space: nowrap;
}
.chart-card {
  margin-top: 16px;
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(20, 19, 26, 0.06);
  padding: 12px 14px 0;
}
.chart-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); }
.chart-meta strong { color: var(--violet); font-weight: 600; }
.chart { display: block; width: 100%; height: 150px; }
.pulse-dot { transform-origin: 620px 32px; animation: beat 2.4s ease-in-out infinite; }
@keyframes beat {
  0%, 100% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.7); opacity: 0.7; }
  55% { transform: scale(1); }
  70% { transform: scale(1.35); }
}
.app-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.92rem; }
.app-table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 8px;
}
.app-table td { padding: 11px 8px; border-top: 1px solid rgba(20, 19, 26, 0.06); }
.app-table em {
  font-style: normal;
  color: var(--violet);
  font-weight: 600;
}
.bar {
  display: inline-grid;
  grid-template-columns: 72px auto;
  gap: 8px;
  align-items: center;
}
.bar::before {
  content: "";
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--violet) var(--w), rgba(20, 19, 26, 0.08) var(--w));
}
.bar b { font-weight: 500; }
.bar-quiet::before { background: linear-gradient(90deg, rgba(20, 19, 26, 0.35) var(--w), rgba(20, 19, 26, 0.08) var(--w)); }

.pricing {
  padding: 96px 0 40px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(92, 67, 245, 0.09), transparent 52%),
    var(--paper);
}
.pricing h2 { max-width: 16ch; }
.bill { margin: 32px 0 36px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.segment {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(20, 19, 26, 0.06);
  border-radius: 999px;
  padding: 4px;
  min-width: 240px;
}
.segment .thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: white;
  box-shadow: 0 1px 3px rgba(20, 19, 26, 0.12);
  transition: transform 0.28s var(--ease);
}
.pricing[data-billing="annual"] .thumb { transform: translateX(100%); }
.segment button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  min-height: 40px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}
.segment button:focus-visible, .btn:focus-visible, .faq-item summary:focus-visible, .nav a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.bill-note { margin: 0; color: var(--muted); }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.tier {
  border-radius: 22px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.glass-light {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(28, 22, 48, 0.06);
  backdrop-filter: blur(16px) saturate(1.2);
}
.tier h3 { font-size: 1.35rem; }
.tier header { min-height: 132px; }
.price { margin: 14px 0 0; font-size: 3rem; letter-spacing: -0.05em; line-height: 1; font-weight: 500; }
.price .per { font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-left: 2px; }
.billed { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.tier ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.tier li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-top: 1px solid rgba(20, 19, 26, 0.08);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
}
.tier-focus {
  background: #100e16;
  color: white;
  border: 1px solid rgba(92, 67, 245, 0.9);
  box-shadow: 0 24px 50px rgba(92, 67, 245, 0.18);
  transform: translateY(-14px);
  position: relative;
}
.tier-focus .billed, .tier-focus .price .per { color: rgba(255, 255, 255, 0.68); }
.tier-focus li { border-top-color: rgba(255, 255, 255, 0.1); }
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--violet);
  color: white;
  border-radius: 999px;
  padding: 5px 8px;
  font-weight: 600;
}

.faq { padding: 80px 0 100px; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus {
  width: 18px;
  height: 18px;
  position: relative;
  flex: none;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
}
.plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.plus::after { top: 0; bottom: 0; left: 8px; width: 2px; transition: transform 0.25s var(--ease); }
.faq-item[open] .plus::after { transform: rotate(90deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item[open] .faq-body { grid-template-rows: 1fr; }
.faq-body p { overflow: hidden; margin: 0; padding-bottom: 20px; color: var(--muted); max-width: 62ch; }

.finale {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #efeae3;
  padding: calc(var(--nav) + 24px) 20px 48px;
}
.finale video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.finale-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  border-radius: 28px;
  padding: 40px 36px;
  text-align: left;
}
.finale-card h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 12ch; }
.finale-card p { color: var(--muted); font-size: 1.08rem; }
.finale-card .btn { margin-top: 8px; }

.footer { padding: 28px 0 36px; border-top: 1px solid var(--line); }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer p { margin: 0; color: var(--muted); }
.footer nav { display: flex; gap: 18px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .tier-focus { transform: none; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .hero-copy { bottom: 11vh; padding: 0 24px; }
  .scroll-hint { left: 24px; right: auto; }
  .app-table th:nth-child(4), .app-table td:nth-child(4) { display: none; }
}

@media (max-width: 640px) {
  .nav { padding: 0 16px; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .glass-block { padding: 12px 22px 18px; }
  .finale-card { padding: 28px 22px; }
  .app-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scrub, .method { height: 100vh; height: 100dvh; }
  .marquee-track, .pulse-dot, .method-word.is-in { animation: none; }
  .glass-block, .steps { display: none; }
  .method-all {
    display: block;
    margin: 0;
    font-size: clamp(2.4rem, 8vw, 4.6rem);
    letter-spacing: -0.05em;
    font-weight: 500;
  }
  .faq-body { transition: none; }
  .segment .thumb { transition: none; }
  .hero-copy { opacity: 1 !important; transform: none !important; }
}
