:root {
  --background: oklch(0.13 0.005 60);
  --foreground: oklch(0.97 0.005 60);
  --card: oklch(0.16 0.005 60);
  --accent: #022f6f;
  --accent-back: #000000;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cta-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.cta-wrap {
  width: 100%;
  position: relative;
}

.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dither-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#dither-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.cta-inner {
  position: relative;
  z-index: 10;
  padding: clamp(80px, 14vh, 140px) clamp(20px, 5vw, 48px) clamp(48px, 10vh, 96px);
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(7px, 1vw, 10px) clamp(14px, 2vw, 22px);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: clamp(20px, 3vw, 36px);
  white-space: nowrap;
}

.ping {
  position: relative;
  display: inline-flex;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
.ping::before, .ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #ffffff;
}
.ping::before {
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.headline {
  font-family: 'Open Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 clamp(20px, 3vw, 32px);
  line-height: 1.05;
  font-size: clamp(40px, 8vw, 80px);
  text-wrap: balance;
}
.headline .muted {
  color: #ffffff;
}

.description {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.7vw, 18px);
  max-width: 640px;
  margin: 0 0 18px;
  line-height: 1.6;
  text-wrap: pretty;
}
.description:last-of-type {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: clamp(48px, 5.5vw, 56px);
  padding: 0 clamp(22px, 3vw, 32px);
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #0b275e;
  font-family: inherit;
  font-size: clamp(15px, 1.4vw, 16px);
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 300ms cubic-bezier(.2, .7, .1, 1), box-shadow 300ms, background-color 300ms;
}
.cta-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  background: #f5f5f5;
}
.cta-btn:active {
  transform: scale(0.97);
}
.cta-btn .mail-icon {
  transition: transform 300ms cubic-bezier(.2, .7, .1, 1);
}
.cta-btn:hover .mail-icon {
  transform: translateX(-2px);
}

.brand-logo {
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  left: clamp(18px, 3vw, 40px);
  z-index: 20;
  height: clamp(18px, 2.4vw, 28px);
  width: auto;
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 380px) {
  .pill-badge { font-size: 13px; padding: 7px 14px; }
  .description { font-size: 15px; }
}

@media (max-height: 600px) and (orientation: landscape) {
  .cta-inner { padding-top: 64px; padding-bottom: 40px; }
  .headline { font-size: clamp(28px, 5vw, 56px); }
}

@media (prefers-reduced-motion: reduce) {
  .ping::before { animation: none; }
  .cta-btn, .cta-btn .mail-icon { transition: none; }
}
