:root {
  --green-900: #145c39;
  --green-800: #197349;
  --green-700: #22945c;
  --green-600: #2aaa68;
  --green-500: #45ba7a;
  --green-300: #91dbb4;
  --green-100: #e4f7ec;
  --orange-500: #ff9e45;
  --purple-500: #a86ae3;
  --ink: #102118;
  --ink-soft: #4f6157;
  --cream: #f8f6ef;
  --paper: #fffefa;
  --line: rgba(16, 33, 24, 0.11);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 12px 30px rgba(25, 79, 51, 0.08);
  --shadow-lg: 0 36px 90px rgba(16, 67, 39, 0.2);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 40px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--ink);
  background: var(--green-300);
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
summary,
.button {
  touch-action: manipulation;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: 72px;
  background: rgba(248, 246, 239, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(16, 33, 24, 0.05);
}

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

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 790;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(26, 100, 60, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-800);
  background: var(--green-100);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 77% 26%, rgba(69, 186, 122, 0.2), transparent 33%),
    linear-gradient(180deg, #fbfaf5 0%, var(--cream) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: var(--paper);
  clip-path: ellipse(72% 42% at 50% 100%);
}

.hero-grid {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding-block: 68px 92px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 790;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(54px, 6.7vw, 96px);
  font-weight: 840;
  letter-spacing: -0.072em;
}

.hero h1 em {
  position: relative;
  color: var(--green-800);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.02em;
  right: -0.06em;
  bottom: 0.02em;
  height: 0.18em;
  background: var(--orange-500);
  border-radius: 100%;
  opacity: 0.65;
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease, opacity 180ms ease;
}

.button:hover:not(.is-disabled) {
  transform: translateY(-2px);
}

.button:active:not(.is-disabled) {
  transform: translateY(0) scale(0.98);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-primary {
  color: white;
  background: var(--green-800);
  box-shadow: 0 14px 28px rgba(25, 115, 73, 0.22);
}

.button-primary:hover:not(.is-disabled) {
  background: var(--green-900);
  box-shadow: 0 18px 36px rgba(25, 115, 73, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--line);
}

.button-secondary:hover {
  background: white;
}

.button-dark {
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(16, 33, 24, 0.2);
}

.button.is-disabled {
  color: #6f7a74;
  background: #e4e5df;
  border-color: #d8d9d4;
  box-shadow: none;
  cursor: not-allowed;
}

.launch-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #718078;
  font-size: 13px;
}

.logging-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.logging-modes span,
.mode-pills span {
  padding: 7px 12px;
  color: var(--green-900);
  background: rgba(69, 186, 122, 0.12);
  border: 1px solid rgba(34, 148, 92, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 720;
}

.hero-visual {
  position: relative;
  align-self: end;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  inset: 24% 2% 5%;
  background: rgba(69, 186, 122, 0.34);
  border-radius: 50%;
  filter: blur(70px);
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: min(100%, 505px);
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(22, 68, 43, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  margin-bottom: 2px;
  font-size: 13px;
}

.floating-card small {
  color: var(--ink-soft);
  font-size: 11px;
}

.floating-card-top {
  top: 22%;
  left: -13%;
}

.floating-card-bottom {
  right: -14%;
  bottom: 15%;
}

.card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  font-weight: 850;
}

.card-icon-green {
  color: var(--green-900);
  background: var(--green-100);
}

.mini-bars {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding: 9px;
  background: #efe6fa;
  border-radius: 12px;
}

.mini-bars i {
  width: 4px;
  background: var(--purple-500);
  border-radius: 3px;
}

.mini-bars i:nth-child(1) { height: 45%; }
.mini-bars i:nth-child(2) { height: 85%; }
.mini-bars i:nth-child(3) { height: 62%; }

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.8;
}

.hero-orb-one {
  width: 210px;
  height: 210px;
  top: 8%;
  right: -90px;
  background: var(--green-300);
}

.hero-orb-two {
  width: 96px;
  height: 96px;
  left: 46%;
  bottom: 12%;
  background: #ffd0a4;
}

.proof-strip {
  position: relative;
  z-index: 4;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 32px;
}

.proof-grid p {
  margin: 0;
  padding: 4px 30px;
  border-right: 1px solid var(--line);
}

.proof-grid p:first-child { padding-left: 0; }
.proof-grid p:last-child { padding-right: 0; border-right: 0; }
.proof-grid strong,
.proof-grid span { display: block; }
.proof-grid strong { margin-bottom: 3px; font-size: 15px; }
.proof-grid span { color: var(--ink-soft); font-size: 13px; }

.section {
  padding-block: clamp(88px, 11vw, 150px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-heading h2,
.story-copy h2,
.how-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.7vw, 74px);
  font-weight: 820;
}

.section-heading > p:last-child,
.story-copy > p:last-child,
.how-intro > p:last-child {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.feature-card-large {
  grid-row: span 2;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 75% 13%, rgba(255, 158, 69, 0.2), transparent 28%),
    radial-gradient(circle at 20% 28%, rgba(69, 186, 122, 0.28), transparent 40%),
    var(--paper);
}

.feature-card-large::after {
  content: "Aa";
  position: absolute;
  top: 11%;
  right: 8%;
  color: rgba(34, 148, 92, 0.08);
  font-size: 210px;
  font-weight: 850;
  letter-spacing: -0.1em;
  line-height: 1;
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: #8a958f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  margin-bottom: 28px;
  place-items: center;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 18px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-icon-orange { color: #af5c10; background: #fff0df; }
.feature-icon-purple { color: #7542a5; background: #efe5f8; }

.feature-card h3 {
  max-width: 530px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 790;
}

.feature-card:not(.feature-card-large) h3 {
  font-size: clamp(26px, 2.6vw, 34px);
}

.feature-card p {
  max-width: 550px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.product-story {
  overflow: hidden;
  color: white;
  background: var(--green-900);
}

.story-copy {
  max-width: 820px;
  margin-bottom: 80px;
}

.story-copy .eyebrow { color: var(--green-300); }
.story-copy > p:last-child { color: rgba(255, 255, 255, 0.72); }

.screen-gallery {
  min-height: 720px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 30px;
}

.screen-card {
  margin: 0;
  text-align: center;
}

.screen-card img {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.screen-card figcaption {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 680;
}

.screen-card-one { transform: rotate(-3deg) translateY(25px); }
.screen-card-two { position: relative; z-index: 2; transform: translateY(-20px); }
.screen-card-three { transform: rotate(3deg) translateY(25px); }

.how {
  background: var(--paper);
}

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(50px, 9vw, 130px);
}

.how-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

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

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child { padding-top: 0; }
.steps li > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 27px;
  font-weight: 770;
}

.steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.health-section {
  padding-top: 0;
  background: var(--paper);
}

.health-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding: clamp(42px, 7vw, 82px);
  color: white;
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(16, 33, 24, 0.18);
}

.eyebrow-light { color: var(--green-300); }
.health-card h2 { margin-bottom: 22px; font-size: clamp(38px, 5vw, 64px); }
.health-card p { color: rgba(255, 255, 255, 0.7); }

.text-link {
  color: var(--green-800);
  font-weight: 740;
}

.text-link-light { color: var(--green-300); }

.privacy-points {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--white-line);
  border-radius: 24px;
}

.privacy-points p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 15px 0;
  color: white;
  border-bottom: 1px solid var(--white-line);
  font-size: 15px;
  font-weight: 640;
}

.privacy-points p:last-child { border-bottom: 0; }
.privacy-points span { color: var(--green-300); }

.faq-section {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr;
  gap: clamp(46px, 8vw, 110px);
}

.section-heading.compact h2 { font-size: clamp(42px, 5vw, 66px); }
.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 20px 52px 20px 0;
  font-size: 19px;
  font-weight: 740;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 12px;
  font-size: 22px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; padding: 0 52px 24px 0; color: var(--ink-soft); }

.final-cta {
  padding-block: 110px;
  text-align: center;
  background: var(--green-500);
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta img {
  margin-bottom: 28px;
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(19, 89, 52, 0.28);
}

.final-cta .eyebrow { color: var(--green-900); }
.final-cta h2 { margin-bottom: 32px; font-size: clamp(42px, 6vw, 74px); }
.final-cta .launch-status { color: var(--green-900); }

.site-footer {
  padding-block: 54px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 50px;
  align-items: start;
}

.footer-brand { color: white; }
.footer-grid > div p { max-width: 390px; margin: 10px 0 0; font-size: 14px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-grid nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 660; text-decoration: none; }
.footer-grid nav a:hover { color: white; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 26px; border-top: 1px solid var(--white-line); font-size: 13px; }

.legal-page,
.support-page {
  background: var(--cream);
}

.legal-shell,
.support-shell {
  width: min(calc(100% - 40px), 880px);
  margin-inline: auto;
  padding-block: 70px 120px;
}

.legal-hero {
  padding-bottom: 44px;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 42px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.back-link:hover { color: var(--green-800); }
.legal-hero h1,
.support-hero h1 { margin-bottom: 18px; font-size: clamp(44px, 7vw, 72px); font-weight: 820; }
.legal-date { margin-bottom: 24px; color: var(--green-800); font-size: 14px; font-weight: 720; }
.legal-intro { max-width: 760px; color: var(--ink-soft); font-size: 18px; }
.legal-stack { display: grid; gap: 16px; }
.legal-card {
  padding: clamp(26px, 5vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(16, 33, 24, 0.04);
}

.legal-card h2 { margin-bottom: 20px; font-size: 26px; font-weight: 780; letter-spacing: -0.035em; }
.legal-card p { color: var(--ink-soft); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { margin: 22px 0 0; padding-left: 1.4em; }
.legal-card li { margin-bottom: 12px; padding-left: 0.35em; color: var(--ink-soft); }
.legal-card li::marker { color: var(--green-600); }
.legal-contact { background: var(--green-100); border-color: rgba(34, 148, 92, 0.15); }

.support-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(38px, 7vw, 68px);
  margin-bottom: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.support-hero > img { margin-bottom: 30px; border-radius: 22px; box-shadow: 0 16px 30px rgba(25, 115, 73, 0.2); }
.support-hero > p:not(.eyebrow) { max-width: 640px; color: var(--ink-soft); font-size: 18px; }
.support-email { margin-top: 16px; color: var(--green-800); font-size: 14px; font-weight: 700; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-card { padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.support-card h2 { margin-bottom: 14px; font-size: 24px; }
.support-card p { margin: 0; color: var(--ink-soft); }

.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, var(--green-100), var(--cream) 55%);
}

.error-shell { max-width: 620px; }
.error-shell img { margin: 0 auto 28px; border-radius: 22px; box-shadow: var(--shadow-sm); }
.error-shell h1 { margin-bottom: 18px; font-size: clamp(46px, 8vw, 78px); }
.error-shell > p:not(.eyebrow) { margin-bottom: 30px; color: var(--ink-soft); font-size: 18px; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, 0.75fr); gap: 44px; }
  .hero-visual { min-height: 620px; }
  .floating-card-top { left: -4%; }
  .floating-card-bottom { right: -4%; }
  .health-card { grid-template-columns: 1fr; }
  .privacy-points { max-width: 620px; }
}

@media (max-width: 860px) {
  .site-header { min-height: 64px; }
  .nav-wrap { min-height: 64px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 254, 250, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(16, 33, 24, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { width: 100%; padding-inline: 16px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 710px; width: min(620px, 100%); margin-inline: auto; }
  .hero-phone { width: min(78vw, 500px); }
  .floating-card-top { left: 2%; }
  .floating-card-bottom { right: 2%; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid p { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid p:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-row: auto; min-height: 560px; }
  .screen-gallery { min-height: 0; gap: 16px; }
  .screen-card-one,
  .screen-card-two,
  .screen-card-three { transform: none; }
  .how-grid { grid-template-columns: 1fr; }
  .how-intro { position: static; }
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .container,
  .legal-shell,
  .support-shell { width: min(calc(100% - 28px), var(--container)); }
  .hero-grid { padding-block: 50px 68px; }
  .hero h1 { margin-bottom: 22px; font-size: clamp(50px, 16vw, 72px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; min-height: 54px; }
  .hero-visual { min-height: 600px; }
  .hero-phone { width: min(90vw, 470px); border-radius: 22px; }
  .floating-card { min-width: 0; width: 210px; padding: 11px 12px; }
  .floating-card-top { top: 18%; left: 0; }
  .floating-card-bottom { right: 0; bottom: 8%; }
  .section { padding-block: 86px; }
  .section-heading { margin-bottom: 38px; }
  .feature-card { min-height: 0; padding: 28px; }
  .feature-card-large { min-height: 500px; }
  .feature-card-large::after { top: 17%; font-size: 140px; }
  .screen-gallery { grid-template-columns: 78% 78% 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 11% 34px; margin-inline: -14px; }
  .screen-card { scroll-snap-align: center; }
  .screen-card img { border-radius: 20px; }
  .health-card { padding: 34px 26px; border-radius: 28px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 16px; }
  .steps li > span { width: 44px; height: 44px; border-radius: 14px; }
  .steps h3 { font-size: 23px; }
  .faq-list summary { font-size: 17px; }
  .final-cta { padding-block: 86px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { gap: 16px; }
  .copyright { grid-column: 1; }
  .legal-shell,
  .support-shell { padding-block: 48px 86px; }
  .legal-card { padding: 24px 20px; border-radius: 20px; }
  .legal-card h2 { font-size: 23px; }
  .support-hero { padding: 30px 22px; border-radius: 28px; }
  .support-grid { grid-template-columns: 1fr; }
}

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

@media (prefers-contrast: more) {
  :root { --line: rgba(16, 33, 24, 0.32); --ink-soft: #33443b; }
  .button-secondary,
  .feature-card,
  .legal-card,
  .support-card { border-width: 2px; }
}
