:root {
  --bg: #f6f7f4;
  --paper: #ffffff;
  --ink: #10151f;
  --muted: #5f6875;
  --line: #d9ded8;
  --teal: #007f79;
  --red: #b3382c;
  --gold: #c58a12;
  --blue: #245c9f;
  --soft: #eaf3ef;
  --shadow: 0 18px 55px rgba(18, 28, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  font-weight: 900;
}

.top-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--teal);
}

.hero {
  padding: 32px 0 26px;
  background: linear-gradient(180deg, #ffffff 0%, #eef3f0 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.22rem;
}

.lead {
  margin: 1rem 0 0;
  max-width: 760px;
  color: #303947;
  font-size: 1.12rem;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-score {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 32, 45, 0.08);
}

.quick-score strong,
.quick-score span {
  display: block;
}

.quick-score span {
  color: var(--muted);
}

.hero-media {
  margin: 0;
}

.hero-media img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.intro-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 34px 0 56px;
}

.toc {
  position: sticky;
  top: 78px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(28, 38, 52, 0.08);
}

.toc h2 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.toc li {
  margin: 0.45rem 0;
  color: var(--muted);
}

.toc a {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal);
}

.content {
  max-width: 820px;
  min-width: 0;
}

.content > section {
  scroll-margin-top: 82px;
}

.content p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  overflow-wrap: break-word;
}

.verdict-box,
.split,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.verdict-box {
  grid-template-columns: repeat(3, 1fr);
  margin: 1.4rem 0;
}

.verdict-box > div,
.user-review,
.faq-item,
.author-box,
.legal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.1rem 0 1.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

caption {
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 800;
  background: var(--soft);
}

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

th {
  width: 30%;
  text-align: left;
  background: #fbfbfa;
}

.feature-image {
  margin: 1.4rem 0;
}

.feature-image img {
  border-radius: 8px;
  border: 1px solid var(--line);
}

figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.check-list,
.x-list,
.source-list {
  padding-left: 1.25rem;
}

.check-list li::marker {
  color: var(--teal);
}

.x-list li::marker {
  color: var(--red);
}

.review-list {
  display: grid;
  gap: 1rem;
}

.user-review {
  border-left: 4px solid var(--gold);
}

.user-review h3,
.faq-item h3 {
  margin-top: 0;
}

.author-box {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
  border-left: 4px solid var(--blue);
}

.author-box img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.author-box h2 {
  margin-top: 0;
}

.site-footer {
  background: var(--ink);
  color: #eef2f4;
  padding: 30px 0;
}

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

.site-footer p {
  margin: 0.4rem 0 0;
  color: #b9c1c9;
}

.site-footer a,
.site-footer span {
  display: block;
  color: #d9eff0;
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
}

button {
  min-width: 92px;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #00635e;
}

.legal-main {
  padding: 34px 0 60px;
}

.legal-card {
  max-width: 860px;
  margin-inline: auto;
}

.legal-card h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .top-nav {
    display: none;
  }

  .hero-grid,
  .intro-layout,
  .verdict-box,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .hero {
    padding: 26px 0 20px;
  }

  .hero-grid {
    gap: 22px;
  }

  .intro-layout {
    gap: 26px;
    padding-top: 24px;
  }

  .content {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  body {
    line-height: 1.62;
  }

  .header-inner {
    min-height: 52px;
  }

  .brand {
    min-width: 0;
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .hero {
    padding: 20px 0 18px;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.12;
  }

  h2 {
    margin-top: 2.25rem;
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  h3 {
    margin-top: 1.55rem;
    font-size: 1.08rem;
  }

  .lead {
    font-size: 1rem;
  }

  .meta-line {
    gap: 0.35rem 0.8rem;
    font-size: 0.86rem;
  }

  .quick-score,
  .verdict-box > div,
  .user-review,
  .faq-item,
  .author-box,
  .legal-card,
  .toc {
    padding: 0.9rem;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
    object-position: 48% 50%;
    box-shadow: 0 10px 30px rgba(18, 28, 45, 0.14);
  }

  .toc ol {
    columns: 1;
  }

  .toc li {
    margin: 0.35rem 0;
  }

  .content p {
    font-size: 1rem;
  }

  .table-wrap {
    overflow: visible;
  }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  table {
    border-collapse: separate;
    border-spacing: 0;
  }

  caption {
    display: block;
    padding: 0.8rem 0.9rem;
  }

  tr {
    padding: 0.75rem 0.9rem;
    border-top: 1px solid var(--line);
  }

  th,
  td {
    padding: 0;
    border: 0;
    background: transparent;
  }

  th {
    margin-bottom: 0.22rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  td {
    line-height: 1.5;
  }

  .check-list,
  .x-list,
  .source-list {
    padding-left: 1.05rem;
  }

  .author-box {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .author-box img {
    width: 96px;
    height: 96px;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-height: min(70vh, 420px);
    overflow: auto;
    padding: 0.85rem;
  }

  .cookie-banner p {
    font-size: 0.92rem;
  }

  button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: min(100% - 18px, 1160px);
  }

  .brand span:last-child {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 1.62rem;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .quick-score,
  .verdict-box > div,
  .user-review,
  .faq-item,
  .author-box,
  .legal-card,
  .toc {
    padding: 0.8rem;
  }
}
