/* Static branch pages: no tracking, API requests or runtime framework. */
:root { color-scheme: dark; --bg:#080d16; --panel:#111b29; --text:#f2f6fb; --muted:#b4c2d3; --green:#83edb6; --violet:#c1a0ff; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:radial-gradient(ellipse at 80% 0%,#1c203a 0,transparent 40rem),var(--bg); color:var(--text); font:400 17px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:inherit; text-underline-offset:5px; }
img { display:block; max-width:100%; height:auto; }
figure { margin:0; }
h1,h2,h3,p { margin:0 0 1rem; }
h1,h2,h3 { line-height:1.15; letter-spacing:-.035em; font-weight:650; }
h1 { font-size:clamp(2.35rem,5.5vw,4.5rem); }
h2 { font-size:clamp(1.7rem,3.2vw,2.5rem); }
h3 { font-size:1.35rem; }
p { color:var(--muted); }
a:focus-visible { outline:3px solid #fff; outline-offset:6px; }
.site-header,main,.site-footer { max-width:1184px; margin:auto; padding-inline:32px; }
.site-header { display:flex; justify-content:space-between; align-items:center; gap:24px; padding-block:27px; border-bottom:1px solid #ffffff19; }
/* Same brand heading/tagline and primary destinations as the homepage. */
.brand { display:flex; align-items:center; gap:16px; text-decoration:none; flex-shrink:0; }
.brand-logo { width:80px; height:80px; flex-shrink:0; border-radius:50%; }
.brand-copy { display:block; }
.brand-name { display:block; font-size:2.2rem; line-height:1.2; font-weight:750; letter-spacing:-.04em; }
.brand-tagline { display:block; max-width:240px; margin-top:6px; font-size:.8rem; line-height:1.5; color:var(--muted); }
.primary-nav { justify-content:flex-end; }
.primary-nav a[aria-current] { color:var(--green); text-decoration:underline; text-decoration-thickness:2px; }
.branch-nav { max-width:1184px; margin:auto; padding:12px 32px; justify-content:flex-end; border-bottom:1px solid #ffffff12; }
.branch-nav a { color:var(--muted); padding:0 12px; border-radius:8px; }
.branch-nav a[aria-current="page"] { color:var(--text); background:#ffffff10; box-shadow:inset 0 -2px var(--green); }
.diagnostics-page .branch-nav a[aria-current="page"] { box-shadow:inset 0 -2px var(--violet); }
nav { display:flex; gap:6px 22px; flex-wrap:wrap; }
nav a { display:flex; align-items:center; min-height:44px; font-size:.9rem; text-decoration:none; }
nav a:hover { color:var(--green); }
.skip-link { position:absolute; top:-100px; left:16px; padding:12px; background:var(--panel); z-index:5; }
.skip-link:focus { top:12px; }
.page-intro { padding:76px 0 38px; max-width:900px; }
.centered { text-align:center; margin:auto; }
.eyebrow { color:var(--green); text-transform:uppercase; letter-spacing:.15em; font-size:.75rem; font-weight:700; margin-bottom:20px; }
.diagnostics-page .eyebrow { color:var(--violet); }
.lede { font-size:clamp(1.1rem,2vw,1.3rem); line-height:1.65; max-width:760px; }
.centered .lede { margin-inline:auto; }
.hint,.muted,figcaption { color:var(--muted); font-size:.85rem; }
.intro-detail { max-width:780px; }
.branch-tree { position:relative; overflow:hidden; border-radius:20px; border:1px solid #ffffff1b; }
.branch-tree img { width:100%; }
.tree-target { position:absolute; top:4%; height:65%; width:44%; border-radius:18px; transition:box-shadow .2s; }
.wellness-target { left:3%; }
.diagnostics-target { right:3%; }
.wellness-target:hover { box-shadow:inset 0 0 36px #69ffae30; }
.diagnostics-target:hover { box-shadow:inset 0 0 36px #b889ff40; }
.tree-target:focus-visible { outline-offset:-5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.branch-choices { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:24px 0 80px; }
.choice { display:block; text-decoration:none; padding:30px; border-radius:18px; border:1px solid #ffffff20; background:linear-gradient(140deg,#18342b88,var(--panel)); }
.diagnostics-choice { background:linear-gradient(140deg,#34244788,var(--panel)); }
.diagnostics-choice .eyebrow,.diagnostics-choice .text-link { color:var(--violet); }
.choice h2 { display:flex; justify-content:space-between; gap:12px; }
.choice:hover { border-color:#ffffff70; }
.text-link { color:var(--green); font-weight:650; font-size:.95rem; }
.split-hero { display:grid; grid-template-columns:1.3fr .8fr; align-items:center; gap:64px; padding-block:60px; }
.hero-phone { max-width:300px; margin:auto; }
.hero-phone img,.preview-link img { border-radius:20px; border:1px solid #ffffff20; }
figcaption { text-align:center; margin-top:12px; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 22px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:14px 20px; min-height:50px; background:var(--green); color:#0b2518; border:1px solid transparent; border-radius:10px; text-decoration:none; font-size:.95rem; font-weight:700; }
.button:hover { filter:brightness(1.12); }
.button.secondary { color:var(--text); background:#182636; border-color:#53667b; }
.button.violet { background:var(--violet); color:#1d1034; }
.quiet-link { display:inline-block; padding-block:10px; font-size:.85rem; }
.section-heading { padding:32px 0; max-width:800px; }
.app-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 28px; }
.app-feature { min-width:0; }
.preview-link { display:block; max-width:260px; margin:0 auto 24px; }
.app-feature p { font-size:.95rem; }
.small-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:55px 0; }
.small-features article { background:var(--panel); border:1px solid #ffffff17; padding:26px; border-radius:16px; }
.small-features p { font-size:.95rem; margin:0; }
.download-panel { display:grid; grid-template-columns:1fr 210px; gap:48px; align-items:center; background:linear-gradient(120deg,#173a2a88,#152238); border:1px solid #ffffff24; border-radius:22px; padding:40px; margin:40px 0 80px; }
.qr img { background:white; border-radius:12px; width:190px; margin:auto; }
.research-list { display:grid; gap:32px; }
.research-card { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; padding:24px; border:1px solid #ffffff20; border-radius:22px; background:#101a2877; }
.research-card img { width:100%; border-radius:14px; }
.research-card h2 { font-size:clamp(1.6rem,2.8vw,2.1rem); }
.research-card h3 { font-size:1rem; line-height:1.5; letter-spacing:0; font-weight:600; }
.research-card p:last-child { margin-bottom:0; }
.research-contact { margin:70px 0; max-width:760px; }
.research-contact .muted { margin-top:20px; }
.site-footer { padding-block:30px; border-top:1px solid #ffffff20; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; font-size:.9rem; }
.site-footer a { display:inline-block; padding:12px 0; }
.site-footer div { display:flex; gap:24px; }
.site-footer p { flex-basis:100%; font-size:.8rem; }
@media(max-width:800px) { .site-header { align-items:flex-start; flex-direction:column; gap:12px; } nav { gap:4px 22px; } .split-hero { gap:30px; } .app-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } .small-features { grid-template-columns:1fr; } .research-card { gap:24px; } }
@media(max-width:600px) { .site-header,main,.site-footer { padding-inline:20px; } .page-intro { padding-top:42px; } .branch-tree { margin-inline:-4px; border-radius:12px; } .branch-choices { grid-template-columns:1fr; margin-bottom:48px; gap:14px; } .choice { padding:24px; } .split-hero { grid-template-columns:1fr; padding-block:38px; gap:30px; } .hero-phone { max-width:250px; } .app-gallery { gap:32px 18px; } .app-feature h3 { font-size:1.1rem; } .app-feature p { font-size:.85rem; } .preview-link img { border-radius:10px; } .download-panel { grid-template-columns:1fr; padding:24px; gap:22px; margin-bottom:48px; } .research-card { grid-template-columns:1fr; padding:16px; gap:24px; } .research-card div { padding:4px; } .research-card .eyebrow { margin-bottom:12px; } .actions { flex-direction:column; align-items:stretch; } .site-footer div { gap:16px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .tree-target { transition:none; } }

.tree-caption { padding:38px 0 4px; }

/* Official store artwork retains its original proportions and built-in clear space. */
.store-links { display:flex; flex-wrap:wrap; align-items:center; gap:4px 14px; margin:20px 0; }
.store-badge { display:inline-flex; align-items:center; justify-content:center; min-height:74px; border:0; border-radius:8px; text-decoration:none; }
.store-badge img { display:block; max-width:100%; width:auto; object-fit:contain; }
.store-badge.apple img { height:48px; }
.store-badge.google img { height:72px; }
.wellness-page .download-panel { margin-top:0; margin-bottom:26px; }
@media(max-width:600px) { .store-links { justify-content:center; gap:0 12px; } .store-badge { flex:0 0 auto; } }

/* Keep every original tab visible; wrap naturally instead of hiding links on phones. */
@media(max-width:1080px) { .site-header { flex-direction:column; align-items:center; gap:18px; } .primary-nav { justify-content:center; } .branch-nav { justify-content:center; } }
@media(max-width:600px) { .site-header { padding-block:22px 14px; } .brand { gap:12px; } .brand-logo { width:64px; height:64px; } .brand-name { font-size:2rem; } .brand-tagline { font-size:.75rem; max-width:210px; } .primary-nav { gap:0 18px; } .branch-nav { padding:8px 16px; gap:4px; } .branch-nav a { font-size:.85rem; padding-inline:10px; } }

/* Services guidance: visible instruction and clear branch-specific onward links. */
.branch-prompt { display:flex; align-items:center; justify-content:center; gap:12px; margin:26px 0 10px; color:var(--text); font-size:clamp(1.15rem,2.5vw,1.45rem); line-height:1.4; }
.prompt-arrow { display:inline-flex; align-items:center; justify-content:center; flex:0 0 40px; height:40px; border:1px solid #83edb66b; border-radius:50%; color:var(--green); background:#83edb612; font-size:1.6rem; }
.branch-hint { font-size:.95rem; margin-bottom:0; }
.branch-more { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:52px; margin-top:24px; padding:12px 16px; border-radius:10px; background:#83edb619; border:1px solid #83edb647; color:var(--green); font-size:1rem; font-weight:650; }
.diagnostics-choice .branch-more { background:#c1a0ff19; border-color:#c1a0ff47; color:var(--violet); }
.more-arrow { font-size:1.7rem; line-height:1; }
.choice:hover .branch-more,.choice:focus-visible .branch-more { border-color:currentColor; }
@media(max-width:600px) { .branch-prompt { gap:10px; text-align:left; } .branch-prompt strong { max-width:260px; } .branch-hint { font-size:.85rem; } .branch-more { padding:12px; font-size:.95rem; } }

/* Separate page exploration from app-store downloads; never nest store links in a card link. */
.choice-title { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; text-decoration:none; }
a.branch-more { text-decoration:none; }
.choice-download { margin-top:24px; padding-top:22px; border-top:1px solid #83edb633; }
.choice-download h3 { color:var(--green); font-size:1.1rem; letter-spacing:0; margin-bottom:4px; }
.choice-download .store-links { margin:4px 0 0; justify-content:flex-start; gap:0 12px; }
@media(max-width:600px) { .choice-download .store-links { justify-content:center; } }

/* Browser signup uses the same badge proportions as the app download options. */
.store-badge.mobile-web img { height:48px; }

.hero-copy .join-options-title, .join-options-title { font-size:1.1rem; line-height:1.5; margin:24px 0 4px; color:var(--green); }

/* Emphasize browser signup consistently across all joining sections. */
.mobile-web-highlight {
  display: inline-block;
  padding: 0.08em 0.35em;
  border-radius: 0.3em;
  background: #a5eed3;
  color: #102b24;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}
