:root {
  --ink: #fbf8f3;
  --muted: rgba(251, 248, 243, 0.72);
  --quiet: rgba(251, 248, 243, 0.52);
  --wine: #a93654;
  --wine-light: #d26178;
  --gold: #d7ad71;
  --night: #17131f;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--night);
  font-synthesis: none;
}

* { box-sizing: border-box; }

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

body { background: var(--night); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 48%);
  padding: max(28px, env(safe-area-inset-top)) max(34px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(34px, env(safe-area-inset-left));
  background: #15111c;
}

.hero__photo,
.hero__shade,
.glow { position: absolute; inset: 0; pointer-events: none; }

.hero__photo {
  z-index: -4;
  background: url("assets/hero.webp") 69% 50% / cover no-repeat;
  animation: settle 1.4s cubic-bezier(.22,.75,.25,1) both;
}

.hero__shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(18,14,25,.96) 0%, rgba(18,14,25,.87) 31%, rgba(18,14,25,.3) 62%, rgba(18,14,25,.1) 100%),
    linear-gradient(0deg, rgba(14,11,19,.82) 0%, transparent 33%, rgba(14,11,19,.2) 100%);
}

.glow { z-index: -2; }
.glow--top { background: radial-gradient(circle at 12% 8%, rgba(169,54,84,.25), transparent 28rem); }
.glow--bottom { background: radial-gradient(circle at 45% 108%, rgba(215,173,113,.14), transparent 27rem); }

.panel {
  grid-column: 1;
  display: flex;
  width: min(100%, 680px);
  min-height: calc(100svh - 76px);
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(8px, 3.5vw, 54px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: italic;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.brand__name { font-family: Georgia, "Times New Roman", serif; font-size: 23px; letter-spacing: -.02em; }
.brand__name span { color: #e1b67a; font-style: italic; }

.copy { margin: auto 0; padding: clamp(62px, 11vh, 130px) 0 38px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #e4bf8b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
}

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

h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.15vw, 92px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.lead {
  max-width: 500px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.5;
}

.actions { width: min(100%, 420px); }

.cta {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 14px 13px 26px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 760;
  background: linear-gradient(120deg, var(--wine), #8d2946);
  box-shadow: 0 18px 46px rgba(129,31,59,.34);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  color: #4a2b19;
  font-size: 23px;
  background: #f2d4a8;
}

.cta:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 22px 52px rgba(129,31,59,.43); }
.cta:active { transform: translateY(0) scale(.99); }
.cta:focus-visible { outline: 3px solid #f2d4a8; outline-offset: 4px; }

.privacy, .webview-tip { color: var(--quiet); font-size: 11px; line-height: 1.45; }
.privacy { margin: 13px 0 0; text-align: center; }
.privacy span { margin-right: 6px; color: var(--gold); font-size: 8px; }
.webview-tip { margin: 12px 0 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(17,13,24,.68); }

.footnote {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: 370px;
  margin: 0;
  color: rgba(255,255,255,.46);
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

@keyframes settle {
  from { opacity: .78; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 820px) {
  .hero {
    display: block;
    padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  }

  .hero__photo { background-position: 69% center; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(16,12,22,.98) 0%, rgba(16,12,22,.84) 42%, rgba(16,12,22,.16) 76%, rgba(16,12,22,.28) 100%),
      linear-gradient(90deg, rgba(16,12,22,.45), transparent 60%);
  }

  .panel {
    width: 100%;
    min-height: calc(100svh - 38px);
    padding: 0;
  }

  .brand__mark { width: 36px; height: 36px; font-size: 20px; }
  .brand__name { font-size: 20px; }
  .copy { margin-top: auto; padding: min(36vh, 300px) 2px 24px; }
  .eyebrow { margin-bottom: 14px; font-size: 9px; }
  h1 { max-width: 590px; font-size: clamp(39px, 12vw, 62px); }
  .lead { max-width: 440px; margin-top: 17px; font-size: 16px; }
  .actions { width: 100%; }
  .cta { min-height: 64px; font-size: 16px; }
  .footnote { position: static; max-width: 100%; margin: 15px 4px 0; text-align: center; }
}

@media (max-width: 390px), (max-height: 690px) and (max-width: 820px) {
  .copy { padding-top: min(27vh, 190px); padding-bottom: 18px; }
  h1 { font-size: clamp(34px, 10.7vw, 44px); }
  .lead { margin-top: 13px; font-size: 14px; }
  .cta { min-height: 58px; }
  .privacy { margin-top: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
