/* synqology.io — design system ported from marketing/vi-keynote.html
   Stage: near-black. One accent. Good/bad = opacity, never hue. */

:root {
  --stage: #0A0C0E;
  --lift: #12161A;
  --ink: #F5F7F9;
  --ink-70: rgba(245, 247, 249, .70);
  --ink-45: rgba(245, 247, 249, .45);
  --ink-25: rgba(245, 247, 249, .25);
  --accent: #5AC8E8;
  --accent-dim: rgba(90, 200, 232, .35);
  --accent-ink: #062730;
  --line: rgba(245, 247, 249, .10);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav-h: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--stage);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* Film grain over the whole stage: kills gradient banding, adds texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent-dim); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 12, 14, .78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-brand { display: flex; align-items: center; }

.nav-logo {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-45);
  text-decoration: none;
  transition: color .2s ease;
}

.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-accent:hover { background: #79d4ee; }

.btn-line {
  border: 1px solid var(--ink-25);
  color: var(--ink);
}

.btn-line:hover { border-color: var(--ink-70); }

.btn-big {
  padding: 17px 34px;
  font-size: 17px;
}

.nav-cta {
  padding: 9px 18px;
  font-size: 13.5px;
  margin-left: 4px;
}

/* ---------- Story slides ---------- */

.slide {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10svh 24px;
  box-sizing: border-box;
  position: relative;
}

.slide.left { align-items: flex-start; text-align: left; }

/* Stage lighting: one faint accent glow per key moment, never more */
.hero {
  background: radial-gradient(ellipse 75% 50% at 50% -8%, rgba(90, 200, 232, .09), transparent 62%);
}

#vitality {
  background: radial-gradient(ellipse 44% 42% at 50% 44%, rgba(90, 200, 232, .08), transparent 68%);
}

.shots-section {
  background: radial-gradient(ellipse 60% 55% at 50% 58%, rgba(90, 200, 232, .05), transparent 66%);
}

.close {
  background: radial-gradient(ellipse 65% 55% at 50% 112%, rgba(90, 200, 232, .07), transparent 62%);
}

.inner {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: inherit;
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.statement {
  font-size: clamp(40px, 8.5vw, 92px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

.statement-md { font-size: clamp(32px, 5.5vw, 56px); }

.statement .dim { color: var(--ink-25); }
.statement .accent { color: var(--accent); }

/* The one branded-name moment on the page: the Index reveal */
.vi-name {
  color: var(--accent);
  text-shadow: 0 0 36px var(--accent-dim);
  white-space: nowrap;
}

.sub {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-70);
  max-width: 40ch;
  margin: 0;
  text-wrap: balance;
}

.slide.left .sub { max-width: 52ch; }

.foot { font-size: 13px; color: var(--ink-45); margin: 0; }
.foot a, .quiet-link {
  color: var(--ink-70);
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-25);
  transition: color .2s ease;
}
.foot a:hover, .quiet-link:hover { color: var(--ink); }

/* Reveal choreography */
.slide .inner > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.slide.on .inner > * { opacity: 1; transform: none; }
.slide.on .inner > *:nth-child(2) { transition-delay: .15s; }
.slide.on .inner > *:nth-child(3) { transition-delay: .3s; }
.slide.on .inner > *:nth-child(4) { transition-delay: .45s; }
.slide.on .inner > *:nth-child(5) { transition-delay: .6s; }
.slide.on .inner > *:nth-child(6) { transition-delay: .75s; }
.slide.on .inner > *:nth-child(7) { transition-delay: .9s; }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-25);
  animation: hint 2.4s ease-in-out infinite;
}

@keyframes hint {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Hero: story left, the killer shot right */
.hero-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero .inner {
  margin: 0;
  max-width: none;
  align-items: flex-start;
  text-align: left;
}

.hero .statement { font-size: clamp(38px, 5.6vw, 72px); }

.hero .lifebar, .hero .lifelegend { max-width: 560px; }

.hero-phone {
  margin: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease .35s, transform .8s ease .35s;
}

.slide.on .hero-phone { opacity: 1; transform: none; }

.hero-phone img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(76svh, 780px);
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .55));
}

/* Hero tagline: the second half of the hook */
.hero-tagline {
  font-size: clamp(21px, 3.2vw, 33px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

.hero-tagline .accent { color: var(--accent); }

/* Hero conversion row */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stars {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-45);
}

.hero-stars .stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin-right: 6px;
}

/* Life bar — fills year by year on reveal; the hollow years land last */
.lifebar { display: flex; gap: 3px; justify-content: center; flex-wrap: nowrap; width: 100%; max-width: 720px; }
.lifebar i {
  flex: 1 1 0;
  height: 30px;
  border-radius: 1.5px;
  background: var(--ink-70);
  min-width: 2px;
  opacity: 0;
  transform: scaleY(.5);
  transition: opacity .45s ease, transform .45s ease;
}
.slide.on .lifebar i { opacity: 1; transform: none; }
.lifebar i.poor {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink-25);
  transition-property: opacity, transform, background, box-shadow;
}

/* The synqology effect: hollow years reclaimed in accent */
.lifebar i.poor.reclaim { background: var(--accent); box-shadow: none; }
.lifelegend { display: flex; justify-content: space-between; width: 100%; max-width: 720px; font-size: 13px; color: var(--ink-45); }
.lifelegend b { color: var(--ink-70); font-weight: 600; }

/* Study chips */
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; width: 100%; max-width: 760px; }
.chip {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: left;
  display: flex; flex-direction: column; gap: 6px;
}
.chip b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.chip span { font-size: 12.5px; color: var(--ink-45); line-height: 1.45; }

/* Noise grid */
.noise { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; width: 100%; max-width: 760px; }
.noise div {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 8px;
  display: flex; flex-direction: column; gap: 3px; align-items: center;
}
.noise div small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-25); }
.noise div b { font-size: 16px; font-weight: 600; color: var(--ink-45); font-variant-numeric: tabular-nums; }

/* The ring */
.ring-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.ring {
  --p: 0;
  width: min(64vw, 300px); aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(245,247,249,.07) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
  transform: rotate(0.001deg);
}
.ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(72px, 16vw, 128px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Point bars */
.points { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 640px; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.prow b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.prow span { font-size: 15px; color: var(--ink-45); font-variant-numeric: tabular-nums; }
.prow .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(245,247,249,.07); overflow: hidden; }
.prow .bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); width: var(--w); }
.prow.soft .bar i { background: var(--accent-dim); }

/* The watch — real photograph, seated into the stage */
.watch-photo {
  margin: 0;
  width: min(100%, 560px);
  align-self: center;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.watch-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(.62) contrast(1.08);
}

/* The loop */
.loop { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 560px; }
.loop .beat { display: flex; gap: 16px; align-items: baseline; text-align: left; }
.loop .beat em { font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); flex: 0 0 100px; }
.loop .beat p { margin: 0; font-size: clamp(18px, 2.4vw, 22px); color: var(--ink-70); line-height: 1.4; }
.loop .beat p b { color: var(--ink); font-weight: 600; }

/* Morning rhythm */
.rhythm { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; max-width: 760px; }
.rhythm div { background: var(--lift); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.rhythm div em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.rhythm div b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.rhythm div span { font-size: 14px; color: var(--ink-70); line-height: 1.4; }

/* ---------- Marketing sections ---------- */

.section {
  padding: clamp(90px, 14svh, 150px) 24px;
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  text-align: left;
}

/* App screenshots (pre-framed on black; they blend into the stage) */
.shots-inner { align-items: center; text-align: center; }

.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.shots figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.shots.on figure { opacity: 1; transform: none; }
.shots.on figure:nth-child(2) { transition-delay: .14s; }
.shots.on figure:nth-child(3) { transition-delay: .28s; }
.shots.on figure:nth-child(4) { transition-delay: .42s; }
.shots.on figure:nth-child(5) { transition-delay: .56s; }
.shots.on figure:nth-child(6) { transition-delay: .7s; }

.shots img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.shots figcaption {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-45);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
  width: 100%;
}

.review {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 3px;
}

.review-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.review-body {
  font-size: 14.5px;
  color: var(--ink-70);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-meta {
  font-size: 13px;
  color: var(--ink-45);
  margin-top: auto;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
  width: 100%;
}

.plan {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
}

.plan h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin: 0 0 8px;
}

.plan-pro { border-color: var(--accent-dim); }
.plan-pro h3 { color: var(--accent); }

.plan ul { list-style: none; margin: 0; padding: 0; }

.plan li {
  padding: 11px 0;
  font-size: 15px;
  color: var(--ink-70);
  border-top: 1px solid var(--line);
  line-height: 1.4;
}

.plan li:first-child { border-top: none; }

/* Pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 680px;
}

.price {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.price-hero { border-color: var(--accent-dim); }

.price em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.price b {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price b span {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-45);
  letter-spacing: 0;
}

.price p { font-size: 14px; color: var(--ink-45); margin: 0 0 8px; line-height: 1.45; }

.price .btn { align-self: stretch; }

/* Close */
.close { border-top: 1px solid var(--line); }
.close .btn { margin-top: 4px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--lift);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  height: 72px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--ink-45);
  line-height: 1.5;
  margin: 14px 0 0;
}

.footer-platform { font-size: 13px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-25);
  margin: 0 0 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--ink-45);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-col a:hover { color: var(--ink); }

.footer-base {
  max-width: 980px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-25);
}

/* ---------- Document pages (privacy, terms, legal) ---------- */

.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 64px) 24px 100px;
}

.doc-header { margin-bottom: 44px; }

.doc-header h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 10px 0 12px;
}

.doc-meta { font-size: 13px; color: var(--ink-45); margin: 0; }

.doc-body h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.doc-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 8px;
}

.doc-body p, .doc-body li {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.65;
}

.doc-body p { margin: 0 0 14px; }

.doc-body ul { margin: 0 0 14px; padding-left: 22px; }

.doc-body li { margin-bottom: 6px; }

.doc-body strong { color: var(--ink); font-weight: 600; }

.doc-body a { color: var(--accent); text-decoration-color: var(--accent-dim); text-underline-offset: 3px; }

/* Legal index cards */
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 24px 0; }

.doc-card {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-card em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.doc-card h2 { border: none; padding: 0; margin: 0; font-size: 19px; }
.doc-card p { margin: 0; font-size: 14px; }
.doc-card a { font-size: 14.5px; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: 8px; }
.doc-card small { font-size: 12.5px; color: var(--ink-25); }

/* ---------- FAQ ---------- */

.faq-group { margin-bottom: 40px; }

.faq-group h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
  border: none;
  padding: 0;
}

.faq-group details { border-bottom: 1px solid var(--line); }

.faq-group summary {
  padding: 18px 28px 18px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--ink);
}

.faq-group summary::-webkit-details-marker { display: none; }

.faq-group summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-25);
  font-size: 20px;
  font-weight: 400;
  transition: transform .25s ease;
}

.faq-group details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-group details p {
  margin: 0;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- Utility pages ---------- */

.page-hero {
  min-height: 60svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .inner { align-items: center; text-align: center; }
  .hero .statement { font-size: clamp(40px, 8.5vw, 72px); }
  .hero-cta { justify-content: center; }
  .hero-phone img { max-height: min(62svh, 560px); }
}

@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-logo { height: 44px; }
  .footer-logo { height: 56px; }
  .shots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin: 0 -24px;
    padding: 0 24px 8px;
    scrollbar-width: none;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { flex: 0 0 74vw; scroll-snap-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lifebar { gap: 2px; }
  .lifebar i { height: 22px; }
  .loop .beat { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide .inner > * { opacity: 1; transform: none; transition: none; }
  .lifebar i { opacity: 1; transform: none; transition: none; }
  .shots figure { opacity: 1; transform: none; transition: none; }
  .hero-phone { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- Science page ---------- */

.sci {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 56px) 24px 40px;
}

.sci-hero { text-align: center; margin-bottom: 8px; }
.sci-hero .statement { margin: 10px 0 18px; }
.sci-hero .sub { margin: 0 auto; max-width: 620px; }

.sci-section { padding-top: 40px; margin-top: 44px; border-top: 1px solid var(--line); }
.sci-section > .kicker { margin-bottom: 10px; }

.sci-section h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 650;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 0 0 18px;
}

.sci-section h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
}

.sci-section > p,
.sci-section > ul li {
  font-size: 15.5px;
  color: var(--ink-70);
  line-height: 1.68;
}

.sci-section > p { margin: 0 0 14px; }
.sci-section > ul { margin: 0 0 16px; padding-left: 20px; }
.sci-section > ul li { margin-bottom: 10px; }
.sci-section strong { color: var(--ink); font-weight: 600; }
.sci-section .chips { margin-top: 16px; max-width: none; }

/* A single Index component */
.sci-comp {
  background: var(--lift);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 0 0 14px;
}

.sci-comp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

.sci-comp-head b { font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; }
.sci-comp-head span { font-size: 13px; color: var(--ink-45); font-variant-numeric: tabular-nums; }

.sci-comp .bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(245, 247, 249, .07);
  overflow: hidden;
  margin: 12px 0 16px;
}

.sci-comp .bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); width: var(--w); }
.sci-comp .bar.soft i { background: var(--accent-dim); }

.sci-comp p { font-size: 15px; color: var(--ink-70); line-height: 1.62; margin: 0 0 12px; }
.sci-comp p:last-child { margin-bottom: 0; }
.sci-comp .sci-why { color: var(--ink-70); }
.sci-comp strong { color: var(--ink); font-weight: 600; }

.sci-cite {
  font-size: 12.5px !important;
  color: var(--ink-45) !important;
  line-height: 1.5 !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.sci-refs { margin: 0; padding-left: 22px; }

.sci-refs li {
  font-size: 13.5px;
  color: var(--ink-45);
  line-height: 1.6;
  margin-bottom: 12px;
}

.sci-cta {
  text-align: center;
  padding: 72px 24px 96px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.sci-cta .sub { margin: 12px auto 28px; }

@media (max-width: 640px) {
  .sci { padding-top: calc(var(--nav-h) + 36px); }
  .sci-comp { padding: 20px; }
  .sci-section { padding-top: 32px; margin-top: 36px; }
}
