/* AlderShift marketing site. Colors, type and spacing come from the AlderShift design system tokens. */
:root {
  color-scheme: light;
  --forest: #244a40;
  --paper: #f4f5f2;
  --surface: #f4f5f2;
  --surface-raised: #ffffff;
  --surface-sunken: #e7eae3;
  --ink: #1a2420;
  --ink-muted: #55625b;
  --line: #d5d9d2;
  --line-strong: #7f8a83;
  --brand: #244a40;
  --brand-hover: #2f5c50;
  --brand-subtle: #dfe8e2;
  --on-brand: #f4f5f2;
  --link: #244a40;
  --accent: #e07a4f;
  --accent-hover: #e88d66;
  --on-accent: #1a2420;
  --bark-text: #6b4a35;
  --bark-subtle: #efe6dc;
  --focus: #244a40;
  --shift-day: #f3e6c4;
  --shift-evening: #f1d6c6;
  --shift-night: #d3dde6;
  --shadow-lg: 0 8px 24px rgba(36, 74, 64, 0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 15px/22px var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface-raised); padding: 8px 12px; border-radius: var(--radius-md); z-index: 10; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font: 600 12px/16px var(--font-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--bark-text); }
.display { font: 500 40px/46px var(--font-serif); letter-spacing: -0.005em; }
.muted { color: var(--ink-muted); }
.stack { display: flex; flex-direction: column; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease-out;
}
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); }
.btn-secondary:hover { background: var(--surface-sunken); color: var(--ink); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.lockup:hover { color: var(--ink); }
.lockup img { height: 36px; width: 36px; display: block; }
.lockup span { font: 600 26px/1 var(--font-serif); letter-spacing: -0.005em; }
.nav { display: flex; gap: 28px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav a:hover { color: var(--brand-hover); text-decoration: underline; }

/* Hero */
.hero { padding: 88px 0 96px; }
.split { display: flex; gap: 64px; align-items: center; }
.split > * { flex: 1 1 480px; min-width: 0; }
.hero-copy { gap: 24px; }
.hero h1 { font: 500 64px/68px var(--font-serif); letter-spacing: -0.01em; }
.hero .lede { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 560px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.preview {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.preview-head { display: flex; justify-content: space-between; align-items: center; font: 600 16px/24px var(--font-sans); }
.badge { font: 600 12px/20px var(--font-sans); padding: 0 8px; border-radius: var(--radius-sm); background: var(--bark-subtle); }
.grid { display: grid; grid-template-columns: 72px repeat(5, minmax(0, 1fr)); gap: 6px; font-size: 12px; line-height: 16px; }
.grid .day { color: var(--ink-muted); font-weight: 600; }
.grid .who { font-weight: 600; align-self: center; }
.cell { height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--line); font: 500 11px/32px var(--font-mono); text-align: center; background: var(--surface-sunken); }
.cell.d { background: var(--shift-day); }
.cell.e { background: var(--shift-evening); }
.cell.n { background: var(--shift-night); }
.reason { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--brand-subtle); font-size: 13px; line-height: 19px; }
.reason svg { flex: none; margin-top: 2px; }

/* Sections */
.section { padding: 96px 0; }
.section-head { gap: 12px; max-width: 720px; }
.band { background: var(--surface-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.section-body { gap: 40px; }

.role { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.role p { font-size: 15px; line-height: 23px; }

.step { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--brand); }
.step .n { font: 500 22px/28px var(--font-mono); color: var(--brand); }
.step h3 { font: 600 20px/28px var(--font-sans); }

.fair { background: var(--forest); color: var(--paper); }
.fair .eyebrow { color: #cfe1c2; }
.fair .section-head p { font-size: 17px; line-height: 27px; color: #d8ded9; }
.fair-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: #2f5c50; }
.fair-card h3 { font: 500 26px/32px var(--font-serif); }
.fair-card p { font-size: 16px; line-height: 25px; color: #e3e8e4; }

.proof { gap: 16px; }
.proof p { font: 500 32px/40px var(--font-serif); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font: 600 17px/26px var(--font-sans); cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-muted); }

.security { padding: 64px 0; background: var(--surface-sunken); }
.security .split { gap: 48px; justify-content: space-between; }
.security .split > :first-child { flex: 1 1 560px; max-width: 640px; gap: 8px; }
.security .split > :last-child { flex: 0 0 auto; }
.security h2 { font: 600 20px/28px var(--font-sans); }

.cta { text-align: center; align-items: center; gap: 20px; }
.cta h2 { max-width: 760px; }
.cta p { max-width: 560px; font-size: 17px; line-height: 27px; color: var(--ink-muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.site-footer .lockup img { height: 32px; width: 32px; }
.site-footer .lockup span { font-size: 22px; }
.site-footer .lockup .endorse { display: block; font: 400 12px/16px var(--font-sans); color: var(--bark-text); margin-top: 4px; letter-spacing: 0; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; font-size: 14px; }
.footer-links a { color: var(--ink); }
.legal { margin-top: 40px; font-size: 12px; color: var(--bark-text); }

/* Small screens */
@media (max-width: 960px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .split { flex-direction: column; align-items: stretch; gap: 40px; }
  .split > * { flex: 1 1 auto; }
  .nav { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .section { padding: 64px 0; }
  .band { padding: 56px 0; }
  .display { font-size: 32px; line-height: 38px; }
  .proof p { font-size: 26px; line-height: 34px; }
  .cols-4, .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .security .split > :first-child { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .lockup span { font-size: 22px; }
  .site-header .btn-sm { padding: 0 12px; }
  .grid { grid-template-columns: 52px repeat(5, minmax(0, 1fr)); gap: 4px; }
  .cell { font-size: 10px; letter-spacing: -0.02em; }
}

/* Layout helpers */
.preview { margin: 0; }
.narrow { max-width: 720px; }
.gap-48 { gap: 48px; }
.steps { list-style: none; margin: 0; padding: 0; gap: 24px; }
.split.top { align-items: flex-start; }
.cta .small { font-size: 14px; line-height: 20px; }
.footer-row { gap: 32px; }
.footer-row > .lockup { flex: 0 0 auto; }
.footer-row > .footer-links { justify-content: flex-end; }
.notfound { gap: 20px; max-width: 720px; }
@media (max-width: 860px) {
  .footer-row > .footer-links { justify-content: flex-start; }
}

/* Demo request form */
.form-page .split { gap: 64px; }
.form-intro { gap: 20px; position: sticky; top: 32px; }
.lede-sm { font-size: 17px; line-height: 27px; color: var(--ink-muted); }
.form-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .choice legend { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--ink-muted); font-size: 13px; margin-left: 4px; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--surface-raised);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  min-height: 44px; padding: 10px 12px; width: 100%;
}
.field textarea { resize: vertical; }
.field input::placeholder { color: var(--ink-muted); }
.choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice legend { padding: 0; margin-bottom: 8px; width: 100%; }
.choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.form-card .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.fine { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.form-error { background: #f6e0da; color: var(--ink); border-radius: var(--radius-md); padding: 12px 14px; font-size: 14px; line-height: 20px; }
.form-error[hidden] { display: none; }

/* Privacy notice */
.prose { max-width: 720px; gap: 16px; }
.prose h2 { font: 600 20px/28px var(--font-sans); margin-top: 16px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

@media (max-width: 860px) {
  .form-intro { position: static; }
  .form-card { padding: 20px; }
}
