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

:root {
  --bg-cream: #f3ede4;
  --bg-warm: #e8dfd2;
  --tan: #c4ad93;
  --tan-deep: #a89278;
  --charcoal: #2e2820;
  --charcoal-soft: #4a4238;
  --text-secondary: #7a6f63;
  --text-muted: #9a8f82;
  --surface: rgba(255, 252, 247, 0.72);
  --surface-border: rgba(164, 146, 120, 0.28);
  --surface-shadow: rgba(46, 40, 32, 0.08);
  --font-title: "Outfit", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--bg-cream);
  overflow-x: hidden;
}

/* ── Background ── */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.background-image {
  position: absolute;
  inset: 0;
  background: var(--bg-cream) url("../assets/background.png") center / cover no-repeat;
}

.background-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(243, 237, 228, 0.15) 0%, rgba(243, 237, 228, 0.55) 100%),
    linear-gradient(to bottom, rgba(243, 237, 228, 0.25) 0%, transparent 30%, transparent 70%, rgba(243, 237, 228, 0.4) 100%);
}

/* ── Layout ── */

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 2rem;
}

.hero {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .hero {
    max-width: 960px;
  }
}

/* ── Reveal animations ── */

.reveal {
  --reveal-delay: 0s;
  animation: reveal-in 1s var(--ease-out-expo) var(--reveal-delay) both;
}

.hero > .reveal:nth-child(1) { --reveal-delay: 0s; }
.hero > .reveal:nth-child(2) { --reveal-delay: 0.12s; }
.hero > .reveal:nth-child(3) { --reveal-delay: 0.24s; }
.hero > .reveal:nth-child(4) { --reveal-delay: 0.36s; }
.hero > .reveal:nth-child(5) { --reveal-delay: 0.48s; }
.footer.reveal { --reveal-delay: 0.6s; }

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

/* ── Logo ── */

.logo-wrap {
  margin-bottom: 1.75rem;
}

.logo {
  display: block;
  width: min(180px, 48vw);
  height: auto;
}

/* ── Typography ── */

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  font-family: var(--font-title);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tan-deep);
  margin-bottom: 1.125rem;
}

.eyebrow-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tan), transparent);
  animation: line-expand 1.2s var(--ease-out-expo) 0.6s both;
}

@keyframes line-expand {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 2rem;
    opacity: 1;
  }
}

.headline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2em 0.35em;
  margin-bottom: 1.25rem;
}

.headline-word {
  display: inline-block;
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.tagline {
  max-width: 22rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--charcoal-soft);
  margin: 0;
}

/* ── Hero subcopy (tagline + badges) ── */

.hero-subcopy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .hero-subcopy {
    gap: 1.375rem;
  }

  .tagline {
    max-width: none;
    white-space: nowrap;
  }
}

/* ── Feature badges ── */

.feature-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
}

@media (min-width: 640px) {
  .feature-badges {
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .feature-badges {
    flex-wrap: nowrap;
  }
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  color: var(--charcoal-soft);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--tan-deep);
}

/* ── Status card ── */

.status-card {
  width: 100%;
  max-width: 540px;
}

.status-card-inner {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 1.375rem 1.5rem;
  background: var(--surface);
  border-radius: 1.25rem;
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 1px 2px var(--surface-shadow),
    0 8px 24px var(--surface-shadow);
  text-align: left;
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s ease;
}

.status-card:hover .status-card-inner {
  transform: translateY(-2px);
  box-shadow:
    0 1px 2px var(--surface-shadow),
    0 12px 32px rgba(46, 40, 32, 0.12);
}

.status-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 0.9375rem;
  background: rgba(196, 173, 147, 0.18);
  border: 1px solid rgba(168, 146, 120, 0.3);
  color: var(--tan-deep);
}

.status-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.status-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.status-title {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2.8vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--charcoal);
}

/* ── Footer ── */

.footer {
  margin-top: auto;
  padding-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.footer-ar {
  font-size: 0.75rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* ── Responsive ── */

@media (max-width: 480px) {
  .status-card-inner {
    gap: 0.875rem;
    padding: 1.125rem 1.25rem;
  }

  .status-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
  }

  .status-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .feature-badge {
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
  }

  .feature-badge svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .eyebrow-line {
    width: 1.25rem;
  }

  @keyframes line-expand {
    to {
      width: 1.25rem;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
