:root {
  --navy-950: #071d26;
  --navy-900: #0b2b36;
  --navy-800: #124452;
  --navy-700: #20606c;
  --ink: #153239;
  --muted: #5d706f;
  --paper: #f7f1e7;
  --surface: #fffefb;
  --surface-soft: #edf6f2;
  --line: #cad8d2;
  --accent: #f07452;
  --accent-dark: #a53f29;
  --accent-soft: #ffe5d8;
  --teal: #2bb9a4;
  --danger: #a53434;
  --max-width: 1180px;
  --text-width: 1180px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --shadow-sm: 0 12px 30px rgba(7, 29, 38, 0.08);
  --shadow-lg: 0 30px 80px rgba(7, 29, 38, 0.16);
  --space-1: 0.4rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --header-height: 74px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 68, 82, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: #0d5774;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #176d91;
  outline-offset: 4px;
}

p,
ul,
ol,
dl {
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.3rem, 7vw, 5rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

strong {
  color: var(--navy-950);
  font-weight: 750;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  color: white;
  background: var(--navy-950);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 29, 38, 0.96);
  box-shadow: 0 10px 34px rgba(7, 29, 38, 0.18);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  display: flex;
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.brand img {
  width: min(72vw, 280px);
  height: 46px;
}

.menu-toggle {
  display: none;
  min-height: 46px;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: white;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.primary-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #e7eef7;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #ffc575;
}

main {
  display: block;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) max(1rem, calc((100% - var(--max-width)) / 2));
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 116, 82, 0.24), transparent 28%),
    radial-gradient(circle at 8% 85%, rgba(43, 185, 164, 0.18), transparent 32%),
    linear-gradient(135deg, #fffaf1 0%, #edf6f2 58%, #f6ebe1 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(18, 68, 82, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 68, 82, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero h1,
.hero strong {
  color: var(--navy-950);
}

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

.eyebrow,
.panel-kicker {
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .panel-kicker {
  color: var(--accent-dark);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin: 1.7rem 0 1.4rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.3rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(165, 63, 41, 0.24);
}

.button-primary:hover {
  color: white;
  background: var(--accent-dark);
}

.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: var(--navy-900);
  font-weight: 750;
}

.text-link:hover {
  color: var(--accent-dark);
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.updated span {
  margin-right: 0.4rem;
  color: var(--teal);
}

.evidence-panel {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  box-shadow: var(--shadow-lg);
}

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

.metric-grid div {
  min-width: 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  color: var(--navy-950);
  background: #fffaf2;
}

.metric-grid dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.metric-grid dd {
  margin: 0.45rem 0 0;
  color: #425268;
  font-size: 0.78rem;
  line-height: 1.35;
}

.panel-note {
  margin: 1.25rem 0 0;
  color: #d8e6e5;
  font-size: 0.82rem;
  line-height: 1.55;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) max(1rem, calc((100% - var(--max-width)) / 2));
}

.section-tinted {
  background: #eaf3ef;
}

.section-heading {
  max-width: var(--text-width);
  margin-bottom: 2.5rem;
}

.section > p,
.section > h3,
.section > ul,
.section > ol,
.section > .table-wrap,
.section > .warning-grid,
.section > .condition-track,
.section > .definition-grid,
.section > .safety-grid {
  max-width: var(--text-width);
}

.section-ranking > .section-heading,
.section-ranking > .ranking-list,
.section-ranking > .table-wrap,
.section-ranking > .brand-notes,
.section-ranking > p {
  max-width: none;
}

.section-ranking {
  background: linear-gradient(180deg, #fffefb, #f7f1e7 70%, #fffefb);
}

.ranking-list {
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}

.ranking-item + .ranking-item {
  margin-top: 1rem;
}

.ranking-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(7, 29, 38, 0.09);
}

.rank-brand,
.score-zone,
.offer-zone,
.action-zone {
  min-width: 0;
  padding: 1.1rem;
}

.rank-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.rank-brand img {
  width: 78%;
  height: 72px;
  padding: 0.4rem;
  object-fit: contain;
}

.order-badge {
  position: absolute;
  z-index: 1;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
}

.score-zone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-800);
  background: var(--surface-soft);
  font-size: 0.78rem;
  font-weight: 750;
}

.score-circle {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border: 6px solid var(--teal);
  border-radius: 50%;
  color: var(--navy-900);
  background: white;
  box-shadow: inset 0 0 0 4px #d9f2ec;
  font-size: 1.45rem;
  font-weight: 850;
}

.offer-zone {
  align-self: center;
  margin: 0.7rem;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: #fff1e9;
}

.offer-label {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-zone p {
  margin: 0;
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.action-zone {
  display: flex;
  min-height: 90px;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.ranking-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-800);
  border-radius: 999px;
  color: white;
  background: var(--navy-800);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 68, 82, 0.18);
}

.ranking-cta:hover {
  color: white;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.action-zone small {
  margin-top: 0.45rem;
  color: #697688;
  font-size: 0.68rem;
}

.table-wrap {
  width: 100%;
  margin: 1.5rem 0 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.5;
}

caption {
  padding: 1.1rem 1.25rem;
  color: var(--navy-950);
  background: var(--accent-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
}

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

thead th {
  color: white;
  background: var(--navy-800);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  font-weight: 800;
}

tbody th {
  color: var(--navy-900);
  background: #f5f8f6;
  font-weight: 400;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.brand-notes {
  display: block;
  margin-top: 4rem;
}

.brand-notes section {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 251, 0.9);
  box-shadow: var(--shadow-sm);
}

.brand-notes section + section {
  margin-top: 1rem;
}

.brand-notes section:nth-child(even) {
  border-left-color: var(--accent);
  background: #fff8f1;
}

.brand-notes h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.brand-notes p {
  max-width: 96ch;
}

.brand-notes p:last-child {
  margin-bottom: 0;
}

.definition-grid,
.warning-grid,
.safety-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.definition-tile,
.warning-grid > li,
.safety-grid > li {
  position: relative;
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.tile-number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.tile-title {
  margin-bottom: 0.5rem;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.definition-tile p:last-child,
.warning-grid p,
.safety-grid p {
  margin-bottom: 0;
}

.check-list,
.steps-list {
  margin: 1.5rem 0 1rem;
  padding: 0;
  list-style: none;
}

.check-list li,
.steps-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.3rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 1.05rem;
  left: 0.2rem;
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--accent);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.steps-list {
  counter-reset: editorial-step;
}

.steps-list li {
  counter-increment: editorial-step;
}

.steps-list li::before {
  position: absolute;
  top: 0.83rem;
  left: 0;
  color: var(--accent-dark);
  content: counter(editorial-step, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.steps-list li span {
  color: var(--navy-900);
  font-weight: 800;
}

.condition-track {
  display: grid;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.condition-track > div {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 3.9rem;
  color: white;
}

.condition-track > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.condition-track span {
  position: absolute;
  top: 1.2rem;
  left: 1.15rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--accent);
  font-weight: 850;
}

.condition-track p {
  margin: 0;
  font-weight: 850;
}

.condition-track small {
  color: #bdcad7;
}

.warning-grid,
.safety-grid {
  padding: 0;
  list-style: none;
}

.warning-grid > li {
  border-top: 4px solid var(--accent);
}

.warning-grid > li > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-size: 1.5rem;
  font-weight: 850;
}

.responsible-section {
  color: #e9f1f7;
  background:
    radial-gradient(circle at 90% 20%, rgba(60, 199, 181, 0.18), transparent 30%),
    var(--navy-950);
}

.responsible-section h2,
.responsible-section h3,
.responsible-section strong {
  color: white;
}

.responsible-section a {
  color: #9ee9df;
}

.responsible-section .check-list li,
.responsible-section .steps-list li {
  border-color: rgba(255, 255, 255, 0.17);
}

.responsible-section .steps-list li::before {
  color: #ffc575;
}

.responsible-section .steps-list li span {
  color: white;
}

.safety-grid > li {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.safety-mark {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: white;
  font-weight: 850;
}

.tile-label {
  color: var(--navy-950);
  font-weight: 800;
}

.safety-grid .tile-label {
  color: white;
}

.faq-list {
  display: grid;
  max-width: var(--text-width);
  gap: 1rem;
}

.faq-list section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-list h3 {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.35;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 72px;
  padding: clamp(1.1rem, 3vw, 1.55rem);
  border: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--navy-950);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: var(--surface-soft);
}

.faq-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 clamp(1.1rem, 3vw, 1.55rem) clamp(1.2rem, 3vw, 1.7rem);
}

.faq-answer[hidden] {
  display: none;
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  padding: 4rem max(1rem, calc((100% - var(--max-width)) / 2)) 1.5rem;
  color: #c9d4df;
  background:
    radial-gradient(circle at 8% 12%, rgba(43, 185, 164, 0.14), transparent 28%),
    #041318;
}

.footer-organizations {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-organizations > p {
  max-width: 72ch;
}

.footer-eyebrow {
  margin-bottom: 0.35rem;
  color: #7ce1d3;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.organization-logos {
  display: grid;
  margin-top: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.organization-logos a {
  display: grid;
  min-height: 92px;
  padding: 0.9rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: white;
  transition: transform 180ms ease, border-color 180ms ease;
}

.organization-logos a:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
}

.organization-logos img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand > img {
  width: min(100%, 310px);
  height: 52px;
  margin-bottom: 1rem;
}

.footer-grid p,
.footer-bottom p {
  max-width: 52ch;
  font-size: 0.86rem;
}

.footer-note {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.age-badge {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-right: 0.55rem;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: white;
  font-weight: 850;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: #e8eef5;
}

.footer-bottom {
  display: flex;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

@media (min-width: 680px) {
  .definition-grid,
  .warning-grid,
  .safety-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .condition-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .condition-track > div + div {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr;
  }

  .organization-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-links {
    grid-column: 1 / -1;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
  }
}

@media (min-width: 840px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.8fr);
  }

  .footer-grid {
    grid-template-columns: 1.15fr 1fr 0.7fr;
  }

  .organization-logos {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .footer-links {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .ranking-card {
    grid-template-columns: minmax(0, 22fr) minmax(0, 12fr) minmax(0, 43fr) minmax(0, 23fr);
    min-height: 126px;
  }

  .rank-brand,
  .score-zone,
  .offer-zone {
    border-right: 1px solid var(--line);
  }

  .score-zone {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .offer-zone {
    margin: 1rem;
  }

  .action-zone {
    min-height: auto;
  }
}

@media (max-width: 1023px) {
  .ranking-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .rank-brand,
  .score-zone {
    min-height: 112px;
  }

  .offer-zone {
    margin: 0;
    border-top: 1px solid var(--line);
    border-left-width: 4px;
  }

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

@media (max-width: 799px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.55rem 0 1rem;
  }

  .primary-nav a {
    padding-inline: 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-ready .primary-nav {
    display: none;
  }

  .nav-ready .primary-nav.is-open {
    display: grid;
  }

  .site-header:has(.primary-nav.is-open) {
    max-height: 100vh;
    overflow-y: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 66px;
  }

  body {
    line-height: 1.63;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9.5vw, 2.55rem);
  }

  .header-inner {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .brand img {
    width: min(58vw, 210px);
    height: 42px;
  }

  .menu-toggle {
    padding-inline: 0.75rem;
    font-size: 0.86rem;
  }

  .primary-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .hero-actions,
  .button,
  .text-link {
    width: 100%;
  }

  .ranking-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(98px, 0.7fr);
  }

  .rank-brand,
  .score-zone,
  .offer-zone,
  .action-zone {
    padding: 0.85rem;
  }

  .rank-brand {
    min-height: 105px;
  }

  .rank-brand img {
    height: 52px;
  }

  .score-zone {
    min-height: 105px;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
  }

  .score-circle {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-width: 5px;
  }

  .offer-zone {
    grid-column: 1 / -1;
    min-height: 78px;
    align-content: center;
  }

  .action-zone {
    grid-column: 1 / -1;
    min-height: 76px;
  }

  .metric-grid {
    gap: 0.65rem;
  }

  .metric-grid div {
    padding: 0.75rem;
  }

  .table-wrap {
    border-radius: var(--radius-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .skip-link {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 10pt;
  }

  .hero,
  .responsible-section {
    color: #000;
    background: #fff;
  }

  .hero h1,
  .hero strong,
  .responsible-section h2,
  .responsible-section h3,
  .responsible-section strong {
    color: #000;
  }

  .section {
    padding-block: 1.5rem;
  }

  a {
    color: #000;
  }
}

.error-page {
  display: grid;
  min-height: 100vh;
  padding: 2rem;
  place-content: center;
  color: #eaf0f6;
  background:
    radial-gradient(circle at 80% 20%, rgba(239, 159, 60, 0.26), transparent 30%),
    var(--navy-950);
}

.error-page img {
  margin-bottom: 3rem;
}

.error-page h1 {
  max-width: 760px;
  color: white;
}

.error-page p {
  max-width: 58ch;
}

.error-page .button {
  width: fit-content;
  margin-top: 1rem;
}
