@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand - neutral charcoal, not green-tinted */
  --teal: #16181B;
  --teal-2: #0D0E10;
  --teal-3: #202226;
  /* Real app success colour - used only inside phone-mockup content, authentic to the product */
  --green: #20B26C;
  --green-dark: #189258;

  /* Semantic - used ONLY inside the phone demo, authentic to the real app */
  --protein: #E8643C;
  --carbs: #2D9CDB;
  --fat: #E0A82E;
  --water: #2BA6E0;
  --danger: #EF4444;

  /* Ink (warm near-black, not pure black) */
  --ink: #16191A;
  --ink-2: #4B5257;
  --ink-3: #888E92;
  --ink-4: #D6D3CB;

  /* Warm paper surfaces, not stark grey */
  --line: #E4E0D7;
  --line-2: #ECE9E1;
  --card: #FFFFFF;
  --paper: #F6F4EF;
  --paper-2: #FBFAF7;

  --font-display: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { margin: 0; background: var(--teal); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { line-height: 1.65; margin: 0 0 1em; color: var(--ink-2); }
a { color: inherit; }

.container-wide { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 28px; }
@media (min-width: 900px) { .container-wide { padding: 0 56px; } }

section { background: var(--paper); }
section.dark {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(255,255,255,.05), transparent 60%),
    var(--teal);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--ink-4); display: inline-block; }
.eyebrow.on-dark::before { background: rgba(255,255,255,.3); }
.eyebrow.on-dark { color: rgba(255,255,255,.55); }

/* ---------------------------------------------------------
   BUTTONS - restrained, rectangular, ink-first
--------------------------------------------------------- */
.btn-roll {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  height: 50px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background .3s ease, color .3s ease, border-color .3s ease, opacity .2s ease;
  overflow: hidden;
}
.btn-roll:hover { background: #000; border-color: #000; }
.btn-roll:active { opacity: .85; }

.btn-roll.outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-roll.outline:hover { border-color: var(--ink); }

/* on the dark teal sections */
.btn-roll.on-dark { background: #fff; color: var(--teal); border-color: #fff; }
.btn-roll.on-dark:hover { background: var(--paper-2); }
.btn-roll.on-dark.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn-roll.on-dark.outline:hover { border-color: #fff; background: rgba(255,255,255,.05); }

.btn-roll.sm { height: 42px; padding: 0 18px; font-size: .82rem; }
.btn-roll.full { width: 100%; }

.btn-roll-wrap { position: relative; display: inline-block; height: 1.2em; overflow: hidden; line-height: 1; }
.btn-roll-inner { display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.7,0,.3,1); }
.btn-roll-inner > span { display: flex; align-items: center; height: 1.2em; line-height: 1; white-space: nowrap; }
.btn-roll:hover .btn-roll-inner { transform: translateY(-1.2em); }

.btn-roll .arrow { transition: transform .35s ease; flex-shrink: 0; width: 15px; height: 15px; }
.btn-roll:hover .arrow { transform: translateX(4px); }
.btn-roll svg.store-icon { flex-shrink: 0; width: 17px; height: 17px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.link-roll {
  position: relative; display: inline-flex; overflow: hidden; height: 1.3em;
  text-decoration: none; font-weight: 500; font-size: .92rem;
}
.link-roll span.roll-track { display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.7,0,.3,1); }
.link-roll span.roll-track > i { font-style: normal; height: 1.3em; line-height: 1.3; white-space: nowrap; }
.link-roll:hover span.roll-track { transform: translateY(-1.3em); }

/* ---------------------------------------------------------
   NAV
--------------------------------------------------------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: var(--teal); border-bottom: 1px solid rgba(255,255,255,.09); }
.site-nav .container-wide { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.logo-lockup { display: flex; align-items: center; text-decoration: none; }
.logo-img { width: 138px; height: auto; display: block; }

.nav-links { display: none; align-items: center; gap: 36px; }
.nav-links a, .nav-drop-label { color: rgba(255,255,255,.68); text-decoration: none; font-size: .85rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.nav-links a .roll-track > i, .nav-drop-label .roll-track > i { color: rgba(255,255,255,.68); }
.nav-links a:hover .roll-track > i:last-child,
.nav-item-drop.is-active .nav-drop-label .roll-track > i:last-child { color: #fff; }

@media (min-width: 900px) { .nav-links { display: flex; } .nav-cta { display: flex !important; } }
.nav-cta { display: none; }
.nav-cta-group { align-items: center; gap: 18px; }
.nav-download-trigger { gap: 8px; }
.nav-download-trigger svg { width: 9px; height: 9px; color: currentColor; opacity: .6; transition: transform .25s ease; flex-shrink: 0; }
.nav-item-drop.is-active .nav-download-trigger svg { transform: rotate(180deg); }
.nav-dropdown.align-right { left: auto; right: 0; transform: translateY(-8px); }
.nav-item-drop.is-active .nav-dropdown.align-right { transform: translateY(0); }

.nav-item-drop { position: relative; }
.nav-item-drop > .nav-drop-label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-item-drop > .nav-drop-label svg { width: 9px; height: 9px; color: rgba(255,255,255,.5); transition: transform .25s ease, color .25s ease; }
.nav-item-drop.is-active > .nav-drop-label svg { transform: rotate(180deg); color: #fff; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translate(-50%, -8px);
  width: min(560px, 90vw);
  background: var(--teal-3);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  box-shadow: 0 40px 70px -20px rgba(0,0,0,.5);
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 60;
}
.nav-item-drop.is-active .nav-dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.nav-dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-bottom: 14px; }
.nav-dropdown-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px;
  color: rgba(255,255,255,.82); text-decoration: none; font-size: .86rem; font-weight: 600;
  transition: background .2s ease;
}
.nav-dropdown-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-dropdown-link svg { width: 16px; height: 16px; color: rgba(255,255,255,.5); flex-shrink: 0; }
.nav-dropdown-foot { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.nav-dropdown-foot a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .78rem; font-weight: 600; }
.nav-dropdown-foot a:hover { color: #fff; }

.nav-dropdown.narrow { width: min(300px, 90vw); padding: 8px; }
.nav-dropdown .account-drop-item { display: flex; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; transition: background .15s ease; text-transform: none; letter-spacing: normal; }
.account-drop-item:hover { background: rgba(255,255,255,.06); }
.account-drop-item .ad-icn { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.account-drop-item .ad-icn svg { width: 17px; height: 17px; }
.account-drop-item .ad-title { font-size: .86rem; font-weight: 700; color: #fff; }
.account-drop-item .ad-sub { font-size: .74rem; color: rgba(255,255,255,.5); margin-top: 2px; line-height: 1.4; }
.nav-account-divider { height: 1px; background: rgba(255,255,255,.1); margin: 4px 8px; }

.nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: none; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); color: #fff; cursor: pointer; }
@media (min-width: 900px) { .nav-burger { display: none; } }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 24px; background: var(--teal); border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu a svg { width: 17px; height: 17px; color: rgba(255,255,255,.4); flex-shrink: 0; }
.mobile-menu-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); padding: 14px 4px 4px; }
.mobile-menu-label:first-child { padding-top: 4px; }
.mobile-menu .btn-roll { margin-top: 14px; }

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
.hero { padding: 72px 0 104px; overflow: hidden; }
.hero .container-wide { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero .container-wide { grid-template-columns: 1fr .92fr; gap: 40px; } }

.hero-copy h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.85rem); max-width: 16ch; font-weight: 800; }
.hero-copy p.lead { color: rgba(255,255,255,.66); font-size: 1.08rem; max-width: 44ch; margin-bottom: 34px; font-family: var(--font-body); }
@media (max-width: 560px) { .hero { padding: 36px 0 68px; } .hero-copy h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); } }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-trust-item {
  color: rgba(255,255,255,.5); font-size: .82rem; font-weight: 500;
  padding-right: 20px; margin-right: 20px; border-right: 1px solid rgba(255,255,255,.14);
}
.hero-trust-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }

/* ---------------------------------------------------------
   PHONE - real app screenshots, restrained device frame
--------------------------------------------------------- */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; position: relative; }
.phone {
  width: min(330px, 92vw);
  aspect-ratio: 390 / 758;
  background: #1C1C1E;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05) inset;
  position: relative;
}
@media (min-width: 980px) { .phone { width: min(340px, 26vw); } }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 68px; height: 20px; background: #000; border-radius: 999px; z-index: 3; }
.phone-screen { background: var(--paper-2); width: 100%; height: 100%; border-radius: 27px; overflow: hidden; position: relative; }

.p-view {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(4px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  font-family: var(--font-body);
  color: var(--ink);
}
.p-view.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.p-view button { font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.p-scroll { position: absolute; inset: 0; top: 62px; bottom: 56px; padding: 0 14px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }

.p-head { position: absolute; top: 0; left: 0; right: 0; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.p-head h4 { font-weight: 800; font-size: 1.22rem; margin: 0; letter-spacing: -.02em; }
.p-head .p-date { font-size: .62rem; color: var(--ink-3); font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }

.p-backhead { position: absolute; top: 0; left: 0; right: 0; height: 62px; display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 0 14px 12px; }
.p-backhead > svg { position: absolute; left: 14px; bottom: 10px; width: 15px; height: 15px; color: var(--ink); background: var(--card); border-radius: 50%; padding: 8px; box-sizing: content-box; border: 1px solid var(--line); }
.p-backhead button { position: absolute; left: 14px; bottom: 10px; width: 31px; height: 31px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 0; }
.p-backhead button svg { width: 15px; height: 15px; color: var(--ink); }
.p-backhead h4 { font-weight: 700; font-size: 1.02rem; margin: 0; }

.p-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px; flex-shrink: 0; }
.p-center { text-align: center; }
.p-eyebrow { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 4px; display: flex; align-items: center; gap: 4px; }
.p-cardtitle { font-size: .84rem; font-weight: 800; color: var(--ink); }

.p-stat3 { display: flex; }
.p-stat3 > div { flex: 1; text-align: center; border-right: 1px solid var(--line-2); padding-top: 10px; }
.p-stat3 > div:first-child { padding-top: 0; }
.p-stat3 > div:last-child { border-right: none; }
.p-num { font-size: .92rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.p-lbl { font-size: .58rem; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

.p-pb { display: flex; align-items: center; gap: 8px; background: rgba(32,178,108,.08); border: 1px solid rgba(32,178,108,.22); border-radius: 12px; padding: 10px 12px; flex-shrink: 0; }
.p-pb svg { width: 15px; height: 15px; color: var(--green-dark); flex-shrink: 0; }
.p-pb span { font-size: .66rem; font-weight: 600; color: var(--green-dark); }

.p-startbtn { background: var(--ink); color: #fff; border: none; border-radius: 12px; padding: 12px; font-size: .78rem; font-weight: 700; text-align: center; flex-shrink: 0; }

.p-sectionrow { display: flex; align-items: center; justify-content: space-between; }
.p-sectionrow .p-eyebrow { margin: 0; }
.p-seeall { font-size: .62rem; font-weight: 700; color: var(--teal); }

.p-tmplgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex-shrink: 0; }
.p-tmplcard { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; }
.p-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: .6rem; font-weight: 800; margin-bottom: 6px; }
.p-tmplname { font-size: .68rem; font-weight: 700; color: var(--ink); }
.p-tmplmeta { font-size: .56rem; color: var(--ink-3); margin-top: 2px; line-height: 1.35; }
.p-startpill { display: inline-flex; align-items: center; gap: 3px; margin-top: 7px; background: var(--ink); color: #fff; font-size: .56rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; border: none; }
.p-startpill svg { width: 9px; height: 9px; }

.p-session {
  position: absolute; inset: 0;
  background: var(--paper-2);
  opacity: 0; transform: translateX(12px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  z-index: 4;
}
.p-session.show { opacity: 1; transform: translateX(0); pointer-events: auto; }
.p-setrow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border: none; border-bottom: 1px solid var(--line-2); background: none; width: 100%; text-align: left; }
.p-setrow:last-child { border-bottom: none; }
.p-setrow .set-n { font-size: .7rem; font-weight: 700; color: var(--ink-3); width: 44px; flex-shrink: 0; }
.p-setrow .set-info { flex: 1; font-size: .78rem; font-weight: 700; color: var(--ink); }
.p-setrow .set-info span { color: var(--ink-3); font-weight: 600; font-size: .68rem; }
.p-setrow .set-check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink-4); flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: none; }
.p-setrow .set-check svg { width: 12px; height: 12px; opacity: 0; transition: opacity .15s ease; }
.p-setrow.done .set-check { background: var(--green); border-color: var(--green); }
.p-setrow.done .set-check svg { opacity: 1; }
.p-restbar {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(43,166,224,.08); border: 1px solid rgba(43,166,224,.22); border-radius: 12px;
  padding: 10px 13px; font-size: .8rem; font-weight: 800; color: var(--water);
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity .3s ease, max-height .3s ease, margin .3s ease;
}
.p-restbar.show { opacity: 1; max-height: 60px; margin-top: -2px; }

.p-recentrow { display: flex; align-items: center; justify-content: space-between; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px; flex-shrink: 0; }
.p-recentrow svg { width: 13px; height: 13px; color: var(--ink-4); flex-shrink: 0; }

.p-seg2 { display: flex; background: var(--line-2); border-radius: 10px; padding: 3px; flex-shrink: 0; }
.p-seg2 span { flex: 1; text-align: center; font-size: .68rem; font-weight: 700; padding: 7px 0; border-radius: 8px; color: var(--ink-3); cursor: pointer; transition: color .15s ease; }
.p-seg2 span.on { background: var(--card); color: var(--ink); }

.p-daytype { display: flex; gap: 6px; flex-shrink: 0; }
.p-daytype span { font-size: .62rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); }
.p-daytype span.on { border-color: var(--fat); color: var(--fat); background: rgba(224,168,46,.08); }

.p-weightnum { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 4px 0 10px; }
.p-weightnum span { font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.p-weightstep { display: flex; align-items: center; justify-content: center; gap: 18px; }
.p-weightstep .p-weightnum { margin: 0; min-width: 92px; }
.p-stepbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); font-size: 1.1rem; font-weight: 600; line-height: 1; display: flex; align-items: center; justify-content: center; }
.p-savebtn { width: 100%; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 700; border: none; border-radius: 10px; padding: 10px; margin-top: 12px; transition: background .25s ease; }
.p-savebtn.saved { background: var(--green); }

.p-rangepills { display: flex; gap: 5px; margin-bottom: 10px; }
.p-rangepills span { font-size: .58rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: var(--ink-3); border: 1px solid var(--line); }
.p-rangepills span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-linechart { width: 100%; height: 34px; display: block; }

.p-histrow { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: .66rem; font-weight: 600; }
.p-histrow:last-child { border-bottom: none; }
.p-histrow span:first-child { color: var(--ink-3); font-weight: 600; }
.p-histrow .up { color: var(--danger); }
.p-histrow .down { color: var(--green-dark); }

.p-waterhero { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.p-glass { width: 42px; height: 62px; border: 2px solid var(--ink-4); border-radius: 4px 4px 9px 9px; position: relative; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.p-glassfill { position: absolute; bottom: 0; left: 0; right: 0; background: var(--water); }
.p-glasspct { position: relative; font-size: .58rem; font-weight: 800; color: var(--ink); z-index: 1; }
.p-tagpill { display: inline-block; font-size: .6rem; font-weight: 700; color: var(--water); background: rgba(43,166,224,.1); border-radius: 999px; padding: 4px 9px; margin-top: 6px; }

.p-quickrow { display: flex; gap: 6px; flex-shrink: 0; }
.p-qbtn { flex: 1; text-align: center; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 2px; font-size: .68rem; font-weight: 700; color: var(--water); }
.p-qbtn span { display: block; font-size: .54rem; font-weight: 600; color: var(--ink-3); margin-top: 1px; }

.p-actionrow { display: flex; gap: 6px; flex-shrink: 0; }
.p-actionbtn { flex: 1; text-align: center; border-radius: 10px; padding: 10px; font-size: .68rem; font-weight: 700; }
.p-actionbtn.off { background: var(--line-2); color: var(--ink-4); }
.p-actionbtn.on { background: var(--water); color: #fff; }

.p-weekbars { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.p-weekbars > i { flex: 1; background: var(--line-2); border-radius: 3px 3px 0 0; }
.p-weekbars > i.today { background: var(--water); }
.p-weekdays { display: flex; gap: 5px; margin-top: 4px; }
.p-weekdays span { flex: 1; text-align: center; font-size: .54rem; color: var(--ink-3); font-weight: 600; }

.p-bar { height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.p-bar > i { display: block; height: 100%; border-radius: 3px; }
.p-macro { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.p-macro .m-lbl { font-size: .62rem; font-weight: 700; width: 44px; flex-shrink: 0; }
.p-macro .p-bar { flex: 1; }
.p-macro .m-val { font-size: .58rem; color: var(--ink-3); font-weight: 600; width: 56px; text-align: right; flex-shrink: 0; }

.p-mealcard { padding: 12px; }
.p-mealhead { display: flex; align-items: center; gap: 9px; }
.p-mealicn { width: 26px; height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.p-mealicn svg { width: 17px; height: 17px; }
.p-mealkcal { margin-left: auto; font-size: .68rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.p-fooditem { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0 0 35px; font-size: .7rem; font-weight: 700; color: var(--ink); }
.p-fooditem .p-tmplmeta { margin: 0 auto 0 8px; }
.p-fooditem .p-kcal { font-size: .68rem; font-weight: 700; color: var(--ink); }
.p-addfood { text-align: center; font-size: .64rem; font-weight: 700; color: var(--ink-3); padding-top: 10px; margin-top: 8px; border-top: 1px dashed var(--line-2); }

.p-progrow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.p-seg { display: flex; gap: 3px; }
.p-seg > i { flex: 1; height: 5px; border-radius: 3px; background: var(--line-2); }

.p-streakrow { display: flex; align-items: center; justify-content: space-between; }
.p-streakbadge { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; color: var(--green-dark); }
.p-heatgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.p-heatgrid .hm-lbl { font-size: .5rem; font-weight: 700; color: var(--ink-3); text-align: center; padding-bottom: 2px; }
.p-heatgrid i { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--line-2); }
.p-heatgrid i.l1 { background: #CFF3DF; }
.p-heatgrid i.l2 { background: #8FE0B6; }
.p-heatgrid i.l3 { background: #43C880; }
.p-heatgrid i.l4 { background: var(--green); }
.p-heatgrid i.today { box-shadow: 0 0 0 2px var(--ink) inset; }
.p-seg > i.done { background: var(--green); }

.p-habit { display: flex; align-items: center; gap: 10px; padding: 9px 0; border: none; border-bottom: 1px solid var(--line-2); background: none; width: 100%; text-align: left; }
.p-habit:last-child { border-bottom: none; }
.p-habiticn { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.p-habiticn svg { width: 14px; height: 14px; }
.p-check { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-left: auto; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink-4); }
.p-check svg { width: 9px; height: 9px; }
.p-check.on { background: var(--green); border-color: var(--green); }

/* Timers screen */
.p-timerring { position: relative; width: 140px; height: 140px; margin: 14px auto 20px; }
.p-timerring svg { width: 100%; height: 100%; transition: stroke-dashoffset 1s linear; }
.p-timernum { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 800; color: var(--ink); font-family: var(--font-body); }
.p-timerbtns { display: flex; align-items: center; justify-content: center; gap: 14px; }

/* Check-ins screen */
.p-photorow { display: flex; gap: 8px; }
.p-photoslot { flex: 1; aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed var(--line-2); background: var(--paper-2); display: flex; align-items: center; justify-content: center; color: var(--ink-4); }
.p-photoslot.has { border-style: solid; background: var(--line-2); color: var(--ink-3); }
.p-moodrow { display: flex; gap: 6px; }
.p-moodbtn { flex: 1; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--ink-3); font-weight: 700; font-size: .8rem; }
.p-moodbtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Diary screen */
.p-lockscreen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 30px; background: var(--paper-2); }
.p-lockicn { width: 56px; height: 56px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); margin-bottom: 18px; }
.p-lockicn svg { width: 24px; height: 24px; }
.p-locktitle { font-size: 1.02rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.p-locksub { font-size: .8rem; color: var(--ink-3); }
.p-view-inner { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.p-view-inner.show { opacity: 1; }

.p-tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 10px 0 16px; border-top: 1px solid var(--line-2); background: var(--paper-2); z-index: 5; }
.p-tabbar button { background: none; border: none; padding: 4px; cursor: pointer; }
.p-tabbar svg { width: 17px; height: 17px; color: var(--ink-4); transition: color .3s ease; }
.p-tabbar button.active svg { color: var(--teal); }


/* ---------------------------------------------------------
   MASTER DASHBOARD (design mockup - not wired to a real backend)
--------------------------------------------------------- */
.dash-shell { display: flex; min-height: 100vh; background: var(--paper); }

.dash-sidebar {
  width: 248px; flex-shrink: 0; background: var(--teal-2);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
  transition: left .3s ease;
}
.dash-sidebar-logo { height: 68px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.dash-sidebar-logo .logo-img { width: 118px; }
.dash-nav { flex: 1; overflow-y: auto; padding: 18px 14px; }
.dash-nav-group { margin-bottom: 22px; }
.dash-nav-label { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.28); padding: 0 10px 8px; }
.dash-nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; border-radius: 9px; margin-bottom: 2px;
  color: rgba(255,255,255,.58); text-decoration: none; font-size: .86rem; font-weight: 500;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.dash-nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
.dash-nav-item:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.85); }
.dash-nav-item.active { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.08); color: #fff; font-weight: 600; }

.dash-sidebar-profile { padding: 14px; border-top: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.dash-profile-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: none; border: none; cursor: pointer; text-align: left; }
.dash-profile-btn:hover { background: rgba(255,255,255,.05); }
.dash-profile-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #3a3d42, #202226); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.dash-profile-name { font-size: .8rem; font-weight: 700; color: #fff; }
.dash-profile-plan { font-size: .7rem; color: rgba(255,255,255,.4); }

.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-topbar {
  height: 72px; flex-shrink: 0; background: var(--card); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 32px; gap: 16px;
}
.dash-topbar h1 { font-size: 1.15rem; margin: 0; }
.dash-menu-btn { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: none; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-content { padding: 32px; flex: 1; }
@media (max-width: 900px) { .dash-content { padding: 20px; } .dash-topbar { padding: 0 16px; } }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.dash-stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.dash-stat .ds-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 10px; }
.dash-stat .ds-num { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1; }
.dash-stat .ds-sub { font-size: .78rem; color: var(--ink-3); margin-top: 6px; }
.dash-stat .ds-sub.up { color: var(--green-dark); }

.dash-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.dash-card-head h2 { font-size: 1.02rem; margin: 0; }
.dash-card-head p { font-size: .84rem; color: var(--ink-2); margin: 4px 0 0; }

.dash-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 8px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: .82rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s ease;
}
.dash-btn svg { width: 14px; height: 14px; }
.dash-btn:hover { background: #000; }
.dash-btn.outline { background: transparent; color: var(--ink); border-color: var(--line); }
.dash-btn.outline:hover { border-color: var(--ink-4); }
.dash-btn.sm { height: 32px; padding: 0 12px; font-size: .76rem; }

.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { text-align: left; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 0 10px 10px; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 13px 10px; border-bottom: 1px solid var(--line-2); font-size: .86rem; color: var(--ink); vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-avatar-row { display: flex; align-items: center; gap: 10px; }
.dash-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: var(--ink-2); flex-shrink: 0; }
.dash-name-cell .dn-sub { font-size: .74rem; color: var(--ink-3); margin-top: 1px; }
.dash-pill { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.dash-pill.on { background: rgba(32,178,108,.1); color: var(--green-dark); }
.dash-pill.off { background: var(--line-2); color: var(--ink-3); }

.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.int-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .int-grid, .int-grid.cols-2 { grid-template-columns: 1fr; } }
.int-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.int-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.int-icn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.int-icn svg { width: 19px; height: 19px; }
.int-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.int-card p { font-size: .86rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.int-note { margin-top: 22px; font-size: .88rem; color: var(--ink-2); max-width: 64ch; }
.dash-pill.warn { background: rgba(224,168,46,.12); color: #8A6110; }
.dash-row-action { color: var(--ink-3); background: none; border: none; cursor: pointer; padding: 4px; }
.dash-row-action:hover { color: var(--ink); }
.dash-row-action svg { width: 16px; height: 16px; }

.dash-list-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.dash-list-item:last-child { border-bottom: none; }
.dash-list-icn { width: 40px; height: 40px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-2); flex-shrink: 0; }
.dash-list-icn svg { width: 18px; height: 18px; }
.dash-list-title { font-size: .9rem; font-weight: 700; color: var(--ink); }
.dash-list-sub { font-size: .78rem; color: var(--ink-3); margin-top: 2px; }

.dash-empty { text-align: center; padding: 40px 20px; }
.dash-empty-icn { width: 52px; height: 52px; border-radius: 14px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; color: var(--ink-3); margin: 0 auto 14px; }
.dash-empty-icn svg { width: 22px; height: 22px; }
.dash-empty h3 { font-size: .96rem; margin-bottom: 6px; }
.dash-empty p { font-size: .84rem; color: var(--ink-3); max-width: 32ch; margin: 0 auto 18px; }

.dash-upload-zone { border: 1.5px dashed var(--line); border-radius: 14px; padding: 28px; text-align: center; background: var(--paper-2); }
.dash-upload-zone svg { width: 26px; height: 26px; color: var(--ink-3); margin: 0 auto 10px; }
.dash-upload-zone .du-title { font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.dash-upload-zone .du-sub { font-size: .76rem; color: var(--ink-3); }

.dash-swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-swatch { width: 40px; height: 40px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; position: relative; }
.dash-swatch.selected { border-color: var(--ink); }
.dash-swatch.selected::after { content: ''; position: absolute; inset: 6px; border: 2px solid #fff; border-radius: 4px; }

.dash-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-2); gap: 16px; }
.dash-toggle-row:last-child { border-bottom: none; }
.dash-toggle-row .dt-title { font-size: .88rem; font-weight: 700; color: var(--ink); }
.dash-toggle-row .dt-sub { font-size: .78rem; color: var(--ink-3); margin-top: 2px; }
.dash-switch { width: 42px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; flex-shrink: 0; border: none; cursor: pointer; transition: background .2s ease; }
.dash-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s ease; }
.dash-switch.on { background: var(--green); }
.dash-switch.on::after { transform: translateX(18px); }

.dash-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 40; }
@media (max-width: 900px) {
  .dash-menu-btn { display: flex; }
  .dash-sidebar { position: fixed; left: -260px; top: 0; z-index: 50; box-shadow: 20px 0 60px rgba(0,0,0,.3); }
  .dash-sidebar.open { left: 0; }
  .dash-mobile-overlay.show { display: block; }
}

/* ---------------------------------------------------------
   AUTH PAGES (sign in / register)
--------------------------------------------------------- */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.auth-topbar { padding: 26px 28px; }
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: 0 40px 80px -36px rgba(20,20,20,.18); }
.auth-card.wide { max-width: 620px; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--ink-2); font-size: .92rem; margin-bottom: 30px; }
.auth-foot { text-align: center; margin-top: 22px; font-size: .88rem; color: var(--ink-2); }
.auth-foot a { color: var(--ink); font-weight: 700; }
.auth-forgot { display: block; text-align: right; font-size: .8rem; color: var(--ink-3); font-weight: 600; margin: -8px 0 22px; }
.auth-forgot:hover { color: var(--ink); }
.auth-note { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font-size: .78rem; color: var(--ink-3); margin-top: 24px; line-height: 1.5; }
.auth-check-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(32,178,108,.1); display: flex; align-items: center; justify-content: center; color: var(--green-dark); margin: 0 auto 20px; }
.auth-check-icon svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------
   FEATURE DETAIL PAGE
--------------------------------------------------------- */
.feature-hero { padding: 48px 0 88px; }
.feature-hero .container-wide { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 980px) { .feature-hero .container-wide { grid-template-columns: 1fr .85fr; gap: 40px; } }

.crumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.55); text-decoration: none; margin-bottom: 26px; }
.crumb svg { width: 13px; height: 13px; transition: transform .2s ease; }
.crumb:hover { color: #fff; }
.crumb:hover svg { transform: translateX(-3px); }

.feature-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.1rem); max-width: 15ch; font-weight: 800; }
.feature-hero .lead { color: rgba(255,255,255,.66); font-size: 1.06rem; max-width: 46ch; margin-bottom: 30px; }

.detail-list { display: flex; flex-direction: column; gap: 0; }
.detail-item { display: flex; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.detail-item:last-child { border-bottom: 1px solid var(--line); }
.detail-item .d-icn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.detail-item .d-icn svg { width: 20px; height: 20px; }
.detail-item h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.detail-item p { font-size: .94rem; color: var(--ink-2); margin: 0; max-width: 60ch; }

.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 700px) { .explore-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.explore-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
  min-width: 0;
}
.explore-card:hover { transform: translateY(-2px); border-color: var(--ink-4); }
.explore-card .e-icn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.explore-card .e-icn svg { width: 15px; height: 15px; }
.explore-card span.name { font-size: .84rem; font-weight: 700; color: var(--ink); min-width: 0; overflow-wrap: break-word; }

.p-tabbar a { display: inline-flex; align-items: center; justify-content: center; padding: 4px; text-decoration: none; }
.p-tabbar a.current svg { color: var(--teal); }
.p-tabbar a:not(.current) svg { color: var(--ink-4); }

/* ---------------------------------------------------------
   BENCHMARKS - quiet text strip, no cards
--------------------------------------------------------- */
.benchmarks { background: var(--card); border-bottom: 1px solid var(--line); }
.benchmark-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .benchmark-grid { grid-template-columns: repeat(3, 1fr); } .benchmark-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.benchmark { padding: 34px 28px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .benchmark { border-top: none; border-left: 1px solid var(--line); } .benchmark:first-child { border-left: none; } }
.bm-icn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--teal); }
.bm-icn svg { width: 18px; height: 18px; }
.benchmark p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.benchmark strong { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------
   HOW IT WORKS - 3-step process
--------------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step-icn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--teal); }
.step-icn svg { width: 20px; height: 20px; }
.step h3 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------
   FEATURES - clickable card grid, each links to its own page
--------------------------------------------------------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 700px) { .feature-cards { grid-template-columns: repeat(4, 1fr); } }

.feature-card2 {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card2:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px -22px rgba(22,25,26,.18);
  border-color: var(--ink-4);
}
.feature-card2 .f-num { display: block; font-family: var(--font-display); font-size: .96rem; color: var(--ink-4); font-weight: 800; margin-bottom: 16px; }
.feature-card2 .f-icn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--teal); }
.feature-card2 .f-icn svg { width: 18px; height: 18px; }
.feature-card2 h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.feature-card2 p { font-size: .86rem; color: var(--ink-2); margin: 0 0 16px; line-height: 1.5; }
.feature-card2 .f-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 700; color: var(--teal);
}
.feature-card2 .f-more .roll-clip { position: relative; display: inline-block; height: 1.3em; overflow: hidden; }
.feature-card2 .f-more span.roll-track { display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.7,0,.3,1); }
.feature-card2 .f-more span.roll-track > i { font-style: normal; height: 1.3em; line-height: 1.3; white-space: nowrap; }
.feature-card2:hover .f-more .roll-clip .roll-track { transform: translateY(-1.3em); }
.feature-card2 .f-more svg { width: 11px; height: 11px; flex-shrink: 0; transition: transform .25s ease; }
.feature-card2:hover .f-more svg { transform: translateX(3px); }

/* ---------------------------------------------------------
   SECTION HEADS
--------------------------------------------------------- */
.section-pad { padding: 96px 0; }
@media (max-width: 700px) { .section-pad { padding: 60px 0; } }

.section-head { max-width: 620px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--ink); }
.section-head.on-dark h2 { color: #fff; }
.section-head p { color: var(--ink-2); font-size: 1.04rem; font-family: var(--font-body); }
.section-head.on-dark p { color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------
   PRIVACY / TRUST
--------------------------------------------------------- */
.privacy-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; } }
.privacy-copy p { margin-top: 14px; font-size: 1rem; }
.privacy-list { display: flex; flex-direction: column; gap: 22px; }
.privacy-item { display: flex; gap: 16px; align-items: flex-start; }
.privacy-item svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.privacy-item h3 { font-family: var(--font-body); font-size: .96rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.privacy-item p { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------
   GYM / PT SECTION
--------------------------------------------------------- */
.gym-section { background: var(--teal); }
.gym-grid { display: grid; grid-template-columns: 1fr; gap: 52px; }
@media (min-width: 980px) { .gym-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }

.gym-feature-list { display: flex; flex-direction: column; gap: 24px; margin-top: 12px; }
.gym-feature { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.gym-feature:last-child { border-bottom: none; padding-bottom: 0; }
.gym-feature .g-icn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gym-feature .g-icn svg { width: 17px; height: 17px; color: rgba(255,255,255,.85); }
.gym-feature h3 { color: #fff; font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gym-feature p { color: rgba(255,255,255,.58); font-size: .9rem; margin: 0; }
.tag-soon { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.75); padding: 3px 8px; border-radius: 999px; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 40px 70px -28px rgba(0,0,0,.4); }
.form-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); font-size: .9rem; margin-bottom: 26px; font-family: var(--font-body); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 520px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .7rem; font-weight: 700; color: var(--ink-3); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .07em; }
.field input, .field textarea, .field select {
  width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent;
  border-radius: 0; padding: 10px 2px; font-family: var(--font-body); font-size: .94rem; color: var(--ink);
  color-scheme: light; -webkit-appearance: none;
  transition: background-color 99999s ease-in-out, color 99999s ease-in-out, -webkit-text-fill-color 99999s ease-in-out, border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 70px; }

.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus, .field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--ink) !important; caret-color: var(--ink);
}

.form-note { font-size: .74rem; color: var(--ink-3); margin-top: 16px; margin-bottom: 0; }
.form-success { display: none; align-items: center; gap: 10px; background: rgba(32,178,108,.08); border: 1px solid rgba(32,178,108,.25); color: var(--green-dark); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .88rem; font-weight: 600; }
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------------------------------------------------
   FAQ
--------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; padding: 17px 0; text-align: left; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: .96rem; color: var(--ink); transition: color .2s ease; }
.faq-question:hover { color: var(--teal); }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: border-color .3s ease; }
.faq-icon svg { width: 12px; height: 12px; transition: transform .3s ease; }
.faq-item.open .faq-icon { border-color: var(--ink); }
.faq-item.open .faq-icon svg { transform: rotate(180deg); }
.faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-out; }
.faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer { margin: 0; padding: 0 46px 17px 0; color: var(--ink-2); font-size: .89rem; line-height: 1.55; font-family: var(--font-body); }
@media (max-width: 600px) { .faq-answer { padding-right: 20px; } }

#faq.section-pad { padding: 64px 0; }
#faq .section-head { margin-bottom: 30px; }

/* ---------------------------------------------------------
   FINAL CTA
--------------------------------------------------------- */
.final-cta { background: var(--teal); text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.7rem); max-width: 17ch; margin-left: auto; margin-right: auto; }
.final-cta p { color: rgba(255,255,255,.6); max-width: 44ch; margin: 0 auto 34px; font-family: var(--font-body); }
.final-cta .cta-row { justify-content: center; }

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.site-footer { background: var(--teal-2); padding: 68px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.1fr .9fr .9fr .9fr; } }
.footer-brand p { color: rgba(255,255,255,.52); font-size: .9rem; max-width: 34ch; margin-top: 16px; font-family: var(--font-body); }
.footer-col h4 { color: rgba(255,255,255,.9); font-family: var(--font-body); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .92rem; }
.footer-col a .roll-track > i { color: rgba(255,255,255,.6); }
.footer-col a:hover .roll-track > i:last-child { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 26px; color: rgba(255,255,255,.4); font-size: .8rem; }
