/* ============================================================
   OneWorldMD — quiet luxury for medicine
   ============================================================ */

/* Switzer — self-hosted variable grotesk (display voice) */
@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/Switzer-VariableItalic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --porcelain: #F7F5F1;
  --porcelain-2: #FBFAF7;
  --ink: #0B2237;
  --ink-navy: #081A2B;
  --blue: #2595DC;
  --sky: #A5D5EC;
  --hairline: rgba(11, 34, 55, 0.12);
  --hairline-soft: rgba(11, 34, 55, 0.08);
  --muted: rgba(11, 34, 55, 0.62);
  --muted-light: rgba(247, 245, 241, 0.66);

  /* --display is the headline voice (was Fraunces, now Switzer grotesk).
     Kept the --serif alias pointed at it so every prior usage inherits the swap. */
  --display: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: var(--display);
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ol, ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }

/* -------------------- Shared type -------------------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
  font-variant: small-caps;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--sky); }

.section-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 380;
  color: var(--ink);
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 30ch; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 0; border-radius: 100px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-align: center;
}
.btn--primary {
  background: var(--ink); color: #fff;
  padding: 0.95rem 1.9rem;
  box-shadow: 0 1px 2px rgba(8, 26, 43, 0.18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(8, 26, 43, 0.22); }
.btn--pill {
  background: var(--ink); color: #fff;
  padding: 0.65rem 1.3rem; font-size: 0.95rem;
}
.btn--pill:hover { transform: translateY(-1px); background: #12324c; }
.btn--light {
  background: var(--porcelain); color: var(--ink);
  padding: 0.95rem 2rem;
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.link-arrow {
  font-weight: 600; font-size: 0.98rem; color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px; transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }
.link-arrow span { color: var(--blue); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* -------------------- Wordmark -------------------- */
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; }
.wordmark__mark { width: auto; height: 36px; }
.wordmark--footer .wordmark__mark { width: auto; height: 30px; }
.wordmark__text {
  font-family: var(--sans); font-size: 1.28rem; font-weight: 400;
  letter-spacing: -0.01em; line-height: 1;
}
.wordmark--footer .wordmark__text { font-size: 1.15rem; }
.wordmark__one { color: var(--ink); }
.wordmark__md { color: var(--blue); font-weight: 600; }

/* -------------------- Nav -------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 241, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 0.85rem var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a {
  font-weight: 500; font-size: 0.98rem; color: var(--ink);
  position: relative; padding-bottom: 2px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--blue); transition: width 0.25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 0.25rem;
  padding: 0.5rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--hairline-soft);
}
.nav__mobile a { padding: 0.85rem 0; font-weight: 500; font-size: 1.05rem; border-bottom: 1px solid var(--hairline-soft); }
.nav__mobile .btn { margin-top: 1rem; align-self: flex-start; }

/* -------------------- Hero -------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}
/* Two-cell hero row: flexible left cell holds the atmos globe (centered both
   axes), fixed right cell holds the copy. The row's right padding tracks the
   nav content edge exactly (centered 1200px wrap + gutter), so the copy block's
   right edge lands where it always did. align-items:center vertically centers
   the globe against the copy stack (eyebrow → CTA), not the whole section. */
.hero__row {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 640px;
  align-items: center;
  padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero__atmos-cell {
  display: flex; align-items: center; justify-content: center;
  min-width: 0;
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: 640px;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.2vw, 4.5rem);
  line-height: 1.06; letter-spacing: -0.025em; font-weight: 340;
  margin: 0 0 1.6rem;
}
.hero__title-accent {
  color: var(--blue);
  font-weight: 340;
}
.hero__sub {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55; color: var(--muted); max-width: 60ch;
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }

/* Atmospheric globe — now fully visible, centered in the left cell as a
   centerpiece. The box defines the globe's rendered diameter; rings originate
   from its center and radiate out past the box (hero clips at the edges). */
.hero__atmos {
  position: relative; z-index: 1; pointer-events: none;
  width: min(90%, clamp(360px, 40vw, 560px)); aspect-ratio: 1;
}
.hero__globe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0.16;
  filter: saturate(0.9);
  /* static at rest — no float/drift; springs once on hover (delight) */
  pointer-events: auto;
  cursor: pointer;
}
.hero__atmos:hover .hero__globe {
  animation: globe-bounce 0.85s cubic-bezier(0.28, 1.6, 0.4, 1) 1;
}
@keyframes globe-bounce {
  0%   { transform: translateY(0)    scale(1); }
  30%  { transform: translateY(-5px) scale(1.004); }
  60%  { transform: translateY(1px); }
  100% { transform: translateY(0)    scale(1); }
}
.hero__glow {
  position: absolute; inset: 8%;
  background: radial-gradient(circle at 50% 50%, rgba(165, 213, 236, 0.5), rgba(165, 213, 236, 0) 62%);
  filter: blur(20px);
}

/* Radar rings — thin outlines radiating outward from the globe's center.
   Ring base diameter == 100% of the atmos box == the globe's rendered diameter.
   Each ring starts at scale(1.05) (just outside the globe edge, opacity 0),
   fades in past the edge, and expands to scale(7) so its radius clears a
   1920px+ viewport before fully fading out. Origin is now the globe center
   (centered in the left cell), so the sweep still travels the full page width. */
.hero__radar {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; aspect-ratio: 1;
  margin: -50% 0 0 -50%;
  border: 2px solid rgba(37, 149, 220, 0.4);
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.05);
  transform-origin: center;
  will-change: transform, opacity;
  animation: radar 12.5s linear infinite;
}
/* 10 rings over a 12.5s cycle = one ring every 1.25s (~30% more frequent
   than the previous 1.625s emission interval). */
.hero__radar--1  { animation-delay:  0s; }
.hero__radar--2  { animation-delay: -1.25s; }
.hero__radar--3  { animation-delay: -2.5s; }
.hero__radar--4  { animation-delay: -3.75s; }
.hero__radar--5  { animation-delay: -5s; }
.hero__radar--6  { animation-delay: -6.25s; }
.hero__radar--7  { animation-delay: -7.5s; }
.hero__radar--8  { animation-delay: -8.75s; }
.hero__radar--9  { animation-delay: -10s; }
.hero__radar--10 { animation-delay: -11.25s; }

/* Opacity keyframe geometry (verified at 1440px, globe now centered in left cell):
   Globe center x≈308px, globe radius≈277px, page center x=720px.
   Distance globe-center → page-center = 412px. Scale at page-center crossing = 412/277 = 1.487.
   Fraction through scale range (1.05→7): (1.487−1.05)/(7−1.05) = 7.3% through animation.
   Requirement: opacity ≤ 50% of peak (≤0.15) at the ~7.3% mark.
   Keyframe design: peak 0.30 at 2%, interpolate linearly to 0.12 by 7%,
   continue decaying to 0.04 at 40%, fade to 0 at 100%.
   At 7.3%: just past the 7% node → ≈0.119 ≈ 40% of peak — ✓ under 50%.
   End-scale check (1920): globe center x≈428, radius≈280, right edge distance 1492px;
   scale(7)=1960px radius clears it before fade. */
@keyframes radar {
  0%    { transform: scale(1.05); opacity: 0; }
  2%    { opacity: 0.30; }
  5%    { opacity: 0.09; }
  12%   { opacity: 0.035; }
  35%   { opacity: 0.015; }
  100%  { transform: scale(7);    opacity: 0; }
}

/* Stats */
.stats { margin-top: clamp(3rem, 6vw, 5rem); position: relative; z-index: 2; }
.stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.stat {
  padding: 2rem 1.5rem 2rem 0; position: relative;
}
.stat + .stat { border-left: 1px solid var(--hairline); padding-left: 2rem; }
.stat__num {
  display: block; font-family: var(--display); font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1; color: var(--blue);
  letter-spacing: -0.035em; font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block; margin-top: 0.5rem; font-size: 0.92rem;
  color: var(--muted); letter-spacing: 0.01em;
}
.stats__caption {
  margin-top: 1.4rem; font-size: 0.95rem; color: var(--muted); max-width: 58ch;
}

/* -------------------- Institutions -------------------- */
.institutions { padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; }
.roster {
  font-family: var(--display); font-weight: 380;
  font-size: clamp(1.25rem, 3vw, 2rem); line-height: 1.5; color: var(--ink);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.35em 0.9em; letter-spacing: -0.02em;
}
.roster span { position: relative; }
.roster span:not(:last-child)::after {
  content: "·"; color: var(--blue); margin-left: 0.9em; opacity: 0.7;
}
.roster__note { margin-top: 1.6rem; font-size: 0.95rem; color: var(--muted); }

/* -------------------- Benefits -------------------- */
.benefits { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.blist { border-top: 1px solid var(--hairline); }
.blist__item {
  display: grid; grid-template-columns: 4rem minmax(14rem, 22rem) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.blist__num {
  font-family: var(--display); font-size: 1.6rem; color: var(--blue);
  font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.blist__body { display: contents; }
.blist__body h3 {
  font-family: var(--display); font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 400; margin-bottom: 0; letter-spacing: -0.02em;
  line-height: 1.25;
}
.blist__body p { color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
.blist__foot {
  margin-top: 1.8rem; font-size: 0.92rem; color: var(--muted);
  font-style: italic;
}

/* -------------------- Audience -------------------- */
.audience { padding: clamp(3.5rem, 8vw, 7rem) 0; background: var(--porcelain-2); border-block: 1px solid var(--hairline-soft); }
.audience__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.audience__item {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-top: 1px solid var(--hairline);
}
.audience__item:nth-child(odd) { border-right: 1px solid var(--hairline); }
.audience__item h3 {
  font-family: var(--display); font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  font-weight: 400; margin-bottom: 0.6rem; letter-spacing: -0.02em;
}
.audience__item p { color: var(--muted); font-size: 1.02rem; max-width: 42ch; }

/* -------------------- How / membership -------------------- */
.how { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.how__inner {
  display: grid; grid-template-columns: 1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.steps { }
.steps__item {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.2rem;
  padding: 1.5rem 0; border-top: 1px solid var(--hairline);
}
.steps__item:first-of-type { border-top: 0; padding-top: 0; }
.steps__num {
  font-family: var(--display); font-size: 1.4rem; color: var(--blue);
  font-weight: 300; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.steps__item h3 {
  font-family: var(--display); font-size: 1.3rem; font-weight: 400;
  margin-bottom: 0.35rem; letter-spacing: -0.02em;
}
.steps__item p { color: var(--muted); font-size: 1.02rem; }

.how__card {
  background: linear-gradient(160deg, rgba(165, 213, 236, 0.22), rgba(165, 213, 236, 0.06));
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  display: flex; align-items: center; justify-content: center;
}
.how__card img { width: 100%; }
.how__card img {
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(8, 26, 43, 0.22), 0 4px 12px rgba(8,26,43,0.1);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}
.how__card:hover img { transform: rotate(-2deg) scale(1.02); }

/* -------------------- Founding (dark) -------------------- */
.founding {
  position: relative; overflow: hidden;
  background: var(--ink-navy); color: var(--porcelain);
  padding: clamp(4rem, 10vw, 8rem) 0; text-align: center;
}
.founding::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
}
.founding::after {
  content: ""; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 60vh; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(37, 149, 220, 0.18), rgba(37,149,220,0) 65%);
}
.founding__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.founding__prices {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.9rem; margin: 1rem 0 1.6rem;
}
.founding__price { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.founding__big {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 5.5rem); line-height: 1; color: #fff;
  letter-spacing: -0.04em;
}
.founding__price--offer .founding__cap { color: var(--sky); font-size: 1rem; letter-spacing: 0.02em; }
.founding__std {
  font-size: 0.95rem; color: var(--muted-light); letter-spacing: 0.04em;
  text-transform: uppercase; margin-top: 0.2rem;
}
.founding__line {
  font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 380; letter-spacing: -0.02em;
  color: #fff; margin-top: 0.5rem;
}
.founding__sub { color: var(--muted-light); margin: 0.6rem 0 2.2rem; font-size: 1.05rem; }

/* -------------------- FAQ -------------------- */
.faq { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.accordion { border-top: 1px solid var(--hairline); max-width: 860px; }
.acc { border-bottom: 1px solid var(--hairline); }
.acc__head { margin: 0; }
.acc__btn {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left;
  font-family: var(--sans); font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 500; color: var(--ink);
}
.acc__btn:hover { color: var(--blue); }
.acc__icon {
  position: relative; flex-shrink: 0; width: 18px; height: 18px;
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: var(--blue);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.acc__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc__icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.acc__panel.is-open { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner p {
  color: var(--muted); font-size: 1.05rem; max-width: 64ch;
  padding-bottom: 1.6rem;
}

/* -------------------- Request form -------------------- */
.request { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 8rem); background: var(--porcelain-2); border-top: 1px solid var(--hairline-soft); }
.request__inner {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.request__intro { position: sticky; top: 6rem; }
.request__intro .section-head { margin-bottom: 1.4rem; max-width: none; }
.request__lede { color: var(--muted); font-size: 1.1rem; max-width: 42ch; }
.request__privacy { color: var(--muted); font-size: 0.9rem; margin-top: 1.4rem; max-width: 40ch; }
.request__panel {
  background: var(--porcelain);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 20px 50px rgba(8, 26, 43, 0.06), 0 2px 6px rgba(8, 26, 43, 0.04);
}
.section-head + .form { margin-top: 0; }

.form { display: grid; gap: 1.4rem; }
.hp { position: absolute; left: -9999px; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field[hidden] { display: none; }
.field label, .field legend {
  font-size: 0.92rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em;
}
.field .req { color: var(--blue); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"],
.field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--hairline);
  border-radius: 6px; padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 149, 220, 0.14); outline: none;
}
.field select { appearance: none; -webkit-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 d='M1 1l5 5 5-5' stroke='%230B2237' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field--radio { border: 0; padding: 0; margin: 0; }
.field--radio legend { margin-bottom: 0.7rem; padding: 0; }
.radio { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: 1.6rem; font-weight: 400; font-size: 1rem; cursor: pointer; }
.radio input { accent-color: var(--blue); width: 18px; height: 18px; }

.field.has-error input, .field.has-error select {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.field__error { font-size: 0.85rem; color: #c0392b; font-weight: 500; min-height: 0; display: none; }
.field.has-error .field__error { display: block; }

.form__submit { justify-self: start; margin-top: 0.6rem; }
.form__status { padding: 0.9rem 1.1rem; border-radius: 6px; font-size: 0.98rem; }
.form__status.is-error { background: rgba(192,57,43,0.08); color: #a5281c; border: 1px solid rgba(192,57,43,0.25); }

.form__success {
  text-align: center; padding: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(160deg, rgba(165, 213, 236, 0.2), rgba(165, 213, 236, 0.05));
  border: 1px solid var(--hairline); border-radius: 14px;
}
.form__success-mark {
  width: 60px; height: 60px; margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; border-radius: 50%;
  font-size: 1.6rem;
}
.form__success h3 { font-family: var(--display); font-size: 1.9rem; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.form__success p { color: var(--muted); font-size: 1.08rem; }

/* -------------------- Footer -------------------- */
.footer { background: var(--porcelain); border-top: 1px solid var(--hairline); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.footer__inner { display: flex; flex-direction: column; gap: 1.1rem; }
.footer__contact { color: var(--muted); font-size: 0.98rem; }
.footer__contact a { color: var(--blue); }
.footer__disclaimer { color: var(--muted); font-size: 0.85rem; line-height: 1.6; max-width: 68ch; }
.footer__copy { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }

/* -------------------- Reveal animation -------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero staggered load (uses same reveal but delayed via JS class) */
.hero .reveal[data-hero] { transition-delay: calc((var(--i, 0)) * 0.09s); }

/* -------------------- Responsive -------------------- */
@media (max-width: 1280px) {
  /* Narrow the copy column slightly so the globe cell keeps balanced air. */
  .hero__row { grid-template-columns: minmax(0, 1fr) clamp(480px, 44vw, 600px); }
  .hero__inner { max-width: 600px; }
}

@media (max-width: 1024px) {
  /* Tablet: shrink the copy column and let the globe shrink with its cell.
     min-content air keeps the globe from colliding with the copy; it may
     partially tuck at the low end but never overlaps the text. */
  .hero__row { grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); }
  .hero__inner { max-width: 460px; }
  .hero__atmos { width: min(88%, clamp(300px, 42vw, 460px)); }
  .how__inner { grid-template-columns: 1fr; }
  .how__card { order: -1; max-width: 560px; }
  .request__inner { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }
  .request__intro { position: static; max-width: 44ch; }
  .blist__item { grid-template-columns: 4rem minmax(12rem, 18rem) 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  /* Mobile hero: one centered column — globe (with radar rings radiating
     from the middle) stacked above centered copy and CTAs. */
  .hero__row {
    display: flex; flex-direction: column; align-items: center;
    padding: 0 var(--gutter);
  }
  .hero__inner {
    max-width: 34rem; margin-left: 0;
    text-align: center;
  }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__atmos-cell {
    position: static; width: auto; height: auto;
    display: flex; justify-content: center;
    margin-bottom: 2rem;
  }
  .hero__atmos {
    position: relative; top: auto; left: auto;
    width: clamp(190px, 56vw, 250px);
    opacity: 0.9;
  }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.is-open { display: flex; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { padding: 1.4rem 0; border-top: 1px solid var(--hairline); }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .stat:first-child { border-top: 0; }
  .audience__grid { grid-template-columns: 1fr; }
  .audience__item, .audience__item:nth-child(odd) { border-right: 0; }
  .blist__item { grid-template-columns: 4rem 1fr; align-items: start; }
  .blist__body { display: contents; }
  .blist__body h3 { grid-column: 2; margin-bottom: 0.5rem; }
  .blist__body p { grid-column: 2; }
}

@media (max-width: 480px) {
  .blist__item { grid-template-columns: 1fr; gap: 0.5rem; }
  .blist__num { font-size: 1.3rem; grid-column: 1; }
  .blist__body h3, .blist__body p { grid-column: 1; }
  .hero__actions { gap: 1.2rem; }
  .founding__prices { gap: 1.2rem; }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__globe { animation: none; }

  /* Radar: show 2 static rings just outside the globe, no radiating animation. */
  .hero__radar { animation: none; }
  .hero__radar--1 { opacity: 0.28; transform: scale(1.25); }
  .hero__radar--2 { opacity: 0.16; transform: scale(1.7); }
  .hero__radar--3, .hero__radar--4,
  .hero__radar--5, .hero__radar--6,
  .hero__radar--7, .hero__radar--8,
  .hero__radar--9, .hero__radar--10 { display: none; }
}
