/* GLP Journie · glpjournie.com
   Tokens lifted from the app's GlpJourneyTheme.kt and the 2026-09-03 design canvas. */

:root {
  color-scheme: light dark;
  --bg: #F8F6F2; --card: #FFFFFF; --fill: #EDE9E5; --fill2: #E4DFDA; --stage: #F0ECE7;
  --ink: #242129; --ink2: #676169; --ink3: #9A949B; --sep: #E6E1DC;
  --tint: #5A4770; --tint-on: #FFFFFF; --tint-soft: #EDE6F4; --tint-deep: #31243E;
  --accent2: #9A5E50; --accent2-soft: #F6DED7;
  --good: #3F7166; --good-soft: #DCEBE6;
  --hero: #5A4770; --hero-on: #FFFFFF; --hero-soft: rgba(255,255,255,0.16);
  --lav: #C9B6E0; --coral: #F29B84;
  --glass: rgba(255,255,255,0.74); --glass-edge: rgba(255,255,255,0.9); --glass-line: rgba(36,33,41,0.08);
  --art-a: #EDE6F4; --art-b: #F6DED7; --art-grid: rgba(36,33,41,0.07);
  --phone-edge: rgba(36,33,41,0.08);
  --shadow-phone: 0 40px 90px rgba(36,33,41,0.22), 0 2px 6px rgba(36,33,41,0.06);
  --shadow-doc: 0 24px 60px rgba(36,33,41,0.14);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Familjen Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17151A; --card: #211E24; --fill: #2C282F; --fill2: #383339; --stage: #1E1B22;
    --ink: #EAE4EB; --ink2: #B7B0B9; --ink3: #7F7882; --sep: #302C33;
    --tint: #D6BCE8; --tint-on: #382548; --tint-soft: #3A2D47; --tint-deep: #F0E5F8;
    --accent2: #FFB5A3; --accent2-soft: #4A2E28;
    --good: #9FD3C6; --good-soft: #223B36;
    --hero: #4B385D; --hero-on: #F5EEFA; --hero-soft: rgba(255,255,255,0.12);
    --glass: rgba(34,31,38,0.72); --glass-edge: rgba(255,255,255,0.12); --glass-line: rgba(255,255,255,0.08);
    --art-a: #3A2D47; --art-b: #4A2E28; --art-grid: rgba(255,255,255,0.07);
    --phone-edge: rgba(255,255,255,0.1);
    --shadow-phone: 0 40px 90px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
    --shadow-doc: 0 24px 60px rgba(0,0,0,0.45);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-ui); font-size: 17px; line-height: 1.45; letter-spacing: -0.2px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: var(--tint); }
a:hover { color: var(--tint-deep); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; border-radius: 999px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(1200px, 100% - 40px); } }

.eyebrow { font-size: 13px; line-height: 18px; letter-spacing: 0.2px; text-transform: uppercase; color: var(--ink2); }
.h1 { font-weight: 700; font-size: clamp(42px, 5.6vw, 74px); line-height: 1; letter-spacing: -0.035em; }
.h2 { font-weight: 700; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.05; letter-spacing: -0.03em; }
.h3 { font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -0.3px; color: var(--ink2); text-wrap: pretty; max-width: 34em; }
.copy { font-size: 17px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.fn { font-size: 13px; line-height: 18px; letter-spacing: -0.1px; color: var(--ink2); text-wrap: pretty; }
.on-hero .eyebrow, .on-hero .lead, .on-hero .fn { color: var(--hero-on); opacity: 0.82; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 17px; font-weight: 600; letter-spacing: -0.4px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--tint); color: var(--tint-on); }
.btn-primary:hover { background: var(--tint-deep); color: var(--tint-on); }
.btn-soft { background: var(--tint-soft); color: var(--tint); }
.btn-soft:hover { background: var(--fill2); color: var(--tint-deep); }
.btn-onhero { background: var(--card); color: var(--tint); }
.btn-onhero:hover { background: var(--tint-soft); color: var(--tint); }
.btn-ghost { background: var(--hero-soft); color: var(--hero-on); }
.btn-ghost:hover { background: rgba(255,255,255,0.26); color: var(--hero-on); }
.btn svg { width: 18px; height: 18px; }

/* ---------- floating glass nav ---------- */
.nav { position: sticky; top: 14px; z-index: 50; padding: 0 14px; display: flex; justify-content: center; pointer-events: none; }
.nav-bar {
  pointer-events: auto; display: flex; align-items: center; gap: 6px;
  width: min(1200px, 100%); height: 64px; padding: 6px 6px 6px 16px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: inset 0 0 0 0.5px var(--glass-edge), 0 1px 0 var(--glass-line), 0 10px 30px rgba(20,16,26,0.14);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.4px; height: 44px; padding-right: 8px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: -0.2px; }
.nav-links a:hover { background: var(--fill); color: var(--ink); }
.nav .btn { margin-left: 8px; height: 50px; padding: 0 20px; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 400px) { .nav .btn { padding: 0 16px; font-size: 15px; } }

/* ---------- hero ---------- */
.hero { padding: 40px 0 72px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lead { max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
  position: relative; min-height: 800px; border-radius: 36px; overflow: hidden;
  background: linear-gradient(135deg, var(--art-a) 0%, var(--art-b) 100%);
  display: flex; align-items: center; justify-content: center; padding: 40px 24px;
}
.hero-art .trend { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .phone { position: relative; z-index: 1; }
@media (min-width: 1000px) {
  .hero-art { margin-right: calc(-1 * max(24px, (100vw - 1200px) / 2)); border-radius: 36px 0 0 36px; }
}
@media (max-width: 999px) {
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 0; height: 620px; padding: 40px 20px 0; align-items: flex-start; }
}

/* the trend line, drawn on load */
.trend-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s forwards; }
.trend-dot { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.trend-dot:nth-of-type(1) { animation-delay: 0.5s; }
.trend-dot:nth-of-type(2) { animation-delay: 0.8s; }
.trend-dot:nth-of-type(3) { animation-delay: 1.1s; }
.trend-dot:nth-of-type(4) { animation-delay: 1.4s; }
.trend-dot:nth-of-type(5) { animation-delay: 1.7s; }
.trend-dot:nth-of-type(6) { animation-delay: 2.0s; }
.trend-pulse { transform-box: fill-box; transform-origin: center; opacity: 0; animation: pulse 2.6s ease-out 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.55; } 100% { transform: scale(2.2); opacity: 0; } }

.rise { animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.rise-1 { animation-delay: 0.05s; } .rise-2 { animation-delay: 0.15s; } .rise-3 { animation-delay: 0.25s; } .rise-4 { animation-delay: 0.35s; } .rise-5 { animation-delay: 0.45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* scroll reveal: only when JS is present, so the page never hides content without it */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trend-line, .trend-dot, .rise { animation: none; }
  .trend-line { stroke-dashoffset: 0; }
  .trend-dot { transform: none; }
  .trend-pulse { display: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- sections ---------- */
.section { padding: 88px 0 24px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 56px 0; }
.feature-copy { display: flex; flex-direction: column; gap: 16px; max-width: 470px; }
.feature:nth-of-type(even) .feature-copy { order: 2; justify-self: end; }
.stage {
  background: var(--stage); border-radius: 36px; padding: 40px 32px;
  display: flex; justify-content: center; align-items: center; min-height: 440px;
}
.stage-sheet { padding-bottom: 0; align-items: flex-end; overflow: hidden; }
.stage > .p-card, .stage > .p-stack { width: min(390px, 100%); }
@media (max-width: 900px) {
  .section { padding-top: 72px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feature:nth-of-type(even) .feature-copy { order: 0; justify-self: start; }
  .stage { padding: 32px 20px; min-height: 0; }
  .stage-sheet { padding-bottom: 0; }
}

.list-section { padding: 88px 0 0; }
.list-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; margin-top: 8px; }
.list-grid .section-head { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .list-section { padding-top: 72px; }
  .list-grid { grid-template-columns: 1fr; gap: 32px; }
  .list-grid .section-head { position: static; }
}
.plain-list { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: 24px; }
.plain-list li { display: flex; gap: 16px; padding: 18px 20px; align-items: flex-start; }
.plain-list li + li { border-top: 0.5px solid var(--sep); }
.plain-list .p-tile { margin-top: 2px; }
.plain-list .item { display: flex; flex-direction: column; gap: 3px; }
.plain-list .item strong { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.4px; color: var(--ink); }
.plain-list .item span { font-size: 15px; line-height: 20px; letter-spacing: -0.2px; color: var(--ink2); text-wrap: pretty; }
.list-footer { padding: 10px 16px 0; }

/* ---------- closing call to action ---------- */
.cta { padding: 96px 0 48px; }
.cta-card {
  background: var(--hero); color: var(--hero-on); border-radius: 36px; padding: 72px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.cta-card .h2 { color: var(--hero-on); max-width: 14em; }
.cta-card .lead { max-width: 28em; }
.cta-card .actions { justify-content: center; }
@media (max-width: 640px) { .cta-card { padding: 56px 24px; border-radius: 28px; } }

/* ---------- footer ---------- */
.footer { padding: 24px 0 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; padding-top: 32px; border-top: 0.5px solid var(--sep); }
.footer-note { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; font-size: 15px; letter-spacing: -0.2px; }
.footer-links a { color: var(--ink2); text-decoration: none; height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--ink); }
.placeholder { background: var(--accent2-soft); color: var(--accent2); padding: 2px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { justify-content: flex-start; }
}

/* =====================================================================
   App mockups. Class names carry a p- prefix and the values are the app's:
   iOS text styles, 24pt cards, 50pt capsules, 40pt chips, glass tab bar.
   ===================================================================== */
.p-lt { font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); }
.p-t2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.26px; color: var(--ink); }
.p-t3 { font-size: 20px; line-height: 25px; font-weight: 600; letter-spacing: -0.2px; color: var(--ink); }
.p-hl { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -0.4px; color: var(--ink); }
.p-text { font-size: 17px; line-height: 22px; font-weight: 400; letter-spacing: -0.4px; color: var(--ink); }
.p-sub { font-size: 15px; line-height: 20px; font-weight: 400; letter-spacing: -0.2px; color: var(--ink2); }
.p-fn { font-size: 13px; line-height: 18px; font-weight: 400; letter-spacing: -0.1px; color: var(--ink2); }
.p-sec { font-size: 13px; line-height: 18px; letter-spacing: 0.2px; text-transform: uppercase; color: var(--ink2); padding: 0 16px; }
.p-num { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); font-variant-numeric: tabular-nums; }
.p-stack { display: flex; flex-direction: column; gap: 22px; }
.p-group { display: flex; flex-direction: column; gap: 8px; }
.p-card { background: var(--card); border-radius: 24px; }
.p-card.padded { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.p-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; width: 100%; }
.p-row + .p-row { border-top: 0.5px solid var(--sep); }
.p-row .lines { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.p-val { margin-left: auto; color: var(--ink2); font-size: 17px; letter-spacing: -0.4px; display: flex; align-items: center; gap: 6px; text-align: right; flex: 0 0 auto; }
.p-chev { color: var(--ink3); flex: 0 0 auto; width: 14px; height: 14px; }
.p-sep { height: 0.5px; background: var(--sep); margin: 8px -20px 6px; }
.p-btn { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 999px; font-size: 17px; font-weight: 600; letter-spacing: -0.4px; }
.p-btn.primary { background: var(--tint); color: var(--tint-on); }
.p-btn.soft { background: var(--tint-soft); color: var(--tint); }
.p-btn.onhero { background: var(--card); color: var(--tint); }
.p-btn.muted { background: var(--fill); color: var(--ink3); }
.p-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px; }
.p-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--fill); color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: -0.2px; }
.p-chip.on { background: var(--tint); color: var(--tint-on); }
.p-chip svg { width: 14px; height: 14px; }
.p-pill { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent2-soft); color: var(--accent2); }
.p-hero { background: var(--hero); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 12px; color: var(--hero-on); }
.p-hero .kicker { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; opacity: 0.8; }
.p-hero .title { font-size: 24px; line-height: 29px; font-weight: 700; letter-spacing: -0.4px; }
.p-hero .text { font-size: 16px; line-height: 21px; letter-spacing: -0.3px; opacity: 0.88; }
.p-tile { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.p-tile svg { width: 18px; height: 18px; }
.p-tile.tint { background: var(--tint-soft); color: var(--tint); }
.p-tile.good { background: var(--good-soft); color: var(--good); }
.p-tile.warm { background: var(--accent2-soft); color: var(--accent2); }
.p-switch { width: 51px; height: 31px; border-radius: 999px; background: var(--fill2); position: relative; flex: 0 0 auto; }
.p-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 3px 8px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.06); }
.p-switch.on { background: var(--good); }
.p-switch.on::after { left: 22px; }
.p-step { width: 36px; height: 36px; border-radius: 999px; background: var(--tint-soft); color: var(--tint); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; }
.p-progress { width: 100%; height: 6px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.p-progress span { display: block; height: 6px; border-radius: 999px; background: var(--tint); }

/* phone */
.phone {
  width: min(390px, 100%); height: 720px; border-radius: 48px; background: var(--bg);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px var(--phone-edge); overflow: hidden; position: relative;
}
.p-screen { position: absolute; inset: 0; overflow: hidden; }
.p-body { padding: 56px 20px 132px; display: flex; flex-direction: column; gap: 22px; }
.p-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(to top, var(--bg) 20%, transparent); pointer-events: none; }
.p-tabs {
  position: absolute; left: 16px; right: 16px; bottom: 30px; height: 64px; padding: 6px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: inset 0 0 0 0.5px var(--glass-edge), 0 1px 0 var(--glass-line), 0 10px 30px rgba(20,16,26,0.14);
  display: flex; gap: 4px;
}
.p-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: 1 1 0; height: 52px; border-radius: 999px; color: var(--ink3); font-size: 10px; font-weight: 500; letter-spacing: 0.1px; }
.p-tab.on { color: var(--tint); background: var(--tint-soft); }
.p-tab svg { width: 24px; height: 24px; }
@media (max-width: 999px) { .phone { height: 600px; } }

/* modal sheet */
.p-sheet { width: min(390px, 100%); background: var(--bg); border-radius: 40px 40px 0 0; box-shadow: 0 -8px 40px rgba(0,0,0,0.12); position: relative; max-height: 600px; overflow: hidden; }
.p-sheet-bar { display: flex; align-items: center; height: 56px; padding: 6px 16px 0; position: relative; }
.p-grab { position: absolute; left: 50%; top: 6px; width: 36px; height: 5px; margin-left: -18px; border-radius: 999px; background: var(--fill2); }
.p-sheet-bar .cancel { font-size: 17px; letter-spacing: -0.4px; color: var(--tint); min-width: 64px; }
.p-sheet-bar .title { flex: 1; text-align: center; }
.p-sheet-bar .save { font-size: 17px; font-weight: 600; letter-spacing: -0.4px; color: var(--tint); min-width: 64px; text-align: right; }
.p-sheet-body { padding: 10px 20px 24px; display: flex; flex-direction: column; gap: 22px; }
.p-note { padding: 14px 16px; min-height: 84px; }
.p-note .p-text { color: var(--ink3); }

/* Care Summary document (paper stays light in both themes) */
.doc {
  width: min(390px, 100%); background: #FFFFFF; color: #242129; border-radius: 10px; padding: 26px 26px 22px;
  box-shadow: var(--shadow-doc); display: flex; flex-direction: column; gap: 12px; font-family: var(--font-ui);
}
.doc .kicker { font-size: 9px; letter-spacing: 0.6px; text-transform: uppercase; color: #9A5E50; font-weight: 600; }
.doc .title { font-size: 19px; line-height: 23px; font-weight: 600; letter-spacing: -0.3px; }
.doc .meta { font-size: 10px; line-height: 14px; color: #676169; }
.doc .band { background: #F6DED7; color: #4B2720; font-size: 9.5px; line-height: 13px; padding: 8px 10px; border-radius: 6px; }
.doc .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.doc .tile { border-radius: 6px; padding: 10px 10px 9px; display: flex; flex-direction: column; gap: 4px; }
.doc .tile .l { font-size: 8px; letter-spacing: 0.4px; text-transform: uppercase; color: #676169; }
.doc .tile .v { font-size: 17px; line-height: 20px; font-weight: 600; letter-spacing: -0.3px; font-variant-numeric: tabular-nums; }
.doc .tile .s { font-size: 8.5px; color: #676169; }
.doc .tile.lav { background: #EDE6F4; } .doc .tile.mint { background: #DCEBE6; } .doc .tile.peach { background: #F6DED7; }
.doc .h { font-size: 13px; font-weight: 600; letter-spacing: -0.2px; margin-top: 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 9px; line-height: 12px; }
.doc th { text-align: left; font-weight: 500; background: #EDE6F4; padding: 6px 8px; border: 0.5px solid #E6E1DC; }
.doc td { padding: 6px 8px; border: 0.5px solid #E6E1DC; font-variant-numeric: tabular-nums; }
.doc .foot { display: flex; justify-content: space-between; font-size: 8px; color: #9A949B; padding-top: 10px; border-top: 0.5px solid #E6E1DC; margin-top: 4px; }

/* body map */
.bodymap { display: block; width: 100%; max-width: 300px; height: auto; }
.bodymap .zone-label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; }
.bodymap .zone-date { font-family: var(--font-ui); font-size: 10px; }

/* ---------- small layout helpers used inside the mockups ---------- */
.col { display: flex; flex-direction: column; }
.g2 { gap: 2px; }
.g10 { gap: 10px; }
.mt4 { margin-top: 4px; }
.mt6 { margin-top: 6px; }
.between { display: flex; align-items: center; justify-content: space-between; }
.inset { padding-left: 16px; padding-right: 16px; }
.tinted { color: var(--tint); }
.push { margin-left: auto; }
.p-val.inked { color: var(--ink); }
.p-row.tall { min-height: 56px; }
.p-sheet.tall { max-height: none; }
.trend-card { padding: 18px 20px 8px; display: flex; flex-direction: column; gap: 6px; }
.trend-chart { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.p-sep.flush { margin: 8px -20px 0; }
.link-row { margin: 0 -20px; width: auto; padding: 0 20px; min-height: 48px; }
.map-card { padding: 12px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.counter { padding: 26px 20px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.counter .count { font-size: 72px; line-height: 76px; font-weight: 700; letter-spacing: -2px; font-variant-numeric: tabular-nums; color: var(--tint); }
.counter .estimate { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.2px; color: var(--tint); }
.counter .big { width: 100%; height: 60px; font-size: 19px; margin-top: 4px; }
.counter .pair { display: flex; gap: 10px; width: 100%; }
.counter .pair .p-btn { flex: 1; }
.stepper { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.stepval { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.doc-chart { width: 100%; height: auto; }
