:root {
  --green: #78bf09;
  --green-dark: #4b8401;
  --green-darker: #3a6601;
  --lime: #a3dc18;
  --bg: #f3f2ef;
  --surface: #ffffff;
  --text: #333333;
  --muted: #6b6b6b;
  --border: #e2e0da;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 4px 16px rgb(0 0 0 / 6%);
  --font-head: "Work Sans", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font-body); }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; color: #222; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 44rem; }
.muted { color: var(--muted); }
.muted a { color: var(--green-darker); }
.lede { font-size: 1.2rem; color: #444; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Buttons and badges */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: 700 1rem/1 var(--font-body); padding: 0.9em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; text-align: center; }
.btn--primary { background: var(--green-dark); color: #fff; }
.btn--primary:hover { background: var(--green-darker); }
.btn--secondary { background: #fff; color: var(--green-dark); border-color: var(--green-dark); }
.btn--secondary:hover { background: #f0f7e6; }
.btn--small { padding: 0.55em 1em; font-size: 0.9rem; }
.btn--large { font-size: 1.15rem; padding: 1em 1.8em; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.badge { display: inline-block; font: 700 0.75rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; padding: 0.4em 0.7em; border-radius: 999px; }
.badge--live { background: #e3f3cc; color: var(--green-darker); }
.badge--early { background: #fff1d6; color: #7a5200; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.site-header__logo img { width: 112px; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav > a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 700; }
.apps-menu { position: relative; }
.apps-menu summary { cursor: pointer; font-weight: 700; list-style: none; }
.apps-menu summary::-webkit-details-marker { display: none; }
.apps-menu summary::after { content: " ▾"; }
.apps-menu ul { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px; min-width: 220px; }
.apps-menu li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.apps-menu li a:hover { background: var(--bg); }
@media (max-width: 30rem) { .site-nav > a[href="/about/"] { display: none; } }

/* Hero */
.hero { background: var(--surface); padding: 40px 0; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 60rem) { .hero__grid { grid-template-columns: 1fr 1fr; } .hero { padding: 72px 0; } }
.hero__logo { width: 160px; margin-bottom: 12px; }
.hero__image { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero .badge { margin-bottom: 12px; }
.hero .btn { margin: 8px 8px 0 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: 0.4em; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 900; }

/* Sections */
section { padding: 48px 0; }
.proof { padding: 28px 0; text-align: center; }
.proof p { font-weight: 700; color: var(--muted); }
.proof__images { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; }
.proof__images img { max-height: 80px; width: auto; }
.features .feature + .feature { margin-top: 48px; }
.feature { display: grid; gap: 24px; align-items: center; }
.feature--media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 60rem) {
  .feature--media { grid-template-columns: 1fr 1fr; gap: 48px; }
  .feature--media:nth-child(even) .feature__text { order: 2; }
}
.feature--illustration img { border-radius: 0; box-shadow: none; max-width: min(100%, 26rem); margin-inline: auto; }
.quote { margin: 0 0 1em; }
.quote blockquote { margin: 0 0 0.5em; font: 600 1.35rem/1.35 var(--font-head); color: #222; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: var(--muted); }
.extra { background: var(--surface); }
.extra:nth-of-type(odd) { background: var(--bg); }
.band:nth-of-type(even) { background: var(--surface); }

/* App page benefits and founder letter */
.benefits__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); text-align: center; }
.benefit img { height: 160px; width: auto; margin: 0 auto 16px; }
.benefit p { margin: 0; color: var(--muted); }
.letter { background: var(--surface); }
.letter__greeting { font: 700 1.3rem/1.3 var(--font-head); color: #222; }
.letter__signoff { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.letter__signoff img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.letter__signoff p { margin: 0; }

/* Homepage app grid */
.app-group + .app-group { margin-top: 40px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform 0.15s ease; }
.card:hover { transform: translateY(-2px); }
.card__logo { width: 120px; }
.card .badge { align-self: flex-start; }
.card__name { font: 800 1.2rem/1.2 var(--font-head); }
.card__tagline { color: var(--muted); }

/* Sign-up form */
.signup { background: var(--green-dark); color: #fff; }
.signup h2, .signup h3 { color: #fff; }
.signup form { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.signup h3 { color: var(--text); }
.signup label { display: block; font-weight: 700; margin: 12px 0 6px; }
.signup input[type="email"], .signup select, .signup textarea { width: 100%; font: inherit; padding: 0.75em 0.9em; border: 1px solid #c9c6bd; border-radius: 10px; background: #fff; }
.signup input:focus, .signup select:focus, .signup textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup__row input { flex: 1 1 14rem; }
.signup__row .btn { flex: 0 0 auto; }
.signup__error { color: #b00020; font-weight: 700; margin: 8px 0 0; }
.signup__consent { font-size: 0.9rem; color: var(--muted); margin: 12px 0 0; }
.signup__actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ, final CTA, thanks */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.final-cta { text-align: center; background: var(--surface); }
.thanks { text-align: center; }
.thanks img { width: 160px; margin: 0 auto 16px; }

/* Prose pages */
.prose { padding-top: 40px; padding-bottom: 40px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Footer */
.site-footer { background: #23281d; color: #d8dcd2; padding: 40px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer__cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.site-footer__brand { font: 800 1.3rem/1 var(--font-head); color: #fff; }
.site-footer__heading { font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-footer__legal { margin: 24px 0 0; color: #a7ad9d; }
