:root {
  color-scheme: light;
  --bg: #f4f6f5;
  --panel: #ffffff;
  --text: #17201e;
  --muted: #576461;
  --line: #d9e0de;
  --accent: #1c4e42;
  --brand: var(--accent);
  --brand2: var(--accent);
  --accent-soft: #e4eeeb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.brand { display: inline-flex; gap: .65rem; align-items: center; color: var(--text); text-decoration: none; font-weight: 600; }
.brand img { width: 2rem; height: 2rem; border-radius: 0.5rem; }
nav a { color: var(--text); text-decoration: none; font-size: .95rem; }

.intake-main,
.resource-main { padding: 1rem; }

.intake-panel,
.resource-panel {
  margin: 0 auto;
  max-width: 44rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
}

.kicker { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
h1 { margin: .5rem 0 1rem; font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.15; }
.lead { color: var(--muted); margin-bottom: 1rem; }
.promise-list { margin: 0 0 1.25rem; padding-left: 1.2rem; color: var(--muted); }

.btn-primary,
.btn-secondary {
  appearance: none;
  border-radius: .7rem;
  border: 1px solid transparent;
  padding: .72rem 1rem;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 27, 0.56);
  display: none;
  padding: 1rem;
  align-items: flex-end;
}
.modal.is-open { display: flex; }
.modal-shell {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.link-btn { border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.progress { margin: .2rem 0 .8rem; color: var(--muted); font-size: .9rem; }
.choice-set { border: 0; margin: 0; padding: 0; display: grid; gap: .65rem; }
.choice-row { border: 1px solid var(--line); border-radius: .75rem; padding: .7rem .8rem; display: flex; gap: .65rem; align-items: center; }
.modal-actions { margin-top: 1rem; display: flex; justify-content: space-between; gap: .75rem; }
.transition-shell { text-align: left; }

.signal-card,
.seed-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  margin-bottom: 1rem;
}
.tone-pill { display: inline-block; background: var(--accent-soft); padding: .3rem .6rem; border-radius: 99px; font-size: .9rem; }
.score { font-size: clamp(1.7rem, 6vw, 2.4rem); margin: .5rem 0; }
.cert, .summary { color: var(--muted); }
.lens-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.lens-row { display: flex; justify-content: space-between; }
.bar { height: .55rem; background: #eef1f0; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); }

.seed-card ol { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.renewal-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 720px) {
  .modal { align-items: center; }
  .intake-panel,
  .resource-panel { padding: 2rem; }
}

.snapshot-intro {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.lens-meta {
  margin-bottom: 1rem;
}

.lens-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand2);
  margin-bottom: 0.25rem;
}

.lens-insight {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.signal-shell {
  text-align: center;
  padding: 2rem 1.5rem;
}

.signal-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.signal-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand2);
  box-shadow: 0 0 0 6px rgba(26,106,93,0.1);
}

.signal-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.signal-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.signal-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.signal-btn {
  display: inline-block;
  min-width: 220px;
}

.signal-header {
  margin-bottom: 2rem;
}

.signal-pattern {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.signal-description {
  color: var(--muted);
  line-height: 1.6;
}

.signal-score-block {
  margin-bottom: 2rem;
  text-align: center;
}

.score-number {
  font-size: 2.2rem;
  font-weight: 600;
}

.score-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.lens-breakdown {
  margin-bottom: 2rem;
}

.lens-row {
  margin-bottom: 1rem;
}

.lens-bar {
  height: 8px;
  background: var(--mint2);
  border-radius: 8px;
  overflow: hidden;
}

.lens-fill {
  height: 100%;
  background: var(--brand2);
}

.digital-seeds ul {
  padding-left: 1rem;
}


.snapshot-modal {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.btn {
  min-height: 44px;
}
