:root {
  --bg: #f4efe7;
  --bg-deep: #e7ddcf;
  --card: rgba(255, 251, 245, 0.78);
  --line: rgba(91, 63, 45, 0.14);
  --text: #241712;
  --muted: #75584a;
  --accent: #b86d4f;
  --shadow: 0 24px 70px rgba(79, 53, 40, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(184, 109, 79, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(149, 120, 90, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: auto;
  width: 32vmin;
  height: 32vmin;
  border: 1px solid rgba(184, 109, 79, 0.18);
  border-radius: 42% 58% 44% 56%;
  content: "";
  pointer-events: none;
}

body::before {
  top: 7vh;
  left: 5vw;
  transform: rotate(14deg);
}

body::after {
  right: 6vw;
  bottom: 8vh;
  transform: rotate(-18deg);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 24px max(16px, env(safe-area-inset-bottom));
  overflow-x: hidden;
}

.hero__halo {
  position: absolute;
  width: min(86vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 66%),
    radial-gradient(circle at 50% 50%, rgba(184, 109, 79, 0.2), rgba(184, 109, 79, 0) 58%);
  filter: blur(12px);
}

.hero__card {
  position: relative;
  width: min(100%, 980px);
  max-width: 100%;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: clamp(0.72rem, 1.6vw, 0.92rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: clamp(1.95rem, 10vw, 5.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.hero__note {
  max-width: 32rem;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .hero {
    padding: 16px;
  }

  .hero__card {
    border-radius: 24px;
    padding: 24px 20px;
  }

  h1 {
    letter-spacing: -0.04em;
  }
}

@media (max-width: 420px) {
  .hero__card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(1.7rem, 10.5vw, 2.45rem);
  }

  .hero__note {
    margin-top: 16px;
    font-size: 0.95rem;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .hero {
    padding: 12px;
  }

  .hero__card {
    width: min(76vw, 430px);
    min-height: calc(100dvh - 24px);
    display: grid;
    align-content: center;
    padding: 22px 18px;
    border-radius: 28px;
  }

  .hero__halo {
    width: min(70vw, 520px);
  }

  h1 {
    font-size: clamp(1.35rem, 5vh, 2.25rem);
    line-height: 1;
  }

  .hero__note {
    margin-top: 12px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
