:root {
  --bg: #0b0f19;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.65);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #ff3b3b;
  --accent-2: #ffb020;
  --ok: #39d98a;
  --err: #ff6b6b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --max: 1120px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { background: var(--bg); }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 800px at 10% 10%, rgba(255, 59, 59, 0.22), transparent 70%),
    radial-gradient(900px 600px at 90% 15%, rgba(255, 176, 32, 0.14), transparent 72%),
    radial-gradient(900px 700px at 50% 100%, rgba(104, 159, 255, 0.12), transparent 72%);
  background-repeat: no-repeat;
  padding-top: var(--header-h);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.section, .hero { scroll-margin-top: calc(var(--header-h) + 12px); }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 25, 0.65);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #120c0c;
  box-shadow: 0 14px 40px rgba(255, 59, 59, 0.25);
}
.brand__title { font-weight: 800; letter-spacing: 0.2px; }
.brand__subtitle { color: var(--muted); font-size: 13px; margin-top: 2px; }
.nav { display: flex; gap: 16px; }
.nav__link { color: var(--muted); font-weight: 600; }
.nav__link:hover { color: var(--text); text-decoration: none; }

.hero { padding: 56px 0 34px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}
.hero__title { font-size: clamp(28px, 3.2vw, 44px); margin: 0 0 12px; line-height: 1.08; }
.hero__lead { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 62ch; }
.hero__cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.stats-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mini-stat {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.16);
  border-radius: 14px;
  padding: 12px 12px 10px;
}
.mini-stat__value { font-weight: 900; font-size: 18px; letter-spacing: 0.2px; }
.mini-stat__label { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.photo-frame {
  border-radius: calc(var(--radius) + 8px);
  padding: 12px;
  border: 2px dashed rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  display: flex;
  align-items: stretch;
}
.photo-frame--small { box-shadow: none; }
.photo-frame--tall { padding: 10px; }
.photo-frame__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  display: block;
}
.photo-frame--tall .photo-frame__img { aspect-ratio: 3 / 4; }
.photo-frame--small .photo-frame__img { aspect-ratio: 16 / 10; }

.section { padding: 28px 0 64px; }
.section--tight { padding-top: 8px; }
.section__head { margin-bottom: 18px; }
.section__title { margin: 0 0 8px; font-size: 22px; }
.section__subtitle { margin: 0; color: var(--muted); line-height: 1.6; }

.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card--soft { background: rgba(255,255,255,0.04); }
.card--material { display: flex; flex-direction: column; }
.card--material .btn-row { margin-top: auto; }
.card__title { font-weight: 900; font-size: 16px; margin-bottom: 10px; }
.card__text { color: var(--muted); line-height: 1.7; }

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.cards > .card { grid-column: span 4; }
.cards--3 > .card { grid-column: span 4; }

.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  align-items: start;
}
.btn-row {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 14px;
}
.steps__item { padding-left: 6px; }
.steps__title { font-weight: 900; margin-bottom: 4px; }
.steps__text { color: var(--muted); line-height: 1.65; }

.callout { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.10); }
.callout__title { font-weight: 900; margin-bottom: 6px; }
.callout__text { color: var(--muted); line-height: 1.65; }

.chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.faq { display: grid; gap: 12px; }
.faq__item { padding: 0; overflow: clip; }
.faq__summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::before {
  content: '▸';
  color: rgba(255,255,255,0.75);
  font-weight: 900;
  transform: translateY(-0.5px);
}
details[open] > .faq__summary::before { content: '▾'; }
.faq__summary:hover { background: rgba(255,255,255,0.03); }
.faq__body {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 14px 16px 16px;
}
.faq__body p { margin: 0; line-height: 1.7; }
.faq__list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  display: grid;
  gap: 6px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.field { grid-column: span 6; }
.field--full { grid-column: 1 / -1; }
.label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
  color: var(--text);
  outline: none;
}
.input:focus { border-color: rgba(255, 59, 59, 0.55); box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.15); }
textarea.input { resize: vertical; min-height: 120px; }

.divider { height: 1px; background: rgba(255,255,255,0.10); margin: 14px 0; }

.consent { margin-top: 8px; }
.consent__row { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); line-height: 1.35; }
.checkbox { margin-top: 2px; }

.actions { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.actions__hint { color: var(--muted); font-size: 13px; max-width: 70ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
}
.btn:hover { text-decoration: none; border-color: rgba(255,255,255,0.30); }
.btn--primary {
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #120c0c;
  box-shadow: 0 16px 48px rgba(255, 59, 59, 0.22);
}
.btn--primary:hover { filter: brightness(1.03); }
.btn--ghost { background: transparent; }

.notice {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  margin: 12px 0;
}
.notice--ok { border-color: rgba(57, 217, 138, 0.35); }
.notice--err { border-color: rgba(255, 107, 107, 0.35); }
.error { margin-top: 6px; color: var(--err); font-size: 13px; }
.error ul { margin: 6px 0 0; padding-left: 18px; }

code { color: rgba(255,255,255,0.86); }

.footer { padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.10); color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cards > .card { grid-column: 1 / -1; }
  .field { grid-column: 1 / -1; }
  .nav { display: none; }
}
