/* =============================================================================
   EVO — design principles (Jobs / Apple product-story lineage)
   • One idea per section — the headline states the thesis; everything else supports.
   • Whitespace is intentional — shared vertical rhythm; nothing feels cramped.
   • Typography — eyebrow (label) → display headline → supporting copy (~17–19px).
   • Color — almost all monochrome; blue appears only for the primary action.
   • Imagery leads — product photos & icons carry meaning; chrome stays quiet.
   • Motion — fade/slide in once, ease-out, calm; respect prefers-reduced-motion.
   • No decoration without purpose — hairlines separate material changes only.
   ============================================================================= */

:root {
  --black: #0a0a0b;
  --gray-900: #141416;
  --gray-600: #6e6e73;
  --gray-400: #aeaeb2;
  --gray-200: #e8e8ed;
  --white: #fbfbfd;
  --surface-muted: #f5f5f7;
  --pure: #ffffff;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  /* Same blue as preorder button — for rgba() edge glows on product PNGs */
  --accent-rgb: 0, 113, 227;
  --header-h: 48px;
  --content-max: 1068px;
  --gutter: max(22px, 4vw);
  /* Shared vertical rhythm */
  --pad-section: clamp(96px, 11vw, 168px);
  --pad-section-air: clamp(112px, 17vw, 196px);
  --hairline-on-light: rgba(0, 0, 0, 0.08);
  --hairline-on-dark: rgba(255, 255, 255, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --reveal-duration: 0.75s;
  --reveal-shift: 14px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  color: var(--black);
  background: var(--pure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition:
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

/* On dark hero: glass, light chrome */
.site-header:not(.site-header--solid) {
  background: rgba(10, 10, 11, 0.42);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header--solid {
  background: rgba(251, 251, 253, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Admin area — in-header nav (all admin HTML pages) */
body.form-page-body .site-header--admin {
  height: auto;
  min-height: var(--header-h);
}

body.form-page-body .site-header--admin .site-header__inner {
  min-height: var(--header-h);
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 16px;
  align-items: center;
}

body.form-page-body .admin-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

body.form-page-body .admin-nav__link {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.72);
  padding: 7px 14px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  transition:
    color 0.2s var(--ease-apple),
    border-color 0.2s var(--ease-apple),
    background 0.2s var(--ease-apple);
}

body.form-page-body .admin-nav__link:hover {
  color: var(--pure);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

body.form-page-body .admin-nav__link[aria-current='page'] {
  color: var(--pure);
  border-color: rgba(0, 113, 227, 0.55);
  background: rgba(0, 113, 227, 0.2);
}

body.form-page-body:has(.site-header--admin) .form-page {
  padding-top: calc(var(--header-h) + 36px + clamp(40px, 7vw, 64px));
  min-height: calc(100dvh - var(--header-h) - 40px);
}

.site-header__brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.site-header__logo {
  height: 22px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
  transition: filter 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}

.site-header:not(.site-header--solid) .site-header__logo {
  filter: brightness(0) invert(1);
}

.site-header--solid .site-header__logo {
  filter: none;
}

.site-header__brand:hover .site-header__logo {
  opacity: 0.75;
}

.site-header__cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.008em;
  padding: 7px 17px;
  border-radius: 980px;
  transition:
    background 0.28s var(--ease-apple),
    color 0.28s var(--ease-apple),
    opacity 0.28s var(--ease-apple);
}

.site-header:not(.site-header--solid) .site-header__cta {
  background: rgba(255, 255, 255, 0.12);
  color: var(--pure);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header:not(.site-header--solid) .site-header__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.site-header--solid .site-header__cta {
  background: var(--accent);
  color: var(--pure);
  border: 1px solid transparent;
}

.site-header--solid .site-header__cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

/* Mobile: no hamburger — only essentials */
@media (max-width: 480px) {
  .site-header__logo {
    max-width: 100px;
    height: 20px;
  }
}

/* ----- Hero (full viewport) ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--pure);
  overflow-x: hidden;
}

/* Faint ship scene at top — sits under ambient gradients */
.hero__bg-ship {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(82vh, 780px);
  background-image: url("images/backgroundShip.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.65) 38%,
    rgba(0, 0, 0, 0.2) 62%,
    rgba(0, 0, 0, 0) 82%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.65) 38%,
    rgba(0, 0, 0, 0.2) 62%,
    rgba(0, 0, 0, 0) 82%
  );
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 20%, rgba(0, 113, 227, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #121214 0%, var(--black) 45%, #050506 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1; /* above hero__bg-ship + hero__ambient */
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(18px, 4vh, 44px) var(--gutter) clamp(18px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__figure {
  margin: 0;
  flex: 1;
  min-height: min(42vh, 420px);
  max-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Tight blue rim glow (follows PNG alpha) — matches --accent / preorder button */
.hero__product {
  max-width: min(420px, 88vw);
  width: 100%;
  height: auto;
  max-height: min(48vh, 520px);
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(var(--accent-rgb), 0.55))
    drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.38))
    drop-shadow(0 0 28px rgba(var(--accent-rgb), 0.18))
    drop-shadow(0 32px 64px rgba(0, 0, 0, 0.5));
  will-change: transform;
}

.hero__copy {
  max-width: min(92vw, 820px);
  padding-inline: max(8px, 2vw);
}

.hero__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.hero__headline {
  margin: 0 0 14px;
  font-size: clamp(18px, 4.85vw, 56px);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.04;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

@media (max-width: 320px) {
  .hero__headline {
    font-size: clamp(16px, 5.2vw, 56px);
    letter-spacing: -0.045em;
  }
}

.hero__sub {
  margin: 0 auto 28px;
  max-width: 38rem;
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
  letter-spacing: -0.016em;
}

.hero__sub strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
  display: flex;
  justify-content: center;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.018em;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition:
    background 0.28s var(--ease-apple),
    box-shadow 0.28s var(--ease-apple),
    opacity 0.28s var(--ease-apple);
}

.btn--primary {
  background: var(--accent);
  color: var(--pure) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn--primary:active {
  opacity: 0.92;
}

.btn--large {
  padding: 15px 38px;
  font-size: 16px;
  font-weight: 500;
}

a.btn {
  text-decoration: none;
}

/* ----- Sections ----- */
.section {
  padding: var(--pad-section) var(--gutter);
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__inner--wide {
  max-width: 900px;
  text-align: center;
}

.section__inner--narrow {
  max-width: 640px;
  text-align: center;
}

.section__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
}

h2.section__eyebrow {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.section__title {
  margin: 0 0 22px;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.07;
}

.section__title--center {
  text-align: center;
}

.section__lead {
  margin: 0;
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.5;
  color: var(--gray-600);
  letter-spacing: -0.012em;
  max-width: 36rem;
}

/* Hook — emotional (extra vertical space = stronger beat on the page) */
.section--hook {
  background: var(--gray-900);
  color: var(--pure);
  padding: var(--pad-section-air) var(--gutter);
  border-top: 1px solid var(--hairline-on-dark);
}

/* Hook icon — ship graphic on dark band; accent rim glow matches product / Preorder */
.hook-icon {
  margin: 0 auto clamp(48px, 7vw, 64px);
  width: min(300px, 68vw);
  max-width: 300px;
  line-height: 0;
}

.hook-icon__img {
  width: 100%;
  height: auto;
  max-height: min(260px, 52vw);
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  /* Black artwork on transparent → light glyph on dark */
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 1px rgba(var(--accent-rgb), 0.55))
    drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.38))
    drop-shadow(0 0 28px rgba(var(--accent-rgb), 0.18));
  opacity: 0.94;
}

.hook-story {
  margin: 0 auto;
  max-width: 38rem;
  text-align: center;
}

.hook-block {
  margin: 0 0 clamp(28px, 5vw, 40px);
}

.hook-block:last-child {
  margin-bottom: 0;
}

.hook-block__label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.3;
}

.hook-block__text {
  margin: 0;
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: -0.012em;
}

.hook-block--closing .hook-block__label {
  color: rgba(255, 255, 255, 0.42);
}

.hook-block__text--punch {
  font-size: clamp(17px, 2.3vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

/* Solution split */
.section--solution {
  background: var(--white);
  border-top: 1px solid var(--hairline-on-light);
}

.section__split {
  display: grid;
  gap: clamp(36px, 7vw, 72px);
  align-items: center;
}

@media (min-width: 900px) {
  .section__split {
    grid-template-columns: 1fr 1.05fr;
  }
}

.solution__figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution__img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(var(--accent-rgb), 0.45))
    drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.28))
    drop-shadow(0 0 22px rgba(var(--accent-rgb), 0.12))
    drop-shadow(0 24px 48px rgba(0, 0, 0, 0.08));
}

/* Steps — white band after benefits (muted) so each reads as its own section */
.section--steps {
  background: var(--white);
  border-top: 1px solid var(--hairline-on-light);
  padding: var(--pad-section-air) var(--gutter);
}

.section--steps .section__inner {
  text-align: center;
}

.section--steps .section__eyebrow {
  margin-bottom: 11px;
}

.steps {
  margin: clamp(36px, 6vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(32px, 6vw, 48px);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.steps__item {
  text-align: center;
  padding: 0 12px;
}

.steps__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  min-height: 72px;
}

.steps__icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.steps__n {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.steps__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.47;
  color: var(--gray-600);
  letter-spacing: -0.012em;
  max-width: 16rem;
  margin-inline: auto;
}

/* Benefits — keynote black field: one idea, breathe, next (Jobs-era product story rhythm) */
.section--benefits {
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--pure);
  border-top: 1px solid var(--hairline-on-dark);
  border-bottom: 1px solid var(--hairline-on-dark);
  padding: clamp(88px, 14vw, 160px) var(--gutter);
  overflow-x: hidden;
}

.benefits-keynote__inner {
  flex-shrink: 0;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.benefits-keynote__eyebrow {
  margin: 0 0 clamp(36px, 6vw, 56px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

h2.benefits-keynote__eyebrow {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}

.benefits-keynote {
  margin: 0;
}

/* Edge-to-edge swipe: full width + tall flex column (whole block is swipe/drag target) */
.benefits-keynote--fullbleed {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: calc(100% + 2 * var(--gutter));
  max-width: none;
  min-height: clamp(360px, 58vh, 780px);
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  touch-action: pan-x;
  cursor: grab;
  outline: none;
}

.benefits-keynote--fullbleed:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.benefits-keynote--fullbleed:active {
  cursor: grabbing;
}

/* Clips horizontal slide; grows to fill space above the dots */
.benefits-keynote__viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.benefits-keynote__track {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
  align-items: stretch;
  min-height: 0;
  /* width + flex-basis set in JS when clones are added (infinite loop) */
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.benefits-keynote__track.is-dragging {
  transition: none;
}

.benefits-beat {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 3vw, 28px) var(--gutter);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  min-height: 100%;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.benefits-keynote__dots {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(16px, 2.5vw, 24px);
  padding: clamp(12px, 2vw, 20px) var(--gutter) 0;
}

.benefits-keynote__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.3s var(--ease-apple);
  -webkit-tap-highlight-color: transparent;
}

.benefits-keynote__dot:hover {
  background: rgba(255, 255, 255, 0.45);
}

.benefits-keynote__dot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.benefits-keynote__dot.is-active {
  background: rgba(255, 255, 255, 0.95);
}

.benefits-beat__line {
  margin: 0 0 clamp(14px, 2.2vw, 20px);
  font-size: clamp(30px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.05;
  color: #ffffff;
}

.benefits-beat__detail {
  margin: 0 auto;
  max-width: 28rem;
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: rgba(255, 255, 255, 0.82);
}

/* Reduced motion: stack all copy; hide pager chrome */
.benefits-keynote--static.benefits-keynote--fullbleed {
  min-height: 0;
  flex: 0 1 auto;
  touch-action: auto;
  cursor: default;
}

.benefits-keynote--static .benefits-keynote__viewport {
  overflow: visible;
  flex: none;
}

.benefits-keynote--static .benefits-keynote__track {
  flex-direction: column;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
}

.benefits-keynote--static .benefits-keynote__track.is-dragging {
  transition: none !important;
}

.benefits-keynote--static .benefits-beat {
  flex: none;
  width: 100%;
  min-height: 0;
  padding: 0;
  margin-bottom: clamp(36px, 6vw, 48px);
  user-select: text;
  -webkit-user-select: text;
}

.benefits-keynote--static .benefits-beat:last-of-type {
  margin-bottom: 0;
}

.benefits-keynote--static .benefits-keynote__dots {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .benefits-keynote__track {
    transition-duration: 0.01ms;
  }

  .benefits-keynote__dot {
    transition: none;
  }
}

/* Showcase — single wide hero shot */
.section--showcase {
  padding: 0;
  background: var(--black);
}

.showcase-wide {
  margin: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.showcase-wide__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Closing — tighter band before footer (not another full “section” height) */
.section--closing {
  background: var(--black);
  color: var(--pure);
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--hairline-on-dark);
}

.closing__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.22;
}

/* Keep each sentence intact — avoids a lone word on the last line */
.closing__title-line {
  display: inline-block;
  white-space: nowrap;
}

.closing__title-line + .closing__title-line {
  margin-left: 0;
}

@media (max-width: 520px) {
  .closing__title-line {
    display: block;
    margin-left: 0 !important;
  }

  .closing__title-line + .closing__title-line {
    margin-top: 0.15em;
    margin-left: 0;
  }
}

.closing__sub {
  margin: 0 auto 24px;
  max-width: 28rem;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.01em;
}

.closing__action {
  display: flex;
  justify-content: center;
}

/* Footer — compact bar (not section-scale padding) */
.site-footer {
  background: var(--black);
  color: var(--pure);
  border-top: 1px solid var(--hairline-on-dark);
}

.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--gutter) clamp(20px, 3vw, 28px);
}

.site-footer__nav {
  display: grid;
  gap: clamp(22px, 4vw, 32px);
  padding-bottom: 0;
}

@media (min-width: 640px) {
  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 48px);
    align-items: start;
  }
}

.site-footer__question {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.65vw, 19px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.96);
}

.site-footer__blurb {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: -0.01em;
  max-width: 22rem;
}

.site-footer__anchor {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s var(--ease-apple), text-decoration-color 0.2s var(--ease-apple);
}

.site-footer__anchor:hover {
  color: var(--pure);
  text-decoration-color: rgba(255, 255, 255, 0.75);
}

.site-footer__forms {
  display: grid;
  gap: clamp(28px, 5vw, 40px);
  padding-top: clamp(40px, 7vw, 56px);
}

@media (min-width: 900px) {
  .site-footer__forms {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(24px, 4vw, 40px);
  }
}

.footer-form-panel {
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid var(--hairline-on-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.footer-form-panel__title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pure);
}

.footer-form-panel__hint {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: -0.008em;
}

.footer-form__row {
  margin-bottom: 16px;
}

.footer-form__row:last-of-type {
  margin-bottom: 20px;
}

.footer-form__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer-form__field {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--pure);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition:
    border-color 0.2s var(--ease-apple),
    box-shadow 0.2s var(--ease-apple);
}

.footer-form__field::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.footer-form__field:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-form__field:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.22);
}

.footer-form__field--textarea {
  resize: vertical;
  min-height: 100px;
}

.footer-form__submit {
  margin-top: 4px;
}

.footer-form__msg {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

.footer-form__msg.is-success {
  color: #6ee7a8;
}

.footer-form__msg.is-error {
  color: #fbbf24;
}

.footer-newsletter {
  max-width: 26rem;
}

.footer-newsletter__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-newsletter__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .footer-newsletter__row {
    flex-direction: row;
    align-items: stretch;
  }

  .footer-newsletter__row .footer-form__field {
    flex: 1;
    min-width: 0;
  }

  .footer-newsletter__btn {
    flex-shrink: 0;
    align-self: center;
  }
}

.footer-newsletter__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.footer-newsletter__consent input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.site-footer__bottom {
  border-top: 1px solid var(--hairline-on-dark);
  padding: 16px var(--gutter) 24px;
}

.site-footer__line {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: -0.008em;
}

.site-footer__mark {
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.45;
}

/* ----- Standalone inquiry pages (distribution / investors / contact) ----- */
.form-page {
  padding: calc(var(--header-h) + clamp(40px, 7vw, 64px)) var(--gutter) clamp(56px, 10vw, 96px);
  max-width: 560px;
  margin: 0 auto;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
}

.form-page__back {
  display: inline-block;
  margin-bottom: clamp(20px, 4vw, 28px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--gray-600);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 2px;
  transition:
    color 0.2s var(--ease-apple),
    border-color 0.2s var(--ease-apple);
}

.form-page__back:hover {
  color: var(--black);
  border-bottom-color: rgba(0, 0, 0, 0.28);
  text-decoration: none;
}

.form-page__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.form-page__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--black);
}

.form-page__hint {
  margin: 0 0 clamp(28px, 5vw, 36px);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-600);
  letter-spacing: -0.015em;
}

.inquiry-form__row {
  margin-bottom: 18px;
}

.inquiry-form__row:last-of-type {
  margin-bottom: 22px;
}

.inquiry-form__row--checkbox {
  margin-bottom: 18px;
}

.inquiry-form__checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--black);
  cursor: pointer;
}

.inquiry-form__checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.inquiry-form__checkbox-label a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.inquiry-form__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.inquiry-form__label-note {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-400);
}

.inquiry-form__field,
.inquiry-form__select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--black);
  background: var(--pure);
  border: 1px solid var(--hairline-on-light);
  border-radius: 10px;
  transition:
    border-color 0.2s var(--ease-apple),
    box-shadow 0.2s var(--ease-apple);
}

.inquiry-form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.inquiry-form__field::placeholder {
  color: var(--gray-400);
}

.inquiry-form__field:hover,
.inquiry-form__select:hover {
  border-color: rgba(0, 0, 0, 0.14);
}

.inquiry-form__field:focus,
.inquiry-form__select:focus {
  outline: none;
  border-color: rgba(0, 113, 227, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.inquiry-form__field--textarea {
  resize: vertical;
  min-height: 120px;
}

.inquiry-form__submit {
  margin-top: 6px;
}

.inquiry-form__msg {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-600);
}

.inquiry-form__msg.is-success {
  color: #047857;
}

.inquiry-form__msg.is-error {
  color: #b45309;
}

.form-page__cross {
  margin-top: clamp(28px, 5vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline-on-light);
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-600);
}

.form-page__cross a {
  font-weight: 500;
}

/* Standalone inquiry pages — match hero (dark, blue glow, glass header) */
body.form-page-body {
  position: relative;
  background: var(--black);
  color: var(--pure);
  color-scheme: dark;
  min-height: 100vh;
  min-height: 100dvh;
}

body.form-page-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 18%, rgba(var(--accent-rgb), 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #121214 0%, var(--black) 45%, #050506 100%);
}

body.form-page-body .form-page {
  position: relative;
  z-index: 1;
}

body.form-page-body .form-page__back {
  color: rgba(255, 255, 255, 0.52);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.form-page-body .form-page__back:hover {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

body.form-page-body .form-page__eyebrow {
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
}

body.form-page-body .form-page__title {
  color: var(--pure);
  letter-spacing: -0.038em;
}

body.form-page-body .form-page__hint {
  color: rgba(255, 255, 255, 0.56);
}

body.form-page-body .form-page__hint a {
  color: rgba(100, 180, 255, 0.95);
}

body.form-page-body .consent-policy {
  max-width: 640px;
}

body.form-page-body .consent-policy__h2 {
  margin: clamp(24px, 4vw, 32px) 0 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.94);
}

body.form-page-body .consent-policy__p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.56);
  letter-spacing: -0.015em;
}

body.form-page-body .consent-policy__p a {
  color: rgba(100, 180, 255, 0.95);
}

body.form-page-body .consent-policy__quote {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-left: 3px solid rgba(var(--accent-rgb), 0.9);
  background: rgba(var(--accent-rgb), 0.12);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

body.form-page-body .consent-policy__ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.56);
}

body.form-page-body .consent-policy__ul a {
  color: rgba(100, 180, 255, 0.95);
}

body.form-page-body .inquiry-form__label {
  color: rgba(255, 255, 255, 0.42);
}

body.form-page-body .inquiry-form__label-note {
  color: rgba(255, 255, 255, 0.32);
}

body.form-page-body .inquiry-form__checkbox-label {
  color: rgba(255, 255, 255, 0.88);
}

body.form-page-body .inquiry-form__checkbox-label a {
  color: rgba(100, 180, 255, 0.95);
}

body.form-page-body .inquiry-form__field,
body.form-page-body .inquiry-form__select {
  color: var(--pure);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Do not use background shorthand on selects — it clears the chevron image. */
body.form-page-body .inquiry-form__field {
  background-color: rgba(0, 0, 0, 0.35);
}

body.form-page-body .inquiry-form__select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(0, 0, 0, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='%23a8a8ad' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M4.5 6.25L8 9.75l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 42px;
}

body.form-page-body .inquiry-form__field::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

body.form-page-body .inquiry-form__field:hover,
body.form-page-body .inquiry-form__select:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

body.form-page-body .inquiry-form__field:focus,
body.form-page-body .inquiry-form__select:focus {
  border-color: rgba(0, 113, 227, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.22);
}

body.form-page-body .inquiry-form__msg {
  color: rgba(255, 255, 255, 0.45);
}

body.form-page-body .inquiry-form__msg.is-success {
  color: #6ee7a8;
}

body.form-page-body .inquiry-form__msg.is-error {
  color: #fbbf24;
}

body.form-page-body .form-page__cross {
  border-top-color: var(--hairline-on-dark);
  color: rgba(255, 255, 255, 0.45);
}

body.form-page-body .form-page__cross a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 1px;
  transition:
    color 0.2s var(--ease-apple),
    border-color 0.2s var(--ease-apple);
}

body.form-page-body .form-page__cross a:hover {
  color: var(--pure);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

body.form-page-body .inquiry-form .btn--primary {
  width: 100%;
  justify-content: center;
  padding: 15px 38px;
  font-size: 16px;
  font-weight: 500;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(var(--accent-rgb), 0.12);
}

/* Admin manage — Places lead finder */
.form-page--wide {
  max-width: min(1080px, 100%);
}

/* Admin saved leads — full viewport width for wide table */
.form-page--full {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

body.form-page-body .form-page--full .inquiry-form {
  max-width: none;
}

body.form-page-body .admin-leads__section {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid var(--hairline-on-dark);
}

body.form-page-body .admin-leads__lead-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

body.form-page-body .admin-leads__lead-list-actions .inquiry-form__field {
  flex: 1;
  min-width: 200px;
  max-width: min(400px, 100%);
}

body.form-page-body .admin-leads__enrich-row {
  margin-top: -4px;
}

body.form-page-body .admin-leads__enrich-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

body.form-page-body .admin-leads__enrich-label input {
  flex-shrink: 0;
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent, #0071e3);
}

body.form-page-body .admin-county-combo__wrap {
  position: relative;
}

body.form-page-body .admin-county-combo__input {
  width: 100%;
}

body.form-page-body .admin-county-combo__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 40;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  max-height: min(320px, 55vh);
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 18, 20, 0.98);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}

body.form-page-body .admin-county-combo__option {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.12s var(--ease-apple);
}

body.form-page-body .admin-county-combo__option:hover,
body.form-page-body .admin-county-combo__option.is-active {
  background: rgba(255, 255, 255, 0.08);
}

body.form-page-body .admin-county-combo__hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.38);
}

body.form-page-body .inquiry-form__row--inline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  body.form-page-body .inquiry-form__row--inline {
    grid-template-columns: 1fr;
  }
}

body.form-page-body .admin-leads__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

body.form-page-body .admin-leads__chip {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 980px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease-apple),
    background 0.2s var(--ease-apple);
}

body.form-page-body .admin-leads__chip:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

/* County sweep — keyword tags */
body.form-page-body .admin-keywords__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.2s var(--ease-apple),
    box-shadow 0.2s var(--ease-apple);
}

body.form-page-body .admin-keywords__box:focus-within {
  border-color: rgba(0, 113, 227, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.22);
}

body.form-page-body .admin-keywords__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

body.form-page-body .admin-keywords__tag {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  padding: 4px 4px 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    outline 0.15s var(--ease-apple),
    background 0.15s var(--ease-apple),
    border-color 0.15s var(--ease-apple);
}

body.form-page-body .admin-keywords__tag--arm {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.35);
}

body.form-page-body .admin-keywords__tag--arm .admin-keywords__tag-remove {
  opacity: 1;
  color: rgba(255, 255, 255, 0.75);
}

body.form-page-body .admin-keywords__tag-remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transition:
    color 0.15s var(--ease-apple),
    background 0.15s var(--ease-apple),
    opacity 0.15s var(--ease-apple);
}

body.form-page-body .admin-keywords__tag:hover .admin-keywords__tag-remove,
body.form-page-body .admin-keywords__tag:focus-within .admin-keywords__tag-remove {
  opacity: 1;
  color: rgba(255, 255, 255, 0.75);
}

body.form-page-body .admin-keywords__tag-remove:hover,
body.form-page-body .admin-keywords__tag-remove:focus-visible {
  color: var(--pure);
  background: rgba(255, 255, 255, 0.12);
}

body.form-page-body .admin-keywords__tag-remove:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.65);
  outline-offset: 1px;
  opacity: 1;
}

body.form-page-body .admin-keywords__input {
  flex: 1 1 140px;
  min-width: 100px;
  border: none;
  margin: 0;
  padding: 6px 4px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--pure);
  background: transparent;
}

body.form-page-body .admin-keywords__input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

body.form-page-body .admin-keywords__input:focus {
  outline: none;
}

body.form-page-body .admin-keywords__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

body.form-page-body .admin-keywords__hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.38);
}

body.form-page-body .admin-keywords__hint strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

body.form-page-body .admin-leads__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

body.form-page-body .admin-leads__actions .btn--primary {
  width: auto;
  min-width: 140px;
  padding: 12px 22px;
  font-size: 14px;
}

body.form-page-body .admin-leads-browser__filters {
  align-items: end;
}

@media (min-width: 641px) {
  body.form-page-body .admin-leads-browser__searchcell {
    grid-column: span 2;
  }
}

body.form-page-body .admin-leads-browser__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

body.form-page-body .admin-leads-browser__pageinfo {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

body.form-page-body .admin-leads__table-wrap {
  margin-top: 18px;
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

body.form-page-body .form-page--full .admin-leads__table {
  table-layout: auto;
  min-width: 100%;
}

body.form-page-body .admin-leads__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

body.form-page-body .admin-leads__table th,
body.form-page-body .admin-leads__table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

body.form-page-body .admin-leads__table th {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.form-page-body .admin-leads__table tr:last-child td {
  border-bottom: none;
}

body.form-page-body .admin-leads__table a {
  color: var(--accent);
  word-break: break-all;
}

body.form-page-body .admin-leads__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 10px;
}

body.form-page-body #admin-leads-msg.is-error {
  color: #fbbf24;
}

body.form-page-body .admin-leads-map__wrap {
  margin-top: 14px;
}

body.form-page-body .admin-leads-map__canvas {
  height: min(52vh, 440px);
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--hairline-on-dark);
  background: rgba(255, 255, 255, 0.04);
}

body.form-page-body .admin-leads-map__canvas--statewide {
  height: min(58vh, 620px);
  min-height: 420px;
}

body.form-page-body .admin-leads-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

body.form-page-body .admin-leads-map__legend strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

body.form-page-body .admin-leads-map__selected {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* Leaflet county paths are keyboard-focusable; browsers draw a rectangular :focus ring
   around the SVG path’s bounding box — not along the county outline. Remove it so only
   the vector stroke/fill (setStyle) reads as “selected.” */
body.form-page-body .admin-leads-map__canvas .leaflet-interactive:focus,
body.form-page-body .admin-leads-map__canvas .leaflet-interactive:focus-visible {
  outline: none;
}

body.form-page-body .admin-leads-map__canvas svg path:focus,
body.form-page-body .admin-leads-map__canvas svg path:focus-visible {
  outline: none;
}

/* Scroll reveal — subtle, once; no bounce */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
  transition:
    opacity var(--reveal-duration) var(--ease-apple),
    transform var(--reveal-duration) var(--ease-apple);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
