/* ============================================================
   Calupet — public landing (semi-stealth, pre-launch) at `/`.
   ------------------------------------------------------------
   STATIC page, served outside the WASM app (nginx serves this at
   `/`; the Leptos app mounts only under `/app/*`). Because this is
   its own HTML document, global selectors are safe — they never
   reach the dashboard.

   Aesthetic: brutalist + glassmorphism + reflections, scoped to
   this public landing only (knowingly diverges from the brand
   kit's neo-minimalist default — landing-only, per the locked
   landing decision). Login + app stay on-brand.

   Ported 1:1 from the Claude Design "Calupet Design System" landing
   UI kit (components/{Nav,Hero,FeatureGrid,FeatureSplit,Audiences,
   Combobox}.jsx + colors_and_type.css tokens). Per ADR-0002
   (Leptos web) + the CLAUDE.md per-route rendering rule
   ("SSR/static for marketing `/`").
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* -- Brand tokens (subset of colors_and_type.css :root) ------- */
:root {
  --cp-petrol:        #004860;
  --cp-petrol-dark:   #002D3E;
  --cp-petrol-light:  #337D96;
  --cp-cream:         #F0EEE9;
  --cp-orange:        #FB914A;
  --cp-orange-light:  #FDB882;
  --cp-teal:          #2A9D8F;
  --cp-coral:         #E76F51;
  --cp-amber:         #F4A261;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gradient-petrol: linear-gradient(140deg, #004860 0%, #002D3E 100%);
  --gradient-cta:    linear-gradient(135deg, #FB914A 0%, #E76F51 100%);
}

/* ============================================================
   Root page styles
   ============================================================ */
html, body { background: var(--cp-petrol); }
body {
  margin: 0;
  color: var(--cp-cream);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
img { max-width: 100%; }

/* The signature petrol gradient + orb backdrop — behind nav + hero. */
.cp-page-bg {
  position: relative;
  background: var(--gradient-petrol);
  color: var(--cp-cream);
  isolation: isolate;
  overflow: hidden;
}
.cp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.cp-orb--orange-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--cp-orange) 0%, transparent 70%);
  top: -120px; right: -120px;
}
.cp-orb--teal {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--cp-teal) 0%, transparent 70%);
  bottom: -80px; left: -120px;
  opacity: 0.45;
}
.cp-orb--coral {
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--cp-coral) 0%, transparent 70%);
  top: 38%; left: 18%;
  opacity: 0.30;
}

/* The canonical Calupet brutalist CTA (orange→coral with hard offset). */
.cp-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--cp-petrol-dark);
  background: var(--gradient-cta);
  border: 2px solid var(--cp-petrol-dark);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 6px 6px 0 0 var(--cp-petrol-dark);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.cp-btn-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--cp-petrol-dark);
}
.cp-btn-cta:active {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 0 var(--cp-petrol-dark);
}
.cp-btn-cta--sm { padding: 10px 18px; font-size: 14px; box-shadow: 4px 4px 0 0 var(--cp-petrol-dark); }
.cp-btn-cta--sm:hover { box-shadow: 6px 6px 0 0 var(--cp-petrol-dark); }
.cp-btn-cta--lg { padding: 18px 30px; font-size: 17px; box-shadow: 8px 8px 0 0 var(--cp-petrol-dark); }
.cp-btn-cta--lg:hover { box-shadow: 10px 10px 0 0 var(--cp-petrol-dark); }
.cp-btn-cta--xl {
  padding: 22px 38px;
  font-size: 19px;
  box-shadow: 10px 10px 0 0 var(--cp-petrol-dark);
}
.cp-btn-cta--xl:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 0 var(--cp-petrol-dark);
}

/* On phones the hard-offset shadows get clipped against the viewport
   edge — soften them so the brutalist feel survives. */
@media (max-width: 640px) {
  .cp-btn-cta       { box-shadow: 4px 4px 0 0 var(--cp-petrol-dark); padding: 14px 20px; font-size: 15px; }
  .cp-btn-cta:hover { box-shadow: 6px 6px 0 0 var(--cp-petrol-dark); }
  .cp-btn-cta--sm   { box-shadow: 3px 3px 0 0 var(--cp-petrol-dark); padding: 9px 14px; font-size: 13px; }
  .cp-btn-cta--lg   { box-shadow: 5px 5px 0 0 var(--cp-petrol-dark); padding: 15px 22px; font-size: 16px; }
  .cp-btn-cta--xl   { padding: 16px 24px; font-size: 16px; box-shadow: 5px 5px 0 0 var(--cp-petrol-dark); }
  .cp-btn-cta--xl:hover { box-shadow: 7px 7px 0 0 var(--cp-petrol-dark); }
}

/* Shared keyframes. */
@keyframes cp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.9); }
}
@keyframes cp-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Nav
   ============================================================ */
.cp-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 48px;
  border-bottom: 1px solid rgba(240, 238, 233, 0.10);
}
.cp-nav-logo { display: inline-flex; align-items: center; }
.cp-nav-logo img { display: block; height: 80px; width: auto; }
.cp-nav-actions { display: flex; align-items: center; gap: 14px; }
.cp-nav-link {
  background: transparent;
  border: none;
  color: rgba(240, 238, 233, 0.82);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  padding: 8px 10px;
  transition: color 220ms var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.cp-nav-link:hover { color: var(--cp-cream); }
@media (max-width: 720px) {
  .cp-nav { padding: 16px 22px; gap: 10px; flex-wrap: wrap; }
  .cp-nav-logo img { height: 56px; }
  .cp-nav-link { padding: 6px 8px; }
}

/* Language switcher — 3-segment pill (EN | DE | ES). */
.cp-lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(240, 238, 233, 0.06);
  border: 1px solid rgba(240, 238, 233, 0.16);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cp-lang-opt {
  background: transparent;
  border: none;
  color: rgba(240, 238, 233, 0.62);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}
.cp-lang-opt:hover { color: var(--cp-cream); }
.cp-lang-opt--on { background: var(--cp-cream); color: var(--cp-petrol); }

/* ============================================================
   Hero
   ============================================================ */
.cp-hero {
  position: relative;
  padding: 56px 48px 96px;
  overflow: hidden;
}
.cp-hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
  opacity: 0.6;
}
.cp-hero-grid > div { border-right: 1px solid rgba(240, 238, 233, 0.06); }
.cp-hero-grid > div:last-child { border-right: none; }

.cp-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.cp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(240, 238, 233, 0.25);
  border-radius: 9999px;
  background: rgba(240, 238, 233, 0.04);
  color: rgba(240, 238, 233, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cp-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--cp-orange);
  box-shadow: 0 0 12px var(--cp-orange);
  animation: cp-pulse 2s ease-in-out infinite;
}

.cp-hero-title {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--cp-cream);
  margin: 24px 0 28px;
  text-wrap: balance;
}
.cp-hero-title-accent {
  background: linear-gradient(135deg, #FB914A 0%, #FDB882 50%, #E76F51 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.cp-hero-title-tail { color: var(--cp-cream); }

.cp-hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(240, 238, 233, 0.82);
  max-width: 580px;
  margin: 0 0 36px;
  text-wrap: pretty;
}

.cp-hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cp-btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--cp-cream);
  border: 1px solid rgba(240, 238, 233, 0.30);
  padding: 16px 22px;
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 220ms var(--ease-out);
}
.cp-btn-ghost-light:hover { background: rgba(240, 238, 233, 0.06); }
.cp-btn-ghost-aside { color: rgba(240, 238, 233, 0.55); font-weight: 500; font-size: 14px; }

.cp-hero-right { display: flex; justify-content: center; align-items: center; }

@media (max-width: 1024px) {
  .cp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .cp-hero-right { order: -1; }
}
@media (max-width: 640px) {
  .cp-hero { padding: 24px 18px 56px; }
  .cp-hero-title { font-size: clamp(36px, 11vw, 56px); }
  .cp-hero-sub { font-size: 16.5px; margin-bottom: 28px; }
  .cp-hero-cta-row { gap: 10px; width: 100%; }
  .cp-hero-cta-row > * { width: 100%; justify-content: center; }
  .cp-btn-ghost-light { padding: 14px 18px; font-size: 15px; flex-direction: column; gap: 2px; }
  .cp-btn-ghost-aside { font-size: 12px; }
  .cp-hero-grid { display: none; }
}

/* ============================================================
   Glass preview card (+ mirror reflection)
   ============================================================ */
.cp-preview {
  position: relative;
  width: min(400px, 100%);
  isolation: isolate;
  animation: cp-float 6s ease-in-out infinite;
}
@keyframes cp-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.cp-preview-card {
  position: relative;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  padding: 16px;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: var(--cp-cream);
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cp-preview-head { display: flex; align-items: center; gap: 8px; padding: 2px 6px; }
.cp-preview-head img { opacity: 0.95; }
.cp-preview-build {
  margin-left: auto;
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(240, 238, 233, 0.55);
  text-transform: uppercase;
}
.cp-preview-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.cp-preview-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(115%);
  transform: scale(1.1);
}
.cp-preview-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,72,96,0.45), rgba(0,45,62,0.65));
}
.cp-preview-stamp {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--cp-cream);
  text-align: center;
  line-height: 1;
}
.cp-ps-line1, .cp-ps-line2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.cp-ps-line2 { color: var(--cp-orange); }
.cp-preview-pill {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cp-cream);
}
.cp-preview-pill-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--cp-orange);
  box-shadow: 0 0 8px var(--cp-orange);
  animation: cp-pulse 1.6s ease-in-out infinite;
}
.cp-preview-foot { display: flex; flex-direction: column; gap: 8px; padding: 4px 6px 2px; }
.cp-pf-row { display: flex; align-items: center; gap: 12px; }
.cp-pf-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(240, 238, 233, 0.82);
  width: 130px;
  flex-shrink: 0;
}
.cp-pf-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(240, 238, 233, 0.10);
  overflow: hidden;
}
.cp-pf-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--cp-orange), var(--cp-coral));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(251, 145, 74, 0.5);
}
.cp-preview-reflection {
  position: absolute;
  inset: auto 0 -100% 0;
  height: 100%;
  transform: scaleY(-1);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, transparent 55%);
  pointer-events: none;
  filter: blur(0.5px);
}
.cp-preview-reflection .cp-preview-card { box-shadow: none; }
@media (max-width: 640px) {
  .cp-preview { width: min(340px, 92%); }
  .cp-preview-card { padding: 14px; border-radius: 24px; }
  .cp-ps-line1, .cp-ps-line2 { font-size: 22px; }
}

/* ============================================================
   Shared section heads (features + waitlist eyebrow)
   ============================================================ */
.cp-section-eyebrow {
  display: inline-block;
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cp-orange);
  margin-bottom: 16px;
}
.cp-section-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
  text-wrap: balance;
}
.cp-section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(0, 72, 96, 0.72);
  margin: 0;
  text-wrap: pretty;
}

/* ============================================================
   Feature grid (6 brutalist tiles)
   ============================================================ */
.cp-features {
  position: relative;
  background: var(--cp-cream);
  color: var(--cp-petrol);
  padding: 120px 48px;
}
.cp-features-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.cp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  border: 2px solid var(--cp-petrol);
  background: var(--cp-petrol);
}
.cp-feat {
  position: relative;
  background: var(--cp-cream);
  padding: 36px 32px 40px;
  border-right: 2px solid var(--cp-petrol);
  border-bottom: 2px solid var(--cp-petrol);
  transition: background 220ms var(--ease-out);
}
.cp-feat:nth-child(3n)  { border-right: none; }
.cp-feat:nth-last-child(-n+3) { border-bottom: none; }
.cp-feat:hover { background: #FFF; }
.cp-feat-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--feat-tint);
  border: 2px solid var(--cp-petrol);
  box-shadow: 4px 4px 0 0 var(--cp-petrol);
  margin-bottom: 22px;
}
.cp-feat-icon img {
  width: 32px; height: 32px;
  filter: invert(15%) sepia(50%) saturate(2000%) hue-rotate(160deg) brightness(0.4);
}
.cp-feat-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.cp-feat-body {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(0, 72, 96, 0.72);
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 1024px) {
  .cp-features { padding: 80px 32px; }
  .cp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-feat:nth-child(3n)  { border-right: 2px solid var(--cp-petrol); }
  .cp-feat:nth-child(2n)  { border-right: none; }
  .cp-feat:nth-last-child(-n+3) { border-bottom: 2px solid var(--cp-petrol); }
  .cp-feat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 640px) {
  .cp-features { padding: 56px 18px; }
  .cp-features-head { margin-bottom: 36px; }
  .cp-section-title { font-size: clamp(28px, 8vw, 40px); }
  .cp-section-sub { font-size: 15.5px; }
  .cp-features-grid { grid-template-columns: 1fr; }
  .cp-feat {
    border-right: none !important;
    border-bottom: 2px solid var(--cp-petrol) !important;
    padding: 28px 22px 32px;
  }
  .cp-feat:last-child { border-bottom: none !important; }
  .cp-feat-icon { width: 48px; height: 48px; box-shadow: 3px 3px 0 0 var(--cp-petrol); }
  .cp-feat-icon img { width: 26px; height: 26px; }
  .cp-feat-title { font-size: 20px; }
}

/* ============================================================
   Coming soon + On the horizon
   ============================================================ */
.cp-soon {
  background: var(--cp-cream);
  color: var(--cp-petrol);
  padding: 24px 48px 120px;
}
.cp-soon-inner { max-width: 1280px; margin: 0 auto; }
.cp-soon-head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.cp-soon-eyebrow, .cp-horizon-eyebrow {
  display: inline-block;
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cp-orange);
  margin-bottom: 16px;
}
.cp-soon-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.cp-soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 2px solid var(--cp-petrol);
  background: var(--cp-petrol);
}
.cp-soon-card {
  background: var(--cp-cream);
  padding: 36px 36px 40px;
  border-right: 2px solid var(--cp-petrol);
  position: relative;
}
.cp-soon-card:last-child { border-right: none; }
.cp-soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--cp-petrol);
  color: var(--cp-cream);
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.cp-soon-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--soon-tint);
  border: 2px solid var(--cp-petrol);
  box-shadow: 4px 4px 0 0 var(--cp-petrol);
  margin-bottom: 22px;
}
.cp-soon-icon img {
  width: 32px; height: 32px;
  filter: invert(15%) sepia(50%) saturate(2000%) hue-rotate(160deg) brightness(0.4);
}
.cp-soon-card-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}
.cp-soon-card-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(0, 72, 96, 0.72);
  margin: 0;
  text-wrap: pretty;
}
.cp-horizon {
  margin-top: 96px;
  padding: 56px 48px;
  background: var(--cp-petrol);
  color: var(--cp-cream);
  border: 2px solid var(--cp-petrol);
  box-shadow: 14px 14px 0 0 rgba(0, 72, 96, 0.15);
  text-align: center;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.cp-horizon-eyebrow { color: var(--cp-orange-light); margin-bottom: 14px; }
.cp-horizon-line {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  color: rgba(240, 238, 233, 0.90);
}
.cp-horizon-accent {
  background: linear-gradient(135deg, #FB914A 0%, #FDB882 50%, #E76F51 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
@media (max-width: 900px) {
  .cp-soon { padding: 16px 32px 96px; }
  .cp-soon-grid { grid-template-columns: 1fr; }
  .cp-soon-card { border-right: none; border-bottom: 2px solid var(--cp-petrol); }
  .cp-soon-card:last-child { border-bottom: none; }
  .cp-horizon { padding: 40px 28px; margin-top: 64px; }
}
@media (max-width: 640px) {
  .cp-soon { padding: 4px 18px 56px; }
  .cp-soon-head { margin-bottom: 36px; }
  .cp-soon-title { font-size: clamp(26px, 7vw, 36px); }
  .cp-soon-card { padding: 26px 22px 30px; }
  .cp-soon-icon { width: 48px; height: 48px; box-shadow: 3px 3px 0 0 var(--cp-petrol); }
  .cp-soon-icon img { width: 26px; height: 26px; }
  .cp-soon-card-title { font-size: 22px; }
  .cp-soon-card-body { font-size: 14.5px; }
  .cp-horizon {
    margin-top: 48px;
    padding: 32px 22px;
    box-shadow: 6px 6px 0 0 rgba(0,72,96,0.15);
  }
  .cp-horizon-line { font-size: 17px; line-height: 1.45; }
}

/* ============================================================
   Waitlist section
   ============================================================ */
.cp-waitlist {
  background: var(--cp-petrol);
  color: var(--cp-cream);
  padding: 140px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cp-waitlist::before {
  content: ''; position: absolute;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(251,145,74,0.30), transparent 65%);
  left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}
.cp-waitlist::after {
  content: ''; position: absolute;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(42,157,143,0.22), transparent 65%);
  right: -100px; top: 0;
  filter: blur(80px);
  pointer-events: none;
}
.cp-waitlist-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.cp-waitlist-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 18px 0 24px;
  text-wrap: balance;
}
.cp-waitlist-title-accent {
  background: linear-gradient(135deg, #FB914A 0%, #FDB882 50%, #E76F51 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cp-waitlist-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(240, 238, 233, 0.80);
  margin: 0 auto 36px;
  max-width: 620px;
  text-wrap: pretty;
}
.cp-waitlist-row { display: flex; justify-content: center; margin-bottom: 18px; }
.cp-waitlist-fine { font-size: 13px; color: rgba(240, 238, 233, 0.55); margin: 0; }
@media (max-width: 640px) {
  .cp-waitlist { padding: 72px 18px; }
  .cp-waitlist-title { font-size: clamp(34px, 9vw, 52px); margin-bottom: 18px; }
  .cp-waitlist-sub { font-size: 16px; margin-bottom: 28px; }
}

/* ============================================================
   Footer
   ============================================================ */
.cp-footer {
  background: var(--cp-petrol-dark);
  color: rgba(240, 238, 233, 0.78);
  padding: 36px 24px 28px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-top: 1px solid rgba(240, 238, 233, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cp-footer-tag { display: inline-flex; align-items: center; gap: 8px; }
.cp-footer-paw { font-size: 16px; filter: saturate(1.2); }
.cp-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(240, 238, 233, 0.50);
  font-weight: 500;
  flex-wrap: wrap;
  justify-content: center;
}
.cp-footer-legal a {
  color: rgba(240, 238, 233, 0.72);
  text-decoration: none;
  transition: color 220ms var(--ease-out);
}
.cp-footer-legal a:hover { color: var(--cp-cream); }

/* ============================================================
   Signup form modal
   ============================================================ */
.cp-form-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 30, 43, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: cp-fade 220ms var(--ease-out);
}
.cp-form-stage { position: relative; width: 100%; max-width: 520px; isolation: isolate; }
.cp-form-bg { position: absolute; inset: -40px; pointer-events: none; overflow: hidden; border-radius: 32px; }
.cp-form-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.cp-form-orb--orange {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--cp-orange) 0%, transparent 70%);
  top: -120px; right: -120px; opacity: 0.5;
}
.cp-form-orb--teal {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--cp-teal) 0%, transparent 70%);
  bottom: -120px; left: -120px; opacity: 0.35;
}
.cp-form-card {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  padding: 32px 32px 28px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  color: var(--cp-cream);
  font-family: var(--font-sans);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  animation: cp-card-in 380ms var(--ease-out) both;
}
@keyframes cp-card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.cp-form-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9999px;
  color: var(--cp-cream);
  cursor: pointer;
  transition: background 180ms var(--ease-out);
}
.cp-form-close:hover { background: rgba(255,255,255,0.16); }
.cp-form-lockup { display: flex; justify-content: center; margin-bottom: 22px; }
.cp-form-anim { animation: cp-step 320ms var(--ease-out) both; }
@keyframes cp-step {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cp-form-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  margin: 0 0 8px;
}
.cp-form-sub {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(240, 238, 233, 0.78);
  text-align: center;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.cp-field { display: block; margin-bottom: 14px; }
.cp-field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(240, 238, 233, 0.85);
  margin-bottom: 6px;
}
.cp-field-opt { color: rgba(240, 238, 233, 0.5); font-weight: 500; }
.cp-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--cp-cream);
  font: inherit;
  font-size: 15px;
  transition:
    border-color 180ms var(--ease-out),
    background   180ms var(--ease-out),
    box-shadow   180ms var(--ease-out);
  box-sizing: border-box;
}
.cp-input::placeholder { color: rgba(240, 238, 233, 0.40); }
.cp-input:focus {
  outline: none;
  border-color: var(--cp-orange);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 3px rgba(251, 145, 74, 0.30);
}
.cp-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.cp-radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin: 6px 0 14px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  cursor: pointer;
}
.cp-consent input { position: absolute; opacity: 0; pointer-events: none; }
.cp-consent-mark {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.30);
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent;
  transition: background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.cp-consent-mark svg { width: 14px; height: 14px; }
.cp-consent input:checked + .cp-consent-mark {
  background: var(--cp-orange);
  border-color: var(--cp-orange);
  color: var(--cp-petrol-dark);
}
.cp-consent-text { font-size: 13px; line-height: 1.5; color: rgba(240, 238, 233, 0.82); }
.cp-form-err {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: rgba(231, 111, 81, 0.15);
  border: 1px solid rgba(231, 111, 81, 0.35);
  border-radius: 10px;
  color: var(--cp-coral);
  font-size: 13.5px;
  font-weight: 500;
}
.cp-form-cta {
  width: 100%;
  height: 50px;
  padding: 0 22px;
  background: linear-gradient(135deg, #FB914A 0%, #E76F51 100%);
  color: var(--cp-petrol-dark);
  border: 2px solid var(--cp-petrol-dark);
  border-radius: 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 6px 6px 0 0 var(--cp-petrol-dark);
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    filter 180ms var(--ease-out);
}
.cp-form-cta:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--cp-petrol-dark);
}
.cp-form-cta:active:not(:disabled) {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 0 var(--cp-petrol-dark);
}
.cp-form-cta:disabled { opacity: 0.7; cursor: not-allowed; }
.cp-form-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(0, 45, 62, 0.25);
  border-top-color: var(--cp-petrol-dark);
  border-radius: 50%;
  animation: cp-spin 700ms linear infinite;
}
@keyframes cp-spin { to { transform: rotate(360deg); } }
.cp-form-success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FB914A 0%, #E76F51 100%);
  color: var(--cp-petrol-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 10px 30px rgba(231, 111, 81, 0.35);
  animation: cp-pop 480ms var(--ease-spring) both;
}
@keyframes cp-pop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
.cp-form-link {
  background: none; border: none;
  color: var(--cp-orange);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  padding: 8px 10px;
}
.cp-form-link:hover { text-decoration: underline; }
@media (max-width: 480px) {
  .cp-form-overlay { padding: 0; align-items: stretch; }
  .cp-form-card {
    padding: 28px 22px 24px;
    border-radius: 0;
    border: none;
    background: rgba(0, 35, 50, 0.92);
    max-height: 100vh;
    min-height: 100vh;
  }
  .cp-row-2 { grid-template-columns: 1fr; }
}

/* Platform radio (iOS / Android). */
.cp-platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--cp-cream);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}
.cp-platform:hover { background: rgba(255, 255, 255, 0.14); }
.cp-platform svg { width: 18px; height: 18px; }
.cp-platform--on {
  background: rgba(251, 145, 74, 0.18);
  border-color: var(--cp-orange);
  box-shadow: 0 0 0 3px rgba(251, 145, 74, 0.20);
  color: var(--cp-cream);
}

/* Combobox (City / Country / Kind of pet). */
.cp-cb { position: relative; display: block; }
.cp-cb-wrap { position: relative; }
.cp-cb-input { padding-right: 38px; }
.cp-cb-caret {
  position: absolute;
  top: 50%; right: 14px;
  transform: translateY(-50%);
  color: rgba(240, 238, 233, 0.55);
  pointer-events: none;
}
.cp-cb-list {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  z-index: 30;
  background: rgba(0, 25, 36, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: cp-cb-in 160ms var(--ease-out);
}
@keyframes cp-cb-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cp-cb-group {
  padding: 8px 10px 4px;
  font-family: ui-monospace, "JetBrains Mono", Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cp-orange);
}
.cp-cb-opt {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cp-cream);
  cursor: pointer;
  transition: background 120ms var(--ease-out);
}
.cp-cb-opt--hi { background: rgba(251, 145, 74, 0.18); color: var(--cp-cream); }
.cp-cb-list::-webkit-scrollbar { width: 8px; }
.cp-cb-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 4px; }

/* Honeypot — off-screen, never shown to humans. */
.cp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Utility. */
[hidden] { display: none !important; }
