:root {
  --bg: #1b0a17;
  --bg-raise: #2a1124;
  --ink: #fbf3f6;
  --ink-soft: #d9c2cd;
  --line: #4a2540;
  --red: #ff3d62;
  --cyan: #2ff3ee;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 9px; }

.top nav { display: flex; gap: 1.75rem; font-size: 0.98rem; }
.top nav a { text-decoration: none; color: var(--ink-soft); transition: color 0.2s; }
.top nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 6rem) clamp(3rem, 8vw, 7rem);
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.75rem);
  font-weight: 800;
}

h1 .offset {
  display: inline-block;
  text-shadow: -0.045em 0.03em 0 var(--cyan), 0.045em 0.03em 0 var(--red);
  animation: settle 1.1s var(--ease) both;
}

@keyframes settle {
  from { text-shadow: -0.2em 0.08em 0 var(--cyan), 0.2em 0.08em 0 var(--red); opacity: 0.4; }
  to   { text-shadow: -0.045em 0.03em 0 var(--cyan), 0.045em 0.03em 0 var(--red); opacity: 1; }
}

.lede {
  max-width: 34ch;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
}

.actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.6rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.btn:hover { transform: translateY(-2px); background: #fff; }
.btn svg { width: 22px; height: 22px; }

.meta { color: var(--ink-soft); font-size: 0.95rem; }

/* Phone */
.phone-wrap { display: flex; justify-content: center; }

.phone {
  width: min(300px, 78vw);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  background: #0d0409;
  border-radius: 42px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.8), 14px 14px 0 -2px rgba(47, 243, 238, 0.18), -14px -14px 0 -2px rgba(255, 61, 98, 0.18);
  transform: rotate(3deg);
}

.screen {
  height: 100%;
  background: var(--bg-raise);
  border-radius: 33px;
  padding: 1.6rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.screen .bar {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  overflow: hidden;
  white-space: nowrap;
}

.field b {
  flex: none;
  padding: 0.3rem 0.7rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.72rem;
}

.go {
  padding: 0.8rem;
  text-align: center;
  background: var(--red);
  color: #1b0a17;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 14px;
}

.opts { display: grid; gap: 0.55rem; margin-top: 0.3rem; }

.opt {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.78rem;
}

.opt span:last-child { color: var(--cyan); }

.progress {
  margin-top: auto;
  height: 8px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--cyan);
  border-radius: inherit;
  animation: fill 2.8s var(--ease) 0.4s both;
}

@keyframes fill { from { width: 0; } }

/* Sections */
section { padding-block: clamp(3rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }

h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; max-width: 16ch; }

.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: clamp(3.5rem, 10vw, 7rem) 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1;
  color: var(--red);
}

.steps h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 52ch; }

.formats {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.format-list { margin: 0; padding: 0; list-style: none; }

.format-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.format-list strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.format-list span { color: var(--ink-soft); text-align: right; }

.faq { max-width: 760px; margin-top: 2.5rem; }

details { border-bottom: 1px solid var(--line); padding-block: 1.2rem; }
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.6rem; line-height: 1; transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0.8rem 0 0; color: var(--ink-soft); max-width: 60ch; }

.cta {
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.cta h2 { margin-inline: auto; max-width: 14ch; }
.cta .actions { justify-content: center; margin-top: 2rem; }

footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem 3rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer a { color: var(--ink); }
footer p { max-width: 70ch; margin: 1rem 0 0; }

/* Privacy page */
.doc { max-width: 720px; padding-block: 3rem 5rem; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 0.5rem; }
.doc h2 { font-size: 1.5rem; margin: 2.5rem 0 0.5rem; max-width: none; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .updated { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 820px) {
  .hero, .formats { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; }
  .phone { transform: rotate(2deg); width: min(240px, 64vw); }
  .top nav a:not(:last-child) { display: none; }
}

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

.play { display: inline-block; margin: -0.5rem; transition: transform 0.25s var(--ease); }
.play:hover { transform: translateY(-2px); }
.play img { width: 202px; height: auto; }

.doc h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.4rem; }
.doc a { color: var(--cyan); }
