/* =========================================================================
   SucksHosting — landing page
   Design system: BMW corporate (bmw DESIGN.md)
   Type: 700 display / 400 utility / 300 body. Weight 500 is never used.
   Radius: 0 everywhere except circular dots and the full-round icon button.
   Depth: no drop shadows. Contrast + photography do the work.

   Theme: dark by default. Tokens below are the single source of colour —
   nothing else in the sheet hardcodes a background or text colour.
   ========================================================================= */

:root {
  color-scheme: dark;

  /* ---- color ---- */
  /* Accent used for text, links, hairlines and small marks on dark. */
  --primary: #6aa9f5;
  --primary-active: #8dbef8;
  /* Fill for primary CTAs — darker so the white label keeps AA contrast. */
  --primary-fill: #1c69d4;
  --primary-fill-active: #0a4fa5;
  --primary-disabled: #2b333c;

  --ink: #f4f6f8;
  --body: #b7bfc9;
  --body-strong: #ffffff;
  --muted: #8d98a4;
  --muted-soft: #6f7985;

  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.2);

  --canvas: #10151a;
  --surface-soft: #161c23;
  --surface-card: #1b232b;
  --surface-strong: #2a333d;
  --surface-dark: #0b0f13;
  --surface-dark-elevated: #171f27;

  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #a8b2bd;

  --m-blue-light: #0066b1;
  --m-blue-dark: #1c69d4;
  --m-red: #e22718;

  /* Minecraft theme accent — illustration, stripe and texture only.
     Never used as a CTA fill; blue stays the single action color. */
  --grass: #5c9e3f;
  --grass-dark: #4e8c31;
  --dirt: #8b5e3f;
  --dirt-dark: #74492f;

  --success: #22c55e;
  --warning: #f59e0b;
  --error: #dc2626;

  /* On-dark hairlines are not tokenised in the source system — derived at low alpha. */
  --hairline-on-dark: rgba(255, 255, 255, 0.14);
  --hairline-on-dark-strong: rgba(255, 255, 255, 0.28);

  /* ---- type ---- */
  --font: "BMW Type Next Latin", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  /* ---- spacing ---- */
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --section: 80px;

  /* ---- layout ---- */
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 64px;
}

/* ============================ reset ============================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

strong {
  font-weight: 700;
  color: var(--body-strong);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

::selection {
  background: rgba(106, 169, 245, 0.35);
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 100;
  background: var(--primary-fill);
  color: var(--on-primary);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ============================ type scale ============================ */
.display-xl,
.display-lg,
.display-md,
.display-sm {
  font-weight: 700;
  letter-spacing: 0;
  color: inherit;
  text-wrap: balance;
}

.display-xl { font-size: clamp(40px, 6.4vw, 64px); line-height: 1.05; }
.display-lg { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; }
.display-md { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; }
.display-sm { font-size: 24px; line-height: 1.25; }

.title-lg { font-size: 20px; font-weight: 700; line-height: 1.3; color: inherit; }
.title-md { font-size: 18px; font-weight: 700; line-height: 1.4; color: inherit; }
.title-sm { font-size: 16px; font-weight: 700; line-height: 1.4; color: inherit; }

.body-md { font-size: 16px; font-weight: 300; line-height: 1.55; }
.body-sm { font-size: 14px; font-weight: 300; line-height: 1.55; }

.caption {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.text-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-strong);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.text-link:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.link-upper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.link-upper::after {
  content: "\203A";
  font-size: 17px;
  line-height: 1;
  transform: translateY(-1px);
}

.link-upper:hover {
  color: var(--primary);
}

.link-upper--on-dark {
  color: var(--on-dark);
}

.link-upper--on-dark:hover {
  color: var(--primary);
}

/* ============================ layout ============================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.band {
  padding: var(--section) 0;
}

section[id],
#top {
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

/* ============================ buttons ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--primary-fill);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: var(--primary-fill-active);
}

.btn--primary:active {
  background: var(--primary-fill-active);
}

.btn--primary[disabled] {
  background: var(--primary-disabled);
  color: var(--muted);
  cursor: not-allowed;
}

.btn--secondary {
  background: var(--surface-card);
  color: var(--ink);
  border-color: var(--hairline-strong);
}

.btn--secondary:hover {
  border-color: var(--ink);
}

.btn--secondary:active {
  background: var(--surface-soft);
}

.btn--on-dark {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--on-dark);
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--on-dark:active {
  background: rgba(255, 255, 255, 0.16);
}

.btn--nav {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

/* ============================ top nav ============================ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.top-nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand__mark {
  display: block;
  width: 24px;
  height: 24px;
}

.brand__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  color: var(--ink);
}

.top-nav__menu {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.3px;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.top-nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}

.status-pill .caption {
  color: var(--muted);
}

.status-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex: 0 0 auto;
}

.account {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.account__email {
  color: var(--ink);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__out {
  background: none;
  border: 0;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--hairline-strong);
}

.account__out:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

/* ============================ mobile drawer ============================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  padding: var(--sp-md) var(--gutter) var(--sp-xxl);
  overflow-y: auto;
}

.drawer[hidden] {
  display: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  border-bottom: 1px solid var(--hairline);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding-top: var(--sp-md);
}

.drawer__nav a {
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

.drawer__account {
  margin-top: var(--sp-lg);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.drawer__actions {
  margin-top: auto;
  padding-top: var(--sp-xl);
  display: grid;
  gap: var(--sp-sm);
}

/* ============================ hero ============================ */
.hero {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: var(--section) 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  color: var(--on-dark-soft);
}

.hero__title {
  margin-top: var(--sp-md);
  color: var(--on-dark);
}

.hero__lede {
  margin-top: var(--sp-lg);
  max-width: 46ch;
  color: var(--on-dark-soft);
}

.claim-form {
  display: flex;
  align-items: stretch;
  max-width: 540px;
  margin-top: var(--sp-xl);
}

.field {
  width: 100%;
  height: 48px;
  padding: 14px 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: 0;
  background: var(--surface-card);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  transition: border-color 0.15s ease;
}

.field::placeholder {
  color: var(--muted-soft);
}

.field:hover {
  border-color: var(--hairline-strong);
}

.field:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.field:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.field--select {
  cursor: pointer;
}

.claim-form .field {
  border-right: 0;
}

.claim-form .btn {
  flex: 0 0 auto;
  border-radius: 0;
}

.hero__fineprint {
  margin-top: var(--sp-sm);
  color: var(--on-dark-soft);
}

.hero__link {
  margin-top: var(--sp-xl);
  display: inline-flex;
  color: var(--on-dark);
}

/* ---- hero rack plate (stands in for the model render) ---- */
.rack {
  margin: 0;
  padding: var(--sp-lg);
  background: var(--surface-dark-elevated);
  border: 1px solid var(--hairline-on-dark);
}

.rack__frame {
  border: 1px solid var(--hairline-on-dark);
  padding: var(--sp-md);
  background-color: var(--surface-dark);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.rack__svg {
  width: 100%;
  height: auto;
}

.rack__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--hairline-on-dark);
}

.rack__meta .label {
  color: var(--on-dark);
}

.rack__meta .caption {
  color: var(--on-dark-soft);
}

/* ============================ spec band ============================ */
.spec-band {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--hairline);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 40px;
  padding-bottom: 40px;
}

.spec {
  padding: 0 var(--sp-xl);
  border-left: 1px solid var(--hairline-strong);
}

.spec:first-child {
  padding-left: 0;
  border-left: 0;
}

.spec__value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.spec__label {
  margin-top: var(--sp-xs);
  color: var(--muted);
}

/* ============================ section head ============================ */
.section-head__eyebrow {
  color: var(--primary);
}

.section-head .display-lg {
  margin-top: var(--sp-md);
  color: var(--ink);
}

.section-head__lede {
  margin-top: var(--sp-lg);
  max-width: 58ch;
  color: var(--body);
}

.section-head--tight .section-head__lede {
  margin-top: var(--sp-md);
}

/* ============================ feature cards ============================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xxl);
}

.feature-card {
  background: var(--canvas);
}

.feature-card__plate {
  aspect-ratio: 16 / 9;
  background-color: var(--surface-card);
  background-image:
    linear-gradient(to right, var(--surface-strong) 1px, transparent 1px),
    linear-gradient(to bottom, var(--surface-strong) 1px, transparent 1px);
  background-size: 32px 32px;
  display: grid;
  place-items: center;
}

/* plate illustrations inherit ink so they stay visible on dark */
.feature-card__plate svg {
  color: var(--ink);
}

.feature-card__body {
  padding: var(--sp-lg) 0 0;
}

.feature-card__body .title-md {
  color: var(--ink);
}

.feature-card__body .body-sm {
  margin-top: var(--sp-sm);
  color: var(--body);
}

/* ============================ plans ============================ */
.plans {
  border-top: 1px solid var(--hairline);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.plan-grid--duo {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-lg);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
}

.plan-card--featured {
  border-top: 2px solid var(--primary);
  padding-top: calc(var(--sp-lg) - 1px);
}

.plan-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-xs);
  min-height: 24px;
}

.plan-card__head .title-md {
  color: var(--ink);
}

.plan-card__badge {
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 1.2px;
}

.plan-card__badge--muted {
  color: var(--muted);
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: var(--sp-md);
}

.plan-card__price .display-sm {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.plan-card__period {
  color: var(--muted);
}

.plan-card__billing {
  margin-top: 2px;
  color: var(--muted-soft);
}

.plan-card__tagline {
  margin-top: var(--sp-md);
  color: var(--body);
}

.plan-card__features {
  display: grid;
  gap: 10px;
  margin: var(--sp-lg) 0;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--hairline);
}

.plan-card__features li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--body);
}

.plan-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--primary);
}

.plan-card > .btn {
  margin-top: auto;
}

/* waitlist on the paid (pricing TBD) card */
.waitlist {
  display: flex;
  align-items: stretch;
  margin-top: auto;
}

.waitlist .field {
  border-right: 0;
}

.waitlist .btn {
  flex: 0 0 auto;
  padding: 14px 20px;
  font-size: 13px;
}

.waitlist__note {
  margin-top: var(--sp-xs);
  color: var(--muted-soft);
}

.plans__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--hairline);
}

.plans__foot .body-sm {
  color: var(--muted);
}

/* ============================ faq ============================ */
.faq {
  border-top: 1px solid var(--hairline);
  padding-top: var(--section);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.faq__list {
  border-top: 1px solid var(--hairline);
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  max-width: 68ch;
  padding: 0 0 var(--sp-lg);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--body);
}

/* ============================ pixel stripe + cta ============================ */
.block-stripe {
  height: 4px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--grass) 0 8px,
    var(--grass-dark) 8px 16px
  );
}

.cta-band {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: var(--section) 0;
  border-top: 1px solid var(--hairline-on-dark);
}

.cta-band__eyebrow {
  color: var(--on-dark-soft);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-band h2 {
  margin-top: var(--sp-md);
  color: var(--on-dark);
}

.cta-band__lede {
  margin-top: var(--sp-md);
  max-width: 56ch;
  color: var(--on-dark-soft);
}

.cta-band__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-xl);
}

/* ============================ footer ============================ */
.footer {
  background: var(--surface-soft);
  color: var(--body);
  padding: 64px 0 var(--sp-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--sp-xl);
}

.footer__blurb {
  margin: var(--sp-md) 0 var(--sp-md);
  max-width: 30ch;
  color: var(--body);
}

.footer__col h3 {
  margin-bottom: var(--sp-sm);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
}

.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--body);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--primary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  margin-top: var(--sp-xxl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--hairline-strong);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer__legal a {
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--ink);
}

.footer__cookie {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font);
  letter-spacing: 0.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__cookie:hover {
  color: var(--ink);
}

.lang {
  height: 40px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

/* ============================ cookie card ============================ */
.cookie {
  position: fixed;
  left: var(--sp-lg);
  bottom: var(--sp-lg);
  z-index: 60;
  width: min(400px, calc(100vw - 48px));
  padding: var(--sp-lg);
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
}

.cookie[hidden] {
  display: none;
}

.cookie h2 {
  color: var(--ink);
}

.cookie__copy {
  margin-top: var(--sp-xs);
  color: var(--body);
}

.cookie__actions {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.cookie__actions .btn {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 13px;
  flex: 1;
}

/* ============================ dialog ============================ */
.dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.dialog::backdrop {
  background: rgba(3, 6, 9, 0.72);
}

.dialog__panel {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: var(--sp-xl);
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
}

.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-md);
}

.dialog__eyebrow {
  color: var(--primary);
}

.dialog__head h2 {
  margin-top: 6px;
  color: var(--ink);
}

.dialog__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.dialog__close:hover {
  background: var(--surface-soft);
}

.dialog__lede {
  margin-top: var(--sp-md);
  color: var(--body);
}

.field-group {
  margin-top: var(--sp-lg);
}

.field-label {
  display: block;
  margin-bottom: var(--sp-xs);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

.dialog__summary {
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
}

.dialog__summary .label {
  color: var(--muted);
  font-size: 11px;
}

.dialog__summary .body-sm {
  margin-top: 4px;
  color: var(--ink);
}

.dialog__legal {
  margin-top: var(--sp-md);
  color: var(--muted);
}

.dialog__actions {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-lg);
}

.dialog__actions .btn:first-child {
  flex: 1 1 auto;
}

/* ============================ toast ============================ */
.toast-stack {
  position: fixed;
  right: var(--sp-lg);
  top: calc(var(--nav-h) + var(--sp-md));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  width: min(360px, calc(100vw - 48px));
  pointer-events: none;
}

.toast {
  padding: 14px 16px;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-left: 3px solid var(--primary);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  pointer-events: auto;
}

.toast--success { border-left-color: var(--success); }
.toast--error { border-left-color: var(--error); }

/* ============================ responsive ============================ */
@media (max-width: 1180px) {
  .hero__grid { gap: var(--sp-xxl); }
  .footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr) 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --section: 64px; }

  .top-nav__menu,
  .top-nav .status-pill { display: none; }

  .hamburger { display: inline-flex; }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xxl);
  }

  .hero__lede { max-width: 60ch; }

  .spec-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-xl); }

  .spec {
    padding-left: var(--sp-lg);
  }

  .spec:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .cards-3 { grid-template-columns: repeat(2, 1fr); }

  .plan-grid { grid-template-columns: repeat(2, 1fr); }

  .faq__grid { grid-template-columns: 1fr; gap: var(--sp-xxl); }
}

@media (max-width: 768px) {
  .cards-3 { grid-template-columns: 1fr; }
  .cookie { left: var(--sp-md); right: var(--sp-md); bottom: var(--sp-md); width: auto; }
  .toast-stack { right: var(--sp-md); left: var(--sp-md); width: auto; }
  .account__email { max-width: 140px; }
}

@media (max-width: 640px) {
  :root { --section: 56px; }

  .top-nav__actions .btn--nav { display: none; }

  .hero__title br { display: none; }

  .claim-form { flex-direction: column; gap: 0; }
  .claim-form .field { border-right: 1px solid var(--hairline); }
  .claim-form .field:focus { border-right-color: var(--ink); }
  .claim-form .btn { width: 100%; }

  .spec-grid { grid-template-columns: 1fr; row-gap: 0; }
  .spec {
    padding: var(--sp-md) 0;
    border-left: 0;
    border-top: 1px solid var(--hairline-strong);
  }
  .spec:first-child { padding-top: 0; border-top: 0; }

  .plan-grid { grid-template-columns: 1fr; }
  .plan-card--featured { padding-top: calc(var(--sp-lg) - 1px); }

  .waitlist { flex-direction: column; }
  .waitlist .field { border-right: 1px solid var(--hairline); border-bottom: 0; }
  .waitlist .field:focus { border-bottom-color: var(--ink); }
  .waitlist .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer__col { padding-top: var(--sp-md); border-top: 1px solid var(--hairline-strong); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .dialog__panel { padding: var(--sp-lg); }
  .dialog__actions { flex-direction: column-reverse; }
  .dialog__actions .btn { width: 100%; }

  .cookie { padding: var(--sp-md); }
  .cookie__actions { flex-direction: column; }

  .account__email { display: none; }
  .account { gap: 8px; }
}
