/* Coppice tokens (coppice.ai/assets/site.css: Instrument Sans, blue #2563eb) on a dark background. */
:root {
  --bg: #0a0a0a;
  --ink: #f5f6f8;
  --ink-80: rgba(245,246,248,.78);
  --muted: #8a9099;
  --panel: #16181c;
  --hairline: #22252a;
  --hairline-strong: #2c3036;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #93b8f8;
  --blue-tint: rgba(37,99,235,.16);
  --surface: #111317;
  --field: #0d0e11;
  --white: #fff;
  --r-btn: 10px;
  --r-card: 16px;
  --r-chip: 6px;
  --font: 'Instrument Sans', system-ui, sans-serif;
  --ease-spring: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5; min-height: 100vh;
}
.wrap { max-width: 600px; margin: 0 auto; padding: 72px 20px 48px; }

/* Header */
header { display: flex; flex-direction: column; align-items: center; text-align: center; }
.avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hairline-strong); }
h1 { font-size: clamp(32px, 3.9vw, 44px); font-weight: 400; line-height: 1.06; letter-spacing: -0.015em; margin-top: 22px; }
.tagline { color: var(--ink-80); font-size: 17px; margin-top: 10px; }
.tagline a { color: var(--blue-soft); text-decoration: none; }
.tagline a:hover { color: #fff; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: var(--r-card); padding: 28px; margin-top: 40px; }
.cards { display: grid; gap: 14px; margin-top: 40px; }
a.card { display: block; margin-top: 0; text-decoration: none; color: var(--ink); transition: border-color .3s var(--ease-spring), box-shadow .3s var(--ease-spring); }
a.card:hover { border-color: var(--blue-soft); box-shadow: 0 8px 28px rgba(37,99,235,.18); }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-soft); font-weight: 600; }
.card h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.12; letter-spacing: -0.015em; font-weight: 500; margin-top: 10px; }
.card p { color: var(--ink-80); margin-top: 8px; }
.arrow { color: var(--blue-soft); font-weight: 500; margin-top: 14px; display: inline-block; text-decoration: none; letter-spacing: -0.02em; }

/* Buttons (Coppice .btn + .btn-blue) */
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-btn); padding: 12px 18px; font: inherit; font-size: 14px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1; white-space: nowrap; cursor: pointer; border: 0;
  background: var(--blue); color: var(--white); transition: background .3s, color .3s, border-color .3s;
}
button:hover, .btn:hover { background: var(--blue-deep); }
button:disabled { opacity: .5; cursor: default; }
.btn-light { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline-strong); }
.btn-light:hover { background: var(--panel); }

/* Inputs */
input[type=email], input[type=text], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--field);
  border: 1px solid var(--hairline-strong); border-radius: var(--r-btn); padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.28); }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* Roadmap signup */
#signup { display: flex; gap: 10px; margin-top: 20px; }
#signup input { flex: 1; min-width: 0; }
.msg { margin-top: 12px; font-size: 14px; min-height: 20px; }
.msg.ok { color: #4ade80; }
.msg.err { color: #f87171; }

/* Links */
.links { margin-top: 28px; display: grid; gap: 10px; }
.links a {
  display: flex; justify-content: space-between; align-items: center; padding: 15px 18px;
  border: 1px solid var(--hairline); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500;
  transition: border-color .3s, background .3s;
}
.links a:hover { border-color: var(--blue-soft); background: var(--panel); }
.links span { color: var(--muted); font-weight: 400; font-size: 14px; }
footer { margin-top: 48px; text-align: center; color: var(--muted); font-size: 13px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.back:hover { color: var(--ink); }

/* Step form */
.progress { height: 4px; background: var(--hairline); border-radius: 999px; overflow: hidden; margin-top: 18px; }
.progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width .5s var(--ease-spring); }
.stepcount { font-size: 13px; color: var(--muted); margin-top: 10px; }
.step { display: none; animation: stepin .4s var(--ease-spring); }
.step.on { display: block; }
@keyframes stepin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; margin-top: 26px; }
.step .sub { color: var(--muted); margin-top: 6px; font-size: 14px; }
.fields { display: grid; gap: 12px; margin-top: 18px; }
.fields label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-80); margin-bottom: 6px; }
.opts { display: grid; gap: 10px; margin-top: 18px; }
.opts label {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--hairline-strong);
  border-radius: var(--r-btn); cursor: pointer; font-size: 15px; transition: border-color .2s, background .2s;
}
.opts label:hover { border-color: var(--blue-soft); }
.opts input { accent-color: var(--blue); width: 16px; height: 16px; }
.opts label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.nav .prev { background: none; color: var(--muted); padding: 12px 4px; }
.nav .prev:hover { color: var(--ink); background: none; }
.nav .next { padding: 12px 20px; font-size: 15px; }
.book { margin-top: 20px; border: 1px solid var(--hairline-strong); border-radius: 12px; overflow: hidden; }
.book iframe { width: 100%; height: 700px; border: 0; display: block; }

@media (max-width: 480px) {
  .wrap { padding: 48px 16px 40px; }
  .card { padding: 22px; }
  #signup { flex-direction: column; }
  #signup button { width: 100%; }
}
