:root {
  --background: #000;
  --foreground: #f7f7f7;
  --muted: #8b8b8f;
  --line: rgba(255, 255, 255, 0.31);
  --corner: rgba(255, 255, 255, 0.26);
  --page-background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.032), transparent 23rem),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(0, 0, 0, 0.92) 74%),
    var(--background);
  --grid-line-a: rgba(255, 255, 255, 0.014);
  --grid-line-b: rgba(255, 255, 255, 0.012);
  --edge-overlay:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 19%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 16%, transparent 84%, rgba(255, 255, 255, 0.018));
  --grain-a: rgba(255, 255, 255, 0.18);
  --grain-b: rgba(255, 255, 255, 0.14);
  --brand-logo-shadow: none;
  --wordmark-shadow:
    0 0 1px rgba(255, 255, 255, 0.95),
    0 0 9px rgba(255, 255, 255, 0.2),
    0 0 22px rgba(255, 255, 255, 0.1);
  --title-shadow:
    0 0 1px rgba(255, 255, 255, 0.88),
    0 0 22px rgba(255, 255, 255, 0.09);
  --toggle-border: rgba(255, 255, 255, 0.19);
  --toggle-bg: rgba(255, 255, 255, 0.06);
  --toggle-thumb: rgba(255, 255, 255, 0.93);
  --toggle-icon: #050505;
  --toggle-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.16);
  --card-shadow:
    0 1.35rem 4rem rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --card-accent: rgba(255, 126, 112, 0.72);
  --input-bg: rgba(255, 255, 255, 0.06);
  --button-bg: rgba(255, 126, 112, 0.88);
  --button-fg: #150504;
}

html[data-theme="light"] {
  --background: #fff;
  --foreground: #090909;
  --muted: #5f6266;
  --line: rgba(0, 0, 0, 0.25);
  --corner: rgba(0, 0, 0, 0.22);
  --page-background: #fff;
  --grid-line-a: transparent;
  --grid-line-b: transparent;
  --edge-overlay: none;
  --grain-a: transparent;
  --grain-b: transparent;
  --brand-logo-shadow: none;
  --wordmark-shadow:
    0 0 1px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(0, 0, 0, 0.08);
  --title-shadow:
    0 0 1px rgba(0, 0, 0, 0.58),
    0 0 16px rgba(0, 0, 0, 0.07);
  --toggle-border: rgba(0, 0, 0, 0.18);
  --toggle-bg: rgba(0, 0, 0, 0.05);
  --toggle-thumb: #111;
  --toggle-icon: #fff;
  --toggle-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(0, 0, 0, 0.12);
  --card-shadow:
    0 1.35rem 4rem rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --card-accent: rgba(255, 126, 112, 0.82);
  --input-bg: rgba(255, 255, 255, 0.78);
  --button-bg: #ff7e70;
  --button-fg: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--background);
}

body {
  overflow: hidden;
  color: var(--foreground);
  font-family: Georgia, "Times New Roman", Times, serif;
}

.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;
}

.bot-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.coming-soon-page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100vw;
  height: 100svh;
  min-height: 540px;
  padding: clamp(2rem, 3.2vw, 3.9rem) clamp(2rem, 2.7vw, 3.4rem)
    clamp(2.25rem, 5vw, 4.75rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--page-background);
  transition: background 240ms ease, color 240ms ease;
}

.coming-soon-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 4px 4px, 5px 5px;
  opacity: 0.24;
}

.coming-soon-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--edge-overlay);
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    radial-gradient(circle at 10% 20%, var(--grain-a) 0 0.5px, transparent 0.7px),
    radial-gradient(circle at 70% 80%, var(--grain-b) 0 0.45px, transparent 0.7px);
  background-size: 23px 29px, 31px 37px;
}

.corner {
  position: fixed;
  z-index: 2;
  width: clamp(1.25rem, 1.9vw, 1.8rem);
  height: clamp(1.25rem, 1.9vw, 1.8rem);
  pointer-events: none;
}

.top-left {
  top: clamp(1.45rem, 2vw, 2rem);
  left: clamp(1.45rem, 2vw, 2rem);
  border-top: 1px solid var(--corner);
  border-left: 1px solid var(--corner);
}

.top-right {
  top: clamp(1.45rem, 2vw, 2rem);
  right: clamp(1.45rem, 2vw, 2rem);
  border-top: 1px solid var(--corner);
  border-right: 1px solid var(--corner);
}

.bottom-left {
  bottom: clamp(1.45rem, 2vw, 2rem);
  left: clamp(1.45rem, 2vw, 2rem);
  border-bottom: 1px solid var(--corner);
  border-left: 1px solid var(--corner);
}

.bottom-right {
  right: clamp(1.45rem, 2vw, 2rem);
  bottom: clamp(1.45rem, 2vw, 2rem);
  border-right: 1px solid var(--corner);
  border-bottom: 1px solid var(--corner);
}

.brand,
.location,
.edition-card-status,
.trust-row,
.waitlist-actions button {
  text-align: center;
  text-transform: uppercase;
}

.brand {
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 1.35vw, 1.35rem);
}

.brand-logo {
  width: clamp(2rem, 2.55vw, 2.75rem);
  height: clamp(2rem, 2.55vw, 2.75rem);
  flex: 0 0 auto;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: var(--brand-logo-shadow);
}

.brand-logo-light {
  display: none;
}

html[data-theme="light"] .brand-logo-dark {
  display: none;
}

html[data-theme="light"] .brand-logo-light {
  display: block;
}

.brand-wordmark {
  font-family: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk Text Pro",
    "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 3.05vw, 3.05rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  transform: translateY(-0.02em);
  text-shadow: var(--wordmark-shadow);
}

.theme-toggle {
  position: fixed;
  top: clamp(1.35rem, 2vw, 2rem);
  right: clamp(4.5rem, 5vw, 5.8rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--toggle-border);
  border-radius: 999px;
  background: var(--toggle-bg);
  box-shadow: var(--toggle-shadow);
  color: var(--foreground);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 4px;
}

.theme-toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.theme-toggle-thumb {
  position: absolute;
  top: 0.24rem;
  left: 0.24rem;
  display: grid;
  width: 1.48rem;
  height: 1.48rem;
  place-items: center;
  border-radius: 50%;
  background: var(--toggle-thumb);
  color: var(--toggle-icon);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(1.68rem);
}

.theme-toggle svg {
  width: 0.88rem;
  height: 0.88rem;
  fill: currentColor;
}

.theme-icon-sun {
  display: none;
}

html[data-theme="light"] .theme-icon-moon {
  display: none;
}

html[data-theme="light"] .theme-icon-sun {
  display: block;
}

.hero {
  position: relative;
  align-self: center;
  justify-self: center;
  display: grid;
  gap: clamp(0.9rem, 1.5vw, 1.2rem);
  width: min(100%, 68rem);
  transform: translateY(4.1vh);
}

.hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
  width: 100%;
}

.rule {
  display: block;
  width: clamp(4rem, 6.2vw, 6.6rem);
  height: 1px;
  background: var(--line);
}

.edition-card {
  position: relative;
  display: grid;
  min-height: clamp(14rem, 20vw, 18rem);
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: clamp(2rem, 3.4vw, 3.5rem) clamp(1.4rem, 2.7vw, 2.9rem);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--card-bg);
  box-shadow: var(--card-shadow);
  text-align: center;
  backdrop-filter: blur(18px);
}

.edition-card::before,
.edition-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.edition-card::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 126, 112, 0.08), transparent),
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 100% 100%, 7px 7px, 7px 7px;
  opacity: 0.62;
}

.edition-card::after {
  top: 0;
  right: clamp(1.2rem, 2vw, 1.8rem);
  left: clamp(1.2rem, 2vw, 1.8rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
}

.edition-card > * {
  position: relative;
  z-index: 1;
}

.edition-card h2 {
  margin: clamp(1rem, 1.35vw, 1.45rem) 0 clamp(0.85rem, 1.2vw, 1.2rem);
  color: #ff7e70;
  font-family: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk Text Pro",
    "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.15rem, 3.35vw, 3.65rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: none;
}

.edition-card-copy {
  max-width: 20rem;
  margin: 0;
  color: color-mix(in srgb, var(--foreground) 76%, transparent);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.35;
}

.edition-card-status {
  margin: 0;
  color: color-mix(in srgb, var(--muted) 94%, transparent);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.68rem, 0.9vw, 0.92rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.24em;
  margin-top: clamp(1rem, 1.4vw, 1.35rem);
}

.edition-card-line {
  display: block;
  width: min(100%, 11rem);
  height: 1px;
  margin-top: clamp(1rem, 1.35vw, 1.35rem);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.waitlist-form {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) auto;
  gap: 0.55rem;
  width: min(100%, 42rem);
  justify-self: center;
}

.waitlist-form input,
.waitlist-actions button {
  height: 2.8rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font: 700 0.74rem/1 Arial, Helvetica, sans-serif;
}

.waitlist-form input {
  min-width: 0;
  padding: 0 1rem;
  background: var(--input-bg);
  color: var(--foreground);
  letter-spacing: 0.03em;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(14px);
}

.waitlist-form input::placeholder {
  color: color-mix(in srgb, var(--muted) 90%, transparent);
}

.waitlist-form input:focus-visible,
.waitlist-actions button:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

.waitlist-actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.45rem;
}

.waitlist-actions button {
  padding: 0 0.95rem;
  background: var(--button-bg);
  color: var(--button-fg);
  cursor: pointer;
  letter-spacing: 0.12em;
  box-shadow: 0 0.8rem 2rem rgba(255, 126, 112, 0.14);
}

.form-status {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0.1rem 0 0;
  color: #ff7e70;
  font: 700 0.72rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
}

.trust-row {
  position: relative;
  z-index: 2;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 88%, transparent);
  font: 700 clamp(0.58rem, 0.82vw, 0.72rem)/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: 0.13em;
}

.location {
  align-self: end;
  color: #ff7e70;
  font-family: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk Text Pro",
    "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.78rem, 1.05vw, 1.24rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.21em;
}

@media (max-width: 760px) {
  .coming-soon-page {
    min-height: 500px;
    padding: 2.2rem 1.35rem 3rem;
  }

  .hero {
    width: 100%;
    gap: 0.85rem;
    transform: translateY(3vh);
  }

  .hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .edition-card {
    min-height: clamp(12.75rem, 31vh, 16.5rem);
    padding: 1.25rem 0.75rem;
  }

  .edition-card h2 {
    font-size: clamp(1.1rem, 5.15vw, 2.35rem);
    letter-spacing: 0.015em;
    margin: 0.7rem 0 0.7rem;
  }

  .edition-card-copy {
    font-size: clamp(0.64rem, 2.1vw, 0.78rem);
    line-height: 1.32;
  }

  .edition-card-status {
    max-width: 100%;
    font-size: clamp(0.55rem, 1.85vw, 0.68rem);
    letter-spacing: 0.13em;
    margin-top: 0.85rem;
  }

  .edition-card-line {
    width: min(100%, 7rem);
    margin-top: 0.85rem;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
    width: min(100%, 32rem);
  }

  .waitlist-form input,
  .waitlist-actions button {
    height: 2.5rem;
  }

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

  .waitlist-actions button {
    padding: 0 0.45rem;
    font-size: clamp(0.56rem, 1.9vw, 0.68rem);
    letter-spacing: 0.08em;
  }

  .trust-row {
    max-width: 30rem;
    justify-self: center;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .brand {
    gap: 0.7rem;
  }

  .theme-toggle {
    top: auto;
    right: clamp(1.35rem, 5vw, 2rem);
    bottom: clamp(1.35rem, 5vw, 2rem);
    width: 3.25rem;
    height: 1.8rem;
  }

  .theme-toggle-thumb {
    width: 1.28rem;
    height: 1.28rem;
  }

  html[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(1.45rem);
  }

  .brand-logo {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 5px;
  }

  .brand-wordmark {
    font-size: clamp(1.4rem, 7vw, 2.25rem);
    letter-spacing: 0.24em;
    padding-left: 0.24em;
  }

  .location {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
}
