:root {
  --bg: #f4f1eb;
  --ink: #151515;
  --muted: #6f6a61;
  --card: rgba(255, 255, 255, 0.68);
  --border: rgba(21, 21, 21, 0.12);
  --shadow: 0 30px 90px rgba(34, 28, 20, 0.16);
  --accent: #101010;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.95), transparent 34rem),
    linear-gradient(135deg, #f7f4ef 0%, #ebe4d9 52%, #dcd2c2 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(21, 21, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 80%);
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  isolation: isolate;
}

.background-name {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: -2;
  margin: 0;
  translate: -50% -52%;
  white-space: nowrap;
  font-family: "Great Vibes", cursive;
  font-size: clamp(6rem, 17vw, 18rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: rgba(20, 20, 20, 0.055);
  text-transform: uppercase;
  user-select: none;
}

.ambient {
  position: fixed;
  z-index: -3;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
}

.ambient-one {
  top: -12rem;
  right: -10rem;
  background: rgba(200, 177, 141, 0.65);
}

.ambient-two {
  bottom: -14rem;
  left: -12rem;
  background: rgba(130, 119, 104, 0.3);
}

.card {
  width: min(100%, 640px);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(150%);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  animation: rise 800ms cubic-bezier(.2,.8,.2,1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f1f1f;
  box-shadow: 0 0 0 6px rgba(31, 31, 31, 0.08);
}

h1 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(3.8rem, 8vw, 6.7rem);
  font-weight: 400;
  font-style: normal;
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.headline {
  max-width: 440px;
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.description {
  max-width: 430px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(21, 21, 21, 0.12);
}

.button:focus-visible {
  outline: 3px solid rgba(21, 21, 21, 0.28);
  outline-offset: 4px;
}

.primary {
  color: #fff;
  background: var(--accent);
}

.secondary {
  background: rgba(255, 255, 255, 0.58);
}

footer {
  position: absolute;
  bottom: 24px;
  color: rgba(21, 21, 21, 0.46);
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 20px;
  }

  .background-name {
    font-size: 4.4rem;
    letter-spacing: -0.1em;
    opacity: 0.8;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .card {
    border-radius: 28px;
  }

  .actions,
  .button {
    width: 100%;
  }

  footer {
    position: fixed;
    bottom: 14px;
  }
}
