:root {
  --ink: #071a22;
  --ink-soft: #40555a;
  --paper: #f5f3ec;
  --card: #fffdf7;
  --accent: #16ba85;
  --accent-bright: #45dda8;
  --accent-fade: #dff8ed;
  --alert: #f56b44;
  --alert-fade: #fff0e9;
  --line: #dcd8cd;
  --shadow: 0 22px 60px rgba(7, 26, 34, 0.09);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.beta-banner {
  align-items: center;
  background: #09202a;
  color: #eaf6ef;
  display: flex;
  font-size: 0.87rem;
  gap: 12px;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  text-align: center;
}

.beta-banner strong {
  background: var(--accent-bright);
  border-radius: 100px;
  color: var(--ink);
  padding: 4px 10px;
  text-transform: uppercase;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 25px 28px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.12rem;
  font-weight: 750;
  gap: 10px;
  letter-spacing: -0.04em;
}

.brand-mark {
  background:
    linear-gradient(var(--accent-bright), var(--accent-bright)) 0 0 / 26px 5px,
    linear-gradient(var(--accent-bright), var(--accent-bright)) 0 10px / 19px 5px,
    linear-gradient(var(--accent-bright), var(--accent-bright)) 0 20px / 14px 5px;
  background-repeat: no-repeat;
  display: inline-block;
  height: 25px;
  width: 26px;
}

nav {
  color: var(--ink-soft);
  display: flex;
  font-size: 0.94rem;
  font-weight: 550;
  gap: 30px;
}

nav a:hover {
  color: var(--ink);
}

.header-action {
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 13px 21px;
}

.hero {
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(380px, 1fr) 386px;
  margin: 42px auto 70px;
  max-width: 1150px;
  padding: 0 28px;
}

.hero-copy {
  max-width: 680px;
  padding-top: 31px;
}

.eyebrow {
  color: #087c59;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.2rem, 6.2vw, 5.25rem);
  letter-spacing: -0.075em;
  line-height: 0.98;
}

h1 span {
  color: #087c59;
  display: block;
}

.hero-description {
  color: var(--ink-soft);
  font-size: 1.13rem;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 555px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.trust-row span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #28454a;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 18px;
}

.trust-row span::before {
  color: var(--accent);
  content: "OK";
  font-size: 0.7rem;
  font-weight: 800;
  margin-right: 8px;
}

.pulse-card {
  background: var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: #f7f6ef;
  min-height: 432px;
  padding: 34px;
  position: relative;
}

.pulse-card::before {
  background: var(--accent-bright);
  border-radius: 999px;
  content: "";
  height: 11px;
  position: absolute;
  right: 36px;
  top: 38px;
  width: 11px;
}

.card-label {
  color: #9eafb2;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-primary {
  border-bottom: 1px solid rgba(241, 242, 233, 0.15);
  margin-top: 54px;
  padding-bottom: 35px;
}

.metric-primary span {
  color: var(--accent-bright);
  display: block;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 1;
}

.metric-primary small {
  color: #c1cccb;
  font-size: 0.96rem;
}

.pulse-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 29px;
}

.pulse-grid p {
  color: #9eafb2;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.pulse-grid strong {
  font-size: 1.48rem;
  letter-spacing: -0.04em;
}

.data-caption {
  bottom: 30px;
  color: #8fa2a4;
  font-size: 0.77rem;
  line-height: 1.5;
  position: absolute;
}

.tracker-shell {
  background: #fffdf8;
  border: 1px solid #e8e4da;
  border-radius: 38px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 50px;
}

.section-intro h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.section-intro > p:last-child {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 600px;
}

.tracker-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(360px, 1fr) minmax(350px, 0.92fr);
  margin-top: 39px;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.bot-field {
  height: 0;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.sample-row {
  align-items: center;
  background: #f0eee5;
  border-radius: 13px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 12px 12px 15px;
}

.sample-row p {
  color: #516469;
  font-size: 0.79rem;
  line-height: 1.45;
}

.sample-button {
  background: #fffdf8;
  border: 1px solid #d9d5c9;
  border-radius: 9px;
  color: #087c59;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 0.77rem;
  font-weight: 700;
  min-height: 39px;
  padding: 0 12px;
}

.sample-button:hover {
  border-color: #a9cabb;
}

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

.field {
  color: #344a50;
  display: flex;
  flex-direction: column;
  font-size: 0.87rem;
  font-weight: 600;
  gap: 8px;
}

input,
select {
  appearance: none;
  background: #fbfaf5;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  height: 53px;
  outline: none;
  padding: 0 15px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}

select {
  background-image:
    linear-gradient(45deg, transparent 50%, #567074 50%),
    linear-gradient(135deg, #567074 50%, transparent 50%);
  background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 38px;
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(22, 186, 133, 0.13);
}

.currency-input {
  align-items: center;
  background: #fbfaf5;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  height: 53px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.currency-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(22, 186, 133, 0.13);
}

.currency-input > span {
  color: #76868a;
  font-size: 1rem;
  margin-left: 15px;
}

.currency-input input {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: 51px;
  padding-left: 7px;
}

.instant-estimate {
  background: var(--accent-fade);
  border-radius: 12px;
  color: #075840;
  font-size: 0.87rem;
  font-weight: 550;
  line-height: 1.45;
  padding: 14px 15px;
}

.consent {
  align-items: flex-start;
  color: #53666a;
  display: flex;
  font-size: 0.81rem;
  gap: 11px;
  line-height: 1.5;
}

.consent input {
  accent-color: var(--accent);
  appearance: auto;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  width: 16px;
}

.consent a {
  color: #087c59;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.turnstile-container {
  min-height: 66px;
}

.error {
  color: var(--alert);
  display: block;
  font-size: 0.77rem;
  font-weight: 500;
  min-height: 0;
}

.error:empty {
  display: none;
}

.primary-button {
  background: var(--ink);
  border: 0;
  border-radius: 14px;
  color: #f6f6ef;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 650;
  height: 57px;
  transition: background 150ms ease, transform 150ms ease;
}

.primary-button:hover {
  background: #12303a;
}

.primary-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  cursor: progress;
  opacity: 0.65;
}

.form-status {
  color: var(--ink-soft);
  font-size: 0.84rem;
  min-height: 18px;
}

.result-panel {
  background: var(--paper);
  border-radius: var(--radius);
  min-height: 565px;
  padding: 31px;
}

.result-badge {
  background: #ffe8bc;
  border-radius: 999px;
  color: #745012;
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 700;
  margin-bottom: 21px;
  padding: 8px 13px;
}

.empty-result {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  margin: auto;
  max-width: 302px;
}

.receipt-kicker {
  color: #05845d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-bottom: 17px;
}

.empty-result h3 {
  font-size: 1.72rem;
  letter-spacing: -0.05em;
  line-height: 1.14;
}

.empty-result p:last-child {
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.58;
  margin-top: 15px;
}

.result-state {
  color: #65767a;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 9px;
}

.result-content h3 {
  font-size: 2.25rem;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.result-cost {
  color: #3e5358;
  margin-top: 10px;
}

.comparison {
  background: #fffdf8;
  border: 1px solid #e5e1d6;
  border-radius: 13px;
  line-height: 1.42;
  margin: 25px 0;
  padding: 15px;
}

.comparison p {
  font-size: 0.89rem;
  font-weight: 650;
}

.comparison small {
  color: #64777a;
  display: block;
  font-size: 0.72rem;
  margin-top: 6px;
}

.story-preview {
  background:
    radial-gradient(circle at 82% 11%, rgba(69, 221, 168, 0.25), transparent 33%),
    #09202a;
  border-radius: 19px;
  color: #f8f6ee;
  min-height: 182px;
  padding: 19px 20px;
}

.story-preview p {
  color: var(--accent-bright);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.story-preview strong {
  color: var(--accent-bright);
  display: block;
  font-size: 3.1rem;
  letter-spacing: -0.075em;
  margin-top: 20px;
}

.story-preview span {
  display: block;
  font-size: 0.9rem;
  margin-top: 2px;
}

.story-preview small {
  color: #9aacac;
  display: block;
  font-size: 0.68rem;
  margin-top: 18px;
}

.result-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.quote-offer {
  background: #eef7f1;
  border: 1px solid #d1e7d8;
  border-radius: 16px;
  margin: 20px 0;
  padding: 19px;
}

.quote-offer .offer-label {
  color: #087c59;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.quote-offer h4 {
  color: #102a31;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.quote-offer > p:not(.offer-label) {
  color: #53696a;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.offer-button {
  background: #087c59;
  border-radius: 10px;
  color: #fffdf8;
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 15px;
  text-align: center;
  text-decoration: none;
}

.offer-button:hover {
  background: #066648;
}

.quote-offer small {
  color: #53696a;
  display: block;
  font-size: 0.73rem;
  line-height: 1.45;
  margin-top: 11px;
}

.secondary-button {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  min-height: 47px;
  padding: 0 9px;
}

.secondary-button:hover {
  border-color: #adbbb9;
}

.text-button {
  background: transparent;
  border: 0;
  color: #087c59;
  cursor: pointer;
  display: block;
  font-size: 0.79rem;
  font-weight: 650;
  margin: 15px auto 0;
}

.manage-card {
  background: #f0eee5;
  border-radius: 14px;
  margin-top: 7px;
  padding: 18px;
}

.manage-card h3 {
  font-size: 0.94rem;
  margin-bottom: 7px;
}

.manage-card p {
  color: #52666a;
  font-size: 0.78rem;
  line-height: 1.5;
}

.manage-card code {
  background: #fffdf8;
  border: 1px dashed #c7c0af;
  border-radius: 8px;
  color: #31494e;
  display: block;
  font-size: 0.76rem;
  margin: 13px 0;
  overflow-wrap: anywhere;
  padding: 11px;
}

.danger-button {
  background: transparent;
  border: 1px solid #cc775d;
  border-radius: 9px;
  color: #9e3e24;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  min-height: 41px;
  padding: 0 13px;
}

.danger-button:disabled {
  cursor: progress;
  opacity: 0.6;
}

.manage-status {
  margin-top: 11px;
}

.inline-button {
  display: inline-block;
  margin: 0 0 0 10px;
}

.recovery-card {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 15px;
}

.recovery-card summary {
  color: #087c59;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
}

.recovery-card p {
  color: #52666a;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 12px 0 9px;
}

.recovery-card input {
  margin-bottom: 10px;
}

.state-section {
  margin: 88px auto 76px;
  max-width: 1130px;
  padding: 0 28px;
}

.section-intro.compact {
  margin-bottom: 33px;
}

.state-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.state-card {
  background: #fffdf8;
  border: 1px solid #e5e1d8;
  border-radius: 21px;
  padding: 28px;
}

.state-card p {
  color: #42585d;
  font-size: 0.91rem;
  font-weight: 650;
}

.state-card strong {
  display: block;
  font-size: 3.15rem;
  letter-spacing: -0.075em;
  margin-top: 21px;
}

.state-card span {
  color: #617378;
  display: block;
  font-size: 0.82rem;
}

.state-card small {
  background: var(--accent-fade);
  border-radius: 999px;
  color: #087454;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  margin-top: 24px;
  padding: 7px 12px;
}

.explain-section {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.05fr 0.95fr;
  margin: 0 auto 78px;
  max-width: 1130px;
  padding: 0 28px;
}

.explain-card h2 {
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.explain-card > p:last-child {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 19px;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  grid-template-columns: 55px 1fr;
  min-height: 93px;
}

.steps strong {
  color: #05966a;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.steps p {
  color: #31494e;
  font-size: 0.95rem;
  font-weight: 550;
}

.action-section {
  align-items: center;
  background: #09202a;
  border-radius: 28px;
  color: #f5f3ec;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 0.9fr;
  margin: 0 auto 82px;
  max-width: 1130px;
  padding: 46px 48px;
}

.action-section .eyebrow {
  color: var(--accent-bright);
}

.action-section h2 {
  font-size: clamp(1.85rem, 3vw, 2.48rem);
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.action-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.action-links a {
  background: rgba(255, 253, 248, 0.07);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 12px;
  color: #e9efe8;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 16px;
}

.action-links a:hover {
  border-color: var(--accent-bright);
}

.methodology {
  background: #e9e6db;
  display: grid;
  gap: 45px;
  grid-template-columns: 0.82fr 1.55fr;
  margin-top: 84px;
  padding: 68px max(calc((100vw - 1130px) / 2), 28px);
}

.methodology h2 {
  font-size: 2.4rem;
  letter-spacing: -0.065em;
}

.method-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.method-grid article {
  background: rgba(255, 253, 248, 0.68);
  border-radius: 17px;
  padding: 25px 21px;
}

.method-grid h3 {
  font-size: 1rem;
  letter-spacing: -0.025em;
  margin-bottom: 13px;
}

.method-grid p {
  color: #52666a;
  font-size: 0.84rem;
  line-height: 1.64;
}

.site-footer {
  align-items: center;
  background: #09202a;
  color: #ecf1eb;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 28px max(calc((100vw - 1130px) / 2), 28px);
}

.site-footer p {
  color: #a9b8b9;
  font-size: 0.77rem;
}

.footer-links {
  display: flex;
  gap: 17px;
}

.footer-links a {
  color: #cbd5d2;
  font-size: 0.78rem;
  font-weight: 550;
}

.footer-links a:hover {
  color: var(--accent-bright);
}

.page-main {
  margin: 28px auto 86px;
  max-width: 980px;
  padding: 0 28px;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 39px;
  padding: 35px 0 44px;
}

.page-hero h1 {
  font-size: clamp(2.55rem, 5.5vw, 4.1rem);
  max-width: 820px;
}

.page-hero p:last-child {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-top: 22px;
  max-width: 720px;
}

.legal-layout {
  display: grid;
  gap: 44px;
  grid-template-columns: 210px minmax(0, 1fr);
}

.page-toc {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: sticky;
  top: 25px;
}

.page-toc a {
  color: #506468;
  font-size: 0.83rem;
  font-weight: 550;
}

.rich-content {
  color: #344b50;
}

.rich-content section {
  border-bottom: 1px solid var(--line);
  margin-bottom: 33px;
  padding-bottom: 32px;
}

.rich-content h2 {
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  margin-bottom: 15px;
}

.rich-content h3 {
  color: var(--ink);
  font-size: 1.02rem;
  margin: 22px 0 10px;
}

.rich-content p,
.rich-content li {
  font-size: 0.94rem;
  line-height: 1.7;
}

.rich-content p + p {
  margin-top: 13px;
}

.rich-content ul {
  margin: 13px 0 0;
  padding-left: 22px;
}

.rich-content a,
.source-card a {
  color: #087c59;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callout {
  background: var(--accent-fade);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  padding: 16px 18px;
}

.resource-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.source-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px;
}

.source-card h3 {
  margin: 0 0 10px;
}

.source-card p {
  color: #54696c;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 13px;
}

.state-page-panel {
  background: #fffdf8;
  border: 1px solid #e5e1d8;
  border-radius: 22px;
  margin: 32px 0;
  padding: 28px;
}

.state-page-panel strong {
  display: block;
  font-size: 3rem;
  letter-spacing: -0.07em;
  margin: 16px 0 4px;
}

.admin-main {
  max-width: 1120px;
}

.admin-login {
  align-items: end;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: grid;
  gap: 15px;
  grid-template-columns: minmax(260px, 420px) 180px 1fr;
  margin-bottom: 38px;
  padding: 22px;
}

.compact-button {
  height: 53px;
}

.admin-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.admin-metrics article,
.admin-event-grid article {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 19px;
}

.admin-metrics p,
.admin-event-grid p {
  color: #63767a;
  font-size: 0.76rem;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.admin-metrics strong,
.admin-event-grid strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.admin-block {
  margin-top: 38px;
}

.admin-block h2 {
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  margin-bottom: 15px;
}

.admin-event-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
}

.admin-event-grid small {
  color: #63767a;
  display: block;
  font-size: 0.7rem;
  margin-top: 8px;
}

.admin-help {
  color: #5d7074;
  font-size: 0.83rem;
  margin-bottom: 15px;
}

.table-wrap {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 620px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #ece7da;
  font-size: 0.82rem;
  padding: 13px 16px;
  text-align: left;
}

.admin-table th {
  color: #5d7074;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-included {
  color: #087c59;
  font-weight: 650;
}

.state-excluded {
  color: #9e3e24;
  font-weight: 650;
}

.admin-actions {
  display: flex;
  gap: 7px;
}

.tiny-button {
  background: #fffdf8;
  border: 1px solid #d5d0c4;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 650;
  padding: 7px 10px;
}

.tiny-button.danger {
  border-color: #dda38d;
  color: #9e3e24;
}

@media (max-width: 960px) {
  .site-header nav,
  .header-action {
    display: none;
  }

  .hero,
  .tracker-grid,
  .explain-section,
  .methodology,
  .action-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    margin-top: 12px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .pulse-card {
    min-height: 365px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .beta-banner {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .site-header {
    padding: 20px;
  }

  .hero,
  .state-section,
  .explain-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 3.35rem);
  }

  .pulse-card {
    padding: 27px;
  }

  .tracker-shell {
    border-radius: 27px;
    padding: 28px 20px;
  }

  .tracker-grid,
  .field-grid,
  .state-cards,
  .result-actions {
    grid-template-columns: 1fr;
  }

  .sample-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-panel {
    min-height: 0;
    padding: 25px 20px;
  }

  .empty-result {
    min-height: 270px;
  }

  .methodology {
    margin-top: 56px;
    padding: 46px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 29px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .action-section {
    border-radius: 0;
    margin-bottom: 56px;
    padding: 42px 20px;
  }

  .legal-layout,
  .resource-cards,
  .admin-login,
  .admin-metrics,
  .admin-event-grid {
    grid-template-columns: 1fr;
  }

  .page-main {
    padding: 0 20px;
  }

  .page-toc {
    position: static;
  }
}
