/* Aidexa Wellness — corporate healthcare identity
   Navy / clinical teal / hairline grid. Source Serif headings, IBM Plex Sans text. */

:root {
  --navy: #0e3b4f;
  --navy-dark: #0a2a38;
  --teal: #1f8a70;
  --teal-dark: #176b57;
  --ink: #10222b;
  --muted: #5a6b73;
  --line: #d7e1e6;
  --line-strong: #b4c4cb;
  --tint: #f2f7f8;
  --white: #ffffff;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --header-h: 68px;
  --gutter: clamp(20px, 3.5vw, 44px);
  --max: 1260px;
  --section-y: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.18;
  color: var(--navy);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
[hidden] { display: none !important; }

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

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  padding: 0.75em 1em; background: var(--navy); color: #fff;
  font-weight: 600; text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Brand wordmark ---------- */

.wordmark { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.dot { color: var(--teal); }

/* ---------- Utility bar + header ---------- */

.topbar { background: var(--navy-dark); color: #b9cbd3; font-size: 0.8125rem; }

.topbar__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 4px 24px; padding-block: 8px;
}

.topbar ul { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar :focus-visible { outline-color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: var(--header-h);
}

.logo {
  display: inline-flex; align-items: baseline; gap: 0.28em;
  font-family: var(--sans); font-size: 1.1875rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy); text-decoration: none; white-space: nowrap;
}

.logo span { font-weight: 400; }

.logo img { height: 26px; width: auto; }

.site-footer .logo img { height: 30px; }

@media (max-width: 479px) { .logo img { height: 22px; } }

.header-right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }

.site-nav ul { display: flex; gap: clamp(16px, 2.2vw, 30px); }

.site-nav a {
  display: inline-block; padding: 4px 0; font-size: 0.9375rem;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--teal-dark); }

.site-nav a[aria-current="page"] {
  font-weight: 600; color: var(--navy); border-bottom-color: var(--teal);
}

.nav-toggle {
  display: none; align-items: center; gap: 9px; padding: 8px; margin-right: -8px;
  font: inherit; font-size: 0.9375rem; color: var(--navy);
  background: none; border: 0; cursor: pointer;
}

.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
  display: block; width: 18px; height: 2px; background: var(--navy);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 949px) {
  .header-right .btn { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .js .nav-open .site-nav { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; padding: 4px var(--gutter) 20px; }
  .js .site-nav li + li { border-top: 1px solid var(--line); }
  .js .site-nav a { display: block; padding: 14px 0; font-size: 1.125rem; font-weight: 600; border-bottom: 0; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 8px 20px; }
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.82em 1.35em; font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.1;
  text-decoration: none; color: #fff; background: var(--navy);
  border: 1px solid var(--navy); border-radius: 2px; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--ghost { color: var(--navy); background: transparent; border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--navy); background: var(--tint); border-color: var(--navy); }
.btn--accent { background: var(--teal); border-color: var(--teal); }
.btn--accent:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.9375rem; font-weight: 600; color: var(--teal-dark); text-decoration: none;
}

.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow [aria-hidden] { transition: transform 0.15s ease; }
.link-arrow:hover [aria-hidden] { transform: translateX(3px); }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #dce8ec; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section + .section:not(.section--tint):not(.section--navy) { border-top: 1px solid var(--line); }

.label {
  display: flex; align-items: center; gap: 0.6em; margin-bottom: 14px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--teal-dark);
}

.label::before { content: ""; width: 14px; height: 2px; background: var(--teal); }
.section--navy .label { color: #7fd2b8; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 16px var(--gutter); align-items: start; margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); text-wrap: balance; }
.section-head p:not(.label) { color: var(--muted); }
.section--navy .section-head p:not(.label) { color: #b8cdd4; }

.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose p { max-width: 40em; }

@media (max-width: 799px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Hairline grid of cells ---------- */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid > * { background: var(--white); padding: clamp(20px, 2.2vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cell h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.cell p { color: var(--muted); font-size: 0.9375rem; }

.cell__num {
  display: block; margin-bottom: 14px; font-family: var(--sans);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--teal-dark); font-variant-numeric: tabular-nums;
}

.cell .link-arrow { margin-top: 16px; }

.cell__img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin: 0 0 20px;
  border: 1px solid var(--line);
}

@media (max-width: 999px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 799px) { .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .grid--2, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */

.hero { background: var(--tint); border-bottom: 1px solid var(--line); }

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
  padding-block: clamp(40px, 5.5vw, 76px) clamp(32px, 4vw, 52px);
}

.hero h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.12; text-wrap: balance; }
.hero .lede { margin-top: 20px; max-width: 38em; color: var(--ink); }
.hero .btn-row { margin-top: 30px; }
.hero__note { margin-top: 22px; font-size: 0.875rem; color: var(--muted); }

.panel { background: var(--white); border: 1px solid var(--line); }

.panel__head {
  padding: 14px 20px; background: var(--navy); color: #fff;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}

.panel__list > li {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px; padding: 13px 20px; border-top: 1px solid var(--line);
}

.panel__list > li:first-child { border-top: 0; }
.panel__term { font-size: 0.8125rem; color: var(--muted); }
.panel__value { font-weight: 600; color: var(--navy); font-size: 0.9375rem; }

.panel__list .tick {
  grid-row: span 2; align-self: start; margin-top: 6px;
  width: 12px; height: 7px; border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

.panel__foot {
  padding: 13px 20px; border-top: 1px solid var(--line);
  background: var(--tint); font-size: 0.875rem; color: var(--muted);
}

.stats .grid { border-left: 0; border-right: 0; border-bottom: 0; }
.stat dt { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--muted); }

.stat dd {
  margin: 6px 0 0; font-family: var(--serif); font-size: 1.125rem;
  font-weight: 600; color: var(--navy); line-height: 1.3;
}

@media (max-width: 899px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Page heads ---------- */

.page-head {
  background: var(--tint); border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 3.5vw, 44px) clamp(32px, 4vw, 56px);
}

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
  font-size: 0.8125rem; color: var(--muted);
}

.breadcrumb a { color: var(--teal-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.page-head__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}

.page-head h1 { font-size: clamp(1.875rem, 3.2vw, 2.875rem); text-wrap: balance; }
.page-head .lede { margin-top: 18px; max-width: 40em; }
.page-head .btn-row { margin-top: 28px; }

@media (max-width: 899px) { .page-head__grid { grid-template-columns: 1fr; } }

/* ---------- Tabs ---------- */

.tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 36px);
}

.tabs button {
  padding: 13px 20px; font: inherit; font-size: 0.9375rem; font-weight: 600;
  color: var(--muted); background: none; border: 0;
  border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer;
}

.tabs button:hover { color: var(--navy); background: var(--tint); }

.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] {
  color: var(--navy); border-bottom-color: var(--teal);
}

/* ---------- Products ---------- */

.products {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product { display: flex; flex-direction: column; background: var(--white); }

.product__img {
  display: flex; align-items: flex-end; justify-content: center;
  aspect-ratio: 5 / 4; padding: 10% 12% 8%;
  background: var(--tint); border-bottom: 1px solid var(--line);
}

.product__img svg { height: 100%; width: auto; }
.product__body { padding: 20px; }
.product__name { font-size: 1.0625rem; line-height: 1.25; }
.product__meta { margin: 14px 0 0; font-size: 0.875rem; }

.product__meta div {
  display: grid; grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 10px; padding-block: 7px; border-top: 1px solid var(--line);
}

.product__meta dt { color: var(--muted); }
.product__meta dd { margin: 0; }
.product__desc { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

@media (max-width: 1099px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 849px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 519px) { .products { grid-template-columns: 1fr; } }

/* ---------- Device range ---------- */

.range {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}

.range > * { background: var(--white); }
.range__intro { padding: clamp(20px, 2.2vw, 30px); }
.range__intro img { width: 100%; margin-bottom: 20px; border: 1px solid var(--line); }
.range__intro h3 { font-size: 1.375rem; margin-bottom: 10px; }
.range__intro p { color: var(--muted); font-size: 0.9375rem; }

.spec-list li {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 6px 24px; padding: 16px clamp(20px, 2.2vw, 30px);
  border-top: 1px solid var(--line); font-size: 0.9375rem;
}

.spec-list li:first-child { border-top: 0; }
.spec-list h4 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.spec-list p { color: var(--muted); }

@media (max-width: 899px) { .range { grid-template-columns: 1fr; } }
@media (max-width: 519px) { .spec-list li { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.9375rem; }

.table th, .table td {
  padding: 14px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}

.table th:last-child, .table td:last-child { border-right: 0; }

.table thead th {
  background: var(--navy); color: #fff; font-family: var(--sans);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; border-bottom: 0;
}

.table tbody th { font-family: var(--sans); font-weight: 600; color: var(--navy); background: var(--tint); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Definition tables ---------- */

.details { margin: 0; border: 1px solid var(--line); }

.details div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 4px 20px; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 0.9375rem;
}

.details div:first-child { border-top: 0; }
.details div:nth-child(odd) { background: var(--tint); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 500; }
.details a { color: var(--teal-dark); }
.details--glossary dt { color: var(--navy); font-weight: 600; }
.details--glossary dd { font-weight: 400; color: var(--muted); }

@media (max-width: 599px) { .details div { grid-template-columns: 1fr; } }

/* ---------- Lists ---------- */

.list-check li {
  position: relative; padding: 11px 0 11px 30px;
  border-top: 1px solid var(--line); font-size: 0.9375rem;
}

.list-check li:first-child { border-top: 0; }

.list-check li::before {
  content: ""; position: absolute; left: 0; top: 1.15em;
  width: 12px; height: 7px; border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

.routine { counter-reset: routine; }

.routine li {
  counter-increment: routine; display: grid; grid-template-columns: 2em minmax(0, 1fr);
  padding-block: 9px; border-top: 1px solid var(--line); font-size: 0.9375rem;
}

.routine li::before {
  content: counter(routine); color: var(--teal-dark);
  font-weight: 600; font-variant-numeric: tabular-nums;
}

.note { font-size: 0.875rem; color: var(--muted); }

.disclaimer {
  margin-top: 24px; padding: 16px 20px; background: var(--tint);
  border-left: 3px solid var(--teal); font-size: 0.9375rem; color: var(--muted);
}

/* ---------- Timeline ---------- */

.timeline {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline li { background: var(--white); padding: clamp(20px, 2.2vw, 28px); border-top: 3px solid var(--line-strong); }
.timeline li:last-child { border-top-color: var(--teal); }

.timeline__step {
  display: block; margin-bottom: 10px; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark);
}

.timeline h3 { font-size: 1.125rem; margin-bottom: 8px; }
.timeline p { font-size: 0.9375rem; color: var(--muted); }

@media (max-width: 899px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .timeline { grid-template-columns: 1fr; } }

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

.faq { border: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }

.faq summary {
  position: relative; display: block; padding: 16px 52px 16px 20px;
  font-weight: 600; color: var(--navy); list-style: none; cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--tint); }

.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 22px;
  width: 9px; height: 9px; border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal); transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq__answer { padding: 0 20px 18px; max-width: 46em; color: var(--muted); font-size: 0.9375rem; }
.faq__answer p + p { margin-top: 0.7em; }
.faq__answer a { color: var(--teal-dark); }

/* ---------- CTA ---------- */

.cta {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 3vw, 56px); align-items: center;
}

.cta h2 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); }
.cta p { margin-top: 14px; }
.cta__side .btn-row { margin-bottom: 16px; }
.cta__side p { margin-top: 0; font-size: 0.9375rem; }
.section--navy .cta a:not(.btn) { color: #9fe0c9; }

@media (max-width: 799px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 64px); align-items: start;
}

.form-wrap { border: 1px solid var(--line); }

.form-wrap__head {
  padding: 16px 22px; background: var(--navy); color: #fff;
  font-family: var(--serif); font-size: 1.125rem; font-weight: 600;
}

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; padding: 24px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--muted); }

.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 0.9375rem;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: 2px; appearance: none;
}

.field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e3b4f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}

.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--teal); outline-offset: 0;
}

.field__hint { font-size: 0.8125rem; color: var(--muted); }

.form__foot {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 20px; padding-top: 4px;
}

.form__note { font-size: 0.8125rem; color: var(--muted); max-width: 30em; }
.form__status { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--navy); }
.form__status:not(:empty) { padding: 12px 14px; background: var(--tint); border-left: 3px solid var(--teal); }

@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .form { grid-template-columns: 1fr; } }

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

.site-footer {
  background: var(--navy-dark); color: #b9cbd3;
  padding-block: clamp(44px, 5vw, 72px) 24px; font-size: 0.9375rem;
}

.site-footer h2 { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }

.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px var(--gutter); padding-bottom: 40px;
}

.site-footer .logo { color: #fff; font-size: 1.25rem; }
.site-footer .logo span { color: #b9cbd3; }
.site-footer__brand p { max-width: 26em; margin-top: 14px; }

.site-footer__heading {
  margin-bottom: 14px; font-family: var(--sans); font-size: 0.8125rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #7fd2b8;
}

.site-footer li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; border-top: 1px solid #1d4354; font-size: 0.8125rem; color: #8fa7b1;
}

@media (max-width: 799px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 479px) { .site-footer__grid { grid-template-columns: 1fr; } }

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

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.hero h1, .hero .lede, .hero .btn-row, .hero__note, .hero .panel {
  animation: rise 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}

.hero .lede { animation-delay: 0.07s; }
.hero .btn-row { animation-delay: 0.13s; }
.hero__note { animation-delay: 0.18s; }
.hero .panel { animation-delay: 0.1s; }

.reveal { opacity: 0; transform: translateY(16px); }

.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
