:root {
  --bg: #07080d;
  --bg-2: #10121c;
  --ink: #f4f5ff;
  --muted: #b7bad4;
  --line: rgba(215, 217, 255, 0.14);
  --accent: #8d8cff;
  --cta: #7dffb3;
  --cta-ink: #062416;
  --chip: #2a2158;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  padding-bottom: 88px;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 80;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: rgba(7, 8, 13, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 24px, 720px);
  margin-inline: auto;
  min-height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 12px;
  border: 1.5px solid #8d8cff;
  border-radius: 999px;
  background: #16142a;
  color: #d7d9ff;
  cursor: pointer;
}

.lang-btn img {
  width: 18px;
  height: 18px;
}

.lang-btn-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

#lang-code {
  font-size: 12px;
  font-weight: 800;
}

.lang-btn-label {
  font-size: 10px;
  font-weight: 650;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 750;
  border: 0;
  text-align: center;
}

.btn-header {
  min-height: 40px;
  padding: 8px 12px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 13px;
}

.btn-primary {
  width: 100%;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 17px;
}

.hero {
  width: min(100% - 32px, 720px);
  margin-inline: auto;
  padding: 22px 0 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 10vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.accent {
  display: inline-block;
  padding: 0 10px 2px;
  border-radius: 12px;
  background: var(--cta);
  color: var(--cta-ink);
}

.lede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero-note {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.proof-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-row li {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  border-radius: 12px;
  background: var(--chip);
  font-size: 12px;
  font-weight: 700;
}

.hero-peek {
  margin-top: 22px;
  padding: 14px 14px 28px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #17192a 0%, #07080d 100%);
  border: 1px solid var(--line);
  border-bottom: 0;
}

.peek-kicker,
.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.peek-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.peek-cards span {
  height: 46px;
  border-radius: 12px;
  background: #22243a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--cta);
}

.peek-more {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.panel {
  width: min(100% - 32px, 720px);
  margin: 0 auto 18px;
  padding: 18px 16px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.section-lede,
.panel p {
  margin: 0 0 12px;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.steps li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #0c0e18;
}

.steps strong {
  font-size: 16px;
}

.steps span {
  color: var(--muted);
  font-size: 14px;
}

.bonus {
  background: linear-gradient(180deg, #1a1638 0%, var(--bg-2) 70%);
}

.task-grid {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.task-grid li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #0c0e18;
}

.task-meta {
  display: block;
  margin-bottom: 4px;
  color: var(--cta);
  font-size: 12px;
  font-weight: 700;
}

.fine {
  font-size: 13px;
}

.ref {
  border-color: rgba(125, 255, 179, 0.24);
}

.honesty ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.honesty li + li {
  margin-top: 8px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 8px 0 0;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  width: min(100% - 32px, 720px);
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 12px;
}

.sticky-action {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px max(12px, env(safe-area-inset-bottom));
  background: rgba(7, 8, 13, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.sticky-action[hidden] {
  display: none;
}

.lang-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.45);
}

.lang-backdrop[hidden],
.lang-sheet[hidden] {
  display: none;
}

.lang-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 12px 16px max(20px, env(safe-area-inset-bottom));
  background: #17192a;
  border-radius: 18px 18px 0 0;
}

.lang-sheet-title {
  margin: 4px 0 10px;
  text-align: center;
  font-weight: 700;
}

.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lang-option {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #0c0e18;
  color: #fff;
  cursor: pointer;
}

.lang-option[aria-current="true"] {
  background: var(--cta);
  color: var(--cta-ink);
}

[dir="rtl"] .lang-btn-copy {
  align-items: flex-end;
}

[dir="rtl"] .task-grid li,
[dir="rtl"] .steps li {
  text-align: start;
}

body.lang-open {
  overflow: hidden;
}

body.lang-open .sticky-action {
  display: none;
}

@media (max-width: 359px) {
  .lang-btn-label {
    display: none;
  }

  .btn-header {
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (min-width: 720px) {
  .hero .btn-primary,
  .final .btn-primary {
    width: auto;
    min-width: 280px;
  }
}
