:root {
  --bg: #050505;
  --text: #f8f9ff;
  --muted: #a3a9b7;
  --muted-2: #737a89;
  --blue: #4c6fff;
  --violet: #8b5cff;
  --border: rgba(255,255,255,.12);
  --panel: rgba(255,255,255,.052);
  --radius: 24px;
  --max: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 7%, rgba(51,102,255,.20), transparent 30%),
    radial-gradient(circle at 91% 11%, rgba(139,92,255,.16), transparent 29%),
    linear-gradient(180deg, #050505 0%, #070b18 58%, #050505 100%);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.08));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.08));
}

.shell {
  width: min(calc(100% - 44px), var(--max));
  margin-inline: auto;
  padding: 18px 0 28px;
}

.topbar {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.brand {
  display: inline-flex;
  width: 126px;
}
.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.intro {
  max-width: 710px;
  padding: 30px 0 26px;
}
.intro h1 {
  max-width: 690px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.01;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.content-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 72px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.newsletter-card,
.shop-card {
  padding: clamp(28px, 4vw, 42px);
}

.card-top {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}
.card-label,
.shop-eyebrow {
  color: rgba(255,255,255,.60);
  font-size: .70rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.card h2 {
  color: #fff;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.card-copy {
  max-width: 760px;
}
.card-copy p,
.shop-copy p {
  color: var(--muted);
  line-height: 1.58;
  font-size: .97rem;
}
.card-copy p {
  margin-top: 12px;
}
.card-copy p:first-of-type {
  margin-top: 17px;
  color: rgba(255,255,255,.82);
}

.signup-form {
  max-width: 760px;
  margin-top: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.form-row input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  color: #fff;
  background: rgba(4,7,18,.66);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row input::placeholder { color: rgba(255,255,255,.38); }
.form-row input:focus {
  border-color: rgba(76,111,255,.78);
  box-shadow: 0 0 0 4px rgba(76,111,255,.12);
  background: rgba(4,7,18,.84);
}
.form-row button,
.shop-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 38px rgba(76,111,255,.20);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
}
.form-row button:hover,
.shop-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(76,111,255,.28);
}
.form-row button:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}
.microcopy {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: .74rem;
  line-height: 1.4;
}
.form-status {
  min-height: 18px;
  margin-top: 7px;
  color: #b9c6ff;
  font-size: .80rem;
  line-height: 1.4;
}
.form-status.is-error { color: #ffb3b3; }
.form-status.is-success { color: #cbd5ff; }

.hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: -9999px !important;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}
.shop-copy {
  max-width: 650px;
}
.shop-eyebrow {
  margin-bottom: 9px;
  color: #8397ff;
}
.shop-copy p:last-child {
  margin-top: 11px;
}
.shop-button {
  min-width: 190px;
  background: rgba(255,255,255,.072);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: none;
}
.shop-button:hover {
  background: rgba(76,111,255,.14);
  border-color: rgba(76,111,255,.42);
  box-shadow: none;
}
.shop-button span {
  margin-left: 8px;
  color: #91a3ff;
}

.footer {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 2px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
}
.socials {
  display: flex;
  gap: 9px;
}
.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(76,111,255,.5);
  background: rgba(76,111,255,.1);
}
.socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .90;
}
.copyright {
  justify-self: end;
  color: var(--muted-2);
  font-size: .76rem;
}

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

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 40px), var(--max));
    padding-top: 14px;
  }

  .topbar {
    min-height: 40px;
  }

  .brand {
    width: 108px;
  }

  .intro {
    padding: 24px 0 22px;
  }

  .intro h1 {
    max-width: 100%;
    font-size: clamp(1.78rem, 8.2vw, 2.25rem);
    line-height: 1.03;
    letter-spacing: -.045em;
  }

  .content-stack {
    gap: 14px;
  }

  .newsletter-card,
  .shop-card {
    padding: 22px;
    border-radius: 20px;
  }

  .card-top {
    margin-bottom: 20px;
  }

  .card h2 {
    font-size: 1.55rem;
  }

  .card-copy p,
  .shop-copy p {
    font-size: .92rem;
    line-height: 1.52;
  }

  .card-copy p {
    margin-top: 10px;
  }

  .card-copy p:first-of-type {
    margin-top: 14px;
  }

  .signup-form {
    margin-top: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .form-row input,
  .form-row button {
    min-height: 50px;
  }

  .form-row button {
    width: 100%;
  }

  .shop-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .shop-button {
    width: 100%;
    min-width: 0;
  }

  .footer {
    grid-template-columns: auto 1fr;
    min-height: 78px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .socials {
    justify-self: end;
  }

  .copyright {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(calc(100% - 36px), var(--max));
  }

  .intro h1 {
    font-size: 1.72rem;
  }

  .newsletter-card,
  .shop-card {
    padding: 20px;
  }

  .card h2 {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
