:root {
  --bg: #0f1418;
  --bg-2: #161d24;
  --ink: #f2efe8;
  --muted: #9aa3ad;
  --line: rgba(242, 239, 232, 0.12);
  --accent: #3dd6c3;
  --accent-2: #8aefdf;
  --yes: #3ecf8e;
  --queue: #f0a34a;
  --low: #e89a3a;
  --no: #e85d55;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --wrap: 72rem;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #fff; }

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

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
}

.top__brand span span { color: var(--accent); }

.top__nav {
  display: none;
  gap: 1.25rem;
}

.top__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.top__nav a:hover { color: var(--ink); }

.top__cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #06231f;
  font-weight: 750;
  font-size: 0.85rem;
  text-decoration: none;
}

@media (min-width: 860px) {
  .top__nav { display: flex; }
}

/* Hero — compact first screen */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 2.25rem 0 2.75rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 20, 24, 0.15), rgba(15, 20, 24, 0.55)),
    radial-gradient(ellipse 80% 50% at 70% 30%, rgba(61, 214, 195, 0.22), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%231a242e'/%3E%3Cstop offset='1' stop-color='%230c1014'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='800' fill='url(%23g)'/%3E%3Cpath d='M0 520h1200' stroke='%232a3540' stroke-width='28'/%3E%3Cpath d='M0 520h1200' stroke='%23f2efe8' stroke-width='4' stroke-dasharray='42 38' opacity='.35'/%3E%3Cpath d='M180 200c40-60 120-70 170-20 60 60 30 140-40 170-80 35-160-20-130-150z' fill='%233dd6c3' opacity='.12'/%3E%3Ccircle cx='860' cy='220' r='120' fill='%233dd6c3' opacity='.08'/%3E%3Crect x='720' y='360' width='220' height='140' rx='18' fill='%23182128' stroke='%233dd6c3' stroke-opacity='.35'/%3E%3Ccircle cx='790' cy='430' r='18' fill='%233dd6c3'/%3E%3Cpath d='M830 430h80' stroke='%238aefdf' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 14s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 24, 0.35) 0%, rgba(15, 20, 24, 0.55) 50%, rgba(15, 20, 24, 0.92) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 42rem);
  margin: 0 auto;
  padding: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__brand {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent-2);
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #2bb8a8);
  color: #04221e;
}

.btn--ghost {
  background: rgba(242, 239, 232, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section--alt { background: var(--bg-2); }

.section--warn {
  background:
    radial-gradient(600px 220px at 10% 0%, rgba(240, 163, 74, 0.12), transparent 60%),
    var(--bg);
}

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

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 22ch;
}

.lead {
  margin: 0.9rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.steps li {
  counter-increment: step;
  padding: 1.25rem 1.2rem 1.3rem;
  border-top: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent-2);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
}

.steps strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

.status-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .status-list { grid-template-columns: 1fr 1fr; }
}

.status-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.2rem 0;
}

.status-list p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.dot {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.dot--yes { background: var(--yes); }
.dot--queue { background: var(--queue); }
.dot--low { background: var(--low); }
.dot--no { background: var(--no); }

.bullets {
  margin: 1.4rem 0 0;
  padding: 0 0 0 1.15rem;
  max-width: 42rem;
  color: var(--muted);
}

.bullets li { margin: 0.55rem 0; }

.faq {
  margin-top: 1.5rem;
  max-width: 46rem;
  display: grid;
  gap: 0.55rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

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

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 500;
}

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

.faq p {
  margin: 0.65rem 0 0.2rem;
  color: var(--muted);
}

.contacts {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contacts { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.contacts h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.contacts p {
  margin: 0;
  color: var(--muted);
}

.fine {
  margin: 1.25rem 0 0;
  color: color-mix(in srgb, var(--muted) 80%, transparent);
  font-size: 0.85rem;
}

.foot {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #0b0f12;
}

.foot__grid {
  display: grid;
  gap: 1.25rem;
}

.foot__brand {
  font-family: var(--display);
  font-size: 1rem;
}

.foot p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.foot__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.foot__links a:hover { color: var(--ink); }

.foot__copy {
  margin-top: 0.5rem !important;
  font-size: 0.8rem !important;
}

/* Legal pages */
.legal-main {
  width: min(100% - 2rem, 46rem);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.legal-main h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.legal-main h2 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.1rem;
}

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

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  .hero__content { animation: none; }
}
