:root {
  color-scheme: dark;
  --bg-base: #060816;
  --bg-deep: #0b1430;
  --bg-accent: #1a1232;
  --text-primary: #f5f7ff;
  --text-secondary: #adb7d5;
  --text-muted: #8390b4;
  --panel-bg: rgba(10, 16, 34, 0.72);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-shadow: rgba(0, 0, 0, 0.44);
  --message-bg: rgba(255, 255, 255, 0.05);
  --message-border: rgba(255, 255, 255, 0.1);
  --button-bg: linear-gradient(180deg, #ffffff 0%, #dfe8ff 100%);
  --button-text: #081121;
  --button-shadow: rgba(137, 170, 255, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-base);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  position: relative;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top, rgba(98, 126, 255, 0.24), transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(118, 72, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(70, 210, 255, 0.12), transparent 28%),
    linear-gradient(160deg, var(--bg-base) 0%, var(--bg-deep) 48%, var(--bg-accent) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.5;
}

body::before {
  top: -15rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(72, 119, 255, 0.42), transparent 66%);
}

body::after {
  right: -14rem;
  bottom: -16rem;
  background: radial-gradient(circle, rgba(126, 76, 255, 0.26), transparent 68%);
}

.shell {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
  position: relative;
  z-index: 1;
}

.panel {
  width: min(100%, 720px);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel-bg);
  box-shadow:
    0 30px 80px -24px var(--panel-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

@supports ((-webkit-backdrop-filter: blur(24px)) or (backdrop-filter: blur(24px))) {
  .panel {
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
  }
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.76rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.subtitle {
  max-width: 36ch;
  margin: 20px auto 0;
  font-size: clamp(1rem, 2.5vw, 1.14rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.lede {
  max-width: 42rem;
  margin: 24px auto 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 247, 255, 0.9);
}

.proof-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
}

.proof-point {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
}

.message {
  min-height: 72px;
  max-width: 34rem;
  margin: 34px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--message-border);
  border-radius: 20px;
  background: var(--message-bg);
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.message:empty::before {
  content: "Contact us if you want availability details, transfer timing, or additional context about the name.";
  color: var(--text-muted);
}

.email-button {
  min-width: 160px;
  margin-top: 30px;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-text);
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  box-shadow:
    0 18px 40px -20px var(--button-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease,
    filter 160ms ease;
}

.email-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
    0 24px 54px -22px var(--button-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  filter: brightness(1.03);
}

.email-button:active:not(:disabled) {
  transform: translateY(0);
}

.email-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
}

.email-button:focus-visible {
  outline: 3px solid rgba(181, 202, 255, 0.4);
  outline-offset: 4px;
}

.fine-print {
  max-width: 34rem;
  margin: 18px auto 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  body::before,
  body::after {
    width: 28rem;
    height: 28rem;
    filter: blur(48px);
    opacity: 0.5;
  }

  .panel {
    width: 100%;
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

  .message {
    margin-top: 28px;
    padding: 16px 17px;
  }

  .proof-points {
    gap: 8px;
    margin-top: 24px;
  }

  .proof-point {
    font-size: 0.88rem;
  }

  .email-button {
    width: 100%;
    margin-top: 26px;
  }
}

@media (min-width: 900px) {
  .panel {
    padding: 72px 72px 68px;
  }
}
