:root {
  --ink: #030303;
  --paper: #c9c4bc;
  --muted: rgba(201, 196, 188, 0.51);
  --line: rgba(198, 193, 183, 0.26);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

.landing-shell {
  align-items: center;
  background: radial-gradient(ellipse 44% 44% at 53% 40%, rgba(35, 34, 30, .2), transparent 73%), linear-gradient(108deg, #020202 0%, #060605 58%, #0a0908 100%);
  display: flex;
  isolation: isolate;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 48px 24px;
  position: relative;
}

.ambient { filter: blur(22px); pointer-events: none; position: absolute; z-index: -2; }
.ambient-one {
  background: radial-gradient(ellipse, rgba(134, 124, 105, .09), rgba(134, 124, 105, 0) 70%);
  height: 70vw; right: -31vw; top: -38vw; transform: rotate(-27deg); width: 58vw;
}
.ambient-two {
  background: radial-gradient(ellipse, rgba(91, 86, 75, .07), transparent 68%);
  bottom: -52vh; height: 80vh; left: -12vw; width: 85vw;
}
.light-haze { background: radial-gradient(ellipse at 76% 10%, rgba(205, 193, 172, .12), rgba(145, 137, 123, .035) 38%, transparent 70%); filter: blur(64px); height: 74vh; pointer-events: none; position: absolute; right: -24vw; top: -25vh; width: 68vw; z-index: 1; }
.light-haze::after { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.44' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E"); content: ""; inset: 0; opacity: .02; position: absolute; }
.light-rays { height: 132vh; pointer-events: none; position: absolute; right: -14vw; top: -23vh; transform: rotate(38deg); transform-origin: top right; width: 45vw; z-index: 1; }
.light-rays::before { background: linear-gradient(to bottom, rgba(221, 212, 195, .1), rgba(203, 194, 178, .035) 34%, transparent 78%); content: ""; filter: blur(54px); height: 132vh; left: 21%; position: absolute; width: 45%; }
.light-rays i { background: linear-gradient(to bottom, rgba(230, 220, 200, .13), rgba(217, 207, 188, .05) 30%, transparent 74%), linear-gradient(90deg, transparent, rgba(231, 220, 200, .15) 50%, transparent); display: block; filter: blur(28px); height: 132vh; position: absolute; transform-origin: top center; }
.light-rays i:nth-child(1) { left: 0%; opacity: .52; transform: rotate(-8deg); width: 10%; }
.light-rays i:nth-child(2) { left: 12%; opacity: .35; transform: rotate(-3deg); width: 13%; }
.light-rays i:nth-child(3) { left: 27%; opacity: .26; transform: rotate(2deg); width: 17%; }
.light-rays i:nth-child(4) { left: 45%; opacity: .18; transform: rotate(7deg); width: 20%; }
.light-rays i:nth-child(5) { left: 64%; opacity: .11; transform: rotate(12deg); width: 23%; }
.light-rays i:nth-child(6) { left: 78%; opacity: .06; transform: rotate(-12deg); width: 18%; }
.grain {
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  inset: 0; mix-blend-mode: screen; opacity: .018; pointer-events: none; position: absolute; z-index: -1;
}

.hero { max-width: 570px; position: relative; text-align: center; transform: translateY(-25px); width: 100%; z-index: 3; }
.hero-mark { margin: 0 auto 10px; perspective: 500px; position: relative; top: -15px; width: 197px; z-index: 3; }
.logo-stage { --tilt-x: 0deg; --tilt-y: 0deg; overflow: visible; position: relative; transform-style: preserve-3d; }
.logo-stage::after {
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .10) 40%, rgba(255, 255, 255, .45) 46%, rgba(255, 250, 235, .95) 50%, rgba(255, 255, 255, .45) 54%, rgba(255, 255, 255, .10) 60%, transparent 70%);
  background-position: -110% -110%;
  background-repeat: no-repeat;
  background-size: 300% 300%;
  content: "";
  filter: blur(.5px) brightness(1.15);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateZ(1px);
  transform-origin: center;
  transform-style: preserve-3d;
  -webkit-mask: url("Assets/God%20mode%20logo%20metallic.png") center / contain no-repeat;
  mask: url("Assets/God%20mode%20logo%20metallic.png") center / contain no-repeat;
  will-change: background-position, opacity, transform;
  z-index: 2;
}
.logo-stage.is-shining::after { animation: logo-shine 1.6s ease-in-out both; }
@keyframes logo-shine {
  0% { background-position: -110% -110%; opacity: 0; }
  14% { opacity: .72; }
  52% { opacity: 1; }
  100% { background-position: 150% 150%; opacity: 0; }
}
#brand-logo { --shadow-x: 0px; --shadow-y: 12px; display: block; filter: drop-shadow(var(--shadow-x) var(--shadow-y) 19px rgba(0, 0, 0, .66)) drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); height: auto; max-width: 100%; opacity: 1; position: relative; transform-style: preserve-3d; width: 197px; will-change: transform, filter; z-index: 1; }
.brand-copy { margin-bottom: clamp(39px, 6vh, 58px); transform: translateY(25px); }
.eyebrow, .established, .waitlist-title, .corner-note, button {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.eyebrow { color: rgba(202, 198, 191, .62); font-size: 13px; letter-spacing: .58em; margin: 0 0 6px; transform: translateY(-25px); }
h1 {
  font-family: "Libre Bodoni", Didot, "Bodoni MT", "Bodoni 72", serif;
  color: #c6c0b7;
  font-size: clamp(45px, 4.65vw, 66px);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: .97;
  margin: 0;
  text-transform: uppercase;
  transform: translateY(-14px);
}
.established { color: rgba(202, 198, 191, .5); font-size: 10px; letter-spacing: .38em; margin: 13px 0 0; transform: translate(10px, -24px); }
.waitlist { margin: 0 auto; max-width: 620px; transform: translateY(20px); }
.waitlist-title { color: rgba(211, 207, 198, .7); font-size: 13px; letter-spacing: .46em; margin: 0 0 21px; transform: translateY(-17px); }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; transform: translateY(-18px); }
.whatsapp-field { display: block; margin-top: 12px; transform: translateY(-18px); }
.field-label { color: rgba(202, 198, 191, .5); display: block; font-size: 9px; letter-spacing: .22em; margin: 0 0 8px; text-align: left; text-transform: uppercase; }
.whatsapp-input-wrap { align-items: center; background: rgba(5, 5, 5, .36); border: 1px solid var(--line); display: flex; height: 39px; width: 100%; }
.whatsapp-input-wrap:focus-within { background: rgba(232, 228, 221, .06); border-color: rgba(232, 228, 221, .75); }
.country-code { color: rgba(232, 228, 221, .62); font: 400 12px "DM Sans", sans-serif; padding-left: 15px; }
#whatsapp-number { background: transparent; border: 0; height: 100%; min-width: 0; padding-left: 9px; }
#whatsapp-number:focus { background: transparent; border-color: transparent; }
input {
  appearance: none; background: rgba(5, 5, 5, .36); border: 1px solid var(--line); border-radius: 0;
  color: var(--paper); font: 400 12px "DM Sans", sans-serif; height: 39px; outline: none; padding: 0 15px; width: 100%;
  transition: background .25s ease, border-color .25s ease;
}
input::placeholder { color: rgba(232, 228, 221, .53); }
input:focus { background: rgba(232, 228, 221, .06); border-color: rgba(232, 228, 221, .75); }
button {
  background: #bdb7ac; border: 1px solid #bdb7ac; color: #282620; cursor: pointer; font-size: 11px; letter-spacing: .36em;
  height: 42px; margin-top: 18px; padding: 0 32px; position: relative; transform: translateY(-4px); transition: background .25s ease, color .25s ease; width: min(335px, 100%);
}
button b { font: 400 16px/0 Arial, sans-serif; margin-left: 14px; vertical-align: -1px; }
button:hover, button:focus-visible { background: #d0cabf; border-color: #d0cabf; color: #1b1915; outline: none; }
.consent-copy { color: rgba(202, 198, 191, .42); font-size: 9px; line-height: 1.6; margin: 9px auto 0; max-width: 455px; }
.footer-links { align-items: center; display: flex; flex-wrap: wrap; font-size: 9px; gap: 0 9px; justify-content: center; letter-spacing: .24em; margin: 13px auto 0; text-transform: uppercase; }
.footer-links a { color: rgba(202, 198, 191, .5); text-decoration: none; transition: color .2s ease; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--paper); outline: none; }
.footer-links span { color: rgba(202, 198, 191, .32); }
.form-message { color: var(--muted); font-size: 12px; min-height: 18px; margin: 14px 0 0; }
.form-message.success { color: var(--paper); }
.corner-note { bottom: 24px; color: rgba(232, 228, 221, .28); font-size: 8px; left: 28px; margin: 0; position: absolute; }
.sr-only { clip: rect(0,0,0,0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.cinematic-box { bottom: calc(-10vh + 66px); display: block; filter: brightness(.58) contrast(1.12); height: auto; left: calc(-2vw + 47px); max-width: 1220px; object-fit: contain; opacity: .87; pointer-events: none; position: absolute; width: 83.5vw; z-index: 2; }
.box-tone-overlay { aspect-ratio: 2103 / 748; background: linear-gradient(96deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .76) 25%, rgba(0, 0, 0, .55) 49%, rgba(0, 0, 0, .22) 72%, rgba(0, 0, 0, .04) 100%); bottom: calc(-10vh + 66px); left: calc(-2vw + 47px); max-width: 1220px; -webkit-mask: url("Assets/God%20mode%20box%20cinematic.png") center / 100% 100% no-repeat; mask: url("Assets/God%20mode%20box%20cinematic.png") center / 100% 100% no-repeat; opacity: .72; pointer-events: none; position: absolute; width: 83.5vw; z-index: 2; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body, input, button { cursor: none; }
  .cursor { display: grid; height: 20px; left: 0; mix-blend-mode: difference; place-items: center; pointer-events: none; position: fixed; top: 0; width: 20px; z-index: 10; }
  .cursor::before, .cursor::after { background: #fff; content: ""; position: absolute; }
  .cursor::before { height: 1px; width: 13px; }
  .cursor::after { height: 13px; width: 1px; }
  .cursor span { border: 1px solid #fff; height: 5px; width: 5px; }
  .cursor.is-hover span { background: #fff; }
}

/* Desktop rules above remain the approved composition. */
@media (min-width: 768px) and (max-width: 1024px) {
  .landing-shell { padding: 46px 36px 72px; }
  .hero { max-width: 540px; }
  .hero-mark, #brand-logo { width: 158px; }
  h1 { font-size: clamp(50px, 6.1vw, 60px); }
  .waitlist { max-width: 540px; }
  .cinematic-box, .box-tone-overlay { bottom: -7vh; left: -5vw; width: 78vw; }
  .light-rays { right: -18vw; top: -21vh; width: 52vw; }
  .light-haze { right: -32vw; top: -22vh; width: 78vw; }
}

@media (max-width: 767px) {
  .landing-shell { min-height: 100svh; padding: 38px 20px 220px; }
  .hero { max-width: 100%; transform: translateY(-8px); }
  .hero-mark { margin-bottom: 12px; top: -4px; width: clamp(96px, 29vw, 126px); }
  #brand-logo { width: 100%; }
  .brand-copy { margin-bottom: clamp(42px, 7vh, 58px); transform: translateY(13px); }
  .eyebrow { font-size: clamp(10px, 2.9vw, 12px); transform: translateY(-14px); }
  h1 { font-size: clamp(42px, 13.5vw, 56px); transform: translateY(-8px); }
  .established { font-size: 10px; margin-top: 11px; transform: translate(8px, -15px); }
  .waitlist { max-width: 100%; transform: translateY(14px); }
  .waitlist-title { font-size: clamp(10px, 3vw, 12px); line-height: 1.65; margin: 0 auto 19px; max-width: 300px; transform: translateY(-11px); }
  .form-row { gap: 12px; grid-template-columns: 1fr; transform: translateY(-12px); }
  .whatsapp-field { margin-top: 12px; transform: translateY(-12px); }
  input { font-size: 14px; height: 46px; padding-inline: 15px; }
  .whatsapp-input-wrap { height: 46px; }
  .country-code { font-size: 14px; }
  button { height: 48px; margin-top: 16px; transform: translateY(-1px); width: 100%; }
  .consent-copy { font-size: 9px; max-width: 320px; }
  .footer-links { bottom: 18px; font-size: 8px; gap: 4px 8px; left: 50%; line-height: 1.7; max-width: 300px; position: absolute; transform: translateX(-50%); width: max-content; }
  .cinematic-box, .box-tone-overlay { bottom: -1vh; left: -8vw; max-width: none; width: 108vw; }
  .light-rays { right: -36vw; top: -16vh; width: 74vw; }
  .light-haze { right: -50vw; top: -18vh; width: 96vw; }
  .corner-note { bottom: 17px; left: 20px; }
}

@media (max-width: 480px) {
  .landing-shell { padding-inline: 16px; padding-top: 32px; }
  .hero-mark { width: clamp(92px, 28vw, 112px); }
  .eyebrow { letter-spacing: .48em; }
  .waitlist-title { letter-spacing: .37em; max-width: 278px; }
  .cinematic-box, .box-tone-overlay { left: -10vw; width: 112vw; }
}

/* Desktop and tablet remain a single cinematic viewport; mobile keeps natural flow. */
@media (min-width: 768px) {
  .landing-shell { height: 100svh; min-height: 100svh; overflow: hidden; }
  .footer-links { bottom: 22px; flex-wrap: nowrap; margin: 0; position: absolute; right: 28px; white-space: nowrap; z-index: 4; }
  .form-message { margin-top: 6px; min-height: 0; }
  .consent-copy { font-size: 8px; line-height: 1.45; margin-top: 7px; max-width: 640px; }
  .cinematic-box, .box-tone-overlay { bottom: auto; }
}

@media (min-width: 1025px) {
  .landing-shell { padding: 26px 24px; }
  .hero { max-width: 540px; transform: translateY(-14px); }
  .hero-mark, #brand-logo { width: 170px; }
  .brand-copy { margin-bottom: clamp(58px, 7vh, 72px); }
  .eyebrow { font-size: 12px; margin-bottom: 3px; transform: translateY(-20px); }
  h1 { font-size: clamp(44px, 4vw, 57px); transform: translateY(-11px); }
  .established { margin-top: 8px; transform: translate(10px, -19px); }
  .waitlist { max-width: 560px; transform: translateY(13px); }
  .waitlist-title { font-size: 12px; margin-bottom: 13px; transform: translateY(-12px); }
  .form-row { gap: 12px; transform: translateY(-13px); }
  .whatsapp-field { margin-top: 8px; transform: translateY(-13px); }
  .field-label { font-size: 8px; margin-bottom: 5px; }
  input { height: 36px; }
  .whatsapp-input-wrap { height: 36px; }
  button { height: 38px; margin-top: 12px; transform: translateY(-2px); }
  .cinematic-box, .box-tone-overlay { top: calc(100svh - clamp(350px, 49vh, 450px)); }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .landing-shell { padding: 24px 30px; }
  .hero { max-width: 510px; transform: translateY(-12px); }
  .brand-copy { margin-bottom: clamp(42px, 5vh, 54px); }
  .waitlist { max-width: 510px; transform: translateY(12px); }
  .waitlist-title { margin-bottom: 13px; transform: translateY(-12px); }
  .form-row { gap: 12px; transform: translateY(-13px); }
  .whatsapp-field { margin-top: 8px; transform: translateY(-13px); }
  .field-label { margin-bottom: 5px; }
  input { height: 36px; }
  .whatsapp-input-wrap { height: 36px; }
  button { height: 38px; margin-top: 12px; transform: translateY(-2px); }
  .cinematic-box, .box-tone-overlay { top: calc(100svh - clamp(250px, 34vh, 340px)); }
}

@media (min-width: 768px) and (max-height: 850px) {
  .landing-shell { padding-block: 18px; }
  .hero { transform: translateY(-40px); }
  .hero-mark, #brand-logo { width: 154px; }
  .brand-copy { margin-bottom: 45px; }
  .eyebrow { font-size: 11px; margin-bottom: 2px; transform: translateY(-17px); }
  h1 { font-size: clamp(42px, 4.1vw, 52px); transform: translateY(-9px); }
  .established { margin-top: 6px; transform: translate(8px, -16px); }
  .waitlist { transform: translateY(8px); }
  .waitlist-title { font-size: 11px; margin-bottom: 10px; transform: translateY(-10px); }
  .form-row { gap: 10px; transform: translateY(-11px); }
  .whatsapp-field { margin-top: 6px; transform: translateY(-11px); }
  .field-label { font-size: 8px; margin-bottom: 4px; }
  input { height: 34px; }
  .whatsapp-input-wrap { height: 34px; }
  button { height: 36px; margin-top: 10px; }
  .consent-copy { line-height: 1.35; margin-top: 6px; }
}

@media (min-width: 1025px) and (max-height: 850px) {
  .cinematic-box, .box-tone-overlay { top: calc(100svh - clamp(350px, 49vh, 450px)); }
}

@media (min-width: 768px) and (max-width: 1024px) and (max-height: 850px) {
  .cinematic-box, .box-tone-overlay { top: calc(100svh - clamp(250px, 34vh, 340px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .logo-stage::after { animation: none !important; opacity: 0 !important; }
}
