/* ══════════════════════════════════════════════════════════════════
   iyraCare Design System — "Warm Clinical"
   Deep pine teal + warm paper neutrals + brand-gradient accents
   Fonts: Bricolage Grotesque (display) · Inter (UI) · IBM Plex Mono (data)
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* surfaces */
  --paper:    #FAF7F1;
  --surface:  #FFFFFF;
  --sand:     #F3EEE4;
  --sand-2:   #ECE5D6;

  /* ink */
  --ink:      #14211B;
  --ink-2:    #46554D;
  --ink-3:    #7C877F;

  /* lines */
  --line:     #E6DFD0;
  --line-2:   #D8CFBC;

  /* brand */
  --pine:     #0C352B;
  --pine-2:   #11463A;
  --pine-3:   #1A5A48;
  --teal:     #0E7C5B;
  --teal-hi:  #12A374;
  --mint:     #DEEFE3;
  --mint-2:   #C2E4D0;
  --glow:     #7BE3B4;
  --amber:    #E0A43C;
  --coral:    #F5426C;

  /* brand gradients — deep pine to bright emerald */
  --grad: linear-gradient(105deg, #0B4A39 0%, #0E8A6E 48%, #19BC8E 100%);
  --grad-bright: linear-gradient(96deg, #9CF2CB 0%, #4CD9A9 55%, #2FBF97 100%);

  /* type */
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --ui:      "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* geometry */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --wrap: 1240px;

  --sh-sm: 0 1px 2px rgba(20,33,27,.05), 0 4px 14px rgba(20,33,27,.05);
  --sh-md: 0 2px 6px rgba(20,33,27,.06), 0 14px 40px rgba(20,33,27,.09);
  --sh-lg: 0 4px 12px rgba(20,33,27,.07), 0 32px 80px rgba(20,33,27,.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--ui);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* subtle dot grid across the whole canvas */
  background-image: radial-gradient(rgba(20,33,27,.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

::selection { background: var(--mint-2); color: var(--pine); }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 48px); }

/* ── Typography ──────────────────────────────────────────────── */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.h-hero  { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 640; }
.h-xl    { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 620; }
.h-lg    { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.h-md    { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

.lede    { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); line-height: 1.75; max-width: 640px; }

/* gradient accent word — ties headlines to the logo script */
.gword {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .04em;
}

/* mint marker-swipe under a word */
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -0.06em; right: -0.06em;
  bottom: 0.04em; height: 0.34em; z-index: -1;
  background: var(--mint-2); border-radius: 3px;
  transform: skewX(-8deg);
}

/* mono eyebrow row:  [ 01 ]  ─── OPERATIONAL IMPACT */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 22px;
}
.kicker .idx {
  border: 1px solid var(--line-2); border-radius: 6px;
  padding: 2px 8px; color: var(--ink-2); background: var(--surface);
}
.kicker .rule { flex: 0 0 44px; height: 1px; background: var(--line-2); }
.kicker.center { justify-content: center; }

/* ── Buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ui); font-size: 15px; font-weight: 600;
  border-radius: 999px; padding: 13px 26px; border: none; cursor: pointer;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  line-height: 1.2; white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform .18s ease; font-weight: 500; }
.btn:hover .arr { transform: translateX(4px); }

.btn-ink {
  background: var(--pine); color: #FDFDFB;
  box-shadow: 0 1px 2px rgba(12,53,43,.3), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-ink:hover { background: var(--pine-2); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(12,53,43,.25); }

.btn-line {
  background: var(--surface); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--pine); transform: translateY(-1px); }

.btn-glow {
  background: var(--glow); color: var(--pine);
  box-shadow: 0 0 0 1px rgba(123,227,180,.4), 0 8px 30px rgba(123,227,180,.25);
}
.btn-glow:hover { transform: translateY(-1px); background: #8FEDC2; }

.btn-ghost-dark { background: transparent; color: #E7F2EA; box-shadow: inset 0 0 0 1.5px rgba(231,242,234,.28); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px rgba(231,242,234,.65); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ── Floating pill nav ───────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 14px 16px 0;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  max-width: 1480px; margin: 0 auto;
  display: flex; align-items: center; gap: 30px;
  padding: 9px 14px 9px 28px;
  background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.32) 50%, rgba(255,255,255,.48) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255,255,255,.65);
  outline: 1px solid rgba(20,33,27,.06);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -1px 0 rgba(255,255,255,.2),
    0 1px 2px rgba(20,33,27,.05),
    0 12px 38px rgba(20,33,27,.09);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled .nav-pill {
  background: linear-gradient(115deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,.66) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    0 2px 6px rgba(20,33,27,.07),
    0 18px 50px rgba(20,33,27,.13);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; }

.nav-links { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  padding: 8px 18px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--sand); color: var(--ink); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn-sm { padding: 10px 22px; font-size: 14.5px; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 10px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 82px; left: 16px; right: 16px; z-index: 899;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px 20px 20px; box-shadow: var(--sh-lg);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
  padding: 13px 4px; font-size: 15.5px; font-weight: 500; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav-mobile-ctas { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }

/* page offset below fixed nav */
.page-top-pad { padding-top: 120px; }

/* ── Sections ────────────────────────────────────────────────── */

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* hairline separators with "+" crosshair marks */
.sep { position: relative; height: 1px; background: var(--line); max-width: var(--wrap); margin: 0 auto; }
.sep::before, .sep::after {
  content: "+"; position: absolute; top: -11px;
  font-family: var(--mono); font-size: 15px; color: var(--line-2); background: transparent;
}
.sep::before { left: clamp(8px, 3vw, 24px); }
.sep::after  { right: clamp(8px, 3vw, 24px); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 18px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ── Cards ───────────────────────────────────────────────────── */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--sh-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }

/* cursor-following spotlight (needs .spot + JS setting --mx/--my) */
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(18,163,116,.08), transparent 65%);
  transition: opacity .3s; pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

.card h3 { font-size: 1.18rem; font-weight: 620; margin-bottom: 8px; letter-spacing: -.01em; }
.card p  { font-size: .95rem; color: var(--ink-2); line-height: 1.7; }

.card-icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint); color: var(--teal); margin-bottom: 18px;
  border: 1px solid var(--mint-2);
}
.card-icon svg { width: 22px; height: 22px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ── Check list ──────────────────────────────────────────────── */

.ticks { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink-2); line-height: 1.6; }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks .tk {
  flex: 0 0 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--mint); border: 1px solid var(--mint-2);
  display: flex; align-items: center; justify-content: center;
}
.ticks .tk::after {
  content: ""; width: 9px; height: 5px; margin-top: -2px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-48deg);
}

/* ── Chips ───────────────────────────────────────────────────── */

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-hi); }
.chip .dot.pulse { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(18,163,116,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(18,163,116,0); }
  100% { box-shadow: 0 0 0 0 rgba(18,163,116,0); }
}

/* ── Marquee ─────────────────────────────────────────────────── */

.marquee {
  overflow: hidden; position: relative;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
  display: flex; align-items: center; gap: 56px;
}
.marquee-track span i { font-style: normal; color: var(--teal-hi); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Stats ───────────────────────────────────────────────────── */

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell {
  padding: 34px 30px;
  border-left: 1px solid var(--line);
}
.stat-cell:first-child { border-left: none; }
.stat-num {
  font-family: var(--display); font-weight: 640; letter-spacing: -.03em;
  font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; color: var(--ink);
  display: flex; align-items: baseline; gap: 2px;
}
.stat-num .unit { font-size: .45em; color: var(--teal); font-weight: 600; }
.stat-lbl { margin-top: 10px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.stat-lbl em { font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); display: block; margin-top: 3px; }

/* ── Dark (pine) sections ────────────────────────────────────── */

.dark {
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(123,227,180,.13), transparent 60%),
    radial-gradient(700px 420px at 92% 110%, rgba(42,167,240,.10), transparent 60%),
    var(--pine);
  color: #E9F3EC;
  position: relative;
  overflow: hidden;
}
.dark::before { /* fine grid on dark */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(233,243,236,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.dark > * { position: relative; z-index: 1; }
.dark h1, .dark h2, .dark h3 { color: #F4FAF5; }
.dark .gword {
  background: var(--grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dark .lede { color: rgba(233,243,236,.72); }
.dark .kicker { color: var(--glow); }
.dark .kicker .idx { background: rgba(255,255,255,.06); border-color: rgba(233,243,236,.18); color: rgba(233,243,236,.8); }
.dark .kicker .rule { background: rgba(233,243,236,.22); }

.dark-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(233,243,236,.12);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: background .25s, border-color .25s, transform .25s;
}
.dark-card:hover { background: rgba(255,255,255,.07); border-color: rgba(233,243,236,.22); transform: translateY(-3px); }
.dark-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.dark-card p { font-size: .92rem; color: rgba(233,243,236,.68); line-height: 1.7; }

/* ── OS window chrome (product mockups) ──────────────────────── */

.os-window {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.os-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.os-dots { display: flex; gap: 6px; }
.os-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.os-dots i:nth-child(1) { background: #F2604D; }
.os-dots i:nth-child(2) { background: #F5B62F; }
.os-dots i:nth-child(3) { background: #38C172; }
.os-url {
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 12px; max-width: 340px; margin: 0 auto;
}

/* ── Reveal animations ───────────────────────────────────────── */

.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ── Forms ───────────────────────────────────────────────────── */

.field label {
  display: block; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line-2); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font-family: var(--ui); font-size: 15px; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18,163,116,.12); }
.field { margin-bottom: 18px; }

/* ── Footer ──────────────────────────────────────────────────── */

footer.foot {
  background:
    radial-gradient(1000px 500px at 85% -20%, rgba(123,227,180,.09), transparent 60%),
    var(--pine);
  color: rgba(233,243,236,.78);
  position: relative; overflow: hidden;
  margin-top: 0;
}
.foot-grid {
  display: grid; grid-template-columns: 1.7fr .9fr .9fr 1fr 1.5fr; gap: 40px;
  padding: clamp(56px, 7vw, 88px) 0 48px;
  position: relative; z-index: 1;
}
.foot-brand img { height: 34px; margin-bottom: 18px; }
.foot-brand p { font-size: .95rem; line-height: 1.7; max-width: 300px; color: rgba(233,243,236,.66); }
.foot-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.foot-contact a { font-family: var(--mono); font-size: 13px; color: var(--glow); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.foot-contact svg { opacity: .7; flex: 0 0 13px; }
.foot-contact a:hover { text-decoration: underline; }

.foot h6 {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(233,243,236,.45); margin-bottom: 18px;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot ul a { font-size: .95rem; color: rgba(233,243,236,.78); text-decoration: none; transition: color .15s; }
.foot ul a:hover { color: #fff; }

.foot-sub-note { font-size: .88rem; color: rgba(233,243,236,.6); line-height: 1.6; margin-bottom: 14px; }
.foot-sub-form { display: flex; gap: 8px; }
.foot-sub-form input {
  flex: 1; padding: 12px 16px; min-width: 0;
  background: rgba(255,255,255,.07); border: 1px solid rgba(233,243,236,.18);
  border-radius: 999px; color: #F4FAF5; font-family: var(--ui); font-size: 14px; outline: none;
  transition: border-color .18s;
}
.foot-sub-form input::placeholder { color: rgba(233,243,236,.4); }
.foot-sub-form input:focus { border-color: var(--glow); }
.foot-sub-form button {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: var(--glow); color: var(--pine);
  font-size: 18px; cursor: pointer; transition: transform .18s;
}
.foot-sub-form button:hover { transform: translateX(2px); }
.foot-sub-success {
  display: none; margin-top: 12px; padding: 11px 16px;
  background: rgba(123,227,180,.12); border: 1px solid rgba(123,227,180,.4);
  border-radius: 12px; font-size: 13px; color: var(--glow);
  align-items: center; gap: 8px;
}

.foot-bot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(233,243,236,.12);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(233,243,236,.4);
  position: relative; z-index: 1;
}

/* giant watermark wordmark */
.foot-mark {
  position: absolute; left: 50%; bottom: -0.08em; transform: translateX(-50%);
  font-family: var(--display); font-weight: 700; letter-spacing: -.04em;
  font-size: clamp(120px, 22vw, 320px); line-height: 1;
  color: rgba(233,243,236,.035); pointer-events: none; user-select: none;
  white-space: nowrap; z-index: 0;
}

/* ── Sub-page hero ───────────────────────────────────────────── */

.page-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 72px); }
.page-hero .lede { margin-top: 20px; }
.page-hero-stats { display: flex; gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.page-hero-stats > div { flex: 1; padding: 22px 26px; border-left: 1px solid var(--line); }
.page-hero-stats > div:first-child { border-left: none; }
.page-hero-stats b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 640; letter-spacing: -.02em; color: var(--teal); }
.page-hero-stats span { font-size: .85rem; color: var(--ink-2); }

/* split feature rows on sub-pages */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-visual { order: 1; }
.feature-visual {
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--sh-md);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}

/* ── CTA band ────────────────────────────────────────────────── */

.cta-band { text-align: center; padding: clamp(80px, 10vw, 130px) 0; }
.cta-band .lede { margin: 22px auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(233,243,236,.5); }

/* ── Prose (privacy / long-form) ─────────────────────────────── */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.13rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1rem; line-height: 1.8; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose a { color: var(--teal); }

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
  .stat-cell { border-top: 1px solid var(--line); }
  .stat-cell:nth-child(-n+2) { border-top: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-line { display: none; }
  .nav-burger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-copy { order: 1; }
  .feature-row.flip .feature-visual { order: 2; }
  .page-top-pad { padding-top: 104px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-cell { padding: 24px 18px; }
  .page-hero-stats { flex-direction: column; }
  .page-hero-stats > div { border-left: none; border-top: 1px solid var(--line); }
  .page-hero-stats > div:first-child { border-top: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-bot { flex-direction: column; gap: 8px; text-align: center; }
  .nav-cta .open-signin { display: none; }
}

/* ── iyra companion cursor ──────────────────────────────────────
   pointer = tiny iyra "+" mark with a gentle wobble
   follower = mini orbit: dashed ring + two satellites circling
   hover: plus spins & grows, orbit speeds up · click: squish + pulse
   text: caret · dark sections: mint glow */
@media (pointer: fine) {
  html.iyra-cursor, html.iyra-cursor body,
  html.iyra-cursor a, html.iyra-cursor button, html.iyra-cursor .btn,
  html.iyra-cursor label, html.iyra-cursor [role="button"],
  html.iyra-cursor input, html.iyra-cursor textarea, html.iyra-cursor select { cursor: none !important; }

  /* ── the plus pointer ── */
  #curDot {
    position: fixed; top: 0; left: 0; z-index: 100000; pointer-events: none;
    width: 20px; height: 20px;
    background: url("iyra-icon.png") center / contain no-repeat;
    transform: translate(-50%,-50%);
    filter: drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 1px 4px rgba(20,33,27,.3));
    transition: transform .22s cubic-bezier(.3,1.5,.4,1), opacity .25s, filter .2s;
    animation: plusWobble 3.2s ease-in-out infinite;
  }
  @keyframes plusWobble {
    0%, 100% { rotate: -7deg; } 50% { rotate: 7deg; }
  }
  #curDot::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 2.6px; height: 21px; border-radius: 2px;
    background: var(--teal); opacity: 0;
    transform: translate(-50%,-50%);
    transition: opacity .15s;
  }

  /* ── the mini orbit follower ── */
  #curRing {
    position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
    width: 42px; height: 42px; border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width .28s cubic-bezier(.3,1.4,.4,1), height .28s cubic-bezier(.3,1.4,.4,1), opacity .25s;
  }
  /* rotating dashed orbit + two satellites */
  #curRing .orb {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1.3px dashed rgba(14,124,91,.45);
    animation: curSpin 9s linear infinite;
  }
  #curRing .orb::before {
    content: ""; position: absolute; top: -3.5px; left: 50%; margin-left: -3px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal-hi);
    box-shadow: 0 0 6px rgba(18,163,116,.55);
  }
  #curRing .orb::after {
    content: ""; position: absolute; bottom: -2.5px; left: 22%;
    width: 4.5px; height: 4.5px; border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 5px rgba(224,164,60,.5);
  }
  @keyframes curSpin { to { transform: rotate(360deg); } }
  /* heartbeat halo */
  #curRing .hb {
    position: absolute; inset: -2px; border-radius: 50%;
    border: 1.3px solid rgba(18,163,116,.28);
    animation: hbeat 2.1s ease-in-out infinite;
  }
  @keyframes hbeat {
    0%, 100% { transform: scale(1); opacity: .8; }
    7%  { transform: scale(1.22); opacity: .3; }
    14% { transform: scale(1); opacity: .8; }
    21% { transform: scale(1.12); opacity: .45; }
    28% { transform: scale(1); opacity: .8; }
  }

  /* ── hover on anything clickable ── */
  .cur-hot #curDot { transform: translate(-50%,-50%) rotate(90deg) scale(1.45); }
  .cur-hot #curRing { width: 60px; height: 60px; }
  .cur-hot #curRing .orb { animation-duration: 2.2s; border-color: rgba(18,163,116,.7); }
  .cur-hot #curRing .hb { animation-duration: 1s; }

  /* ── click: squish + pulse ── */
  .cur-down #curDot { transform: translate(-50%,-50%) scale(.6); }
  .cur-down.cur-hot #curDot { transform: translate(-50%,-50%) rotate(90deg) scale(.85); }
  .cur-down #curRing { width: 34px; height: 34px; }
  .cur-ripple {
    position: fixed; z-index: 99998; pointer-events: none;
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid var(--teal-hi);
    transform: translate(-50%,-50%);
    animation: curRipple .5s ease-out forwards;
  }
  @keyframes curRipple {
    to { width: 70px; height: 70px; opacity: 0; border-width: 1px; }
  }

  /* ── text fields: caret ── */
  .cur-txt #curDot { animation: none; background-image: none; }
  .cur-txt #curDot::before { opacity: 1; }
  .cur-txt #curRing { opacity: 0; }

  /* ── dark sections: mint glow ── */
  .cur-inv #curDot { filter: drop-shadow(0 0 2px rgba(255,255,255,.7)) drop-shadow(0 0 12px rgba(123,227,180,.55)); }
  .cur-inv #curDot::before { background: var(--glow); }
  .cur-inv #curRing .orb { border-color: rgba(123,227,180,.5); }
  .cur-inv #curRing .orb::before { background: var(--glow); box-shadow: 0 0 8px rgba(123,227,180,.7); }
  .cur-inv #curRing .hb { border-color: rgba(123,227,180,.35); }

  .cur-hide #curDot, .cur-hide #curRing { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #curDot, #curRing, .cur-ripple { display: none !important; }
}
