/* Logical Storm site — interim Switchboard tokens (Jack-Vault Design/Switchboard.md).
   The LS brand kit replaces the token values only; components use tokens, never raw hex. */
:root {
  --ground: #15120E;
  --raised: #201B15;
  --raised-2: #2A241C;
  --line: #3A3227;
  --text: #F7F2E9;
  --muted: #A89880;
  --accent: #E2A355;
  --on-accent: #15120E;
  --alert: #E07A5F;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --r-card: 18px; --r-inner: 12px; --r-pill: 999px;
  --measure: 640px;
  --page: 1080px;
  --font: -apple-system, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--muted);
  font: 400 17px/26px var(--font);
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3 { color: var(--text); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: 48px; line-height: 54px; letter-spacing: -0.01em; }
h2 { font-size: 28px; line-height: 34px; }
h3 { font-size: 19px; line-height: 26px; }
p { margin: 0; max-width: var(--measure); }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--s5); }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; }
.brand { color: var(--text); font-weight: 600; font-size: 17px; text-decoration: none; }
.nav { display: flex; gap: var(--s5); align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { color: var(--on-accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 var(--s5); border-radius: var(--r-pill); border: 0;
  background: var(--accent); color: var(--on-accent); font: 600 15px/20px var(--font);
  text-decoration: none; cursor: pointer;
}
.btn.quiet { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Sections */
section { padding: var(--s8) 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3); }
.hero { padding: var(--s8) 0 var(--s7); }
.hero h1 { max-width: 760px; }
.hero .lede { margin-top: var(--s5); font-size: 19px; line-height: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); align-items: center; }
.note { font-size: 14px; line-height: 20px; }
.stack > * + * { margin-top: var(--s4); }
.section-head { margin-bottom: var(--s6); }
.section-head p { margin-top: var(--s3); }

/* Cards */
.grid { display: grid; gap: var(--s3); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); }
.card h3 { margin-bottom: var(--s2); }
.card .step { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: var(--s2); font-variant-numeric: tabular-nums; }
.card ul { margin: var(--s3) 0 0; padding-left: 20px; }
.card li + li { margin-top: var(--s1); }

.pills { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.pills li { background: var(--raised-2); color: var(--text); border-radius: var(--r-pill); padding: var(--s1) var(--s3); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.person h3 { margin-bottom: var(--s1); }
.person .role { font-size: 15px; margin-bottom: var(--s3); }
.person .more { margin-top: var(--s3); }

.cta { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s7) var(--s6); }
.cta p { margin-top: var(--s3); }

/* Form */
form { display: grid; gap: var(--s4); max-width: 560px; }
label { display: grid; gap: var(--s2); color: var(--text); font-weight: 600; font-size: 15px; }
input, select, textarea {
  font: 400 16px/22px var(--font); color: var(--text); background: var(--raised);
  border: 1px solid var(--line); border-radius: var(--r-inner); padding: var(--s3); min-height: 44px; width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--text); }
.form-status.bad { color: var(--alert); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: var(--s6) 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 16px; line-height: 24px; }
  h1 { font-size: 32px; line-height: 38px; }
  h2 { font-size: 24px; line-height: 30px; }
  section, .hero { padding: var(--s7) 0; }
  .grid.three, .grid.two, .split { grid-template-columns: 1fr; }
  .split { gap: var(--s6); }
  .nav a:not(.btn) { display: none; }
  .cta { padding: var(--s6) var(--s5); }
}
