/* Verstrata — follows Brand Guidelines v1.0 (April 2026).
   Dark, flat, minimal. Cyan is for small text only (links, eyebrows). No gradients, shadows or glow. */

:root {
  --bg: #0d0d0d;
  --bg-2: #1a1a1a;
  --bg-3: #262626;
  --text: #f5f5f5;
  --text-2: #a3a3a3;
  --text-3: #737373;
  --accent: #22c55e;
  --logo: #c0c0c0;
  --btn-border: #404040;
  --btn-2-border: #333333;
  --radius: 8px;
  --radius-btn: 6px;
  --wrap: 1120px;
  --wrap-narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.2; }
h1 { color: var(--text); font-weight: 600; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.015em; }
h2 { color: var(--text); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { color: var(--text-2); font-weight: 500; font-size: 1.15rem; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
/* Narrow sections keep the same left edge as the header; only their content width is limited. */
.wrap.narrow > * { max-width: var(--wrap-narrow); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--bg-2); color: var(--text); padding: 8px 12px; border-radius: var(--radius-btn); }

/* Preview bar (preview builds only) */
.preview-bar { background: var(--bg-3); color: var(--text); font-size: 13px; text-align: center; padding: 6px 16px; }

/* Top banner */
.banner { border-bottom: 1px solid var(--bg-3); text-align: center; font-size: 14px; padding: 10px 16px; }
.banner a { color: var(--text-2); }
.banner a:hover { color: var(--text); text-decoration: none; }

/* Header */
.site-header { border-bottom: 1px solid var(--bg-3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
/* Logo: the symbol plus the wordmark as the logo spec sets it (Montserrat Light, caps, 0.3em, #c0c0c0) */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand img { display: block; height: 36px; width: auto; }
.wordmark {
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  font-size: 17px;
  color: var(--logo);
}
.wordmark:hover { text-decoration: none; }
.wordmark-small { font-size: 14px; }
.nav-links { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Sections */
.hero { padding: 96px 0 72px; }
.hero h1 { max-width: 16em; }
.lede { font-size: 1.2rem; max-width: 40em; }
.page-head { padding: 72px 0 24px; }
.section { padding: 56px 0; border-top: 1px solid var(--bg-3); }
.page-head + .section { border-top: 0; padding-top: 24px; }
.section-lede { max-width: 42em; margin-bottom: 32px; }
.section-note { max-width: 42em; margin-top: 24px; }
.cta-final { text-align: left; }

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Buttons: white text on dark, never cyan */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-btn);
  padding: 13px 22px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
  cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: var(--text-3); }
.btn-secondary { background: transparent; color: var(--text-2); border-color: var(--btn-2-border); font-weight: 500; }
.btn-secondary:hover { color: var(--text); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Cards and grids */
.card { background: var(--bg-2); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: 0.5em; }
.card p:last-child { margin-bottom: 0; }
.meta { color: var(--text-3); font-size: 14px; margin-bottom: 0.4em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* Lists */
.checklist, .plain { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 1px; background: var(--text-3); }
.plain li { padding: 8px 0; border-bottom: 1px solid var(--bg-3); }
.plain li:last-child { border-bottom: 0; }
.principles { padding-left: 1.2em; }
.principles li { margin-bottom: 14px; }

/* Long-form text */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

/* FAQ */
.faq h2 { font-size: 1.2rem; margin-top: 2em; }
.faq h2:first-child { margin-top: 0; }

/* Contact */
.contact-email { font-size: 1.25rem; margin: 0; }

/* Forms */
.form-card h2 { font-size: 1.35rem; }
.signup label { display: block; color: var(--text); font-size: 14px; font-weight: 500; margin: 14px 0 6px; }
.signup .optional { color: var(--text-3); font-weight: 400; }
.signup input {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--bg-3);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
}
.signup .btn { width: 100%; margin-top: 18px; }
/* The Reach signup form on /template renders inside Reach's own iframe, so this stylesheet
   can't reach it: its look comes from inline styles in the form design saved in Reach. */
.small { font-size: 14px; color: var(--text-3); margin-top: 14px; }
.preview-note { font-size: 14px; color: var(--text); background: var(--bg-3); border-radius: var(--radius-btn); padding: 10px 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--bg-3); padding: 40px 0 56px; color: var(--text-3); font-size: 14px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.social { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.social a, .legal a { color: var(--text-2); }
.social a:hover, .legal a:hover { color: var(--text); text-decoration: none; }
.risk { max-width: 52em; }

/* Cookie consent banner (assets/js/consent.js shows it until the visitor chooses) */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: var(--radius);
  padding: 16px 20px; font-size: 14px; color: var(--text-2);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 300px; }
.consent-actions { display: flex; gap: 10px; }
.consent .btn { padding: 10px 20px; font-size: 15px; }

/* Below lg: stack the grids */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .page-head { padding: 48px 0 16px; }
  .section { padding: 40px 0; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .nav-links { gap: 20px; }
  .actions .btn { width: 100%; text-align: center; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}
