:root {
  color-scheme: dark;
  --ink: #f7f7f5;
  --muted: #aaa9a2;
  --line: rgba(255, 255, 255, 0.14);
  --soft: rgba(255, 255, 255, 0.055);
  --paper: #060706;
  --gold: #d8b36a;
  --sage: #879a88;
  --blue: #6d93b8;
  --panel: #11120f;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 82px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 7, 6, 0.76);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.nav a:not(.brand),
.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a:not(.brand):hover,
.nav-link:hover {
  color: var(--ink);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-grid,
.hero .wrap {
  position: relative;
}

.hero .wrap:not(.hero-grid) {
  padding-right: min(44vw, 540px);
}

.hero-grid::after,
.hero .wrap::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -24px;
  width: min(44vw, 500px);
  height: min(34vw, 360px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.56)),
    url("/assets/astrovole-table.jpg") center / cover no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

.hero .wrap:not(.hero-grid)::after {
  top: 50%;
  bottom: auto;
  width: min(36vw, 440px);
  height: min(28vw, 320px);
  transform: translateY(-42%);
}

.hero .wrap:not(.hero-grid) h1,
.hero .wrap:not(.hero-grid) .lead {
  max-width: 620px;
}

h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(3.1rem, 6vw, 6.4rem);
  line-height: 0.96;
}

h2,
.form-section-title,
.form-block h2 {
  color: var(--ink);
}

.lead,
.muted,
.hint,
.form-copy,
.method p,
.method li,
.launch-note {
  color: var(--muted);
}

.price-panel,
.panel,
.method,
.form-panel,
.form-block,
.notice,
.check,
.step {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.old-price,
.product-kicker,
.eyebrow {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.launch-price {
  color: var(--ink);
}

.button,
button.button {
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
}

.button.disabled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

input,
select,
textarea {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

select option {
  color: #171715;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(216, 179, 106, 0.64);
  outline-offset: 2px;
}

.notice.warn {
  border-color: rgba(216, 179, 106, 0.42);
  background: rgba(216, 179, 106, 0.09);
  color: var(--ink);
}

.notice.success {
  border-color: rgba(135, 154, 136, 0.5);
  background: rgba(135, 154, 136, 0.12);
}

.notice.error,
.warning {
  border-color: rgba(204, 88, 88, 0.58);
  background: rgba(204, 88, 88, 0.12);
  color: #ffd8d2;
  text-transform: none !important;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 800;
}

footer {
  border-top-color: var(--line);
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero .wrap:not(.hero-grid) {
    padding-right: 0;
  }

  .hero-grid::after,
  .hero .wrap::after {
    position: relative;
    display: block;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 220px;
    margin-top: 28px;
    transform: none;
  }

  .hero .wrap:not(.hero-grid)::after {
    width: 100%;
    height: 220px;
    transform: none;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 3.25rem;
  }

  .service-links {
    display: grid;
  }

  .service-links a,
  .button {
    width: 100%;
  }
}
