/* forty2.works /simpleli/ — SimpleLi extensions (now part of forty²).
   Tokens follow /3/style.css (paper + indigo machine + amber human);
   type: Montserrat headings, Lexend body, self-hosted (no external fonts). */
@font-face { font-family: "Montserrat"; src: url("/simpleli/fonts/montserrat-latin.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("/simpleli/fonts/lexend-latin.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }

:root {
  --paper: #fcfbf8; --paper-raise: #fff; --paper-dip: #f4f2ec;
  --ink: #1c1e26; --ink-soft: #4c4f5c; --ink-faint: #6d707d;
  --hairline: #e4e1d8;
  --machine: #4338ca; --machine-bright: #4f46e5; --machine-tint: #edecfb;
  --human: #9a3412; --human-tint: #faeee2;
  --radius: 18px; --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(28,30,38,.05), 0 8px 28px rgba(28,30,38,.06);
  --head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 960px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--ink-soft); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: var(--machine); text-underline-offset: 3px; }
strong { font-weight: 500; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: 20px; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; margin: 56px 0 16px; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
p + p, p + ul, ul + p { margin-top: 14px; }
ul { padding-left: 22px; }
li + li { margin-top: 6px; }

.top { border-bottom: 1px solid var(--hairline); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--head); font-weight: 800; font-size: 1.4rem; color: var(--ink); text-decoration: none; }
.brand sup { color: var(--machine); font-size: .6em; }
.top nav a { font-size: .95rem; color: var(--ink-soft); text-decoration: none; margin-left: 22px; }
.top nav a:hover { color: var(--machine); }

.hero { padding: 72px 0 24px; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--human); background: var(--human-tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.lead { font-size: 1.15rem; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: var(--paper-raise); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 10px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .95rem; padding: 11px 20px; border-radius: 999px; text-decoration: none; background: var(--machine-bright); color: #fff; border: 0; cursor: pointer; }
.btn:hover { background: var(--machine); }
.btn-ghost { background: transparent; color: var(--machine); box-shadow: inset 0 0 0 1.5px var(--machine); }
.btn-ghost:hover { background: var(--machine-tint); }

.band { background: var(--paper-dip); border-radius: var(--radius); padding: 28px; margin-top: 28px; }
.note { font-size: .95rem; color: var(--ink-faint); }
.prose { max-width: 720px; padding: 64px 0 24px; }
.prose h2 { margin-top: 40px; }

.reasons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.reasons button { font-family: var(--body); font-size: .95rem; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--hairline); background: var(--paper-raise); color: var(--ink); cursor: pointer; }
.reasons button:hover { border-color: var(--machine); color: var(--machine); }
.reasons button[aria-pressed="true"] { background: var(--machine-tint); border-color: var(--machine); color: var(--machine); }
.thanks { margin-top: 16px; color: var(--machine); font-weight: 500; min-height: 1.7em; }

footer { border-top: 1px solid var(--hairline); margin-top: 80px; padding: 28px 0 40px; font-size: .9rem; color: var(--ink-faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--ink-faint); }

/* keep-running form */
.keep-form { display: grid; gap: 18px; max-width: 720px; }
.keep-form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.keep-form legend { font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.keep-form label { display: grid; gap: 6px; font-size: .95rem; color: var(--ink); font-weight: 400; }
.keep-form label.check { display: flex; align-items: center; gap: 8px; }
.keep-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.keep-form input[type=text], .keep-form input[type=email], .keep-form textarea {
  font: inherit; font-weight: 300; color: var(--ink); background: var(--paper-raise);
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 11px 14px; width: 100%; }
.keep-form input:focus, .keep-form textarea:focus { outline: 2px solid var(--machine-bright); outline-offset: 1px; border-color: transparent; }
.keep-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--machine-bright); }
.keep-form .btn { justify-self: start; }
.keep-form .btn:disabled { opacity: .6; cursor: default; }
.keep-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 400; }
.form-status.ok { color: var(--machine); }
.form-status.err { color: var(--human); }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--machine-tint); color: var(--machine); padding: 2px 6px; border-radius: 6px; }
