/* Get Enhanced — marketing site.
   Tokens are the app's, sampled from the official lockup: navy #021e3d ink on
   paper #fcfbf8, ember for action, teal for done. The site and the app should
   feel like one product. */

:root {
  --bg: #fcfbf8;
  --bg2: #f5f7f6;
  --surface: #ffffff;
  --line: #e4e8e6;
  --line-hi: #ccd5d2;
  --ink: #021e3d;
  --muted: #55637a;
  --faint: #78849a;
  --ember: #f35a22;
  --ember-deep: #d84a15;
  --ember-soft: #fdeee8;
  --teal: #176f73;
  --teal-soft: #e7f3f1;
  --steel: #41618f;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--ember-deep); }

h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 14px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: #fcfbf8ee;
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 700; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ember); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 15.5px; padding: 13px 22px;
  border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--ember-deep); }
.btn:active { transform: scale(.985); }
.btn { white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-hi); }
.btn.ghost:hover { background: var(--bg2); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero p.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34ch; margin-top: 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { font-size: 13.5px; color: var(--faint); margin-top: 16px; }

/* Phone mock built from real app content, not a stock image. */
.phone {
  width: min(320px, 82vw); margin-inline: auto;
  border: 10px solid #0d1626; border-radius: 42px;
  background: var(--bg); overflow: hidden;
  box-shadow: 0 30px 60px -30px #02163d55;
}
.phone-inner { padding: 16px 14px 18px; }
.phone-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.phone-head strong { font-size: 17px; letter-spacing: -0.02em; }
.phone-head span { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; color: var(--faint); text-align: right; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px; margin-bottom: 9px;
}
.score-row { display: flex; align-items: center; gap: 13px; }
/* Flex would otherwise shrink the ring's width but not its height, ovalling it. */
.score-row svg { flex: none; width: 92px; height: 92px; }
.score-copy { font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.score-copy b { display: block; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.metric-label { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.metric-value { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.metric-value small { font-size: 12px; color: var(--muted); font-weight: 700; margin-left: 3px; }
.pill {
  display: inline-block; margin-top: 7px; font-size: 10.5px; font-weight: 800;
  color: var(--teal); background: var(--teal-soft); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 99px;
}
.due { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.due:last-child { border-bottom: 0; }
.tick { width: 22px; height: 22px; border-radius: 7px; border: 1.6px dashed var(--ember-deep); flex: none; }
.tick.done { background: var(--teal); border: 1.6px solid var(--teal); }
.due b { display: block; font-size: 12px; }
.due span { display: block; font-size: 10px; color: var(--muted); }

/* On a narrow handset the mock is only ~250px wide; a 92px ring leaves the
   score copy in a two-word column. Shrink the ring rather than the sentence. */
@media (max-width: 430px) {
  .nav img { height: 22px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
  .score-row svg { width: 72px; height: 72px; }
  .score-row { gap: 10px; }
}

/* ---------- sections ---------- */
section { padding: clamp(52px, 8vw, 92px) 0; }
section.tint { background: var(--bg2); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 12px; }

.grid { display: grid; gap: 14px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid.g3, .grid.g2 { grid-template-columns: 1fr; } }

.tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 15px; color: var(--muted); margin: 0; }
.tile .ico { margin-bottom: 14px; display: block; }

/* Goal packs */
.packs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 980px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packs { grid-template-columns: 1fr; } }
.pack {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px;
}
.pack h3 { font-size: 16px; margin-bottom: 6px; }
.pack p { font-size: 13.5px; color: var(--muted); margin: 0; }
.pack .rule { height: 3px; width: 34px; border-radius: 2px; margin-bottom: 14px; }

/* Coach sample */
.chat { max-width: 640px; }
.bubble {
  border-radius: 16px; padding: 13px 16px; margin-bottom: 10px;
  font-size: 15.5px; line-height: 1.55; max-width: 88%;
}
.bubble.me { background: var(--ember); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; font-weight: 700; }
.bubble.ai { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: -2px 0 14px 4px; }
.chip {
  font-size: 10.5px; font-weight: 800; color: var(--teal);
  background: var(--teal-soft); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 99px;
}

/* Promise list */
.promise { display: grid; gap: 2px; }
.promise div {
  display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.promise div:last-child { border-bottom: 0; }
.promise .mark { color: var(--teal); font-weight: 800; flex: none; }
.promise p { margin: 0; font-size: 15.5px; color: var(--muted); }
.promise b { color: var(--ink); }

/* Waitlist */
.signup { max-width: 520px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.field-row input {
  flex: 1 1 240px; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--line-hi); border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
}
.field-row input::placeholder { color: var(--faint); }
.form-note { font-size: 13px; color: var(--faint); margin-top: 12px; }
.form-msg { font-size: 15px; font-weight: 700; margin-top: 14px; min-height: 24px; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: #c0392b; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
footer img { height: 24px; width: auto; margin-bottom: 12px; }
footer p { font-size: 13.5px; color: var(--faint); max-width: 46ch; margin: 0; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

.disclaimer {
  margin-top: 28px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--teal-soft); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.disclaimer b { color: var(--ink); }

/* Long-form legal pages */
.legal { max-width: 72ch; padding: clamp(40px, 6vw, 72px) 0; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.legal .updated { font-size: 13.5px; color: var(--faint); margin-bottom: 34px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
