/* verdeshifts.com: the landing page. Verde palette and type, same as the app (client/src/index.css). Light only. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --surface: #f6f5f1; --raised: #ffffff; --line: #e2e0d8; --line-2: #d8d6cd;
  --ink: #1f2421; --ink-2: #3d4440; --muted: #5c635e; --input: #8a918b;
  --olive: #4f7942; --olive-ink: #3e6034; --olive-soft: #e8efe2; --olive-deep: #2f4a27;
  --lime: #8cc63f; --slate: #56677a; --danger: #b0402c;
  --serif: Fraunces, Georgia, serif; --sans: "DM Sans", system-ui, -apple-system, sans-serif; --num: Inter, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--olive-ink); }
a:hover { color: var(--olive-deep); }
img { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); font-weight: 500; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; }
.logo { height: 30px; width: auto; }
.top-links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.top-links a { text-decoration: none; }
.top-links a:first-child { color: var(--muted); }

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(48px, 7vw, 96px); align-items: center; padding-block: clamp(40px, 8vw, 112px) clamp(72px, 10vw, 140px); }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
h1 { margin: 0; font: 500 clamp(46px, 7vw, 80px)/1.02 var(--serif); letter-spacing: -.025em; }
.hl { background: linear-gradient(transparent 64%, #d9a52059 64%); }
.lede { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 520px; }

/* waitlist form */
.wl { display: flex; flex-direction: column; gap: 10px; max-width: 520px; width: 100%; }
.wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wl input[type=email] { flex: 1 1 220px; min-height: 52px; padding: 0 16px; border: 1px solid var(--input); border-radius: 12px; background: var(--raised); font: 400 16px var(--sans); color: var(--ink); }
.wl button, .answers .save { min-height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--olive); color: #fff; font: 500 16px var(--sans); cursor: pointer; }
.wl button[disabled], .answers .save[disabled] { opacity: .6; cursor: default; }
.wl .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 0; font-size: 14px; line-height: 20px; min-height: 20px; color: var(--muted); }
.msg.err { color: var(--danger); }
.dark .wl input[type=email] { background: #24391e; border-color: #7d9a71; color: #fff; }
.dark .wl input::placeholder { color: #b9c9b0; }
.dark .wl button, .dark .answers .save { background: var(--lime); color: #14200f; }
.dark .msg { color: #c9d8c0; }
.dark .msg.err { color: #f4b4a6; }
.dark .msg a { color: #fff; }

/* after joining: the optional questions */
.done { display: none; flex-direction: column; gap: 12px; max-width: 560px; }
.is-done .wl { display: none; }
.is-done .done { display: flex; }
.done .t { margin: 0; font: 500 26px/1.3 var(--serif); }
.done-sub { margin: 0; color: var(--muted); font-size: 17px; }
.dark .done-sub { color: #c9d8c0; }
.answers { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.answers fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.answers legend, .answers label { padding: 0; font-size: 15px; font-weight: 500; }
.answers label { display: flex; flex-direction: column; gap: 6px; }
.answers select, .answers input[type=text] { min-height: 46px; padding: 0 12px; border: 1px solid var(--input); border-radius: 10px; background: var(--raised); font: 400 16px var(--sans); color: var(--ink); max-width: 360px; }
.dark .answers select, .dark .answers input[type=text] { background: #24391e; border-color: #7d9a71; color: #fff; }
.answers .save { align-self: flex-start; min-height: 46px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 40px; padding: 0 14px; border-radius: 9999px; border: 1px solid var(--line-2); background: var(--raised); color: var(--ink); font: 500 14px var(--sans); cursor: pointer; }
.chips button[aria-pressed=true] { background: var(--olive-soft); border-color: var(--olive); color: var(--olive-ink); }
.dark .chips button { background: transparent; border-color: #7d9a71; color: #fff; }
.dark .chips button[aria-pressed=true] { background: #3e5c33; border-color: var(--lime); }

/* sample ledger */
.ledger { justify-self: center; width: 100%; max-width: 460px; background: var(--raised); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px #1f24210f, 0 16px 40px #1f242112; padding: 28px 28px 24px; }
.ledger .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ledger .month { font-size: 26px; }
.ledger .badge { font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 9999px; background: var(--olive-soft); color: var(--olive-ink); }
.ledger .row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.ledger .row .kind { color: var(--slate); }
.ledger .amt { font-weight: 500; }
.ledger .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 2px solid var(--ink); }
.ledger .total-label { font-weight: 500; white-space: nowrap; }
.ledger .total .num { font-weight: 600; font-size: 30px; letter-spacing: -.01em; color: var(--olive-ink); }
.ledger .note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* why */
.why { background: var(--raised); border-block: 1px solid var(--line); }
.why .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 6vw, 96px); align-items: start; padding-block: clamp(72px, 10vw, 128px); }
.why h2 { margin: 0; font: 500 clamp(34px, 4.4vw, 52px)/1.08 var(--serif); letter-spacing: -.02em; }
.why-copy { display: flex; flex-direction: column; gap: 18px; }
.why p { margin: 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }

/* features */
.feats { padding-block: clamp(72px, 10vw, 128px); }
.feats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); column-gap: 64px; }
.feats li { display: flex; align-items: center; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line-2); font: 500 clamp(22px, 2.2vw, 28px)/1.25 var(--serif); }
.feats li::before { content: ""; flex: none; width: 36px; height: 10px; border-radius: 5px; background: var(--olive); }
@media (min-width: 1021px) { .feats li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-2); } }
@media (max-width: 1020px) { .feats li:last-child { border-bottom: 1px solid var(--line-2); } }

/* closer */
.closer { background: var(--olive-deep); color: #fff; }
.closer .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: clamp(80px, 11vw, 144px); }
.closer h2 { margin: 0; font: 500 clamp(40px, 6vw, 68px)/1.05 var(--serif); letter-spacing: -.02em; }
.closer-sub { margin: 0 0 8px; max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); color: #c9d8c0; }

/* footer */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* not found */
.nf { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-block: 80px; }
.nf h1 { font-size: clamp(40px, 6vw, 64px); }
.nf p { margin: 0; color: var(--muted); }

@media (max-width: 440px) {
  .top-links { gap: 16px; }
  .ledger { padding: 22px 20px 18px; }
  .ledger .row { font-size: 15px; }
  .ledger .row .kind { display: block; font-size: 13px; }
  .ledger .row .dot-sep { display: none; }
  .ledger .total { flex-wrap: wrap; row-gap: 2px; }
  .ledger .total .num { font-size: 26px; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
