/* EyeconX — Stripe-soft + Emil Kowalski craft
   Tokens: strong ease-out, press feedback, hover gating, mobile-native */
:root {
  --ink: #0a2540;
  --mute: #425466;
  --faint: #6b7c93;
  --line: rgba(10, 37, 64, 0.08);
  --paper: #faf8f5;
  --surface: #ffffff;
  --wash: #f0f4f8;
  --teal: #0a9bb5;
  --teal-deep: #087a8f;
  --teal-soft: rgba(10, 155, 181, 0.12);
  --warm: #fff4eb;
  --shadow: 0 1px 1px rgba(10, 37, 64, 0.04), 0 8px 24px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 2px 4px rgba(10, 37, 64, 0.04), 0 24px 64px rgba(10, 37, 64, 0.1);
  --shadow-pop: 0 0 0 1px rgba(10, 37, 64, 0.06), 0 12px 40px rgba(10, 37, 64, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease: ease;
  --max: 1120px;
  --nav: 80px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--nav) + var(--safe-top) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.65rem 1rem;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: calc(0.75rem + var(--safe-top)); }

/* ─── Header ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: calc(var(--nav) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  transition:
    background 200ms var(--ease),
    box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.04);
}

.nav {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  user-select: none;
  touch-action: manipulation;
}
.logo img { height: 52px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  align-items: center;
}

.nav-links > li { position: relative; }

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--mute);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition:
    color 160ms var(--ease),
    background 160ms var(--ease);
}

.nav-link.is-active,
.nav-trigger.is-active,
.nav-trigger[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(10, 37, 64, 0.05);
}

.nav-trigger .chev {
  width: 10px;
  height: 10px;
  transition: transform 180ms var(--ease-out);
}
.nav-trigger[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover,
  .nav-trigger:hover {
    color: var(--ink);
    background: rgba(10, 37, 64, 0.05);
  }
}

/* Product dropdown — origin-aware */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 340px;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  transform-origin: 24px top;
  opacity: 0;
  transform: scale(0.96) translateY(-4px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    visibility 180ms;
}

.nav-dropdown.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.nav-dropdown a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  transition: background 160ms var(--ease);
}

.dd-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  line-height: 0;
}
.dd-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  overflow: visible;
}

.dd-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.dd-copy strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.dd-copy > span {
  display: block;
  font-size: 0.82rem;
  color: var(--faint);
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown a:hover { background: rgba(10, 37, 64, 0.04); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
}

/* Login popover */
.login-wrap { position: relative; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition:
    background 160ms var(--ease),
    transform 120ms var(--ease-out);
}
.btn-ghost:active { transform: scale(0.97); }

.btn-login-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { background: rgba(10, 37, 64, 0.05); }
}

.login-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  padding: 1rem;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-pop);
  transform-origin: calc(100% - 28px) top;
  opacity: 0;
  transform: scale(0.96) translateY(-4px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    visibility 180ms;
  z-index: 90;
}

.login-popover.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.login-popover label {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--mute);
  margin-bottom: 0.3rem;
}

.login-popover .field + .field { margin-top: 0.7rem; }

.login-popover input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: #fcfcfb;
  font-size: 16px;
}

.login-popover input:focus-visible {
  outline: 2px solid rgba(10, 155, 181, 0.35);
  outline-offset: 2px;
  border-color: var(--teal);
  background: #fff;
}

.login-popover .btn { width: 100%; margin-top: 0.85rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  user-select: none;
  touch-action: manipulation;
  transition:
    background 160ms var(--ease),
    transform 120ms var(--ease-out),
    border-color 160ms var(--ease);
}
.nav-toggle:active { transform: scale(0.97); }

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 3.5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 200ms var(--ease-out),
    opacity 160ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 37, 64, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 75;
  width: min(100%, 360px);
  height: 100dvh;
  padding:
    calc(var(--nav) + var(--safe-top) + 0.75rem)
    calc(1.25rem + var(--safe-right))
    calc(1.5rem + var(--safe-bottom));
  background: var(--paper);
  box-shadow: -24px 0 64px rgba(10, 37, 64, 0.12);
  transform: translateX(100%);
  transition: transform 320ms var(--ease-drawer);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}
.nav-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-links {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.drawer-links a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  touch-action: manipulation;
  user-select: none;
  transition: background 160ms var(--ease);
}
.drawer-links a.is-active { background: var(--teal-soft); color: var(--teal-deep); }

.drawer-group {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.drawer-group p {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0.4rem 0.5rem 0.55rem;
}
.drawer-group a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--mute);
}
.drawer-group a strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 0.1rem;
}

.drawer-login {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.drawer-login .field + .field { margin-top: 0.65rem; }
.drawer-login input {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  background: #fcfcfb;
}
.drawer-login .btn { width: 100%; margin-top: 0.85rem; }
.drawer-cta { margin-top: 1rem; }
.drawer-cta .btn { width: 100%; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: none;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  touch-action: manipulation;
  transition:
    transform 120ms var(--ease-out),
    background 160ms var(--ease),
    box-shadow 160ms var(--ease),
    color 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn:focus-visible,
.nav-link:focus-visible,
.nav-trigger:focus-visible,
.nav-toggle:focus-visible,
.btn-ghost:focus-visible,
.socials a:focus-visible,
.drawer-links a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 155, 181, 0.28);
}
.btn-primary:active { background: var(--teal-deep); }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--teal-deep);
    color: #fff;
    box-shadow: 0 6px 18px rgba(10, 155, 181, 0.35);
  }
  .btn-secondary:hover {
    box-shadow: 0 0 0 1px rgba(10, 37, 64, 0.14), var(--shadow);
  }
  .btn-dark:hover {
    background: #143352;
    color: #fff;
  }
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ─── Hero (home) + page heroes (shared surface) ─── */
/* DESIGN_VARIANCE: 6 | MOTION_INTENSITY: 5 | VISUAL_DENSITY: 3 */
.hero,
.page-hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 55% 45% at 85% 0%, rgba(10, 155, 181, 0.11), transparent 55%),
    radial-gradient(ellipse 40% 35% at 10% 30%, rgba(255, 186, 130, 0.14), transparent 50%),
    linear-gradient(180deg, #f7f4ef 0%, var(--paper) 42%, #eef3f7 100%);
}

.hero {
  padding: calc(var(--nav) + var(--safe-top) + 2rem) 0 0;
}

.page-hero {
  padding: calc(var(--nav) + var(--safe-top) + 2rem) 0 3.25rem;
}

.hero-intro {
  max-width: 100%;
  margin-bottom: 2.25rem;
}

.hero-lead,
.page-hero-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem 2.5rem;
  align-items: end;
}

.hero-title,
.page-hero-title {
  font-size: clamp(2.35rem, 4.8vw, 3.45rem);
  letter-spacing: -0.048em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.hero-title {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 560ms var(--ease-out) 40ms forwards;
}

.hero-title-accent,
.page-hero-accent {
  display: block;
  color: var(--teal-deep);
}

.hero-side,
.page-hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding-bottom: 0.2rem;
}

.hero-side {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 560ms var(--ease-out) 100ms forwards;
}

.hero-sub,
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--mute);
  line-height: 1.55;
  max-width: 36ch;
  margin: 0;
}

.page-hero-side .price-figure {
  margin: 0;
  font-size: clamp(2.75rem, 6vw, 3.75rem);
}
.page-hero-side .price-meta {
  margin: 0;
}

.hero-showcase {
  position: relative;
  margin: 0;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 64px rgba(10, 37, 64, 0.1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 640ms var(--ease-out) 200ms forwards;
}

.hero-showcase-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.hero-showcase-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d7dde5;
}
.hero-showcase-chrome span:nth-child(1) { background: #ffb4a8; }
.hero-showcase-chrome span:nth-child(2) { background: #ffd59a; }
.hero-showcase-chrome span:nth-child(3) { background: #9ad7b5; }

.hero-showcase img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(46vh, 420px);
  object-fit: cover;
  object-position: top left;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ─── Sections ─── */
.section { padding: 5rem 0; }
.section-muted { background: var(--wash); }
.section-head { max-width: 36rem; margin-bottom: 2.75rem; }
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.section-lead { color: var(--mute); font-size: 1.1rem; max-width: 42ch; }

.pillars {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.15rem;
}
.pillar {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease);
}
.pillar-lg {
  background: linear-gradient(160deg, #fff 0%, var(--warm) 100%);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: 1.1rem;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--mute); font-size: 0.98rem; }

@media (hover: hover) and (pointer: fine) {
  .pillar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
}

.band {
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 70% 100% at 100% 50%, rgba(10, 155, 181, 0.18), transparent 55%),
    linear-gradient(120deg, #0a2540 0%, #0d3a52 55%, #0a6a7e 100%);
  color: #fff;
}
.band h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: #fff;
  max-width: 16ch;
  margin-bottom: 0.85rem;
}
.band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}

.price-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.price-figure {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-figure small { font-size: 0.35em; vertical-align: top; }
.price-figure .mo {
  font-size: 0.22em;
  color: var(--faint);
  margin-left: 0.2rem;
  letter-spacing: 0;
}
.price-meta { margin-top: 0.65rem; color: var(--mute); }
.price-meta .free { color: var(--teal-deep); font-weight: 700; }

/* Inner pages */
.page-hero + .section {
  padding-top: 2.75rem;
}

.support-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.feature-groups { display: grid; gap: 3rem; }
.group h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.15rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  background: var(--surface);
  border-radius: 16px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  flex-shrink: 0;
  line-height: 0;
}
.feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.feature-body { min-width: 0; }
.feature-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.feature-card p {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  .feature-card:hover .feature-icon {
    background: rgba(10, 155, 181, 0.18);
  }
}

.include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}
.include {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.include::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}
.include h3 {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-group + .contact-group {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.contact-group h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-group p { color: var(--mute); margin: 0.15rem 0; }
.contact-group a {
  color: var(--teal-deep);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-shell {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-shell h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.form-shell > p { color: var(--mute); margin-bottom: 1.25rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--mute);
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fcfcfb;
  color: var(--ink);
  font-size: 16px;
  transition:
    border-color 160ms var(--ease),
    background 160ms var(--ease),
    box-shadow 160ms var(--ease);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(10, 155, 181, 0.35);
  outline-offset: 2px;
  border-color: var(--teal);
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }

.form-note { margin-top: 0.65rem; color: var(--faint); font-size: 0.9rem; }
.turnstile-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 65px;
}
.turnstile-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-success {
  display: none;
  margin-top: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 650;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition:
    opacity 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}
.form-success.show {
  display: block;
  opacity: 1;
  transform: none;
}

.site-footer {
  padding: 4rem 0 calc(2.25rem + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(240, 244, 248, 0.55) 0%, var(--surface) 40%);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr);
  gap: 3rem 4rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  max-width: 18rem;
}
.footer-logo {
  display: inline-flex;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-tagline {
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.footer-contact {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.footer-contact a {
  color: var(--teal-deep);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}
.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.footer-col a {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--mute);
  line-height: 1.4;
  touch-action: manipulation;
  transition: color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--ink); }
}
.footer-col a:focus-visible,
.footer-logo:focus-visible,
.footer-contact a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding-top: 1.5rem;
}
.footer-address {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.45;
}

.socials {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--wash);
  color: var(--ink);
  user-select: none;
  touch-action: manipulation;
  transition:
    background 160ms var(--ease),
    color 160ms var(--ease),
    transform 120ms var(--ease-out);
}
.socials a:active { transform: scale(0.97); }
.socials svg { width: 16px; height: 16px; }

@media (hover: hover) and (pointer: fine) {
  .socials a:hover { background: var(--ink); color: #fff; }
}

.copyright {
  margin: 0;
  color: var(--faint);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 640px) {
  .site-footer { padding-top: 3rem; }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Legal / about prose */
.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
  letter-spacing: -0.025em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
}
.prose p {
  color: var(--mute);
  margin: 0 0 1rem;
  line-height: 1.7;
}
.prose a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a.btn {
  text-decoration: none;
  font-weight: 650;
}
.prose a.btn-primary,
.prose a.btn-primary:visited {
  color: #fff;
}
.prose a.btn-secondary,
.prose a.btn-secondary:visited,
.prose a.btn-dark,
.prose a.btn-dark:visited {
  color: var(--ink);
}
.prose a.btn-dark,
.prose a.btn-dark:visited {
  color: #fff;
}
.legal-note {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--wash);
  color: var(--mute);
  font-size: 0.95rem;
  margin-bottom: 1.5rem !important;
}
.prose-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--mute);
  line-height: 1.7;
}
.prose-list li { margin: 0.35rem 0; }
.prose-list strong { color: var(--ink); font-weight: 650; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 0.5rem;
}
.about-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow);
}
.about-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.about-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mute);
}

/* Scroll reveal — prevent jarring, marketing-tier */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title,
  .hero-side,
  .hero-showcase {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 200ms ease;
  }
  .nav-dropdown,
  .login-popover,
  .nav-drawer,
  .nav-backdrop,
  .btn,
  .pillar,
  .feature-card {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 960px) {
  .logo img { height: 44px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-block; }

  .pillars,
  .price-panel,
  .feature-grid,
  .include-grid,
  .two-col,
  .form-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: calc(var(--nav) + var(--safe-top) + 1.5rem);
  }

  .page-hero {
    padding-bottom: 2.5rem;
  }

  .hero-intro { margin-bottom: 1.5rem; }

  .hero-lead,
  .page-hero-lead {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .hero-title,
  .page-hero-title {
    font-size: clamp(2.05rem, 8vw, 2.75rem);
  }

  .hero-showcase img {
    max-height: min(38vh, 300px);
  }
}
