/* galb landing (getgalb.app). Brand: cherry / milk, Archivo only. Tokens mirror jadeCoaching/DESIGN.md. */

:root {
  --cherry: #6E1F2B;
  --matcha: #5C6A45;
  --matcha-light: #8A9A6B;
  --rose: #E9B8BE;
  --milk: #F3EFEA;
  --surface: #EBE4DD;
  --raised: #FFFFFF;
  --ink: #1A1213;
  --muted: #6A5F60;
  --hair: rgba(26, 18, 19, .08);
  --milk-hair: rgba(243, 239, 234, .18);
  --wrap: 1120px;
  --gutter: 22px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.45;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; font-variation-settings: "wdth" 120; }
h1 em, h2 em { font-style: italic; font-weight: 300; font-variation-settings: "wdth" 120; }
h1 { font-size: clamp(38px, 6.2vw, 68px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 28px; }
h3 { font-size: 20px; font-variation-settings: "wdth" 110; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.wordmark {
  font-weight: 300;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.04em;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
}
.wordmark.small { font-size: 26px; }

/* Buttons: capsules, one primary per block */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 500;
  font-variation-settings: "wdth" 108;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn-milk { background: var(--milk); color: var(--cherry); }
.btn-store { background: var(--ink); color: var(--milk); padding: 12px 24px 12px 18px; }
.btn-store[aria-disabled="true"] { cursor: default; }
.hero .btn-store { background: var(--milk); color: var(--cherry); }
.store-text { display: flex; flex-direction: column; font-size: 19px; font-weight: 500; line-height: 1.05; }
.store-text small { font-size: 11px; font-weight: 400; letter-spacing: 0; opacity: .8; }

.link { color: var(--cherry); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  padding-top: calc(14px + env(safe-area-inset-top));
  background: var(--cherry);
  color: var(--milk);
}
.nav-links { display: none; gap: 22px; margin-left: 8px; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav .store-link { margin-left: auto; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cherry);
  color: var(--milk);
  padding: 40px 0 0;
}
.giant-g {
  position: absolute;
  top: -70px;
  right: -40px;
  font-size: 420px;
  font-weight: 300;
  font-variation-settings: "wdth" 125;
  line-height: 1;
  opacity: .08;
  pointer-events: none;
  user-select: none;
}
.hero-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; position: relative; display: grid; gap: 36px; }
.eyebrow { font-size: 14px; opacity: .8; margin-bottom: 14px; }
.lead { font-size: 19px; line-height: 1.4; margin-top: 18px; max-width: 520px; opacity: .92; }
.hero-cta { margin-top: 28px; display: grid; gap: 12px; justify-items: start; }
.hero-note { font-size: 14px; opacity: .8; max-width: 420px; }
.hero-copy { padding-bottom: 8px; }

/* Phone mockup: Home screen rebuilt in CSS (cherry hero, milk sheet, plates on a bar) */
.hero-phone { display: flex; justify-content: center; align-items: flex-end; }
.phone {
  width: 300px;
  aspect-ratio: 300 / 560;
  border-radius: 44px 44px 0 0;
  border: 9px solid var(--ink);
  border-bottom: 0;
  background: var(--ink);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}
.phone-screen { position: relative; height: 100%; background: var(--milk); color: var(--ink); border-radius: 36px 36px 0 0; overflow: hidden; display: flex; flex-direction: column; font-size: 11px; }
.ph-status { display: flex; justify-content: space-between; padding: 12px 22px 0; font-size: 12px; font-weight: 600; color: var(--milk); background: var(--cherry); }
.ph-signal { width: 26px; height: 11px; border: 1.5px solid var(--milk); border-radius: 3px; opacity: .9; position: relative; }
.ph-signal::after { content: ""; position: absolute; inset: 2px; right: 6px; background: var(--milk); border-radius: 1px; }
.ph-hero { position: relative; background: var(--cherry); color: var(--milk); padding: 14px 18px 40px; overflow: hidden; }
.ph-g { position: absolute; right: -28px; top: -40px; font-size: 180px; font-weight: 300; font-variation-settings: "wdth" 125; opacity: .08; line-height: 1; }
.ph-wordmark { font-weight: 300; font-variation-settings: "wdth" 125; letter-spacing: -0.04em; font-size: 20px; }
.ph-greet { margin-top: 18px; font-size: 20px; font-weight: 600; font-variation-settings: "wdth" 120; letter-spacing: -0.02em; line-height: 1.1; }
.ph-greet em { display: block; font-weight: 300; color: var(--rose); }
.ph-date { margin-top: 6px; font-size: 10px; opacity: .75; }
.ph-goal { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; background: rgba(243, 239, 234, .14); border-radius: 14px; padding: 10px 12px; position: relative; }
.ph-goal small { display: block; font-size: 9px; opacity: .75; }
.ph-goal b { font-size: 13px; font-weight: 600; }
.ph-goal-right { font-weight: 300; font-size: 14px; font-variation-settings: "wdth" 115; font-variant-numeric: tabular-nums; }
.ph-week { margin-top: 12px; position: relative; }
.ph-week small { font-size: 9px; opacity: .75; }
.plates { position: relative; height: 14px; margin-top: 4px; display: flex; align-items: center; gap: 3px; }
.plates .rod { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(243, 239, 234, .5); }
.plates i { position: relative; width: 4px; height: 12px; border-radius: 2px; background: var(--rose); }
.plates i.off { opacity: .3; }
.ph-sheet { position: relative; margin-top: -26px; background: var(--milk); border-radius: 26px 26px 0 0; padding: 18px 16px 70px; flex: 1; }
.ph-section { font-size: 15px; font-weight: 600; font-variation-settings: "wdth" 120; letter-spacing: -0.02em; margin-bottom: 10px; }
.ph-section em { font-weight: 300; }
.ph-card { position: relative; background: var(--raised); border-radius: 16px; padding: 10px 12px 10px 16px; margin-bottom: 8px; display: grid; gap: 2px; overflow: hidden; }
.ph-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.ph-card.cherry::before { background: var(--cherry); }
.ph-card.matcha::before { background: var(--matcha); }
.ph-card-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.ph-chip { background: var(--surface); border-radius: 999px; padding: 2px 8px; color: var(--ink); }
.ph-card b { font-size: 13px; font-weight: 500; font-variation-settings: "wdth" 108; }
.ph-card span { font-size: 10px; color: var(--muted); }
.ph-card-top span { color: var(--muted); }
.ph-msg { margin-top: 12px; background: var(--surface); border-radius: 16px; padding: 10px 12px; display: grid; gap: 2px; }
.ph-msg b { font-size: 12px; font-weight: 500; }
.ph-msg span { font-size: 10px; color: var(--muted); }
.ph-tabs { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-around; align-items: center; padding: 10px 6px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); border-radius: 999px; font-size: 9px; color: var(--muted); border: 1px solid var(--hair); }
.ph-tabs span.on { color: var(--cherry); font-weight: 300; font-size: 16px; font-variation-settings: "wdth" 125; line-height: 1; }

/* Sections */
section { padding: 72px 0; }
.pillars { background: var(--milk); }
.cards { display: grid; gap: 16px; }
.card { background: var(--raised); border-radius: 22px; padding: 26px 24px; border: 1px solid var(--hair); }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.disc { display: block; width: 36px; height: 6px; border-radius: 3px; margin-bottom: 18px; }
.disc.matcha { background: var(--matcha); }
.disc.cherry { background: var(--cherry); }
.disc.rose { background: var(--rose); }

.steps { background: var(--surface); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: none; }
.steps-list li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
.steps-list .num { grid-row: 1 / 3; font-size: 44px; font-weight: 300; font-variation-settings: "wdth" 115; line-height: 1; color: var(--cherry); font-variant-numeric: tabular-nums; }
.steps-list p { color: var(--muted); margin-top: 6px; font-size: 16px; }

.jade-inner { display: grid; gap: 28px; align-items: center; }
.jade-photo { margin: 0; background: var(--raised); padding: 8px; border-radius: 22px; box-shadow: 0 20px 40px rgba(26, 18, 19, .08); }
.jade-photo img { border-radius: 16px; aspect-ratio: 3 / 4; object-fit: cover; }
.jade-copy p { margin-top: 14px; color: var(--muted); }
.jade-copy p:first-of-type { color: var(--ink); font-size: 18px; }
.jade-copy .link { display: inline-block; margin-top: 20px; }

.pricing { background: var(--milk); }
.price { position: relative; }
.price.featured { border-color: var(--cherry); }
.tag { position: absolute; top: -12px; right: 20px; background: var(--rose); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.amount { margin-top: 12px; color: var(--muted); font-size: 15px; }
.numeral { display: block; font-size: 44px; font-weight: 300; font-variation-settings: "wdth" 115; letter-spacing: -0.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

.faq details { max-width: 760px; background: var(--raised); border: 1px solid var(--hair); border-radius: 18px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; font-variation-settings: "wdth" 108; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--cherry); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

.closing { position: relative; overflow: hidden; background: var(--cherry); color: var(--milk); padding: 88px 0; }
.closing .giant-g { top: auto; bottom: -140px; left: -30px; right: auto; }
.closing h2 { margin-bottom: 28px; }
.closing .btn-store { background: var(--milk); color: var(--cherry); }

/* Footer */
.footer { background: var(--milk); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); }
.footer-inner { display: grid; gap: 18px; }
.footer .wordmark { color: var(--cherry); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.footer-links a { text-decoration: none; color: var(--ink); }
.footer-links a:hover { color: var(--cherry); }
.legal { font-size: 13px; color: var(--muted); max-width: 640px; }

/* ≥ 900 px: two columns, nav links */
@media (min-width: 900px) {
  .nav { padding-left: calc((100% - var(--wrap)) / 2); padding-right: calc((100% - var(--wrap)) / 2); }
  .nav-links { display: flex; }
  .hero { padding-top: 72px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
  .hero-copy { padding-bottom: 72px; }
  .phone { width: 340px; }
  .giant-g { font-size: 640px; top: -120px; right: -60px; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps-list li { grid-template-columns: 1fr; }
  .steps-list .num { grid-row: auto; margin-bottom: 14px; }
  .jade-inner { grid-template-columns: 420px 1fr; gap: 64px; }
  section { padding: 96px 0; }
}
