/* Healthyer marketing site.
   Layout from TripTrekr's chrome/paper marketing page; colour and type from
   this app: forest ink, brand green, mint paper, Instrument Sans, serif figures. */

:root {
  --ink: #0C1F1A;
  --ink-deep: #071512;
  --paper: #F6F9F8;
  --paper-2: #FFFFFF;
  --body-on-paper: #5A716B;
  --head-on-paper: #0C1F1A;
  --mint: #F6F9F8;
  --mint-dim: rgba(246, 249, 248, 0.64);
  --mint-faint: rgba(246, 249, 248, 0.42);
  --brand: #037B5F;
  --brand-deep: #02543F;
  --brand-tint: #EDF4F1;
  --brand-bright: #5DDCB0;
  --scan: #16C79A;
  --careful: #B26A00;
  --careful-soft: #F5EBD8;
  --avoid: #B3372A;
  --avoid-soft: #F8E6E3;
  --line-ink: rgba(93, 220, 176, 0.16);
  --line-paper: #E2EAE7;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --max: 1160px;
  --sheet-r: 30px;
  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
  --paper: #F6F9F8;
  --brand: #037B5F;
  --scan: #16C79A;
  --line-paper: #E2EAE7;
  --brand-tint: #EDF4F1;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sheet-r: 30px;
  --body-on-paper: #5A716B;
  --head-on-paper: #0C1F1A;
  --line-ink: rgba(93, 220, 176, 0.16);
  --mint-dim: rgba(246, 249, 248, 0.64);
  --mint-faint: rgba(246, 249, 248, 0.42);
  --brand-bright: #5DDCB0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--mint);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(3, 123, 95, 0.35); color: #fff; }
:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.8rem; top: 0.8rem; }
.sprites { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.4rem); }

/* ── Mark ── */
.mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--mint);
}
.mark svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 31, 26, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-ink);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem clamp(1.1rem, 4vw, 2.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.92rem;
  color: var(--mint-dim);
  font-weight: 500;
}
.nav-links a:hover { color: var(--mint); }
.nav-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--brand-bright);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
}
.nav-cta:hover { background: #7EE8C4; }
@media (max-width: 740px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ── Hero ── */
.hero {
  padding: clamp(3.2rem, 9vh, 6rem) 0 clamp(2.6rem, 7vh, 4.5rem);
  position: relative;
  overflow: hidden;
}
.finder-bg {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 480px;
  height: 480px;
  opacity: 0.09;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-bright);
}
.hero-sub {
  margin-top: 1.3rem;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  color: var(--mint-dim);
  max-width: 46ch;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s var(--ease), border-color 0.2s;
}
.btn-primary { color: var(--ink); background: var(--brand-bright); }
.btn-primary:hover { background: #7EE8C4; transform: translateY(-1px); }
.btn-ghost { color: var(--mint); border: 1px solid rgba(246, 249, 248, 0.22); }
.btn-ghost:hover { border-color: rgba(246, 249, 248, 0.45); }
.hero-fine { margin-top: 1rem; font-size: 0.84rem; color: var(--mint-faint); }

.dl-cap { margin-top: 1.7rem; font-size: 0.86rem; font-weight: 600; color: var(--mint-dim); }
.dl { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.8rem; flex-wrap: wrap; }
.store {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  border: 1px solid rgba(246, 249, 248, 0.28);
  border-radius: 12px;
  padding: 0.5rem 1.05rem;
  min-width: 190px;
}
.store svg { width: 24px; height: 26px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.18; text-align: left; }
.store small { font-size: 0.6rem; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.72); }
.store b { font-size: 1.02rem; font-weight: 600; color: #fff; }
.store.soon { cursor: default; opacity: 0.88; }
.lock-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  font-size: 0.82rem;
  color: var(--mint-faint);
  font-weight: 500;
}
.lock-line svg { flex-shrink: 0; }

.hero-art { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .dl, .lock-line { justify-content: center; }
  .hero-art { order: 2; margin-top: 1.4rem; }
  .device { width: min(70vw, 300px); }
}

/* ── Phone: live HTML of the Scan screen ── */
.device {
  width: clamp(250px, 26vw, 320px);
  aspect-ratio: 1320 / 2868;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(165deg, #1a332c, #071512 60%);
  box-shadow: 0 30px 70px -22px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.screen {
  width: 100%;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: var(--paper);
  container-type: size;
}
.mock {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.3;
  font-family: var(--sans);
}
.m-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 3.6cqw;
  font-weight: 700;
  padding: 4.2cqw 6cqw 0;
}
.m-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 3.6cqw 5.6cqw 3.2cqw;
}
.m-lbl {
  font-size: 2.6cqw;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8FA39D;
}
.m-title { font-size: 6.6cqw; font-weight: 600; letter-spacing: -0.022em; }
.m-ava {
  width: 10.6cqw;
  height: 10.6cqw;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 3.8cqw;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-finder {
  margin: 0 5.6cqw;
  height: 38cqw;
  border-radius: 6cqw;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-finder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 40%, rgba(3, 123, 95, 0.34) 0%, transparent 62%);
}
.m-frame { width: 54cqw; height: 54cqw; position: relative; }
.m-frame i {
  position: absolute;
  width: 11cqw;
  height: 11cqw;
  border: 0.8cqw solid var(--scan);
}
.m-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 3.4cqw 0 0 0; }
.m-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 3.4cqw 0 0; }
.m-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 3.4cqw; }
.m-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 3.4cqw 0; }
.m-laser {
  position: absolute;
  left: 3cqw;
  right: 3cqw;
  top: 50%;
  height: 0.5cqw;
  background: linear-gradient(90deg, transparent, var(--scan), transparent);
}
.m-bars {
  position: absolute;
  inset: 13cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  opacity: 0.32;
}
.m-bars b { background: #fff; display: block; }
.m-bars b:nth-child(1) { width: 1cqw; height: 19cqw; }
.m-bars b:nth-child(2) { width: 0.5cqw; height: 19cqw; }
.m-bars b:nth-child(3) { width: 1.5cqw; height: 19cqw; }
.m-bars b:nth-child(4) { width: 0.5cqw; height: 19cqw; }
.m-bars b:nth-child(5) { width: 0.8cqw; height: 19cqw; }
.m-bars b:nth-child(6) { width: 1.8cqw; height: 19cqw; }
.m-hint {
  text-align: center;
  font-size: 3.3cqw;
  font-weight: 500;
  color: #5A716B;
  padding: 3.2cqw 0 2.4cqw;
}
.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8cqw;
  padding: 0 5.6cqw;
}
.m-tile {
  min-height: 21cqw;
  border-radius: 5cqw;
  border: 0.35cqw solid var(--line-paper);
  background: #fff;
  padding: 3.6cqw 4cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.2cqw;
  font-size: 3.7cqw;
  font-weight: 600;
}
.m-tile.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.m-tile svg { width: 5.4cqw; height: 5.4cqw; }
.m-last {
  margin: 4cqw 5.6cqw 0;
  display: flex;
  align-items: center;
  gap: 3.2cqw;
  padding: 3.2cqw 3.8cqw;
  border-radius: 4cqw;
  background: var(--brand-tint);
}
.m-last .dot {
  width: 9.6cqw;
  height: 9.6cqw;
  border-radius: 2.8cqw;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-last .name { font-size: 3.6cqw; font-weight: 600; }
.m-last .meta { font-size: 3cqw; color: #5A716B; margin-top: 0.3cqw; }
.m-nav {
  margin-top: auto;
  background: #fff;
  border-top: 0.3cqw solid var(--line-paper);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 3cqw 2cqw 5.5cqw;
  color: #8FA39D;
}
.m-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2cqw;
  font-size: 2.5cqw;
  font-weight: 600;
  width: 16cqw;
}
.m-nav svg { width: 5.8cqw; height: 5.8cqw; }
.m-nav .on { color: var(--brand); }

/* ── Three steps ── */
.ways { padding: 0 0 clamp(2.6rem, 6vh, 4rem); }
.ways-head {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 1.1rem;
}
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.way {
  border: 1px solid var(--line-ink);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.5rem;
  background: rgba(246, 249, 248, 0.03);
}
.way .n {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--brand-bright);
  line-height: 1;
}
.way h3 { font-weight: 600; font-size: 1.15rem; margin-top: 0.7rem; }
.way p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--mint-dim); line-height: 1.6; }
@media (max-width: 760px) { .ways-grid { grid-template-columns: 1fr; } }

/* ── Paper sheets ── */
.sheet {
  background: var(--paper);
  color: var(--body-on-paper);
  border-radius: var(--sheet-r);
  padding: clamp(2rem, 5vw, 3.6rem);
  margin: clamp(1.2rem, 3vh, 2rem) 0;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}
.tabmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
}
.tabmark svg { width: 15px; height: 15px; }
.sheet h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  color: var(--head-on-paper);
  margin-top: 0.7rem;
  text-wrap: balance;
}
.sheet .lead {
  margin-top: 0.9rem;
  font-size: clamp(0.96rem, 1.4vw, 1.06rem);
  max-width: 56ch;
  line-height: 1.7;
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 5vw, 3.6rem);
  align-items: center;
}
.split.rev .s-copy { order: 2; }
.split.rev .s-art { order: 1; }
.plist { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.7rem; list-style: none; }
.plist li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.55; }
.plist .tick { color: var(--brand); flex-shrink: 0; margin-top: 0.22rem; }
.plist b { color: var(--head-on-paper); font-weight: 600; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .s-copy { order: 1; }
  .split.rev .s-art { order: 2; }
}

.labs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.lab {
  background: var(--paper-2);
  border: 1px solid var(--line-paper);
  border-radius: 16px;
  padding: 1rem 0.9rem 0.95rem;
}
.lab .fig {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--careful);
}
.lab .fig.ok { color: var(--brand); }
.lab .k {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FA39D;
}
.scan-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.mode {
  background: var(--paper-2);
  border: 1px solid var(--line-paper);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
}
.mode.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mode.on p { color: rgba(255, 255, 255, 0.78); }
.mode h4 { font-size: 0.98rem; font-weight: 600; color: var(--head-on-paper); }
.mode.on h4 { color: #fff; }
.mode p { margin-top: 0.3rem; font-size: 0.82rem; line-height: 1.5; }
@media (max-width: 560px) {
  .labs, .scan-modes { grid-template-columns: 1fr; }
}

/* ── Privacy ── */
.priv-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.8rem, 5vw, 3.4rem);
}
.priv-points { display: flex; flex-direction: column; gap: 1rem; }
.ppoint { display: flex; gap: 0.8rem; align-items: flex-start; }
.ppoint .pi {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(3, 123, 95, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.ppoint b { display: block; font-size: 0.95rem; color: var(--head-on-paper); font-weight: 600; }
.ppoint span { font-size: 0.85rem; line-height: 1.55; }
.plink { color: var(--brand); border-bottom: 1px solid rgba(3, 123, 95, 0.35); }
.plink:hover { border-bottom-color: var(--brand); }
@media (max-width: 820px) { .priv-grid { grid-template-columns: 1fr; } }

/* ── Finale ── */
.finale { text-align: center; padding: clamp(3rem, 9vh, 6rem) 0 clamp(2rem, 6vh, 4rem); }
.finale h2 {
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.finale p { color: var(--mint-dim); margin-top: 1rem; }
.finale .hero-cta { justify-content: center; }
.finale .dl { justify-content: center; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line-ink); padding: 3rem 0 2.2rem; margin-top: 2rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand p { font-size: 0.88rem; color: var(--mint-dim); line-height: 1.6; margin-top: 0.9rem; }
.foot-cols { display: flex; gap: clamp(2rem, 6vw, 4rem); flex-wrap: wrap; }
.foot-col h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brand-bright);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.foot-col a { display: block; font-size: 0.9rem; color: var(--mint-dim); margin-bottom: 0.6rem; }
.foot-col a:hover { color: var(--mint); }
.foot-base {
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 249, 248, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--mint-faint);
}

/* ── Legal pages ── */
.legal-main {
  background: var(--paper);
  color: var(--body-on-paper);
  border-radius: var(--sheet-r);
  padding: clamp(2rem, 5vw, 3.2rem);
  margin: 2rem auto 3rem;
  max-width: 820px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}
.legal-main h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: var(--head-on-paper);
  text-wrap: balance;
}
.legal-main .updated { font-size: 0.84rem; color: #8FA39D; margin: 0.4rem 0 1.6rem; }
.legal-main h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 2rem 0 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line-paper);
}
.legal-main p, .legal-main li { font-size: 0.98rem; max-width: 68ch; }
.legal-main p + p { margin-top: 0.7rem; }
.legal-main strong { color: var(--head-on-paper); font-weight: 600; }
.legal-main ul { padding-left: 1.15rem; display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.5rem; }
.legal-main a { color: var(--brand); }
.legal-main a:hover { color: var(--brand-deep); }
.callout {
  background: var(--brand-tint);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  margin: 1.1rem 0 1.4rem;
}
.callout p { margin: 0; color: var(--head-on-paper); }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
