/* =========================================================
   zLifespan — Stylesheet
   ========================================================= */

:root {
  --primary: #0a5f73;
  --primary-dark: #074a5a;
  --primary-deep: #052f3a;
  --accent: #14b8a6;
  --accent-light: #5eead4;
  --bg: #ffffff;
  --bg-soft: #f5f9fa;
  --bg-muted: #eef4f6;
  --text: #0f1a23;
  --text-muted: #4a5b67;
  --text-soft: #6b7a86;
  --border: #e3ebef;
  --border-strong: #cfdce1;
  --shadow-sm: 0 1px 2px rgba(10, 30, 40, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 30, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 30, 40, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

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

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

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0c7a8f 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 95, 115, 0.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(10, 95, 115, 0.34);
}
.btn-ghost {
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-muted);
  border-color: var(--primary);
}
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav a:hover { color: var(--primary); }
.nav .btn { color: #fff; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(20, 184, 166, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 60%, rgba(10, 95, 115, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10, 95, 115, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 95, 115, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.blob-1 {
  width: 420px; height: 420px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 70%);
}
.blob-2 {
  width: 380px; height: 380px;
  bottom: -120px; left: -80px;
  background: radial-gradient(circle, rgba(10, 95, 115, 0.28), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy { max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 22px;
  color: var(--primary-deep);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual { position: relative; min-height: 540px; }
.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
}
.data-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.card-1 {
  top: 0; right: 0;
  width: 270px;
  animation: float 6.5s ease-in-out infinite;
}
.card-2 {
  top: 130px; left: 0;
  width: 280px;
  animation: float 6.5s ease-in-out infinite -1.6s;
}
.card-3 {
  top: 280px; right: 24px;
  width: 250px;
  animation: float 6.5s ease-in-out infinite -3.2s;
}
.card-4 {
  bottom: 0; left: 12px;
  width: 270px;
  animation: float 6.5s ease-in-out infinite -4.8s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.card-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
}
.card-dot--accent { background: var(--accent); }

/* Card 1: Longitudinal Patient View */
.insight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 2px 0 10px;
}
.insight-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.insight-icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(10, 95, 115, 0.10));
  color: var(--primary);
}
.insight-tile:nth-child(2) .insight-icon { color: var(--accent); }
.insight-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary-deep);
}
.insight-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: center;
  margin: 0;
}

/* Card 2: Decision Support · 2-Way Citations */
.bidir-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 10px;
}
.flow-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}
.flow-node--primary {
  background: linear-gradient(135deg, rgba(10, 95, 115, 0.10), rgba(10, 95, 115, 0.04));
  border: 1px solid rgba(10, 95, 115, 0.18);
  color: var(--primary-deep);
}
.flow-node--accent {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(20, 184, 166, 0.04));
  border: 1px solid rgba(20, 184, 166, 0.28);
  color: var(--primary-dark);
}
.flow-icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(10, 30, 40, 0.06);
  color: var(--primary);
}
.flow-node--accent .flow-icon { color: var(--accent); }
.flow-arrows {
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Card 3: Patient Timeline (bars) */
.card-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 64px;
}
.card-bars span {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 4px 4px 2px 2px;
  opacity: 0.85;
}

/* Card 4: Holistic Patient Health */
.domain-grid {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.domain-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-deep);
}
.domain-icon {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(10, 95, 115, 0.10));
  color: var(--primary);
  flex-shrink: 0;
}
.domain-grid li:nth-child(2) .domain-icon,
.domain-grid li:nth-child(3) .domain-icon { color: var(--accent); }

/* =========================================================
   Section heads
   ========================================================= */
.kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--primary-deep);
  line-height: 1.15;
}

/* =========================================================
   Features (used inside About section as benefit grid)
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-features {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.feature-card-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* =========================================================
   About
   ========================================================= */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--primary-deep);
  margin-bottom: 22px;
  line-height: 1.18;
}
.about-copy .lede {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 16px;
}
.about-copy p {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
}
.check {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
  color: var(--accent);
  flex-shrink: 0;
}
.about-compliance {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-soft);
  flex-wrap: nowrap;
  width:100%;
}
.about-compliance svg {
  flex-shrink: 0;
  color: var(--accent);
}
/* About visual: orbit */
.about-visual {
  position: relative;
  height: 440px;
  display: grid;
  place-items: center;
}
.orbit {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.10) 0%, transparent 65%);
}
.orbit::before,
.orbit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(10, 95, 115, 0.25);
}
.orbit::after {
  inset: 50px;
  border-style: solid;
  border-color: rgba(20, 184, 166, 0.18);
}
.core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px rgba(10, 95, 115, 0.35);
}
.node {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.node-1 {
  top: 0; left: 50%;
  animation: float-node-v 5s ease-in-out infinite;
}
.node-2 {
  top: 25%; right: -10%;
  animation: float-big 5s ease-in-out infinite -0.83s;
}
.node-3 {
  bottom: 25%; right: -8%;
  animation: float-big 5s ease-in-out infinite -1.66s;
}
.node-4 {
  bottom: 0; left: 50%;
  animation: float-node-v-down 5s ease-in-out infinite -2.5s;
}
.node-5 {
  bottom: 25%; left: -10%;
  animation: float-big 5s ease-in-out infinite -3.33s;
}
.node-6 {
  top: 25%; left: -10%;
  animation: float-big 5s ease-in-out infinite -4.16s;
}
@keyframes float-big {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
/* Nodes 1 and 4 are centered horizontally via transform, so they need their
   own keyframes that preserve the translate(-50%, ±50%) baseline. */
@keyframes float-node-v {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 20px)); }
}
@keyframes float-node-v-down {
  0%, 100% { transform: translate(-50%, 50%); }
  50%      { transform: translate(-50%, calc(50% - 20px)); }
}

/* =========================================================
   Newsletter
   ========================================================= */
.newsletter {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: #fff;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.newsletter-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 8px;
}
.newsletter-copy p { color: rgba(255, 255, 255, 0.78); }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter-form input:focus {
  border-color: var(--accent-light);
  background: rgba(255, 255, 255, 0.14);
}
.newsletter-form .btn-primary {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: none;
}
.newsletter-form .btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary-deep);
}
.form-msg {
  width: 100%;
  font-size: 0.88rem;
  margin-top: 8px;
  min-height: 1em;
  color: rgba(255, 255, 255, 0.85);
}
.form-msg.success { color: var(--accent-light); }
.form-msg.error { color: #fca5a5; }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding: 100px 0; background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--primary-deep);
  margin-bottom: 14px;
  line-height: 1.2;
}
.contact-copy > p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.04rem;
}
.contact-details {
  display: grid;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.contact-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-light);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-weight: 600;
  color: var(--primary-deep);
  font-size: 0.95rem;
}
.contact-item .muted {
  display: block;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-deep);
}
.field .optional {
  color: var(--text-soft);
  font-weight: 400;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}
.contact-form .form-msg { color: var(--text-muted); }
.contact-form .form-msg.success { color: var(--primary); }
.contact-form .form-msg.error { color: #b91c1c; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 60px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}
.footer-tag {
  margin-top: 14px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.footer-nav h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.footer-nav a {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.compliance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.compliance svg {
  flex-shrink: 0;
  color: var(--accent-light);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero-inner,
  .about-inner,
  .contact-inner,
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual { min-height: 560px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-visual { height: 380px; }
  .orbit { width: 300px; height: 300px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
  }
  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav a:hover { background: var(--bg-muted); }
  .nav .btn { justify-content: center; margin-top: 6px; }

  .hero { padding: 50px 0 70px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .features, .about, .contact { padding: 70px 0; }
  .newsletter { padding: 56px 0; }
  .contact-form { padding: 22px; }

  .card-1 { width: 240px; }
  .card-2 { width: 250px; top: 130px; }
  .card-3 { width: 230px; top: 270px; }
  .card-4 { width: 240px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
