/* MEDINFOX — minimal landing styles. No external requests. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d1a33;
  --ink-soft: #4d5a74;
  --navy: #0a1a44;
  --blue: #1a46c9;
  --blue-dark: #12339a;
  --blue-soft: #eef3fd;
  --blue-line: #dde5f5;
  --white: #ffffff;
  --radius: 18px;
  --wrap: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.035em; font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); }
.brand img { width: 38px; height: auto; }
.brand-name { font-weight: 750; letter-spacing: 0.08em; font-size: 1.05rem; }
.site-nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  text-decoration: none; border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { color: var(--navy); border-color: var(--blue-line); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.9rem; }
.site-nav .btn-sm { color: var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; top: 0; right: -10%; width: 65%; height: 100%;
  background: radial-gradient(closest-side, #e7eefc 0%, rgba(231, 238, 252, 0) 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 1.4rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #dfe8fb; }
.hero h1 { color: var(--navy); max-width: 14ch; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 36rem; margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--ink-soft); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .orbit { width: 100%; max-width: 440px; }
.hero-visual .mark { position: absolute; width: 36%; max-width: 160px; filter: drop-shadow(0 18px 30px rgba(10, 26, 68, 0.18)); }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.kicker { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.8rem; }
.tint { background: var(--blue-soft); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.pillar { background: var(--white); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 2rem 1.75rem; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 1.3rem; color: var(--blue); }
.icon svg { width: 24px; height: 24px; }

/* Privacy band */
.band { background: var(--navy); color: #dfe6f7; position: relative; overflow: hidden; }
.band h2 { color: var(--white); }
.band .kicker { color: #9db5ff; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.band p { color: #c4cfea; font-size: 1.1rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checks li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border: 1px solid rgba(157, 181, 255, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.checks svg { flex: none; width: 22px; height: 22px; color: #9db5ff; margin-top: 2px; }
.checks strong { color: var(--white); font-weight: 600; display: block; }
.checks span { color: #b7c3e3; font-size: 0.97rem; }
.band-art { position: absolute; right: -140px; bottom: -180px; width: 440px; opacity: 0.07; pointer-events: none; }

/* Roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--blue-line); }
.step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); }
.step.is-now { border-top-color: var(--blue); }
.step.is-now::before { background: var(--blue); }
.step .when { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.step h3 { margin-top: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* Founder */
.founder { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; max-width: 52rem; }
.monogram { width: 88px; height: 88px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; letter-spacing: 0.02em; border: 1px solid var(--blue-line); }
.founder p { margin: 0; font-size: 1.2rem; color: var(--ink); }
.founder .small { margin-top: 0.5rem; font-size: 0.95rem; color: var(--ink-soft); }

/* Contact */
.contact-card { text-align: center; background: linear-gradient(180deg, var(--blue-soft), #f7f9fe); border: 1px solid var(--blue-line); border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.contact-card p { color: var(--ink-soft); max-width: 34rem; margin-inline: auto; }
.contact-card .cta-row { justify-content: center; margin-top: 1.8rem; }
.email-link { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 650; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.email-link:hover { color: var(--blue); text-decoration: underline; }

/* Footer */
.disclaimer { font-size: 0.88rem; color: var(--ink-soft); border-top: 1px solid var(--blue-line); padding: 1.6rem 0 0; margin: 0; }
.site-footer { padding: 2.5rem 0 3rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.footer-row a { color: var(--ink-soft); }
.footer-row a:hover { color: var(--blue); }
.footer-row .brand img { width: 28px; }
.footer-row .brand-name { font-size: 0.9rem; }

/* Simple pages (privacy, 404) */
.page { padding: clamp(3rem, 8vw, 6rem) 0; }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); }
.prose h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.not-found { text-align: center; min-height: 55vh; display: grid; place-items: center; }
.not-found .big { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--blue-line); letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.5rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .band-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 210px; margin: 0 auto; }
  .hero { padding-top: 2rem; }
  .hero-grid { gap: 1.5rem; }
  .pillars, .roadmap { grid-template-columns: 1fr; }
  .roadmap { gap: 2rem; }
}
@media (max-width: 720px) {
  .site-nav li:not(.nav-cta) { display: none; }
  .header-inner { height: 64px; }
  .hero h1 { max-width: none; }
  .founder { grid-template-columns: 1fr; text-align: left; gap: 1.2rem; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .cta-row .btn { flex: 1 1 auto; }
}
.footer-row p { margin: 0; }
.not-found .cta-row { justify-content: center; }
