:root {
  --ivory: #efe8e1;
  --cream: #f8f3ee;
  --ink: #1e100f;
  --wine: #721a0b;
  --red: #952a28;
  --red-bright: #ad302d;
  --gold: #c8a338;
  --white: #fffaf4;
  --line-light: rgba(255, 250, 244, 0.28);
  --line-dark: rgba(30, 16, 15, 0.16);
  --display: "League Gothic", "Arial Narrow", sans-serif;
  --body: "Poppins", sans-serif;
  --page-gutter: clamp(20px, 4vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.intro-running {
  overflow: hidden;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.025;
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.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: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.opening-reveal {
  display: none;
}

.js .opening-reveal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: auto;
  animation: intro-layer-out 1ms linear 1.7s forwards;
}

.opening-panel {
  position: absolute;
  top: 0;
  width: 50.1%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 46%, rgba(114, 26, 11, 0.34), transparent 42%),
    linear-gradient(135deg, #2b0e0b, #160807 70%);
  will-change: transform;
}

.opening-panel::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.035;
}

.opening-panel-left {
  left: 0;
  animation: panel-open-left 900ms cubic-bezier(0.72, 0, 0.18, 1) 420ms forwards;
}

.opening-panel-right {
  right: 0;
  animation: panel-open-right 900ms cubic-bezier(0.72, 0, 0.18, 1) 420ms forwards;
}

.opening-seam {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 4%, var(--gold) 25%, #f1d477 50%, var(--gold) 75%, transparent 96%);
  box-shadow: 0 0 22px rgba(200, 163, 56, 0.42);
  transform: scaleY(0);
  transform-origin: center;
  animation: seam-reveal 1.22s cubic-bezier(0.16, 1, 0.3, 1) 100ms forwards;
}

.opening-mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 132px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
  transform: translate(-50%, -50%);
  animation: opening-mark-reveal 1.25s cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

.opening-reveal.is-complete {
  visibility: hidden;
  pointer-events: none;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px var(--page-gutter);
  color: var(--white);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line-light);
  content: "";
  transform-origin: center;
}

.js .site-header {
  animation: header-in 720ms cubic-bezier(0.16, 1, 0.3, 1) 1.08s both;
}

.js .site-header::after {
  animation: header-line-in 850ms cubic-bezier(0.16, 1, 0.3, 1) 1.12s both;
}

.brand,
.footer-brand {
  display: inline-flex;
}

.brand img {
  width: 116px;
  height: auto;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(200, 163, 56, 0.18);
}

.header-cta {
  justify-self: end;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-cta::after,
.access-copy > a::after {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 300ms ease;
}

.header-cta:hover::after,
.header-cta:focus-visible::after,
.access-copy > a:hover::after,
.access-copy > a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: max(800px, 100svh);
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: #3a1a10;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade,
.hero-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.js .hero-media {
  transform-origin: 47% center;
  animation: ambient-drift 14s ease-in-out 2.6s infinite alternate;
}

.hero-media img {
  object-fit: cover;
  object-position: 47% center;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.015);
}

.js .hero-media img {
  animation: image-settle 1.75s cubic-bezier(0.2, 0.7, 0.2, 1) 440ms both;
}

.hero-shade {
  background:
    radial-gradient(circle at 48% 44%, rgba(225, 157, 85, 0.13), transparent 25%),
    linear-gradient(90deg, rgba(26, 11, 7, 0.08) 0%, rgba(25, 10, 6, 0.18) 42%, rgba(23, 8, 5, 0.88) 100%),
    linear-gradient(0deg, rgba(22, 8, 5, 0.48) 0%, transparent 44%);
}

.hero-light {
  z-index: 1;
  inset: -28%;
  width: 156%;
  height: 156%;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 218, 158, 0.2) 48%, transparent 63%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateX(-58%);
  pointer-events: none;
}

.js .hero-light {
  animation: light-sweep 2.15s cubic-bezier(0.22, 1, 0.36, 1) 560ms both;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1536px);
  min-height: max(800px, 100svh);
  grid-template-columns: minmax(0, 1fr) minmax(520px, 0.86fr);
  align-items: center;
  margin: 0 auto;
  padding: 140px var(--page-gutter) 92px;
}

.hero-copy {
  grid-column: 2;
  width: min(100%, 680px);
  justify-self: end;
}

.eyebrow,
.section-label,
.success-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.early-access h2,
.success-state h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.018em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 670px;
  font-size: clamp(80px, 8.4vw, 136px);
  text-wrap: balance;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding: 0.025em 0 0.035em;
  margin: -0.025em 0 -0.035em;
}

.hero-title-line > span {
  display: block;
}

.js .hero-title-line > span {
  animation: title-line-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js .hero-title-line:nth-child(1) > span { animation-delay: 1.24s; }
.js .hero-title-line:nth-child(2) > span { animation-delay: 1.38s; }
.js .hero-title-line:nth-child(3) > span { animation-delay: 1.52s; }

.hero-intro {
  max-width: 590px;
  margin: 28px 0 30px;
  color: rgba(255, 250, 244, 0.86);
  font-size: clamp(14px, 1.12vw, 17px);
  font-weight: 300;
  line-height: 1.75;
}

.signup-panel {
  position: relative;
  min-height: 146px;
}

.email-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
}

.email-row::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 250, 244, 0.7);
  content: "";
  transform-origin: left;
}

.js .email-row::after {
  animation: form-line-in 720ms cubic-bezier(0.16, 1, 0.3, 1) 2.12s both;
}

.email-row:focus-within::after {
  background: var(--gold);
}

.email-row input {
  width: 100%;
  min-width: 0;
  padding: 18px 16px 18px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 16px;
}

.email-row input::placeholder {
  color: rgba(255, 250, 244, 0.65);
}

.email-row button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  min-width: 190px;
  justify-content: space-between;
  padding: 14px 18px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background-color 200ms ease, transform 200ms ease;
}

.email-row button:hover,
.email-row button:focus-visible {
  background: var(--red-bright);
  transform: translateY(-2px);
}

.email-row button span:last-child {
  transition: transform 220ms ease;
}

.email-row button:hover span:last-child,
.email-row button:focus-visible span:last-child {
  transform: translate(3px, -3px);
}

.email-row button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.age-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: rgba(255, 250, 244, 0.88);
  cursor: pointer;
  font-size: 12px;
}

.age-check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid rgba(255, 250, 244, 0.65);
  border-radius: 3px;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.age-check input:checked {
  border-color: var(--gold);
  background: var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 2.7 2.7 6.3-6.2' fill='none' stroke='%2324100c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.age-check input:focus-visible,
.email-row button:focus-visible,
.header-cta:focus-visible,
.access-copy > a:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.privacy-note,
.form-error {
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.privacy-note {
  color: rgba(255, 250, 244, 0.52);
}

.form-error {
  min-height: 16px;
  color: #f4b9a9;
}

.has-error .email-row {
  --form-line-color: #f4b9a9;
}

.has-error .email-row::after {
  background: #f4b9a9;
  transform: scaleX(1);
}

.success-state {
  max-width: 590px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--gold);
  outline: 0;
}

.success-state.is-visible {
  animation: success-in 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-state h2 {
  margin-bottom: 12px;
  font-size: clamp(58px, 5vw, 84px);
}

.success-state p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 250, 244, 0.82);
  font-size: 15px;
  line-height: 1.75;
}

#waitlist-form.is-leaving {
  animation: form-out 260ms ease forwards;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 250, 244, 0.62);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue span {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.early-access {
  display: grid;
  width: min(100%, 1440px);
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  align-items: center;
  gap: clamp(60px, 8vw, 140px);
  margin: 0 auto;
  padding: clamp(100px, 11vw, 170px) var(--page-gutter);
}

.access-copy {
  padding-left: clamp(0px, 5vw, 70px);
}

.section-label {
  color: var(--red);
}

.early-access h2 {
  color: var(--wine);
  font-size: clamp(70px, 8.1vw, 126px);
}

.access-copy > p:not(.section-label) {
  max-width: 430px;
  margin: 30px 0;
  color: rgba(30, 16, 15, 0.72);
  font-size: 17px;
  font-weight: 300;
}

.access-copy > a {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.icon-arrow {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -2px;
}

.access-image {
  position: relative;
  margin: 0;
}

.access-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 0.88;
}

.access-image-frame::before {
  position: absolute;
  z-index: -1;
  inset: -20px 24px 24px -20px;
  border: 1px solid rgba(114, 26, 11, 0.22);
  border-radius: 120px 20px 120px 20px;
  content: "";
}

.access-image img {
  width: 100%;
  height: 100%;
  border-radius: 110px 18px 110px 18px;
  object-fit: cover;
  object-position: 68% center;
}

.access-image figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  color: rgba(30, 16, 15, 0.58);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-image figcaption span {
  color: var(--red);
}

.site-footer {
  padding: 66px var(--page-gutter) 26px;
  border-radius: 32px 32px 0 0;
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding-bottom: 56px;
}

.footer-brand img {
  width: 130px;
  height: auto;
}

.footer-note {
  margin: 0;
  color: rgba(255, 250, 244, 0.62);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
}

.footer-links a {
  color: rgba(255, 250, 244, 0.78);
  font-size: 11px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 244, 0.14);
  color: rgba(255, 250, 244, 0.42);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.footer-legal p {
  margin: 0;
}

.js .reveal {
  animation: reveal-up 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.js .reveal-1 { animation-delay: 1.12s; }
.js .reveal-3 { animation-delay: 1.78s; }
.js .reveal-4 { animation-delay: 2.02s; }

@keyframes panel-open-left {
  to { transform: translateX(-100%); }
}

@keyframes panel-open-right {
  to { transform: translateX(100%); }
}

@keyframes seam-reveal {
  0% { opacity: 0; transform: scaleY(0); }
  28% { opacity: 1; transform: scaleY(0.72); }
  62% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}

@keyframes opening-mark-reveal {
  0% { opacity: 0; transform: translate(-50%, -46%) scale(0.94); }
  28% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  68% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -54%) scale(0.98); }
}

@keyframes intro-layer-out {
  to { visibility: hidden; pointer-events: none; }
}

@keyframes header-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes header-line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes title-line-in {
  from { opacity: 0; transform: translateY(112%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes form-line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes light-sweep {
  0% { opacity: 0; transform: translateX(-58%); }
  24% { opacity: 0.42; }
  72% { opacity: 0.26; }
  100% { opacity: 0; transform: translateX(52%); }
}

@keyframes ambient-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.018) translate3d(-0.35%, -0.25%, 0); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes image-settle {
  from { opacity: 0.45; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1.015); }
}

@keyframes form-out {
  to { opacity: 0; transform: translateY(-10px); }
}

@keyframes success-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.6fr) minmax(500px, 1fr);
  }

  .hero-shade {
    background:
      radial-gradient(circle at 48% 44%, rgba(225, 157, 85, 0.11), transparent 25%),
      linear-gradient(90deg, rgba(26, 11, 7, 0.04) 0%, rgba(25, 10, 6, 0.32) 35%, rgba(23, 8, 5, 0.94) 100%),
      linear-gradient(0deg, rgba(22, 8, 5, 0.52) 0%, transparent 44%);
  }

  .hero h1 {
    font-size: clamp(76px, 9.4vw, 112px);
  }

  .footer-main {
    grid-template-columns: 150px 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: clamp(18px, 5vw, 24px);
  }

  .site-header {
    min-height: 68px;
    grid-template-columns: 1fr auto 1fr;
    padding-top: max(7px, env(safe-area-inset-top));
    padding-right: max(var(--page-gutter), env(safe-area-inset-right));
    padding-bottom: 7px;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  }

  .brand img {
    width: 86px;
  }

  .header-status {
    font-size: 0;
  }

  .header-status span {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(200, 163, 56, 0.16);
  }

  .header-cta {
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  .hero {
    min-height: max(780px, 100svh);
    border-radius: 0 0 20px 20px;
  }

  .hero-media img {
    object-position: 43% top;
    filter: saturate(0.98) contrast(1.04);
  }

  .hero-shade {
    background:
      radial-gradient(circle at 43% 25%, rgba(225, 157, 85, 0.14), transparent 25%),
      linear-gradient(180deg, rgba(25, 10, 6, 0.04) 0%, rgba(25, 10, 6, 0.08) 30%, rgba(24, 9, 5, 0.8) 54%, #1b0906 84%),
      linear-gradient(90deg, rgba(22, 8, 5, 0.1), rgba(22, 8, 5, 0.24));
  }

  .hero-inner {
    min-height: max(780px, 100svh);
    display: block;
    padding-top: clamp(200px, 26svh, 250px);
    padding-right: max(var(--page-gutter), env(safe-area-inset-right));
    padding-bottom: max(30px, env(safe-area-inset-bottom));
    padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 7em;
    font-size: clamp(60px, 17.2vw, 74px);
    line-height: 0.88;
    letter-spacing: 0.012em;
  }

  .eyebrow {
    margin-bottom: 11px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .hero-intro {
    max-width: 39em;
    margin: 16px 0 18px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .signup-panel {
    min-height: 120px;
  }

  .email-row {
    grid-template-columns: minmax(0, 1fr) 142px;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 250, 244, 0.24);
    border-radius: 13px;
    background: rgba(29, 11, 8, 0.42);
    box-shadow: 0 14px 34px rgba(15, 5, 4, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .email-row::after {
    display: none;
  }

  .email-row input {
    padding: 12px 10px;
    font-size: 14px;
  }

  .email-row button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 9px;
    font-size: 10px;
  }

  .age-check {
    gap: 10px;
    min-height: 28px;
    margin-top: 10px;
    font-size: 10.5px;
  }

  .age-check input {
    width: 22px;
    height: 22px;
  }

  .form-error {
    min-height: 13px;
    margin-top: 4px;
    font-size: 9px;
  }

  .privacy-note {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .early-access {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 78px;
  }

  .access-copy {
    padding-left: 0;
  }

  .early-access h2 {
    font-size: clamp(66px, 20vw, 92px);
  }

  .access-copy > p:not(.section-label) {
    font-size: 15px;
  }

  .access-image {
    width: calc(100% - 18px);
    margin-left: 18px;
  }

  .access-image img,
  .access-image-frame::before {
    border-radius: 78px 16px 78px 16px;
  }

  .site-footer {
    padding-top: 52px;
    border-radius: 24px 24px 0 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 40px;
  }

  .footer-links {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin-top: 16px;
  }

  .footer-legal {
    display: grid;
  }
}

@media (max-width: 390px) {
  .hero {
    min-height: max(750px, 100svh);
  }

  .hero-inner {
    min-height: max(750px, 100svh);
    padding-top: clamp(268px, 36svh, 320px);
  }

  .hero h1 {
    font-size: clamp(58px, 17.2vw, 67px);
  }
}

@media (max-width: 345px) {
  .hero-inner {
    padding-top: 260px;
  }

  .email-row {
    grid-template-columns: 1fr;
  }

  .email-row button {
    min-height: 46px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .opening-reveal {
    display: none !important;
  }

  .hero-light {
    display: none;
  }
}
