:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --panel: #121214;
  --panel-soft: #161618;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #f4f4f5;
  --accent-dark: #0b0b0d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover,
a:focus-visible {
  color: var(--accent);
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  height: clamp(24px, 2.8vw, 34px);
  width: auto;
  max-width: none;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__title {
  font-weight: 600;
  font-size: 0.95rem;
}

.brand__subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.topbar__nav {
  display: none;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.topbar__nav a {
  padding: 6px 10px;
  border-radius: 999px;
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #ffffff;
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

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

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.35;
}

.hero::before {
  width: 520px;
  height: 260px;
  background: rgba(255, 255, 255, 0.25);
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
}

.hero::after {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.12);
  bottom: -220px;
  right: -120px;
}

.hero__grid {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
  margin: 18px 0 16px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 2.5vw + 1rem, 2.8rem);
  margin: 0 0 16px;
}

.hero h1 span {
  color: var(--muted);
  display: block;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.badge--scarcity {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.badge--scarcity .badge__dot {
  background: #f2f2f2;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.badge--scarcity-form {
  align-self: flex-start;
  margin-bottom: 16px;
}

.actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.actions--split {
  margin-top: 24px;
}

.actions .btn {
  width: 100%;
}

.hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}

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

.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.stat-card__title {
  font-weight: 600;
}

.stat-card__desc {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.hero-card__title {
  font-weight: 600;
}

.hero-card__subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card__price {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.bullet-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.bullet-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 10px;
  transform: translateY(-1px);
}

.mini-demo {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
}

.mini-demo__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.mini-demo__grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.mini-demo__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-demo__label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section {
  padding: clamp(56px, 7vw, 80px) 0;
  scroll-margin-top: 96px;
}

.section-title {
  margin-bottom: 32px;
}

.section-title__kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}

.section-title h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  margin: 12px 0 0;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid + .card-grid {
  margin-top: 24px;
}

.card-grid + .effort-note {
  margin-top: 24px;
}

.effort-note + .callout {
  margin-top: 20px;
}

.card-grid + .callout {
  margin-top: 24px;
}

.effort-note {
  margin-top: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 100%;
}

.effort-note__title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.72);
  margin-bottom: 8px;
}

.effort-note__body {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(242, 239, 233, 0.78);
}

.effort-note__body strong {
  color: rgba(242, 239, 233, 0.92);
  font-weight: 600;
}

@media (max-width: 640px) {
  .effort-note {
    padding: 12px 14px;
    margin-top: 14px;
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
  }

  .effort-note__body {
    font-size: 12.5px;
  }
}

.card-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px;
}

.card--full {
  grid-column: 1 / -1;
}

.card__title {
  font-weight: 600;
  margin-bottom: 8px;
}

.card__subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

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

.note {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
}

.note__title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
}

.callout {
  margin-top: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.callout__title {
  font-weight: 600;
  margin-bottom: 8px;
}

.step-grid {
  display: grid;
  gap: 24px;
}

.step-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--panel);
}

.step-card__kicker {
  font-size: 0.75rem;
  color: var(--muted);
}

.step-card__title {
  font-weight: 600;
  margin-top: 10px;
}

.step-card__desc {
  color: var(--muted);
  margin-top: 8px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label,
.option-box legend {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.95rem;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  border-color: transparent;
}

textarea {
  resize: vertical;
}

.field__hint {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0;
}

.option-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: 20px 0;
  background: rgba(0, 0, 0, 0.3);
}

.option-box legend {
  padding: 0 6px;
}

.radio,
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}

.radio + .radio {
  margin-top: 10px;
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.checkbox {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
}

.form-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.bio-card {
  display: grid;
  gap: 16px;
  align-items: center;
}

.bio-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.bio-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bio-card__title {
  font-weight: 600;
  margin: 0 0 8px;
}

.bio-card__text {
  margin: 0 0 8px;
  color: var(--muted);
}

.bio-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
}

.footer__inner {
  display: grid;
  gap: 12px;
  font-size: 0.85rem;
  justify-items: center;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-mark img {
  height: clamp(64px, 7vw, 96px);
  width: auto;
  opacity: 0.9;
  object-fit: contain;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 8, 0.8);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  max-width: 520px;
  width: 100%;
  padding: 26px;
  box-shadow: var(--shadow);
}

.modal__content h2 {
  margin-top: 0;
}

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

@media (min-width: 640px) {
  .actions {
    flex-direction: row;
  }

  .actions .btn {
    width: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .bio-card {
    grid-template-columns: auto 1fr;
  }
}

@media (min-width: 900px) {
  .topbar__nav {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
  }

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

  .step-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer__inner {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
    align-items: center;
  }

  .footer__signature {
    justify-self: center;
  }

  .footer__links {
    justify-content: flex-end;
  }
}

@media (min-width: 1100px) {
  .topbar__inner {
    padding: 18px 0;
  }
}
