:root {
  color-scheme: dark;
  --gold: #f2d28a;
  --gold-soft: #caa767;
  --paper: #fff6dc;
  --wine: #320b10;
}

* { box-sizing: border-box; }

html { background: #160608; }

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 0%, rgba(136, 48, 31, .35), transparent 38rem),
    linear-gradient(180deg, #26090d 0%, #110506 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", sans-serif;
}

.hero {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 1.25rem 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 2, 4, .22), rgba(25, 5, 7, .94)),
    url("assets/ceremony-preview-background.png") center/cover no-repeat;
  filter: saturate(.88);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(52rem, 100%);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .72);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif", serif;
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  line-height: 1.07;
  color: #fff6d8;
}

.subtitle {
  margin: 1.4rem auto 0;
  max-width: 44rem;
  font-size: clamp(1.1rem, 3.4vw, 1.55rem);
  line-height: 1.65;
}

.description {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: #ead9b7;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  line-height: 1.75;
}

.content {
  width: min(68rem, calc(100% - 2rem));
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.feature {
  padding: 1.3rem 1rem;
  border: 1px solid rgba(242, 210, 138, .25);
  border-radius: 1rem;
  background: rgba(47, 11, 15, .88);
  backdrop-filter: blur(12px);
}

.feature h2 {
  margin: 0 0 .5rem;
  color: var(--gold);
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: #dbcaa8;
  font-size: .92rem;
  line-height: 1.55;
}

.counter, .motto {
  text-align: center;
}

.counter {
  margin: 2.4rem 0 .5rem;
  color: #f3dfb6;
  font-size: 1.05rem;
}

.motto {
  margin: .5rem 0 1.8rem;
  color: var(--gold);
  font-family: Georgia, "Noto Serif", serif;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
}

.store-link {
  min-width: 15rem;
  padding: .95rem 1.25rem;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: #231106;
  background: linear-gradient(180deg, #ffe8a9, #d8ad5a);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.store-link:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.languages {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2.2rem;
}

.languages a {
  color: #d9c59c;
  text-decoration: none;
  padding: .35rem .55rem;
}

.languages a[aria-current="page"] { color: #fff; text-decoration: underline; }

@media (max-width: 800px) {
  .hero { min-height: 36rem; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .hero { min-height: 34rem; padding-top: 4rem; }
  .features { grid-template-columns: 1fr; }
  .store-link { width: 100%; min-width: 0; }
}

