/* =========================================================
   Hippocare — ROOTRIX-inspired design system
   Type: Pretendard (KR/EN) + Fragment Mono (numerals/labels)
   Rhythm: 1200px container, 24px gutters, generous vertical air
   ========================================================= */

:root {
  /* ---------------------------------------------------------------
     Palette — white 60 / dark 30 / gray 10. No chromatic accent:
     hierarchy comes from value contrast and surface, not from hue.
     --------------------------------------------------------------- */

  /* 60 — white */
  --paper: #ffffff;
  --paper-2: #f3f4f4;
  --paper-3: #fafafa;

  /* 30 — dark */
  --ink: #14181a;
  --ink-2: #3d4447;
  --forest: #16191b;   /* dark section ground */
  --accent: #14181a;   /* every former accent resolves to dark */

  /* 10 — gray */
  --muted: #8d9391;
  --line: #e6e8e8;
  --gray-soft: #eeefef;
  --on-dark: #ffffff;  /* inverted CTA on dark ground */

  /* type */
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, SFMono-Regular, monospace;

  /* space */
  --gutter: 24px;
  --shell: 1200px;
  --section-y: 160px;
  --radius: 20px;
  --radius-lg: 28px;
  --pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* ---------- Typography scale ---------- */
h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.28;
}
h1 { font-size: clamp(34px, 4.4vw, 54px); }
h2 { font-size: clamp(28px, 3.3vw, 42px); }
h3 { font-size: clamp(24px, 2.6vw, 34px); }

.kicker {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  /* the kicker is a point, not supporting text — it takes the dark (30),
     never the gray (10) */
  color: var(--ink);
}
.kicker.light { color: #fff; }

.lede {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.section { padding: var(--section-y) 0; }
.section-title { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--pill);
  padding: 15px 34px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), background .22s ease, color .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--on-dark); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.btn-accent:hover { box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--forest); }
.btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.24); }

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 18px; height: 18px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 78%, 76% 78%, 76% 100%, 24% 100%, 24% 78%, 0 78%);
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 9px 20px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--forest); }
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: none;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12,14,15,.78) 0%, rgba(12,14,15,.4) 48%, rgba(12,14,15,.12) 100%),
    url('https://images.unsplash.com/photo-1551884831-bbf3cdc6469e?auto=format&fit=crop&w=2000&q=85') center/cover;
  /* photography keeps its own color — the 6:3:1 split governs UI, not imagery.
     Only the scrim is palette-controlled, so the headline stays legible. */
  transform: scale(1.04);
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}
.hero-copy { color: #fff; }
.hero-eyebrow {
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: #fff;
}
.hero h1 {
  font-size: clamp(38px, 4.9vw, 62px);
  line-height: 1.24;
  letter-spacing: -0.05em;
  color: #fff;
}
/* with hue removed, the strongest available accent is inversion: the brand
   line flips to a white plate with dark type */
.hero h1 .hl {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  /* plate is flush with the headline column; the small inner inset reads as
     padding rather than as a broken left margin */
  padding: .02em .2em .1em .14em;
}
.hero-sub {
  margin: 26px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.035em;
  color: rgba(255,255,255,.8);
}
.hero-actions { display: flex; gap: 12px; margin-top: 44px; flex-wrap: wrap; }

/* device mock */
.hero-device { display: flex; justify-content: flex-end; }
.device {
  width: 320px;
  background: #fff;
  border-radius: 34px;
  border: 6px solid #0b0f0d;
  box-shadow: 0 40px 90px rgba(0,0,0,.42);
  overflow: hidden;
}
.device-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
}
.device-brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 800; letter-spacing: -0.04em;
}
.device-brand i {
  width: 12px; height: 12px; background: var(--accent);
  clip-path: polygon(50% 0, 100% 78%, 76% 78%, 76% 100%, 24% 100%, 24% 78%, 0 78%);
}
.device-menu { display: grid; gap: 3px; }
.device-menu b { display: block; width: 15px; height: 1.5px; background: var(--ink); }
.device-body { padding: 6px 14px 20px; display: grid; gap: 9px; }
.chat {
  margin: 0;
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.chat.in { background: var(--paper-2); color: var(--ink-2); }
.chat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  box-shadow: 0 8px 20px rgba(14,21,18,.06);
}
.cc-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-bottom: 11px; border-bottom: 1px solid var(--line);
  font-size: 10px; color: var(--muted); line-height: 1.5;
}
.cc-head b { display: block; font-size: 12px; color: var(--ink); letter-spacing: -0.03em; }
.cc-head i {
  width: 13px; height: 13px; background: var(--accent);
  clip-path: polygon(50% 0, 100% 78%, 76% 78%, 76% 100%, 24% 100%, 24% 78%, 0 78%);
}
.cc-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 0; font-size: 10px; color: var(--muted);
}
.cc-row b { font-family: var(--mono); font-size: 10px; color: var(--ink); font-weight: 400; }
.cc-row b.ok { color: var(--accent); }
.cc-bars { display: grid; gap: 5px; margin-top: 8px; }
.cc-bars i { display: block; height: 5px; border-radius: 3px; background: var(--gray-soft); }
.cc-bars i:first-child { background: var(--accent); opacity: .85; }

/* ---------- Statement band ---------- */
.statement {
  padding: 120px 0;
  text-align: center;
  background: var(--paper);
}
.statement-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.3;
}
.statement-sub {
  margin: 14px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink-2);
}

/* ---------- Split (why + stats) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-copy h2 { line-height: 1.35; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
}
.stat { display: flex; align-items: center; gap: 16px; }
.stat small {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.03em;
}
.stat b {
  display: block;
  margin-top: 4px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.stat-ico {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--gray-soft);
  position: relative;
}
.stat-ico::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--forest);
}
.ico-doc::after { width: 18px; height: 22px; clip-path: polygon(0 0, 70% 0, 100% 26%, 100% 100%, 0 100%); }
.ico-clock::after { width: 22px; height: 22px; border-radius: 50%; background: none; border: 2.5px solid var(--forest); box-sizing: border-box; }
.ico-shield::after { width: 20px; height: 22px; clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%); }
.ico-stable::after { width: 22px; height: 20px; clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%); }

/* ---------- Partners / logo wall ---------- */
.partners { padding: 110px 0; background: var(--paper-3); overflow: hidden; }
.partners-title {
  margin: 0;
  text-align: center;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--accent);
}
.partners-sub {
  margin: 12px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: -0.02em;
}
.partners-note {
  margin: 34px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: #9aa29e;
}

.logo-marquee {
  margin-top: 54px;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logo-track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  animation: marquee 42s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 74px;
  padding: 0 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20,24,26,.1);
}
.logo svg { width: 30px; height: 30px; flex: none; }
.lg-type { display: grid; gap: 3px; }
.lg-type b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
  white-space: nowrap;
}
.lg-type i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
}

/* per-brand lockups — partner marks are third-party identities, so they keep
   their own hue and sit outside the 6:3:1 split. Only the card that holds
   them (white surface, gray hairline) belongs to the palette. */
.logo-hanbit { color: #1f6f4a; }
.logo-hanbit .lg-type b { letter-spacing: -0.06em; }

.logo-sejong { color: #b0862f; }
.logo-sejong .lg-type b { letter-spacing: .04em; font-weight: 700; }

.logo-nordvet { color: #2b6bd6; }
.logo-nordvet .lg-type b { font-weight: 800; letter-spacing: -0.03em; }

.logo-greenfield { color: #5aa02c; }
.logo-greenfield .lg-type b { font-weight: 700; letter-spacing: -0.055em; }

.logo-stallion { color: #23282b; }
.logo-stallion .lg-type b { letter-spacing: -0.02em; }

.logo-equipass { color: #0f8fd6; }
.logo-equipass .lg-type b { font-weight: 800; letter-spacing: -0.05em; }

.logo-meadow { color: #16a97a; }
.logo-meadow .lg-type b { letter-spacing: .06em; font-weight: 600; }

.logo-koreq { color: #c2452f; }
.logo-koreq .lg-type b { letter-spacing: .08em; }

@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .logo-track { animation: none; }
}

/* ---------- Feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  margin-top: 140px;
}
.feature.reverse .feature-copy { order: 2; }
.feature-copy h3 { margin-bottom: 22px; }
.feature-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.feature-visual { display: flex; justify-content: center; }

.scan-panel,
.verify-panel,
.share-panel {
  width: 100%;
  max-width: 440px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.scan-panel { text-align: center; padding: 56px 32px; }
.scan-ring {
  width: 132px; height: 132px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  position: relative;
}
.scan-ring::before,
.scan-ring::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ripple 2.6s ease-out infinite;
}
.scan-ring::after { animation-delay: 1.3s; }
@keyframes ripple {
  from { transform: scale(1); opacity: .55; }
  to { transform: scale(1.5); opacity: 0; }
}
.scan-chip {
  width: 44px; height: 30px;
  border-radius: 6px;
  background: var(--forest);
  position: relative;
}
.scan-chip::after {
  content: '';
  position: absolute; inset: 7px;
  border: 1.5px solid var(--accent);
  border-radius: 3px;
}
.scan-id {
  margin: 0;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .04em;
}
.scan-state { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; }

.vrow {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.vrow:last-child { border-bottom: 0; }
.vrow i {
  flex: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--gray-soft);
}
.vrow div { flex: 1; }
.vrow b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.035em; }
.vrow span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.vrow em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.vrow.pending i { background: #d7dbd9; box-shadow: 0 0 0 4px #eff1f0; }
.vrow.pending em { color: var(--muted); }

.srow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.sw {
  width: 42px; height: 24px;
  border-radius: var(--pill);
  background: #dfe3e1;
  position: relative;
  transition: background .25s;
}
.sw::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.sw.on { background: var(--accent); }
.sw.on::after { transform: translateX(18px); }
.share-note { margin: 22px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- Passport ---------- */
/* dark ground — carries the "30" of the 6:3:1 split together with the hero
   and the closing CTA, and throws the white passport card into relief */
.passport-sec { background: var(--forest); color: #fff; }
.passport-sec .lede { color: rgba(255,255,255,.58); }
.passport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.passport-copy h2 { line-height: 1.32; }
.check {
  list-style: none;
  margin: 34px 0 40px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.check li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.82);
}
.check li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
}
.check li::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 1.8px solid var(--ink);
  border-bottom: 1.8px solid var(--ink);
  transform: rotate(-45deg);
}

.passport-card {
  /* re-anchor to ink: the card is a white island inside the dark section */
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(14,21,18,.09);
  padding: 30px 32px 22px;
  max-width: 500px;
  margin-left: auto;
  width: 100%;
}
.pc-top, .pc-footer { display: flex; justify-content: space-between; }
.pc-top, .pc-footer, .pc-data small, .pc-horse small, .modal-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--muted);
}
.pc-status, .ok { color: var(--accent) !important; }
.pc-horse { display: flex; gap: 20px; align-items: center; margin: 28px 0; }
.horse-mini {
  flex: none;
  width: 88px; height: 96px;
  border-radius: 16px;
  background: url('https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?auto=format&fit=crop&w=400&q=80') center/cover;
}
.pc-horse h3 { font-size: 27px; margin: 8px 0 5px; letter-spacing: -0.045em; }
.pc-horse > div > span { font-size: 13px; color: var(--muted); letter-spacing: -0.02em; }
.pc-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.pc-data b {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
}
.timeline { padding: 24px 0 18px; }
.timeline > div { display: flex; gap: 15px; min-height: 54px; }
.timeline i {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 6px;
  box-shadow: 0 0 0 4px var(--gray-soft);
}
.timeline p { margin: 0; font-size: 14px; }
.timeline p b { display: block; font-weight: 700; letter-spacing: -0.035em; }
.timeline p span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.pc-footer { border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--forest);
  color: #fff;
  padding: 170px 0;
  text-align: center;
  /* hairline keeps the passport and CTA grounds legible as two sections
     now that both sit on dark */
  border-top: 1px solid rgba(255,255,255,.09);
}
.contact-inner { max-width: 760px; }
.contact h2 { line-height: 1.32; }
.contact-lede {
  margin: 26px auto 44px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.62);
}

/* ---------- Footer ---------- */
.footer { padding: 60px 0; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ---------- Modal ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,18,13,.55);
  backdrop-filter: blur(6px);
  animation: fade .3s both;
}
.modal-box {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px 34px;
  box-shadow: 0 40px 90px rgba(0,0,0,.32);
  animation: pop .34s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  right: 18px; top: 14px;
  border: 0; background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal-kicker { margin: 0 0 14px; color: var(--accent); }
.modal-box h2 { font-size: 36px; }
.modal-lede { margin: 10px 0 26px; font-size: 14px; color: var(--muted); }
.modal-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.modal-row span { color: var(--muted); }
.modal-row b { font-family: var(--mono); font-weight: 400; }
.modal-done { width: 100%; margin-top: 22px; }

/* ---------- Reveal ---------- */
.reveal { animation: rise .9s cubic-bezier(.2,.7,.3,1) both; }
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .2s; }
.d3 { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.in-view { animation: rise .9s cubic-bezier(.2,.7,.3,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --section-y: 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-device { justify-content: flex-start; }
  .split, .feature, .passport-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature { margin-top: 90px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature-visual { justify-content: flex-start; }
  .passport-card { margin-left: 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --section-y: 90px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: flex; }
  .nav-links.mobile-open {
    display: grid;
    position: absolute;
    left: 0; right: 0; top: 72px;
    padding: 22px var(--gutter) 28px;
    gap: 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .device { width: 100%; max-width: 320px; }
  .statement { padding: 80px 0; }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .partners { padding: 70px 0; }
  .logo-marquee { margin-top: 38px; }
  .logo { height: 64px; padding: 0 20px; gap: 9px; }
  .logo svg { width: 25px; height: 25px; }
  .lg-type b { font-size: 14px; }
  .lg-type i { font-size: 10px; }
  .contact { padding: 110px 0; }
  .passport-card { padding: 24px 20px 18px; }
  .pc-data { grid-template-columns: 1fr; }
  .footer-inner { justify-content: flex-start; }
  .footer-meta:last-child { width: 100%; }
}
