:root {
  --bg: #0b0f0e;
  --bg-soft: #0f1513;
  --surface: #121a17;
  --surface-2: #17211d;
  --text: #f2f7f5;
  --muted: #a7b8b1;
  --muted-2: #7e9189;
  --emerald: #34d399;
  --emerald-strong: #10b981;
  --teal: #22d3ee;
  --amber: #fbbf24;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1160px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--emerald);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.13rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--emerald);
  color: #07100c;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 14, 0.82);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  flex: none;
}

.brand__name {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.header__cta {
  flex: none;
  margin-left: auto;
}

.nav + .header__cta {
  margin-left: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #6ee7b7, var(--emerald) 55%, #22d3ee);
  color: #06110c;
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.18);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #86efac, #6ee7b7 55%, #67e8f9);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.08);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 0.86rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
}

.hero__bg {
  position: absolute;
  inset: -120px 0 auto;
  height: 760px;
  pointer-events: none;
  background:
    radial-gradient(620px 430px at 18% 16%, rgba(52, 211, 153, 0.18), transparent 68%),
    radial-gradient(560px 400px at 82% 6%, rgba(34, 211, 238, 0.13), transparent 70%),
    radial-gradient(500px 360px at 70% 90%, rgba(16, 185, 129, 0.08), transparent 70%);
  filter: blur(18px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--emerald);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.2rem);
  margin-bottom: 0.42em;
}

.grad {
  background: linear-gradient(100deg, #6ee7b7 0%, var(--emerald) 45%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}

.hero__note {
  color: var(--muted-2);
  font-size: 0.83rem;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.trust li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust b {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--text);
}

.trust span {
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.4;
}

.hero__visual {
  position: relative;
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #111816;
  box-shadow: var(--shadow);
  transform: rotate(-0.6deg);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #0e1412;
}

.shot__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.shot__bar span:nth-child(1) {
  background: #ff5f57;
}
.shot__bar span:nth-child(2) {
  background: #febc2e;
}
.shot__bar span:nth-child(3) {
  background: #28c840;
}

.shot__bar b {
  margin-left: 8px;
  color: var(--muted-2);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.shot__badge {
  position: absolute;
  left: -18px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  background: #0f1815;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  color: #c8f7e2;
  font-size: 0.78rem;
  font-weight: 700;
}

.shot__badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--emerald);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Sections ---------- */

.section {
  padding: 84px 0;
}

.section--alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section__lead {
  color: var(--muted);
  font-size: 1.02rem;
}

.section__lead b {
  color: var(--text);
}

/* ---------- Feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-2px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.08);
}

.card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--emerald);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 8px;
}

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

/* ---------- Safety ---------- */

.safety {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 15px;
  height: 9px;
  border-left: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(-45deg);
  transform-origin: center;
}

.warning {
  padding: 28px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(240px 160px at 100% 0%, rgba(251, 191, 36, 0.14), transparent 70%),
    rgba(251, 191, 36, 0.045);
}

.warning__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--amber);
  color: #1b1303;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.warning h3 {
  color: #fde68a;
}

.warning p {
  color: #d8cba8;
  font-size: 0.95rem;
}

.warning__note {
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  color: #f3e6c2 !important;
  font-weight: 600;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps__num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.steps h3 {
  font-size: 1.08rem;
}

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

/* ---------- Tech ---------- */

.tech {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.tech__text h3 {
  font-size: 1.24rem;
}

.tech__text p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chips span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #c4d6cf;
  font-size: 0.75rem;
  font-weight: 600;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.07), rgba(255, 255, 255, 0.015));
}

.metric b {
  display: block;
  margin-bottom: 6px;
  color: #d1fae5;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.metric span {
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.4;
}

.tech__note {
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--emerald);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CTA ---------- */

.section--cta {
  padding-bottom: 96px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(520px 260px at 90% 0%, rgba(52, 211, 153, 0.15), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(34, 211, 238, 0.08), transparent 70%),
    var(--surface);
}

.cta h2 {
  margin-bottom: 0.3em;
}

.cta .section__lead {
  max-width: 56ch;
  margin-bottom: 0;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}

.cta__note {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: #090c0b;
  padding: 44px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer__brand p {
  max-width: 36ch;
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 0.85rem;
}

.footer__nav,
.footer__meta {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer__nav a,
.footer__meta a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer__nav a:hover,
.footer__meta a:hover {
  color: var(--text);
}

.footer__meta span {
  color: var(--muted-2);
  font-size: 0.8rem;
}

/* ---------- Legal pages ---------- */

.legal {
  padding: 64px 0 88px;
}

.legal__wrap {
  max-width: 820px;
}

.legal__wrap h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal__wrap h2 {
  margin-top: 1.4em;
  font-size: 1.35rem;
}

.legal__wrap p,
.legal__wrap li {
  color: var(--muted);
}

.legal__wrap ul {
  display: grid;
  gap: 8px;
  margin: 0 0 1em;
  padding-left: 22px;
  list-style: disc;
}

.draft-banner {
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.07);
  color: #fde68a;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal__back {
  display: inline-flex;
  margin-top: 28px;
  font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 720px;
  }

  .shot {
    transform: none;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety,
  .tech {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__meta {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: start;
    gap: 10px 24px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .header__inner {
    gap: 16px;
  }

  .header__cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 56px;
  }

  .trust {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust li {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cards,
  .steps,
  .metrics {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__meta {
    grid-template-columns: 1fr;
  }

  .shot__badge {
    left: 12px;
    bottom: -14px;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .hero__actions .btn,
  .cta__actions .btn {
    width: 100%;
  }

  .header__cta {
    display: none;
  }

  .card,
  .steps li,
  .warning {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .card:hover,
  .btn:hover {
    transform: none;
  }
}
