/* Same marketing surface as the old kristoffersolgren.com (BuildWithAI BRAND.md): paper, ink, one blue, lime pills.
   Light only, on purpose. */
:root {
  --paper: #faf9f6; --ink: #171717; --ink-strong: #0a0a0a; --muted: #5c5c5c; --soft: #8a8a8a;
  --line: rgba(0, 0, 0, 0.07); --card: #ffffff; --well: #f0efec;
  --blue: #2563eb; --blue-hover: #1d4ed8; --blue-soft: rgba(37, 99, 235, 0.08);
  --lime: #e4ff9c; --lime-ink: #090d00; --lime-check: #5f9e22;
  --navy: #0a0f1f;
  --display: 'Inter Tight', Geist, Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; color: var(--ink-strong); margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 10; padding: 12px 0; }
.hdr .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 12px; border-radius: 18px; transition: background .3s, box-shadow .3s; }
.hdr.scrolled .bar { background: rgba(250, 249, 246, .78); backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 30px -12px rgba(16,24,40,.18); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.04em; color: var(--ink-strong); }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--ink-strong); color: #fff; flex: none; }
.mark svg { width: 18px; height: 18px; }
.hdr nav { display: flex; align-items: center; gap: 6px; }
.lang { font-size: 14px; color: var(--soft); text-decoration: none; padding: 8px 10px; border-radius: 999px; font-weight: 500; }
.lang:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.pill-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.pill-btn:hover { background: var(--blue-hover); } .pill-btn:active { transform: scale(.96); }

/* hero */
.hero { text-align: center; padding: 56px 0 72px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.04); font-weight: 600; font-size: 15px; color: var(--ink-strong); }
.badge .dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--blue); color: #fff; }
.badge .dot svg { width: 16px; height: 16px; }
.by { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 22px; color: var(--muted); font-size: 16px; font-weight: 500; }
.by img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.12); }
h1 { font-size: clamp(36px, 6.4vw, 80px); line-height: 1.02; font-weight: 700; max-width: 1180px; text-wrap: balance; margin: 0 auto; }
h1 .blue { display: block; color: var(--blue); }
.sub { font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 620px; margin: 24px auto 0; letter-spacing: -0.01em; }
.sub b { color: var(--ink); font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; padding: 0; list-style: none; }
.checks li { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--lime-ink); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.checks svg { width: 17px; height: 17px; color: var(--lime-ink); flex: none; }

/* signup */
.join-box { max-width: 540px; margin: 36px auto 0; }
form.join { display: flex; gap: 6px; padding: 6px; background: var(--card); border-radius: 999px; box-shadow: 0 0 0 1px var(--line), 0 12px 40px -16px rgba(16,24,40,.25); }
form.join input[type=email] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 0 16px; color: var(--ink); }
form.join button { flex: none; height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; transition: background .15s, transform .15s; }
form.join button:hover { background: var(--blue-hover); } form.join button:active { transform: scale(.97); }
form.join button:disabled { opacity: .6; }
form.join:focus-within { box-shadow: 0 0 0 2px var(--blue), 0 12px 40px -16px rgba(37,99,235,.35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.fine { font-size: 13.5px; color: var(--soft); margin: 14px auto 0; max-width: 480px; line-height: 1.5; }
.fine a { color: var(--muted); }
.msg { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); color: var(--lime-ink); padding: 14px 20px; border-radius: 999px; font-weight: 600; margin: 0; }

/* sections */
section { padding: 88px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--blue); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; font-weight: 700; max-width: 760px; text-wrap: balance; }
.center { text-align: center; } .center h2, .center .lede { margin-left: auto; margin-right: auto; }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; margin: 16px 0 0; letter-spacing: -0.01em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card { background: var(--card); border-radius: 22px; padding: 28px; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.03); text-align: left; }
.card .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 21px; line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* dark "how you get in" */
.dark { position: relative; overflow: hidden; border-radius: 32px; background: var(--navy); color: #fff; padding: 56px 48px; }
.dark::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 999px; background: rgba(37,99,235,.45); filter: blur(100px); pointer-events: none; }
.dark h2 { color: #fff; position: relative; }
.dark .eyebrow { background: rgba(255,255,255,.08); color: #9db8ff; position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 24px; }
.step .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--blue); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.step h3 { color: #fff; font-size: 19px; margin-bottom: 6px; letter-spacing: -0.03em; }
.step p { margin: 0; color: rgba(255,255,255,.7); font-size: 15.5px; line-height: 1.55; }
.dark .note { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 18px; background: var(--blue); border-radius: 16px; padding: 14px 18px; font-weight: 600; font-size: 15px; }
.dark .note svg { width: 18px; height: 18px; flex: none; }

/* newsletter rows */
.issues { max-width: 720px; margin: 36px auto 0; display: grid; gap: 12px; text-align: left; }
.issue { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border-radius: 20px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--line); }
.issue .tag { flex: none; font-size: 12.5px; font-weight: 700; color: var(--lime-ink); background: var(--lime); padding: 4px 10px; border-radius: 999px; margin-top: 2px; }
.issue h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 2px; }
.issue p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* final */
.final { text-align: center; background: var(--well); border-radius: 32px; padding: 64px 24px; }
.final h2 { margin: 0 auto; }

footer { padding: 40px 0 56px; color: var(--soft); font-size: 13.5px; text-align: center; }
footer p { margin: 4px 0; } footer a { color: var(--muted); margin: 0 8px; }

/* simple pages (check email, privacy, confirm, unsubscribe) */
main.narrow { max-width: 600px; margin: 0 auto; padding: 48px 20px 24px; }
main.narrow .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; font-size: 18px; margin-bottom: 36px; color: var(--ink-strong); }
main.narrow h1 { font-size: clamp(32px, 6vw, 44px); text-align: left; margin: 0 0 14px; }
main.narrow h3 { font-size: 18px; margin: 26px 0 6px; letter-spacing: -0.02em; }
main.narrow p { color: var(--muted); }
main.narrow a { color: var(--blue); }
.btn { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--blue-hover); }
main.narrow footer { text-align: left; padding-top: 40px; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .dark { padding: 40px 22px; border-radius: 26px; }
  section { padding: 64px 0; }
  .hero { padding: 36px 0 56px; }
}
@media (max-width: 520px) {
  .logo .name { display: none; }
  .hdr .pill-btn { height: 38px; padding: 0 14px; font-size: 14px; }
  form.join { flex-direction: column; border-radius: 22px; padding: 8px; }
  form.join input[type=email] { height: 48px; }
  form.join button { width: 100%; }
  .badge { font-size: 14px; }
  .issue { flex-direction: column; gap: 10px; }
}

/* landing page = one clean screen (Kristoffer, 4 Nov 2026: "super clean and simple") */
body.lp { min-height: 100dvh; display: flex; flex-direction: column; }
.lp .hdr { position: static; }
.lp main.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 20px 48px; }
.lp .by { margin: 0 0 22px; }
.lp .sub { max-width: 560px; margin-top: 22px; }
.lp .join-box { margin-top: 32px; }
.lp .fine { margin-top: 10px; }
.lp .checks { margin-top: 26px; gap: 8px 22px; }
.lp .checks li { background: none; padding: 0; color: var(--muted); font-weight: 500; font-size: 14.5px; }
.lp .checks svg { color: var(--lime-check); }
.lp footer { padding: 0 20px 28px; font-size: 13px; }
.lp .join-box { width: 100%; }
.lp footer a { margin: 0; }
