/* ============================================================
   ElderCare OS — JouvenceVie Inc.
   Premium dark theme · glassmorphism · subtle motion
   ============================================================ */

:root {
  --bg-dark: #06111f;
  --bg-deep: #0a1b2f;
  --primary: #48d7ff;
  --secondary: #7ce7c8;
  --accent: #f4c86a;
  --text-main: #ffffff;
  --text-soft: #c9d7e6;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --glow: rgba(72, 215, 255, 0.35);
  --radius: 18px;
  --header-h: 74px;
  --font: "Segoe UI", "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 700px at 85% -10%, rgba(72, 215, 255, 0.10), transparent 60%),
    radial-gradient(900px 650px at -10% 30%, rgba(124, 231, 200, 0.07), transparent 55%),
    radial-gradient(1000px 800px at 50% 115%, rgba(244, 200, 106, 0.05), transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(72, 215, 255, 0.35); color: #fff; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

section[id], footer[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 17, 31, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(6, 17, 31, 0.9);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  flex-shrink: 0;
}
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px rgba(72, 215, 255, 0.45)); }
.brand-mark.small { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: right 0.3s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { right: 0; }

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

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 4px;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.lang-btn.active {
  color: var(--primary);
  text-shadow: 0 0 14px rgba(72, 215, 255, 0.6);
}
.lang-sep { color: rgba(201, 215, 230, 0.4); font-size: 0.8rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 84px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
.orb-a {
  width: 520px; height: 520px;
  right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(72, 215, 255, 0.35), transparent 65%);
}
.orb-b {
  width: 460px; height: 460px;
  left: -180px; bottom: -160px;
  background: radial-gradient(circle, rgba(124, 231, 200, 0.22), transparent 65%);
  animation-delay: -6s;
}
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(30px, 24px, 0) scale(1.08); }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72, 215, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 215, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.hero h1 span { display: block; }
.hero-title-1 { color: #fff; }
.gradient-text {
  background: linear-gradient(100deg, var(--primary) 10%, var(--secondary) 55%, var(--accent) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: 30px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.btn-row.center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), #2fb9e8);
  color: #04121e;
  box-shadow: 0 6px 24px rgba(72, 215, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(72, 215, 255, 0.45);
}
.btn-ghost {
  border: 1px solid rgba(72, 215, 255, 0.5);
  color: var(--text-main);
  background: rgba(72, 215, 255, 0.06);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(72, 215, 255, 0.22);
}

.trust {
  font-size: 0.92rem;
  color: var(--text-soft);
  opacity: 0.85;
}

/* Hero visual */
.hero-figure { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(72, 215, 255, 0.35);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(72, 215, 255, 0.18);
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 32px;
  background: radial-gradient(ellipse at 50% 0%, rgba(72, 215, 255, 0.16), transparent 65%);
  z-index: -1;
}
.hero-chip {
  position: absolute;
  left: 18px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #eafff8;
  background: rgba(6, 26, 36, 0.78);
  border: 1px solid rgba(124, 231, 200, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.chip-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

.fig-caption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(201, 215, 230, 0.7);
  text-align: center;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(10, 27, 47, 0.55), rgba(6, 17, 31, 0.2)),
    rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head { max-width: 860px; margin-bottom: 54px; }
.section-head .kicker { margin-bottom: 12px; }
.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.section-body {
  color: var(--text-soft);
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.section-body:last-child { margin-bottom: 0; }

/* Risk chips */
.risk-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.risk-chips li {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.risk-chips li:hover {
  color: #fff;
  border-color: rgba(244, 200, 106, 0.55);
  box-shadow: 0 0 22px rgba(244, 200, 106, 0.15);
  transform: translateY(-2px);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid.compact { gap: 18px; }

.card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72, 215, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(72, 215, 255, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 30px rgba(72, 215, 255, 0.12);
}
.card:hover::before { opacity: 1; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(72, 215, 255, 0.08);
  border: 1px solid rgba(72, 215, 255, 0.25);
}
.card-icon img { width: 44px; height: 44px; }

.card h3 {
  font-size: 1.13rem;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.card p { color: var(--text-soft); font-size: 0.95rem; }
.card.mini { padding: 24px 22px; }
.card.mini h3 {
  font-size: 1.02rem;
  color: var(--secondary);
}
.card-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Diagram ---------- */
.diagram {
  margin-top: 64px;
  padding: 40px 28px 44px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.diagram-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 30px;
}
.diagram-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.d-node {
  padding: 14px 26px;
  border-radius: 14px;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid rgba(72, 215, 255, 0.3);
  min-width: min(420px, 92%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.d-node:hover {
  border-color: rgba(72, 215, 255, 0.7);
  box-shadow: 0 0 26px rgba(72, 215, 255, 0.18);
}
.d-node-label {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.d-node-sub {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(201, 215, 230, 0.65);
  margin-top: 2px;
}
.d-device {
  border-color: rgba(244, 200, 106, 0.45);
  min-width: min(300px, 92%);
}
.d-device:hover { border-color: rgba(244, 200, 106, 0.8); box-shadow: 0 0 26px rgba(244, 200, 106, 0.15); }
.d-engine {
  border-color: rgba(124, 231, 200, 0.5);
  background: rgba(124, 231, 200, 0.06);
}
.d-arrow {
  width: 2px;
  height: 22px;
  background: linear-gradient(180deg, rgba(72, 215, 255, 0.7), rgba(72, 215, 255, 0.15));
  position: relative;
}
.d-arrow::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(72, 215, 255, 0.55);
}
.d-branch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}
.d-out {
  min-width: 0;
  padding: 14px 10px;
  background: rgba(72, 215, 255, 0.05);
  border-color: rgba(72, 215, 255, 0.3);
}
.d-out .d-node-label { font-size: 0.9rem; }

/* ---------- Two-column layouts ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-top: 8px;
}
#impact .two-col { margin-top: 48px; }

.figure-tall {
  position: relative;
}
.figure-tall img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(72, 215, 255, 0.3);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 44px rgba(72, 215, 255, 0.14);
}
#product .figure-tall img { aspect-ratio: 1 / 1; }

.check-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(124, 231, 200, 0.12);
  border: 1px solid rgba(124, 231, 200, 0.5);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 7px; top: 9px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: rotate(-45deg);
}

/* Wide figures */
.wide-figure { margin-top: 56px; }
.wide-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(72, 215, 255, 0.3);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 44px rgba(72, 215, 255, 0.12);
}

/* Collaboration chips */
.collab-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
.collab-chip {
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.collab-chip:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(124, 231, 200, 0.55);
  box-shadow: 0 10px 26px rgba(124, 231, 200, 0.12);
}

/* ---------- Message band ---------- */
.message-band {
  position: relative;
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 50%, rgba(72, 215, 255, 0.10), transparent 70%),
    linear-gradient(180deg, rgba(10, 27, 47, 0.5), rgba(6, 17, 31, 0.3));
  border-top: 1px solid rgba(72, 215, 255, 0.18);
  border-bottom: 1px solid rgba(72, 215, 255, 0.18);
}
.message-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.message-quote {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
}
.message-quote::before { content: "“"; color: var(--primary); margin-right: 0.1em; }
.message-quote::after { content: "”"; color: var(--primary); margin-left: 0.1em; }

/* ---------- Contact ---------- */
#contact { text-align: center; }
#contact .section-head { margin-left: auto; margin-right: auto; }
.contact-mail { margin-top: 34px; font-size: 1.05rem; }
.contact-mail a {
  color: var(--text-soft);
  border-bottom: 1px solid rgba(201, 215, 230, 0.35);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.contact-mail a:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 12, 22, 0.6);
  padding: 60px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-tag { color: var(--text-soft); font-size: 0.95rem; max-width: 40ch; }
.footer-loc { color: rgba(201, 215, 230, 0.7); font-size: 0.9rem; letter-spacing: 0.06em; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  justify-items: end;
}
.footer-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.85rem;
  color: rgba(201, 215, 230, 0.6);
}
.footer-note { color: rgba(201, 215, 230, 0.45) !important; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .d-branch { grid-template-columns: repeat(2, 1fr); }
  .footer-links { justify-items: start; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 26px 20px 34px;
    background: rgba(6, 17, 31, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { font-size: 1.05rem; padding: 10px 0; }
  .hamburger { display: flex; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .two-col-visual { order: -1; }
  #impact .two-col .two-col-visual { order: 0; }
  .section { padding: 72px 0; }
  .d-node { min-width: 100%; }
  .d-device { min-width: 100%; }
}

@media (max-width: 560px) {
  .card-grid.cols-3 { grid-template-columns: 1fr; }
  .d-branch { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .btn { width: 100%; text-align: center; }
  .btn-row { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { justify-items: start; grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-chip { font-size: 0.78rem; padding: 7px 13px; }
}
