/* ==========================================================================
   Mktforge marketing site — "Sunrise Cream"
   Cream ground (the app's own display-field cream), forest-green accent,
   mint / peach / butter pastels. Newsreader for display, IBM Plex Sans for
   everything else — the same pair the app uses.
   ========================================================================== */

:root {
  --ground:   #FBF7EE;
  --surface:  #FFFFFF;
  --foot:     #F3EDDF;
  --ink:      #20242B;
  --ink-soft: #3C4149;
  --muted:    #5F5A4C;
  --line:     #E7DFCB;
  --line-2:   #D6CEBC;
  --green:    #2F6F4E;
  --green-2:  #275E42;
  --mint:     #D9F0E2;
  --peach:    #FFE1C9;
  --butter:   #FFF1B8;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;

  --r:     16px;
  --r-lg:  28px;
  --shadow: 0 1px 2px rgba(32,36,43,.06), 0 12px 32px rgba(32,36,43,.08);
  --shadow-lg: 0 1px 2px rgba(32,36,43,.08), 0 24px 48px rgba(32,36,43,.14);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.2vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--green); }
.eyebrow--green { color: var(--green); font-size: 12px; letter-spacing: .1em; }
.bg-mint   { background: var(--mint); }
.bg-peach  { background: var(--peach); }
.bg-butter { background: var(--butter); }

/* ---- invite form (hero) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.invite { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 540px; }
.invite__input {
  flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 18px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px;
  outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.invite__input::placeholder { color: #8A8474; }
.invite__input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47,111,78,.15); }
.invite__input[aria-invalid="true"] { border-color: #B4432E; }
.invite__btn { height: 52px; padding: 0 24px; white-space: nowrap; cursor: pointer; border: 0; }
.invite__btn[disabled] { opacity: .65; cursor: default; }
.invite__msg { flex-basis: 100%; margin: 0; font-size: 14.5px; color: var(--muted); min-height: 1.4em; }
.invite__msg.is-ok { color: var(--green); font-weight: 600; }
.invite__msg.is-err { color: #B4432E; }
.invite__alt { font-size: 14.5px; color: var(--muted); }
.invite__alt a { font-weight: 600; text-decoration: none; }
.invite__alt a:hover { text-decoration: underline; }

/* ---- buttons & chips ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-2); padding: 13.5px 24px; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--nav { padding: 11px 20px; font-size: 15px; }
.btn__arrow { font-size: 18px; line-height: 1; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.chip--surface { background: var(--surface); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.textlink { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* ---- nav (sticky, opaque) ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.nav__row { display: flex; align-items: center; gap: 40px; height: var(--nav-h); }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 28px; flex-grow: 1; }
.nav__links a, .nav__login { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav__links a:hover, .nav__login:hover { color: var(--green); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__login { padding: 10px 6px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__blob--peach { right: -120px; top: -160px; width: 620px; height: 620px; background: var(--peach); opacity: .9; }
.hero__blob--mint  { left: -200px; bottom: -260px; width: 520px; height: 520px; background: var(--mint); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero__visual { position: relative; }
.hero__panda {
  position: absolute; right: -30px; bottom: -40px; width: 230px;
  filter: drop-shadow(0 18px 30px rgba(32,36,43,.2));
}

/* the app "screenshot" — a CSS stand-in until real captures exist */
.shot { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid rgba(32,36,43,.08); }
.shot--mock { aspect-ratio: 16 / 10; display: flex; overflow: hidden; background: #ECE7DB; }
.mock__nav { width: 22%; background: #20242B; padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.mock__tiles { display: flex; gap: 4px; margin: 2px 0 14px 4px; }
.mock__tiles i { width: 9px; height: 9px; border-radius: 2px; background: #F6F1E6; }
.mock__item { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 4px; }
.mock__item i { width: 10px; height: 10px; border-radius: 2px; background: #8E96A3; }
.mock__item b { height: 7px; border-radius: 4px; background: #E9ECF1; }
.mock__item.is-active { background: #2C3A34; }
.mock__item.is-active i, .mock__item.is-active b { background: #A8E6C1; }
.mock__main { flex-grow: 1; display: flex; flex-direction: column; }
.mock__bar { height: 11%; background: #20242B; border-left: 1px solid #343A45; display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 0 14px; }
.mock__bar i { width: 16px; height: 16px; border-radius: 50%; background: #8E96A3; }
.mock__bar b { width: 60px; height: 7px; border-radius: 4px; background: #E9ECF1; }
.mock__display { flex-grow: 1; padding: 18px; }
.mock__title { font-family: var(--font-display); color: var(--green); font-size: 15px; margin-bottom: 10px; }
.mock__box { background: #fff; border-radius: 8px; padding: 14px; box-shadow: 0 1px 2px rgba(32,36,43,.06), 0 8px 24px rgba(32,36,43,.06); }
.mock__inputs { display: flex; gap: 8px; margin-bottom: 12px; }
.mock__inputs span { flex-grow: 1; height: 22px; border-radius: 4px; border: 1px solid #D6CEBC; }
.mock__inputs em { width: 64px; height: 22px; border-radius: 4px; background: var(--green); }
.mock__row { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #EDE6D3; }
.mock__row b { width: 54px; height: 8px; border-radius: 4px; background: #D6CEBC; }
.mock__row u { flex-grow: 1; height: 8px; border-radius: 4px; }
.mock__row u.t1 { background: #E4EEE7; } .mock__row u.t2 { background: #F1EDE2; }
.mock__row s { width: 46px; height: 16px; border-radius: 999px; }
.mock__row s.p1 { background: var(--mint); } .mock__row s.p2 { background: var(--peach); } .mock__row s.p3 { background: var(--butter); }

/* ---- sections ---- */
.section { padding: 88px 0; }
.section--surface { background: var(--surface); }
.section__head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section__head--split { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.card p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.card--sm { padding: 22px; gap: 10px; }
.card--sm h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 650; }
.card--sm p { font-size: 14.5px; }
.card__icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card__icon--sm { width: 40px; height: 40px; border-radius: 12px; }
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__icon--sm svg { width: 20px; height: 20px; }

/* ---- feature rows ---- */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.feature--flip .feature__copy { order: 2; }
.feature__copy { display: flex; flex-direction: column; gap: 18px; }
.feature__copy > p { font-size: 17px; color: var(--muted); }
.feature__visual { display: flex; justify-content: center; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320242B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.stack { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 14px; }
.stack--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel__title { font-family: var(--font-display); font-size: 20px; }
.panel__label { font-size: 14.5px; color: var(--muted); }
.panel--row { flex-direction: row; align-items: center; gap: 14px; padding: 18px 22px; }
.panel--offset { margin-left: 40px; }
.panel--offset-r { margin-right: 40px; }
.panel--tracker { border-left: 4px solid var(--green); padding: 16px 20px; gap: 6px; }
.panel__meta { display: flex; justify-content: space-between; align-items: center; }
.quote { font-size: 14.5px; line-height: 1.5; }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { border-radius: 10px; padding: 12px; font-size: 14px; line-height: 1.45; }
.tile__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.statement { background: #E4EEE7; border-radius: 10px; padding: 14px; font-size: 15px; line-height: 1.55; }
.panel--lines { padding: 18px; gap: 10px; }
.panel--lines strong { font-size: 15px; }
.panel--lines .l { display: block; height: 10px; border-radius: 5px; background: var(--line-2); width: 90%; }
.panel--lines .l1 { height: 14px; background: var(--ink); width: 70%; }
.panel--lines .l3 { width: 82%; } .panel--lines .l4 { width: 60%; }

/* ---- modules grid ---- */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---- CTA ---- */
.cta {
  background: var(--peach); border-radius: var(--r-lg); padding: 64px 72px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; overflow: hidden;
}
.cta__copy { display: flex; flex-direction: column; gap: 20px; }
.cta__copy h2 { font-size: clamp(32px, 3.5vw, 44px); }
.cta__copy p { font-size: 17px; color: var(--ink-soft); }
.cta__panda { width: 300px; justify-self: center; filter: drop-shadow(0 18px 30px rgba(32,36,43,.18)); }

/* ---- footer ---- */
.footer { background: var(--foot); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer__brand img { height: 24px; width: auto; }
.footer__brand p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { color: var(--ink); text-decoration: none; font-size: 15px; }
.footer__links a:hover { color: var(--green); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer__social a:hover { border-color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__legal { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero__grid, .feature, .cta { grid-template-columns: 1fr; }
  .feature--flip .feature__copy { order: 0; }
  .hero { padding: 56px 0 48px; }
  .hero__visual { margin-top: 8px; padding-bottom: 70px; }
  .hero__panda { right: 8px; bottom: -10px; width: 180px; }
  .steps, .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .cta { padding: 44px 32px; }
  .cta__panda { width: 220px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .invite__btn { flex-basis: 100%; justify-content: center; }
  .nav__row { gap: 18px; }
  .nav__links { gap: 16px; }
  .nav__actions { gap: 8px; }
  .nav__login { padding: 10px 4px; }
  .btn--nav { padding: 10px 14px; }
  .steps, .modules { grid-template-columns: 1fr; }
  .stack--grid { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .panel--offset, .panel--offset-r { margin: 0; }
  .hero__panda { width: 140px; }
  .footer__row { flex-direction: column; }
}
