:root {
  --black: #07070a;
  --night: #101018;
  --plum: #2b142d;
  --deep-plum: #1a0d1d;
  --gold: #c59a55;
  --gold-light: #e6c98d;
  --cream: #efe2d0;
  --muted: #bdaea0;
  --sage: #8b947a;
  --line: rgba(197, 154, 85, .32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 0%, rgba(78, 34, 82, .42), transparent 28rem),
    radial-gradient(circle at 86% 6%, rgba(39, 58, 48, .34), transparent 24rem),
    linear-gradient(180deg, #07070a 0%, #111017 52%, #08080b 100%);
}

a { color: inherit; text-decoration: none; }

.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  background: linear-gradient(90deg, #1b0d20, #3c173c, #1b0d20);
  color: var(--gold-light);
  font-size: .76rem;
  letter-spacing: .1em;
}

.site-header {
  min-height: 102px;
  padding: .75rem clamp(1rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 7, 10, .9);
  border-bottom: 1px solid rgba(197,154,85,.16);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand img {
  width: 96px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(230,201,141,.12));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.45rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}

.nav a { opacity: .88; }
.nav a:hover { color: var(--gold-light); }

.nav-cta {
  padding: .7rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(197,154,85,.14);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-candles.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.03) brightness(.78);
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 43%, rgba(7,7,10,.12), rgba(7,7,10,.72) 64%, rgba(7,7,10,.94) 100%),
    linear-gradient(180deg, rgba(7,7,10,.16), rgba(7,7,10,.68) 72%, #07070a 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 4.5rem 1.2rem;
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .23em;
  font-size: .76rem;
}

h1, h2 { margin: 0; font-weight: 400; }

h1 {
  font-size: clamp(3.8rem, 7.2vw, 7.1rem);
  line-height: .88;
  letter-spacing: -.06em;
  color: #f5ead8;
  text-shadow: 0 18px 70px rgba(0,0,0,.7);
}

.lead {
  max-width: 680px;
  margin: 1.35rem auto 1.9rem;
  color: rgba(239,226,208,.88);
  font-size: 1.16rem;
  line-height: 1.65;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .95rem;
}

.button {
  min-height: 3.1rem;
  display: inline-flex;
  align-items: center;
  padding: 0 1.15rem;
  border-radius: .22rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .2s ease;
}

.button:hover { transform: translateY(-2px); }

.primary {
  color: #14100d;
  background: linear-gradient(135deg, #f1dec0, #bd8b43);
  box-shadow: 0 16px 45px rgba(0,0,0,.36);
}

.secondary {
  border: 1px solid rgba(197,154,85,.58);
  color: var(--gold-light);
  background: rgba(0,0,0,.24);
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 3.6rem) clamp(1rem, 5vw, 5rem);
  margin-top: -5rem;
  position: relative;
  z-index: 3;
}

.preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: rgba(15, 14, 20, .93);
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
}

.preview-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  filter: brightness(.92) saturate(1.08);
}

.preview-card div {
  padding: 1.2rem;
}

.preview-card h2,
.feature-copy h2,
.lucky-feature h2,
.signup h2 {
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: .95;
  letter-spacing: -.045em;
  color: #f2dfc4;
}

.preview-card p,
.feature-copy p,
.lucky-feature p,
.signup p {
  color: rgba(239,226,208,.78);
  line-height: 1.7;
}

.feature-section,
.lucky-feature,
.signup {
  margin: 0 clamp(1rem, 5vw, 5rem) 2rem;
  border: 1px solid rgba(197,154,85,.24);
  border-radius: .65rem;
  background: linear-gradient(135deg, rgba(20, 16, 24, .96), rgba(9, 16, 14, .94));
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
}

.feature-section {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.feature-image {
  border: 1px solid rgba(197,154,85,.26);
  border-radius: .55rem;
  overflow: hidden;
  background: #050507;
}

.feature-image img {
  width: 100%;
  display: block;
}

.planet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .62rem;
  margin-top: 1.2rem;
}

.planet-pills span {
  padding: .58rem .78rem;
  border: 1px solid rgba(197,154,85,.24);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(197,154,85,.08);
}

.lucky-feature {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background:
    radial-gradient(circle at 0% 10%, rgba(197,154,85,.18), transparent 18rem),
    linear-gradient(135deg, #08241e, #08080b);
}

.lucky-feature img {
  width: 100%;
  border-radius: 50%;
  border: 1px solid rgba(197,154,85,.42);
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
}

.signup {
  text-align: center;
  padding: clamp(2.2rem, 6vw, 4rem) 1.2rem;
  background:
    radial-gradient(circle at 50% -20%, rgba(197,154,85,.18), transparent 20rem),
    radial-gradient(circle at 14% 20%, rgba(74, 34, 78, .48), transparent 24rem),
    linear-gradient(135deg, #261328, #08080b);
}

.signup-inner { max-width: 740px; margin: auto; }

.moon {
  display: block;
  color: var(--gold-light);
  letter-spacing: .45em;
  margin-bottom: .75rem;
}

.signup form {
  max-width: 610px;
  margin: 1.4rem auto .7rem;
  display: flex;
  padding: .42rem;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(197,154,85,.28);
  border-radius: .28rem;
}

.signup input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  padding: .92rem 1rem;
  font: inherit;
}

.signup input::placeholder { color: rgba(239,226,208,.52); }

.signup button {
  border: 0;
  cursor: pointer;
  padding: .92rem 1.1rem;
  background: linear-gradient(135deg, #f1dec0, #bd8b43);
  color: #14100d;
  font: inherit;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.signup small {
  color: rgba(239,226,208,.56);
}

footer {
  text-align: center;
  padding: 2.3rem 1rem 3rem;
  color: rgba(239,226,208,.62);
}

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

footer nav {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a { color: rgba(239,226,208,.78); }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { gap: .85rem; }
  .preview-cards { grid-template-columns: 1fr; margin-top: 0; }
  .feature-section,
  .lucky-feature { grid-template-columns: 1fr; }
  .lucky-feature img { max-width: 230px; justify-self: center; }
}

@media (max-width: 620px) {
  .topbar { flex-wrap: wrap; text-align: center; }
  h1 { font-size: 3.4rem; }
  .hero { min-height: 590px; }
  .signup form { flex-direction: column; }
  .signup button { border-radius: .18rem; }
}
