:root {
  --ink: #121817;
  --muted: #5c6662;
  --paper: #f6f8f4;
  --panel: #ffffff;
  --line: #dde5dd;
  --green: #067653;
  --blue: #1e62c7;
  --gold: #c88b1d;
  --red: #b8493f;
  --shadow: 0 16px 40px rgba(18, 24, 23, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(246, 248, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 950;
}

.brand span:last-child {
  display: grid;
  min-width: 0;
}

.brand small,
.update-pill,
.eyebrow,
.hero-copy,
.quick-grid small,
.notice p,
.section p,
td,
.spec-card dd,
.footer {
  color: var(--muted);
}

.update-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

main {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 18px 14px 90px;
}

.hero {
  padding: 30px 2px 18px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(34px, 9vw, 60px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 14px;
}

.primary-btn,
.secondary-btn {
  display: grid;
  min-height: 50px;
  place-items: center;
  border-radius: 8px;
  font-weight: 950;
}

.primary-btn {
  color: #fff;
  background: var(--green);
}

.secondary-btn {
  color: var(--green);
  background: #e8f4ee;
  border: 1px solid #bddbcf;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  padding: 7px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

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

.quick-grid a,
.notice,
.section,
.score-list article,
.spec-card,
.safety-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-grid a {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 14px;
  border-top: 5px solid var(--green);
}

.quick-grid a:nth-child(2) {
  border-top-color: var(--blue);
}

.quick-grid a:nth-child(3) {
  border-top-color: var(--gold);
}

.quick-grid a:nth-child(4) {
  border-top-color: var(--red);
}

.notice {
  margin-top: 14px;
  padding: 16px;
  border-left: 5px solid var(--gold);
}

.notice p {
  margin-bottom: 0;
  line-height: 1.55;
}

.section {
  margin-top: 14px;
  padding: 18px 16px;
}

.score-list {
  display: grid;
  gap: 10px;
}

.score-list article {
  display: grid;
  gap: 5px;
  padding: 14px;
  box-shadow: none;
}

.score-list span {
  width: fit-content;
  padding: 5px 8px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.score-list p,
.safety-grid p,
.daily-list p,
.updates-list p {
  margin-bottom: 0;
  line-height: 1.52;
}

.split {
  display: grid;
  gap: 14px;
}

.spec-card {
  margin: 0;
  padding: 12px;
  box-shadow: none;
}

.spec-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.spec-card div:last-child {
  border-bottom: 0;
}

.spec-card dt {
  font-weight: 950;
}

.spec-card dd {
  margin: 0;
  text-align: right;
}

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

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--ink);
  background: #edf5f1;
  font-size: 13px;
}

.safety-grid,
.daily-list,
.updates-list {
  display: grid;
  gap: 10px;
}

.safety-grid article,
.daily-item,
.update-item {
  padding: 14px;
  background: #f7faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.daily-item span,
.update-item time {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}

details {
  margin-top: 10px;
  background: #f7faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  min-height: 48px;
  padding: 14px;
  cursor: pointer;
  font-weight: 950;
}

details p {
  padding: 0 14px 14px;
}

.footer {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 24px 14px 100px;
  font-size: 13px;
  line-height: 1.55;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-weight: 850;
}

.bottom-nav {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
  background: #121817;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(18, 24, 23, 0.24);
}

.bottom-nav a {
  display: grid;
  min-height: 54px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.quick-grid a:focus-visible,
.bottom-nav a:focus-visible,
summary:focus-visible {
  outline: 3px solid #9fd7ff;
  outline-offset: 2px;
}

@media (min-width: 760px) {
  .topbar {
    padding-inline: 28px;
  }

  main {
    padding-inline: 22px;
  }

  .hero {
    padding-top: 46px;
  }

  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .score-list,
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
