:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #5b665f;
  --line: #d9ded8;
  --paper: #fbfcf7;
  --panel: #ffffff;
  --green: #0f6b55;
  --green-dark: #0a483a;
  --amber: #aa6708;
  --red: #b42318;
  --blue: #255c99;
  --shadow: 0 14px 36px rgba(27, 38, 31, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: var(--green-dark);
  font-weight: 700;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  padding: 64px 0 80px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions,
.capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: white;
}

.button.secondary {
  border-color: var(--ink);
}

.button.ghost {
  background: transparent;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95em;
  line-height: 1.4;
}

.form-status[data-kind="success"] {
  color: #1f6f3a;
  font-weight: 700;
}

.form-status[data-kind="error"] {
  color: #b53939;
  font-weight: 700;
}

.form-status[data-kind="info"] {
  color: var(--ink);
}

.signal-panel {
  display: grid;
  gap: 12px;
}

.signal-panel span,
.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 72px;
}

.triggers {
  margin: 0 auto 48px;
  padding: 24px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.triggers .eyebrow {
  margin: 0 0 12px;
}

.triggers ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 24px;
}

.triggers li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.triggers li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent, #b58900);
}

.checker,
.report-section,
.capture,
.sources {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
}

.risk-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

legend {
  padding: 0 8px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

select,
input[type="email"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkbox-grid,
.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-grid label,
.radio-grid label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fcfdfa;
}

.field-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.submit {
  justify-self: start;
}

.report-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.report-header {
  max-width: 780px;
}

.level-pill,
.alert-card-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #eef7f3;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.alert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.alert-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
}

.alert-card.severe {
  border-color: rgba(180, 35, 24, 0.45);
}

.alert-card.high {
  border-color: rgba(170, 103, 8, 0.5);
}

.alert-card.medium {
  border-color: rgba(37, 92, 153, 0.45);
}

.alert-card.severe .alert-card-topline span {
  background: #fff0ee;
  color: var(--red);
}

.alert-card.high .alert-card-topline span {
  background: #fff6e5;
  color: var(--amber);
}

.alert-card.medium .alert-card-topline span {
  background: #eef5ff;
  color: var(--blue);
}

dl {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0 0 10px;
}

.disclaimer,
footer p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.capture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 24px;
  align-items: end;
}

.capture-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

.sources ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 22px;
}

footer {
  padding: 32px 0 48px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .hero,
  .capture {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .trust-strip,
  .alert-list,
  .two-col,
  .checkbox-grid,
  .radio-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }
}
