/* ─────────────────────────────────────────────────────────────────
   Policy Daddy — AI Growth Partner
   Light mode · blue accent on .io
   Font: Outfit (display + body) · JetBrains Mono (numbers/meta)
───────────────────────────────────────────────────────────────── */

:root {
  /* Canvas — light */
  --bg:           #f0f7ff;
  --surface:      #ffffff;
  --surface-raised: #f8faff;
  /* Text */
  --text:         #0f172a;
  --text-muted:   #334155;
  --text-subtle:  #64748b;
  /* Brand accent — logo .io + highlights */
  --accent:       #1d4ed8;
  --accent-hover: #1e40af;
  --accent-muted: rgba(37, 99, 235, 0.06);
  --accent-delta: #1e40af;
  /* Light blue for banded sections */
  --ink:          #dbeafe;
  /* Borders & shadows */
  --border:       rgba(37, 99, 235, 0.1);
  --border-solid: #bfdbfe;
  --shadow-card:  0 24px 48px -20px rgba(15, 23, 42, 0.12);
  --shadow-sm:    0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 24px -12px rgba(15, 23, 42, 0.08);
  /* Radii */
  --r-sm:    8px;
  --r-md:    16px;
  --r-lg:    24px;
  --r-xl:    32px;
  --r-pill:  999px;
  /* Typography */
  --font:    "Outfit", system-ui, sans-serif;
  --mono:    "JetBrains Mono", "Courier New", monospace;
  /* Easing */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --grain-opacity: 0.025;
  --header-bg: #ffffff;
  --header-border-mobile: rgba(37, 99, 235, 0.1);
  --nav-link-hover-bg: rgba(37, 99, 235, 0.06);
  --mobile-overlay: rgba(240, 247, 255, 0.97);
  --cta-bg: #1d4ed8;
  --cta-fg: #ffffff;
  --cta-hover: #1e40af;
  --cta-icon-bg: rgba(255, 255, 255, 0.2);
  --cta-shadow: 0 16px 40px -14px rgba(29, 78, 216, 0.35);
  --bezel-outer: rgba(37, 99, 235, 0.06);
  --bezel-inset-top: rgba(255, 255, 255, 0.95);
  --tile-outer: rgba(37, 99, 235, 0.04);
  --tile-hover-border: rgba(37, 99, 235, 0.15);
  --tile-inner-inset: rgba(37, 99, 235, 0.04);
  --icon-wrap-bg: rgba(37, 99, 235, 0.06);
  --service-stat-bg: rgba(37, 99, 235, 0.06);
  --process-step-hover: rgba(37, 99, 235, 0.03);
  --hv-dot: #3b82f6;
  --hv-dot-accent: #60a5fa;
  --signup-eyebrow-bg: rgba(37, 99, 235, 0.06);
  --signup-eyebrow-fg: rgba(15, 23, 42, 0.65);
  --signup-title: #0f172a;
  --signup-desc: rgba(15, 23, 42, 0.6);
  --signup-shell-outer-bg: rgba(255, 255, 255, 0.9);
  --signup-shell-outer-border: rgba(37, 99, 235, 0.15);
  --signup-shell-inner-bg: #ffffff;
  --signup-shell-inner-inset: rgba(37, 99, 235, 0.04);
  --form-label: rgba(15, 23, 42, 0.75);
  --form-input-fg: #0f172a;
  --form-input-bg: rgba(255, 255, 255, 0.9);
  --form-input-border: rgba(37, 99, 235, 0.15);
  --form-placeholder: rgba(15, 23, 42, 0.35);
  --form-input-focus-border: rgba(37, 99, 235, 0.4);
  --form-input-focus-bg: #ffffff;
  --submit-bg: #1d4ed8;
  --submit-fg: #ffffff;
  --submit-hover: #1e40af;
  --form-note: rgba(15, 23, 42, 0.45);
  --form-error: #0f172a;
  --signup-success-bg: rgba(37, 99, 235, 0.06);
  --signup-success-border: rgba(37, 99, 235, 0.15);
  --signup-success-fg: rgba(15, 23, 42, 0.9);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  color-scheme: light;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--text); }

/* ─── GRAIN OVERLAY (fixed, pointer-events-none) ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 9999;
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out),
              transform 0.75s var(--ease-out);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up--delay    { transition-delay: 0.12s; }
.fade-up--delay-1  { transition-delay: 0.1s; }
.fade-up--delay-2  { transition-delay: 0.2s; }
.fade-up--delay-3  { transition-delay: 0.3s; }

/* ─── UTILITIES ─── */
.hidden { display: none !important; }
.br-desktop { display: none; }
@media (min-width: 900px) { .br-desktop { display: block; } }

/* ─── EYEBROW BADGE ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  background: var(--accent-muted);
  color: var(--text);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 1.25rem;
}

/* ─── SECTION HEADER ─── */
.section-header { margin-bottom: 3.5rem; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  pointer-events: all;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.logo {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.035em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0;
}
.logo-tld {
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Desktop: center text links in the bar; CTA stays in .nav-actions on the right */
@media (min-width: 641px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-cta--drawer {
    display: none !important;
  }
}

.nav-login--drawer { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: auto;
  position: relative;
  /* Above mobile drawer overlay so the menu toggle stays usable */
  z-index: 130;
}

.nav-link {
  padding: 0.45rem 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--r-pill);
  transition: color 0.25s var(--ease-out),
              background 0.25s var(--ease-out);
}
.nav-link:hover {
  color: var(--text);
  background: var(--nav-link-hover-bg);
}

.nav-login {
  padding: 0.45rem 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--r-pill);
  transition: color 0.25s var(--ease-out);
}
.nav-login:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  background: var(--cta-bg);
  color: var(--cta-fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--r-pill);
  transition: background 0.25s var(--ease-out),
              transform 0.25s var(--ease-out);
}
.nav-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}
.nav-cta:active { transform: scale(0.97); }

.btn-icon-wrap-sm {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--cta-icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-out);
}
.nav-cta:hover .btn-icon-wrap-sm { transform: translateX(2px) translateY(-1px); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin: 0 -0.25rem 0 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s var(--ease-out),
              opacity 0.3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ─────────────────────────────────────────────────────────────────
   BUTTONS (primary)
───────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 0.875rem 0.875rem 1.5rem;
  background: var(--cta-bg);
  color: var(--cta-fg);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--cta-shadow);
}
.btn-primary:active { transform: scale(0.97) translateY(0); box-shadow: none; }

.btn-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--cta-icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.btn-primary:hover .btn-icon-wrap { transform: translateX(3px) translateY(-2px); }


/* ─────────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-areas: "left visual";
  align-items: center;
  column-gap: 3rem;
  min-height: 100dvh;
  padding: 8rem 1.5rem 5rem;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.hero-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 520px;
}

.hero-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--text);
  margin-bottom: 0;
}

.hero-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

/* ─── HERO VISUAL ─── */
.hero-visual {
  grid-area: visual;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hv-shell {
  width: 100%;
  max-width: 680px;
  background: var(--bezel-outer);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3px;
  box-shadow: var(--shadow-card);
}

.hv-screenshot {
  width: 100%;
  border-radius: calc(var(--r-xl) - 3px);
  display: block;
  cursor: zoom-in;
}

.hv-core {
  background: var(--surface-raised);
  border-radius: calc(var(--r-xl) - 3px);
  box-shadow: inset 0 1px 0 var(--bezel-inset-top);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hv-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.hv-number {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.hv-delta {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent-delta);
  margin-top: 0.375rem;
}
.hv-delta-arrow { margin-right: 0.2em; }

.hv-divider {
  height: 1px;
  background: var(--border-solid);
  opacity: 0.5;
}

.hv-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hv-number-sm {
  font-family: var(--mono);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}
.hv-unit {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

.hv-activity { display: flex; flex-direction: column; gap: 0.625rem; }
.hv-activity-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hv-dot);
  flex-shrink: 0;
  animation: pulse-dot 2.5s var(--ease-out) infinite;
}
.hv-dot--amber { background: var(--hv-dot-accent); animation-delay: 0.8s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.8); }
}

/* ─────────────────────────────────────────────────────────────────
   LOGOS MARQUEE
───────────────────────────────────────────────────────────────── */
.logos {
  border-top: 1px solid var(--border-solid);
  border-bottom: 1px solid var(--border-solid);
  padding: 2rem 0;
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}

.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.marquee-inner span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-subtle);
  white-space: nowrap;
  transition: color 0.25s;
}
.marquee-inner span:hover { color: var(--text-muted); }
.marquee-sep { color: var(--border-solid) !important; font-weight: 400 !important; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Anchor offset for fixed nav */
#about,
#why,
#features,
#pricing,
#process,
#reviews,
#lets-talk {
  scroll-margin-top: 6rem;
}

/* ─── CASE STUDIES (nav target + intro) ─── */
.case-studies {
  padding: clamp(2.5rem, 6vw, 3.5rem) 1.5rem 0;
  max-width: 1100px;
  margin: 0 auto;
}
.case-studies-inner { max-width: 640px; }
.case-studies-header { margin-bottom: 0; }
.case-studies-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 1rem;
}

/* ─────────────────────────────────────────────────────────────────
   SERVICES BENTO
───────────────────────────────────────────────────────────────── */
.services {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.875rem;
}

/* Tile 1 (Lead Gen) spans 7 cols, 2 rows */
.service-tile { grid-column: span 4; }
.service-tile--lead { grid-column: span 7; grid-row: span 2; }

/* row 2: tiles 2+3 fill remaining 5 cols each, then row 3: tiles 4-6 are 4 cols each */
/* CSS auto-placement handles this naturally with the spans defined */

/* Double-bezel architecture */
.service-tile {
  background: var(--tile-outer);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2px;
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
}
.service-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--tile-hover-border);
}

.service-tile-inner {
  background: var(--surface);
  border-radius: calc(var(--r-lg) - 2px);
  box-shadow: inset 0 1px 0 var(--tile-inner-inset);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-tile--lead .service-tile-inner { padding: 2.25rem; }

.service-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--icon-wrap-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}

.service-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.service-tile--lead .service-name { font-size: 1.25rem; }

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 52ch;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.service-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--text-subtle);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  background: var(--service-stat-bg);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  margin-top: auto;
  width: fit-content;
}
.service-stat-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}

/* ─────────────────────────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────────────────────────── */
.process {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process .section-header { max-width: 1100px; margin-left: auto; margin-right: auto; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--border-solid);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.process-step {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border-solid);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: background 0.25s var(--ease-out);
}
.process-step:hover { background: var(--process-step-hover); }
.process-step:last-child { border-right: none; }

.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.step-body { display: flex; flex-direction: column; gap: 0.625rem; }

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.6rem;
  background: var(--accent-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-solid);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────────
   TESTIMONIAL
───────────────────────────────────────────────────────────────── */
.testimonial {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-inner { display: flex; justify-content: center; }

.testimonial-shell {
  width: 100%;
  background: var(--tile-outer);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3px;
}

.testimonial-core {
  background: var(--surface-raised);
  border-radius: calc(var(--r-xl) - 3px);
  box-shadow: inset 0 1px 0 var(--tile-inner-inset);
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.quote-mark { color: var(--text-subtle); }

.quote-text {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-style: italic;
}

.quote-attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-solid);
}

.quote-avatar {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--accent-muted);
  color: var(--text);
  border: 1px solid var(--border-solid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.quote-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
}
.quote-role {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-top: 0.15rem;
}

/* ─────────────────────────────────────────────────────────────────
   CONTACT / LEAD (LET'S TALK)
───────────────────────────────────────────────────────────────── */
.signup {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  background: var(--ink);
  border-top: 1px solid var(--border);
}

.signup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.signup-text .eyebrow {
  background: var(--signup-eyebrow-bg);
  color: var(--signup-eyebrow-fg);
}

.signup-text .section-title { color: var(--signup-title); }

.signup-desc {
  font-size: 1rem;
  color: var(--signup-desc);
  line-height: 1.7;
  max-width: 44ch;
  margin-top: 1rem;
}

/* double-bezel form card */
.signup-shell {
  background: var(--signup-shell-outer-bg);
  border: 1px solid var(--signup-shell-outer-border);
  border-radius: var(--r-xl);
  padding: 3px;
}

.signup-core {
  background: var(--signup-shell-inner-bg);
  border-radius: calc(var(--r-xl) - 3px);
  box-shadow: inset 0 1px 0 var(--signup-shell-inner-inset);
  padding: 2.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--form-label);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 641px) {
  .form-row {
    flex-direction: row;
    align-items: stretch;
  }
  .form-row .form-input {
    flex: 1;
    min-width: 0;
  }
  .form-row .submit-btn {
    width: auto;
    flex-shrink: 0;
  }
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.125rem;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--form-input-fg);
  background: var(--form-input-bg);
  border: 1px solid var(--form-input-border);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color 0.25s var(--ease-out),
              background 0.25s var(--ease-out);
}
.form-input::placeholder { color: var(--form-placeholder); }
.form-input:focus {
  border-color: var(--form-input-focus-border);
  background: var(--form-input-focus-bg);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9rem 0.9rem 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--submit-fg);
  background: var(--submit-bg);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.25s var(--ease-out),
              transform 0.25s var(--ease-out);
  width: 100%;
}
.submit-btn:hover {
  background: var(--submit-hover);
  transform: translateY(-1px);
}
.submit-btn:active { transform: scale(0.97); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.submit-btn .btn-icon-wrap {
  width: 2rem;
  height: 2rem;
  background: var(--cta-icon-bg);
  color: var(--submit-fg);
}

.form-note {
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--form-note);
  line-height: 1.5;
}

.form-error {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--form-error);
  font-family: var(--mono);
}

.signup-success {
  padding: 1.25rem;
  background: var(--signup-success-bg);
  border: 1px solid var(--signup-success-border);
  color: var(--signup-success-fg);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-logo { font-size: 1rem; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-subtle);
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  font-family: var(--mono);
}
.footer-policy-link {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  font-family: var(--mono);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.footer-policy-link:hover {
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────
   HERO PLACEHOLDER (replaces dashboard mockup)
───────────────────────────────────────────────────────────────── */
.hv-placeholder {
  background: var(--surface-raised);
  border-radius: calc(var(--r-xl) - 3px);
  box-shadow: inset 0 1px 0 var(--bezel-inset-top);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 1.5px dashed var(--border-solid);
}
.hv-ph-icon { color: var(--text-subtle); opacity: 0.5; margin-bottom: 0.25rem; }
.hv-placeholder-label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}
.hv-placeholder-sub {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--text-subtle);
  opacity: 0.5;
}

/* ─────────────────────────────────────────────────────────────────
   PROBLEM SECTION
───────────────────────────────────────────────────────────────── */
.problem {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  background: var(--ink);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner { max-width: 1100px; margin: 0 auto; }

.problem-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-top: 1rem;
  line-height: 1.65;
}

.problem-scenario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.problem-card {
  border-radius: var(--r-lg);
  padding: 2px;
}
.problem-card--lost {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.22);
}
.problem-card--placed {
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.28);
}

.problem-card-inner {
  border-radius: calc(var(--r-lg) - 2px);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.problem-card--lost .problem-card-inner {
  background: var(--surface);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(239, 68, 68, 0.05);
}
.problem-card--placed .problem-card-inner {
  background: var(--surface);
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(96, 165, 250, 0.08);
}

.problem-card-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.problem-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.problem-status-dot--lost  { background: #ef4444; }
.problem-status-dot--placed { background: var(--accent); }
.problem-status-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.problem-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.problem-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.problem-timeline li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 0.875rem;
  border-left: 2px solid var(--border-solid);
}

.problem-outcome {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-solid);
  margin-top: auto;
}
.problem-outcome-num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.problem-outcome--lost  .problem-outcome-num { color: #ef4444; }
.problem-outcome--placed .problem-outcome-num { color: var(--text); }
.problem-outcome-label {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* ─────────────────────────────────────────────────────────────────
   FEATURE PILLARS
───────────────────────────────────────────────────────────────── */
.pillars {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.pillars-inner { display: flex; flex-direction: column; }

.pillar {
  padding: clamp(3.5rem, 5vw, 5.5rem) 0;
  border-bottom: 1px solid var(--border-solid);
}
.pillar:last-child { border-bottom: none; }

.pillar-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.pillar--alt .pillar-content {
  grid-template-columns: 1.5fr 1fr;
}

.pillar-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
}

.pillar-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pillar-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 50ch;
}

.pillar-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pillar-stat {
  flex: 1;
  min-width: 80px;
  background: var(--accent-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.125rem;
}
.pillar-stat-num {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.pillar-stat-label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.pillar-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pillar-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-solid);
  box-shadow: 0 24px 64px -20px rgba(0,0,0,0.55), 0 0 0 1px rgba(96,165,250,0.06);
  display: block;
  cursor: zoom-in;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.pillar-screenshot:hover {
  transform: scale(1.01);
  box-shadow: 0 32px 72px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(96,165,250,0.12);
}
.pillar-screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border: 1.5px dashed var(--border-solid);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pillar-ph-icon { color: var(--text-subtle); opacity: 0.4; margin-bottom: 0.25rem; }
.pillar-ph-label {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}
.pillar-ph-sub {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--text-subtle);
  opacity: 0.5;
}

/* ─────────────────────────────────────────────────────────────────
   TABLE STAKES
───────────────────────────────────────────────────────────────── */
.table-stakes {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ts-inner { max-width: 1100px; margin: 0 auto; }

.ts-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.65;
}

.ts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-solid);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 3.5rem;
}
.ts-item {
  background: var(--surface-raised);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s var(--ease-out);
}
.ts-item:hover { background: var(--bg); }

.ts-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.ts-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  margin: 0;
}
.ts-tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  background: var(--accent-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}
.ts-desc {
  font-size: 0.875rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────
   PRICING
───────────────────────────────────────────────────────────────── */
.pricing {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-inner { max-width: 900px; margin: 0 auto; }

.pricing-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
  align-items: start;
}

/* double-bezel card */
.pricing-card {
  background: var(--tile-outer);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.pricing-card--pro {
  background: rgba(37, 99, 235, 0.06);
  border: 1.5px solid rgba(37, 99, 235, 0.28);
}

.pricing-card-inner {
  background: var(--surface);
  border-radius: calc(var(--r-xl) - 2px);
  box-shadow: inset 0 1px 0 var(--tile-inner-inset);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}
.pricing-card--pro .pricing-card-inner {
  background: var(--surface-raised);
}

.pricing-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-tier-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-top: -0.25rem;
}
.pricing-amount {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.pricing-period {
  font-size: 0.9375rem;
  color: var(--text-subtle);
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 40ch;
  margin-top: -0.5rem;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border-solid);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-feature--all {
  font-size: 0.8125rem;
  font-family: var(--mono);
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 0.25rem;
}

.pricing-check {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta {
  margin-top: auto;
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────────────────────────────── */
.final-cta {
  padding: clamp(5rem, 8vw, 8rem) 1.5rem;
  text-align: center;
}
.final-cta-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.final-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text);
}
.final-cta-body {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 48ch;
}

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE — tablet & below (must come after all component CSS)
───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "visual";
    padding: 7rem 1.25rem 4rem;
    min-height: unset;
    row-gap: 2.5rem;
  }
  .hero-left { max-width: none; }
  .hero-visual { justify-content: flex-start; }
  .hv-shell { max-width: 100%; }

  .problem-scenario { grid-template-columns: 1fr; }

  .pillar-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillar--alt .pillar-content { grid-template-columns: 1fr; }
  .pillar--alt .pillar-visual { order: 2; }
  .pillar--alt .pillar-left  { order: 1; }

  .ts-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }

  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border-solid); }
  .process-step:nth-child(odd) { border-right: 1px solid var(--border-solid); }
  .process-step:nth-last-child(-n+2) { border-bottom: none; }

  .testimonial-core { padding: 2rem; }

  .signup-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Mobile */
@media (max-width: 640px) {
  .header { border-bottom-color: var(--header-border-mobile); }
  .nav-pill { padding: 0.75rem 1rem; }
  .nav-links { display: none; }
  .nav-cta--drawer { display: none; }
  .nav-login--drawer { display: none; }
  /* Hide login and sign up from top bar on mobile — they live in the drawer */
  .nav-actions .nav-login,
  .nav-actions .nav-cta--bar { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--mobile-overlay);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 120;
    padding: 2rem;
  }
  .nav-links.is-open .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
  }
  .nav-links.is-open .nav-login--drawer {
    display: inline-flex;
    font-size: 1rem;
  }
  .nav-links.is-open .nav-cta--drawer {
    display: inline-flex;
    margin-top: 0.25rem;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  .nav-toggle { display: flex; z-index: 131; }

  .hero { padding: 6rem 1rem 3rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-left { gap: 1.5rem; }
  .hero-head { align-items: stretch; }
  .hero-foot { align-items: stretch; }
  .btn-primary { width: 100%; justify-content: center; }

  .ts-grid { grid-template-columns: 1fr; }

  .pillar-stats { gap: 0.625rem; }
  .pillar-stat { min-width: 0; }

  .process-steps { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .process-step { border-right: none; border-bottom: 1px solid var(--border-solid); }
  .process-step:last-child { border-bottom: none; }

  .testimonial-core { padding: 1.5rem; }
  .quote-text { font-size: 1.125rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .pillar-screenshot-placeholder { aspect-ratio: 4 / 3; }
  .problem-card-inner { padding: 1.5rem; }
  .testimonial-core { gap: 1.25rem; }
  .final-cta-inner { align-items: stretch; }
}

/* ─────────────────────────────────────────────────────────────────
   LIGHTBOX
───────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 16, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid var(--border-solid);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.lightbox-close:hover {
  background: rgba(96, 165, 250, 0.2);
  transform: scale(1.08);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1200px);
  max-height: 90dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90dvh;
  width: auto;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-solid);
}
