/* cogrow.ai's front page for visitors who aren't signed in (app/templates/front.html).
   Restored from the Oct 21, 2026 preview page (removed from the repo Nov 6), then updated Dec 1. */
:root {
  --page: #ffffff;
  --soft: #f4f6f5;
  --ink: #14201b;
  --muted: #5d6a64;
  --line: #e2e7e4;
  --green: #0d4a34;        /* CoGrow green, the one accent */
  --green-soft: #e7f0eb;
  --on-green: #ffffff;
  --on-green-dim: #cfe3d8;
  --font: "Instrument Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--page); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }
.wrap {
  max-width: 1100px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* header */
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
.logo .dots { display: inline-flex; gap: 3px; }
.logo .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.logo .dots i:nth-child(1) { opacity: 0.35; } .logo .dots i:nth-child(2) { opacity: 0.65; }
.logo .core { color: var(--muted); font-weight: 500; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-block: 40px 80px; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); line-height: 1.08; }
.hero .lede { font-size: 1.1875rem; color: var(--muted); max-width: 33rem; }
.finds { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; max-width: 33rem; }
.finds li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: baseline; }
.finds li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); transform: translateY(-2px); justify-self: center; }
.works { font-size: 0.9375rem; color: var(--muted); }

/* phone */
.phone-col { display: grid; justify-items: center; min-width: 0; }
.phone {
  width: 100%; max-width: 360px;
  border: 10px solid var(--ink); border-radius: 44px; background: var(--page);
  box-shadow: 0 30px 60px -28px rgba(20, 32, 27, 0.45);
  overflow: hidden;
}
.screen { display: grid; gap: 14px; padding: 16px 16px 20px; }
.status { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; padding: 0 6px; }
.mail-head { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mail-head .from { font-weight: 600; font-size: 0.9375rem; }
.mail-head .subj { font-size: 0.875rem; color: var(--muted); }
.hello { font-size: 1.0625rem; font-weight: 600; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.total { background: var(--soft); border-radius: 12px; padding: 10px 12px; display: grid; }
.total b { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.total span { font-size: 0.75rem; color: var(--muted); line-height: 1.35; }
.total.year { background: var(--green); color: var(--on-green); }
.total.year span { color: var(--on-green-dim); }
.todo { display: grid; margin: 0; padding: 0; list-style: none; }
.todo li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.todo .what { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.todo .why { display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.tap {
  border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer;
  background: var(--green); color: var(--on-green); font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.tap[aria-pressed="true"] { background: var(--green-soft); color: var(--green); }
.done { grid-column: 1 / -1; font-size: 0.75rem; color: var(--green); }
.phone-note { text-align: center; font-size: 0.8125rem; color: var(--muted); margin-top: 14px; }

/* sections */
.band { background: var(--soft); }
.band .wrap, .plain .wrap { padding-block: 72px; display: grid; gap: 40px; }
.band h2, .plain h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); line-height: 1.15; max-width: 24ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; gap: 8px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--on-green); font-weight: 600; font-size: 0.9375rem; }
.steps h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trust div { display: grid; gap: 6px; align-content: start; }
.trust h3 { font-size: 1.0625rem; }
.trust p { color: var(--muted); }

/* call to action */
.cta .wrap { padding-block: 24px 88px; }
.cta-box { background: var(--green); color: var(--on-green); border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: grid; gap: 16px; justify-items: start; }
.cta-box h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); line-height: 1.12; max-width: 22ch; }
.cta-box p { color: var(--on-green-dim); max-width: 36rem; }
.book {
  margin-top: 8px; border: 0; border-radius: 999px; cursor: pointer;
  padding: 15px 26px; background: var(--on-green); color: var(--green); font-weight: 700; font-size: 1.0625rem;
}
.book:hover { background: var(--green-soft); }
.book-note { font-size: 0.9375rem; }
footer .wrap { padding-block: 0 40px; font-size: 0.8125rem; color: var(--muted); }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 16px 64px; }
  .steps, .trust { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 380px) {
  .totals { grid-template-columns: minmax(0, 1fr); }
}

/* Added Dec 1: the sign-in link, the request-access link styled as the old button, and the footer links */
.top .signin { font-weight: 600; color: var(--green); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.top .signin:hover { background: var(--green-soft); }
.logo { color: inherit; text-decoration: none; }
a.book { display: inline-block; text-decoration: none; }
.cta-box .small { font-size: 0.9375rem; }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--ink); }
body { margin: 0; }
