/* ═══════════════════════════════════════════════════════════════
   THANK YOU PAGE — style.css
   Reuses existing design system (tokens + container + typography)
═══════════════════════════════════════════════════════════════ */

/* Fonts: Archivo (WOFF2) via css/fonts.css; Lenia Sans via css/common.css */

/* ─── RESET & PAGE ───────────────────────────────────────────── */

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

html, body {
  height: 100%;
}

body {
  background: #131313;
  overflow-x: hidden;
}

.page {
  min-height: 100vh;
  background: #131313;
}

/* ─── DESIGN SYSTEM ───────────────────────────────────────────── */

:root {
  --color-bg: #131313;
  --color-surface: #0f0f0f;
  --color-text: #f0f0e5;
  --color-muted: #b3b3b3;
  --color-border: rgba(217, 217, 217, 0.2);
  --color-border-strong: rgba(240, 240, 229, 0.4);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 48px;
  --space-5: 80px;

  --radius-1: 16px;
  --radius-2: 24px;

  --container-max: 1200px;
  --content-max: 72ch;

  --header-height: 80px;
  --header-blur: 25px;
}

body {
  color: var(--color-text);
  background: var(--color-bg);
  font-family: 'Lenia Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(90%, var(--container-max));
  margin: 0 auto;
}

/* ─── NAVBAR ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-height);
}

.site-header__logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0.6em;
  color: var(--color-text);
}

.site-header__logo:focus-visible {
  outline: 2px solid rgba(240, 240, 229, 0.55);
  outline-offset: 6px;
  border-radius: 10px;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 40px;
  border-radius: var(--radius-1);
  border: 1px solid transparent;
  font-family: 'Lenia Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
  user-select: none;
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn--square {
  border-radius: 0;
}

.btn:focus-visible {
  outline: 2px solid rgba(240, 240, 229, 0.55);
  outline-offset: 4px;
}

/* ─── THANK YOU HERO ─────────────────────────────────────────── */

.thank-you {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: calc(var(--space-5) + 20px + var(--hero-top-bar-total, 0px)) 0 var(--space-5);
  overflow: hidden;
  text-align: center;
}

.thank-you__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  pointer-events: none;
}

.thank-you__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 35%, rgba(184, 92, 32, 0.22) 0%, rgba(19,19,19,0) 60%),
    linear-gradient(180deg, rgba(19,19,19,0.12) 0%, rgba(19,19,19,0.45) 60%, #131313 100%);
  pointer-events: none;
}

.thank-you__inner {
  position: relative;
  display: grid;
  gap: var(--space-1);
  justify-items: center;
}

.thank-you__breadcrumb {
  font-family: 'Archivo', sans-serif;
  font-weight: 200;
  font-size: clamp(12px, 1.8vw, 16px);
  line-height: 1.4;
  color: var(--color-text);
  opacity: 0.8;
}

.thank-you__title {
  font-family: 'Lenia Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.thank-you__subtitle {
  font-family: 'Archivo', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 2.2vw, 24px);
  line-height: 1.4;
  letter-spacing: 1px;
  color: #ffffff;
  opacity: 0.9;
  max-width: min(70ch, 100%);
}

.thank-you__action {
  position: absolute;
  left: 50%;
  bottom: clamp(40px, 8vh, 100px);
  transform: translateX(-50%);
  z-index: 1;
}

@media (max-width: 480px) {
  .thank-you__action {
    width: min(90%, 320px);
  }

  .thank-you__action .btn {
    width: 100%;
  }
}
