/* Gasner HealthTech, one-page investor site.
   Tokens per DESIGN_INSPIRATION.md (2026-06-12 benchmark audit). */

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --bg-tint: #EDF4F9;
  --ink: #1A1A1A;
  --ink-secondary: #5B6770;
  --accent: #055C9D;
  --accent-deep: #04497D;
  --accent-soft: #5697C5;
  --band-bg: #055C9D;
  --footer-bg: #04365C;
  --border: #E3EBF1;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur: 0.2s;
  --dur-press: 0.08s;
  --radius: 16px;
  --container: 1200px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: #CFE3F2; color: #04365C; }

img { display: block; max-width: 100%; height: auto; }

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

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-soft);
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  top: -48px; left: 16px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 9999px;
  font-weight: 500;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus-visible { top: 12px; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform var(--dur-press) var(--ease),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 6px 18px rgba(5, 92, 157, 0.25);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0) scale(0.97); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 12.5px 26.5px;
}
.btn-ghost:hover { background: var(--bg-tint); transform: translateY(-1px); }

.btn-inverse {
  background: #fff;
  color: var(--accent);
}
.btn-inverse:hover {
  background: var(--bg-tint);
  box-shadow: 0 6px 18px rgba(2, 30, 53, 0.3);
  transform: translateY(-1px);
}

.btn-compact { padding: 10px 22px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============ Nav ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  width: 244px;
  max-width: calc(100vw - 116px);
  height: auto;
  aspect-ratio: 600 / 59;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 2px;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a:hover::after { transform: scaleX(0.5); }
.nav-links a[aria-current="true"] { color: var(--accent); }
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.mobile-menu a:hover { color: var(--accent); text-decoration: none; }
.mobile-menu .btn { margin-top: 8px; color: #fff; }
.mobile-menu[data-open] { display: flex; }

/* ============ Hero ============ */

.hero {
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.1vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--bg-tint);
  font-size: 13.5px;
  font-weight: 500;
  color: #28455C;
}
.hero-badges svg { color: var(--accent); flex-shrink: 0; }

.hero-media img {
  border-radius: 22px;
  border: 1px solid rgba(4, 54, 92, 0.08);
  box-shadow:
    0 2px 8px rgba(4, 54, 92, 0.06),
    0 24px 60px rgba(4, 54, 92, 0.14);
}

/* One-time entrance choreography (load only, never scroll-tied) */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
/* LCP elements (h1, hero photo) move but never start invisible. */
@keyframes rise-t {
  from { transform: translateY(14px); }
  to { transform: none; }
}
.hero-copy > * { animation: rise 0.5s var(--ease) both; }
.hero-copy > h1 { animation-name: rise-t; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.13s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.21s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.29s; }
.hero-media { animation: rise-t 0.6s var(--ease) 0.1s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-media { animation: none; }
}

/* ============ Sections (shared) ============ */

.section { padding: 96px 0; }

section { scroll-margin-top: var(--nav-h); }

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-light { color: #C2DCF2; }

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 640px;
  text-wrap: balance;
}

.section-lead {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.cite {
  font-size: 0.62em;
  vertical-align: super;
  margin-left: 2px;
  color: inherit;
  opacity: 0.85;
}
.cite:hover { opacity: 1; }
.asterisk { color: inherit; }
.asterisk:hover { text-decoration: none; }

/* ============ Problem ============ */

.problem { background: var(--bg); padding-top: 32px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 48px;
}

.stat {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.stat-number {
  display: block;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat-label {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: #28455C;
}
.stat-foot {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.villain {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  max-width: 840px;
}
.villain h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600;
}
.villain p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 16.5px; }

.refs {
  margin: 40px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
  max-width: 640px;
}
.refs li { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ============ Product ============ */

.product { background: var(--bg); padding-top: 0; }

.product-grid {
  display: block;
  max-width: 760px;
  margin-top: 48px;
}

.product-media {
  position: relative;
  margin: 0;
  background: var(--bg-tint);
  border-radius: 24px;
  padding: 28px;
}
.product-media > img { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; }

/* Engineering-drawing annotations: dot on the feature, hairline leader, label. */
.hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #173A55;
  max-width: 250px;
}
.hotspot-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(5, 92, 157, 0.45);
}
.hotspot-line {
  width: 34px; height: 1.5px;
  background: rgba(5, 92, 157, 0.55);
  flex-shrink: 0;
}
.hotspot-label {
  padding: 2px 6px;
  text-shadow: 0 0 8px #fff, 0 0 3px #fff, 0 0 2px #fff;
}
.hotspot-flip { flex-direction: row-reverse; }
.hotspot-1 { top: 12.5%; left: 60%; }
.hotspot-2 { top: 56%; right: 56%; }
.hotspot-3 { top: 86%; left: 8.5%; }

.mechanism {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mech-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.mech-card svg { color: var(--accent); margin-bottom: 10px; }
.mech-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}
.mech-card p { margin: 0; font-size: 15px; color: var(--ink-secondary); }

.howitworks { margin-top: 80px; }
.howitworks-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
}
.howitworks-lead {
  margin: 0 0 32px;
  color: var(--ink-secondary);
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
}
.usage-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.usage-card img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.usage-card figcaption {
  padding: 16px 18px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-secondary);
}
.usage-card figcaption strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.ip-strip {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: center;
  margin-top: 80px;
  background: var(--bg-tint);
  border-radius: 24px;
  padding: 40px;
}
.ip-strip::after {
  content: '';
  position: absolute;
  right: -50px; top: -55px;
  width: 330px; height: 330px;
  background: url('/assets/img/patent-motif.webp?v=20260911') center / contain no-repeat;
  opacity: 0.1;
  transform: rotate(9deg);
  pointer-events: none;
}
.ip-copy { position: relative; }
.ip-media { margin: 0; }
.ip-media img {
  border-radius: 14px;
  max-height: 360px;
  width: auto;
  margin: 0 auto;
}
.ip-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
}
.ip-copy p { margin: 0 0 12px; color: #28455C; max-width: 560px; }
.ip-copy .ip-rd { margin: 0; color: var(--ink-secondary); font-size: 15px; }

.patent-callout {
  margin-top: 48px;
  max-width: 720px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--bg-tint);
  color: var(--accent-deep);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
}

/* ============ Evidence (dark band) ============ */

.evidence {
  background: var(--band-bg);
  color: #fff;
}
.evidence h2 { color: #fff; }

.stat-row-light { margin-top: 48px; }
.stat-row-light .stat { background: rgba(255, 255, 255, 0.08); }
.stat-row-light .stat-number { color: #fff; }
.stat-row-light .stat-label { color: rgba(255, 255, 255, 0.94); }
.stat-row-light .stat-foot { color: rgba(255, 255, 255, 0.88); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.quote-card {
  position: relative;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 40px 28px 26px;
}
.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 8px; left: 22px;
  font-size: 58px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.quote-card p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
}
.quote-card footer {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.evidence-note {
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}

.counter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.counter-row strong {
  font-size: 24px;
  font-weight: 600;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.evidence-cta {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.evidence-cta p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.evidence-cta a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============ About ============ */

.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.person-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.person-card img {
  width: 112px; height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--bg-tint);
}
.person-card h3 {
  margin: 0 0 4px;
  font-size: 17.5px;
  font-weight: 600;
}
.person-role {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.person-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.sab { margin-top: 80px; }
.sab-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
}
.sab-lead { margin: 0 0 32px; color: var(--ink-secondary); }

.uni-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 44px;
  margin: 4px 0 36px;
}
.uni-row img {
  width: auto;
  opacity: 0.92;
}
.uni-row img:nth-child(1) { width: 130px; height: 34px; }
.uni-row img:nth-child(2) { width: 44px; height: 58px; }
.uni-row img:nth-child(3) { width: 189px; height: 28px; }
.uni-row img:nth-child(4) { width: 206px; height: 26px; }
.uni-row img:nth-child(5) { width: 93px; height: 30px; }

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.advisor-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 6px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}
.advisor-card img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  grid-row: 1;
}
.advisor-card h4 { grid-column: 2; grid-row: 1; }
.advisor-card p { grid-column: 2; grid-row: 2; }
.advisor-card h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.advisor-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

/* ============ Contact ============ */

.contact { background: var(--bg-tint); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 64px;
  align-items: start;
}

.contact-channels {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-channels li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-channels svg { color: var(--accent); flex-shrink: 0; }
.contact-channels a { font-weight: 500; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.field .optional { color: var(--ink-secondary); font-weight: 400; }

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(86, 151, 197, 0.25);
  border-radius: 10px;
}

.field input.invalid,
.field textarea.invalid {
  border-color: #C0392B;
}

.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: #B03425;
}

.consent-group {
  margin: 4px 0 22px;
  padding: 0;
  border: 0;
}
.check-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px 10px;
  margin-top: 16px;
}
.check-field input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.check-field label {
  font-size: 13.5px;
  line-height: 1.55;
  color: #33424E;
  cursor: pointer;
}
.check-field label a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.check-field .field-error { grid-column: 2; }
.check-field input.invalid {
  outline: 2px solid #C0392B;
  outline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-consent {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  margin: 12px 0 0;
  font-size: 14.5px;
  font-weight: 500;
  min-height: 1.4em;
}
.form-status.ok { color: #1E7A3C; }
.form-status.err { color: #B03425; }

.contact-form.sent .field,
.contact-form.sent .consent-group,
.contact-form.sent button,
.contact-form.sent .form-consent { display: none; }
.contact-form.sent .form-status {
  font-size: 16.5px;
  line-height: 1.6;
}

/* ============ Footer ============ */

.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img { width: 203px; height: 20px; margin-bottom: 16px; }
.footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
  max-width: 360px;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
}
.footer-nav a:hover,
.footer-contact a:hover { color: #fff; }

.footer-legal {
  padding-top: 28px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}
.footer-legal p { margin: 0 0 6px; }

/* ============ Video modal ============ */

.video-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(880px, 92vw);
  width: 100%;
}
.video-modal::backdrop {
  background: rgba(6, 22, 36, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.video-modal video {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #000;
  display: block;
}
.video-close {
  position: absolute;
  top: -44px; right: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: background-color var(--dur) var(--ease); }
  .btn:hover, .btn:active { transform: none; }
}

/* ============ Responsive ============ */

@media (min-width: 768px) {
  .container { padding-inline: 48px; }
  .nav-inner { padding-inline: 48px; }
}

@media (min-width: 1100px) {
  .container { padding-inline: 64px; }
  .nav-inner { padding-inline: 64px; }
}

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; max-width: 480px; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ip-strip { grid-template-columns: 1fr; padding: 32px; }
  .ip-media img { max-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hotspot { position: static; max-width: none; margin-top: 12px; }
  .hotspot-flip { flex-direction: row; }
  .hotspot-line { width: 18px; }
  .hotspot-label { text-shadow: none; padding: 0 0 0 2px; }
  .product-media { display: flex; flex-direction: column; }
  .product-media > img { border-radius: 14px; }
}

@media (max-width: 860px) {
  .uni-row { gap: 16px 28px; }
  .uni-row img { transform: scale(0.88); transform-origin: left center; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stat-row { grid-template-columns: 1fr; gap: 16px; }
  .quote-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; max-width: 440px; }
  .uni-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 44px;
  margin: 4px 0 36px;
}
.uni-row img {
  width: auto;
  opacity: 0.92;
}
.uni-row img:nth-child(1) { height: 34px; }
.uni-row img:nth-child(2) { height: 58px; }
.uni-row img:nth-child(3) { height: 28px; }
.uni-row img:nth-child(4) { height: 26px; }
.uni-row img:nth-child(5) { height: 30px; }

.advisor-grid { grid-template-columns: 1fr; }
  .usage-grid { grid-template-columns: 1fr; max-width: 440px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 64px 0; }
  .nav .btn-compact { display: none; }
  .mobile-menu .btn { display: inline-flex; }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .uni-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 44px;
  margin: 4px 0 36px;
}
.uni-row img {
  width: auto;
  opacity: 0.92;
}
.uni-row img:nth-child(1) { height: 34px; }
.uni-row img:nth-child(2) { height: 58px; }
.uni-row img:nth-child(3) { height: 28px; }
.uni-row img:nth-child(4) { height: 26px; }
.uni-row img:nth-child(5) { height: 30px; }

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