@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-bg: #ffffff;
  --page-text: #111111;
  --page-muted: #666666;
  --page-border: #dbe4f0;
  --page-surface: #f7faff;
  --page-accent: #0b57ff;
  --page-accent-hover: #0947cf;
  --page-shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --page-radius: 20px;
  --page-width: 800px;
}

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

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

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  padding: 50px 20px;
}

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

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 87, 255, 0.08);
  color: var(--page-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.lede {
  max-width: 68ch;
  color: var(--page-muted);
}

.panel {
  margin-top: 12px;
  border: 1px solid var(--page-border);
  border-radius: var(--page-radius);
  background: linear-gradient(180deg, #ffffff 0%, var(--page-surface) 100%);
  box-shadow: var(--page-shadow);
  overflow: hidden;
}

.embed-shell {
  position: relative;
  min-height: 320px;
  padding: 18px;
  opacity: 0;
  transform: translateY(18px);
  animation: shell-fade 0.7s ease forwards;
}

.embed-shell::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(11, 87, 255, 0.04), rgba(11, 87, 255, 0.1), rgba(11, 87, 255, 0.04));
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  transition: opacity 0.35s ease;
}

.embed-shell.is-loaded::before {
  opacity: 0;
}

.embed-shell > * {
  position: relative;
  z-index: 1;
}

.footer-note {
  font-size: 0.875rem;
  color: var(--page-muted);
}

.checkmark-wrap {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(11, 87, 255, 0.1);
}

.checkmark {
  width: 42px;
  height: 42px;
  color: var(--page-accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--page-accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--page-accent-hover);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(11, 87, 255, 0.2);
  outline-offset: 2px;
}

.ready-copy {
  max-width: 52ch;
}

.legal-header {
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--page-muted);
}

.legal-card {
  border: 1px solid var(--page-border);
  border-radius: var(--page-radius);
  background: linear-gradient(180deg, #ffffff 0%, var(--page-surface) 100%);
  box-shadow: var(--page-shadow);
  padding: 28px;
}

.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-section h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  color: var(--page-muted);
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.button-secondary {
  background: #ffffff;
  color: var(--page-text);
  border: 1px solid var(--page-border);
}

.button.button-secondary:hover {
  background: var(--page-surface);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 960px);
  z-index: 1100;
  border: 1px solid var(--page-border);
  border-radius: var(--page-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--page-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.cookie-banner-copy {
  max-width: 64ch;
}

.cookie-banner-copy p {
  font-size: 0.95rem;
  color: var(--page-muted);
}

.cookie-banner-copy a {
  color: var(--page-accent);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--page-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--page-text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner-button:hover {
  background: var(--page-surface);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@keyframes shell-fade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

  .panel {
    border-radius: 16px;
  }

  .embed-shell {
    padding: 14px;
  }

  .embed-shell::before {
    inset: 14px;
  }

  .legal-card {
    padding: 20px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
