@font-face { font-family: 'Yantramanav'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/yantramanav-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Yantramanav'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/yantramanav-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Yantramanav'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/yantramanav-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Yantramanav'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/yantramanav-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Yantramanav'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/yantramanav-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Yantramanav'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/yantramanav-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #16152e;
  --fg-light-base-heading: #16152e;
  --fg-light-base-muted: #57566f;
  --fg-light-base-link: #4b32c3;
  --fg-light-base-inverse: #100f26;
  --bg-light-card: #f5f5fc;
  --fg-light-card-body: #16152e;
  --fg-light-card-heading: #16152e;
  --fg-light-card-muted: #57566f;
  --fg-light-card-link: #4b32c3;
  --fg-light-card-inverse: #100f26;
  --bg-light-elevated: #ebeaf8;
  --fg-light-elevated-body: #16152e;
  --fg-light-elevated-heading: #16152e;
  --fg-light-elevated-muted: #57566f;
  --fg-light-elevated-link: #4b32c3;
  --fg-light-elevated-inverse: #100f26;
  --brand-light-accent: #4b32c3;
  --brand-light-accent-hover: #37229a;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #4b32c3;
  --border-light-default: #75748f;
  --border-light-subtle: #d6d5ea;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

:root {
  --head: 'Yantramanav', 'Arial Narrow', sans-serif;
  --text: 'Plus Jakarta Sans', system-ui, sans-serif;
  --violet: var(--brand-light-accent);
  --violet-deep: var(--brand-light-accent-hover);
  --rule: var(--border-light-subtle);
  --edge: var(--border-light-default);
  --wash: var(--bg-light-card);
  --tint: var(--bg-light-elevated);
  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --header-h: 4.5rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 900; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: 0.4em; }
a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }

/* ---------- header ---------- */

.sc-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--rule);
}

.sc-bar {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0.6rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.sc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  text-decoration: none;
}

.sc-brand .site-logo { width: 2.5rem; height: 2.5rem; display: block; flex: none; }

.sc-brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.sc-wordmark {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -0.01em;
}

.sc-strap { font-size: 0.8125rem; margin-top: 0.15rem; }

/* phone and tablet: the collapsed toggle */

details.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border: 2px solid var(--violet);
  border-radius: 999px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
}

details.site-menu > summary::-webkit-details-marker { display: none; }
details.site-menu > summary { list-style: none; }

details.site-menu[open] > summary { background: var(--tint); }

.menu-icon {
  display: block;
  width: 1rem;
  height: 0.8rem;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}

details.site-menu[open] .menu-icon {
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
}

details.site-menu[open] > ul {
  position: absolute;
  inset: 100% 0 auto 0;
  max-height: calc(100vh - var(--header-h) - 1rem);
  overflow-y: auto;
  margin: 0;
  padding: 1rem var(--gutter) 1.5rem;
  list-style: none;
  background: var(--bg-light-base);
  border-bottom: 3px solid var(--violet);
  display: grid;
  gap: 0.5rem;
}

details.site-menu ul ul { list-style: none; margin: 0.35rem 0 0 1rem; padding: 0; }

details.site-menu li { margin: 0; }

details.site-menu > ul > li > a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--violet);
  border-radius: 6px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

details.site-menu ul ul a { display: block; padding: 0.55rem 0.25rem; min-height: 44px; }

details.site-menu > ul > li > a:hover { border-color: var(--violet); }

/* desktop: grouped mega-panel band */

.sc-band { display: none; border-top: 1px solid var(--rule); }

.sc-band-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
}

nav.site-nav > ul {
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.site-nav > ul > li { margin: 0; display: flex; }

nav.site-nav > ul > li:nth-last-child(2) { margin-left: auto; }

nav.site-nav > ul > li > a,
details.site-nav-group > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0 0.8rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

details.site-nav-group > summary { cursor: pointer; list-style: none; }
details.site-nav-group > summary::-webkit-details-marker { display: none; }

details.site-nav-group > summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  rotate: 45deg;
}

details.site-nav-group[open] > summary::after { rotate: -135deg; margin-top: 0.25rem; }

nav.site-nav > ul > li > a:hover,
details.site-nav-group > summary:hover,
details.site-nav-group[open] > summary { border-bottom-color: var(--violet); }

details.site-nav-group[open] > summary { background: var(--bg-light-base); }

details.site-nav-group[open] > ul {
  position: absolute;
  inset: 100% 0 auto 0;
  margin: 0;
  padding: 1.5rem max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 1.75rem;
  list-style: none;
  background: var(--bg-light-base);
  border-bottom: 4px solid var(--violet);
  box-shadow: 0 18px 30px -24px var(--fg-light-base-body);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

details.site-nav-group[open] > ul > li { margin: 0; }

details.site-nav-group[open] > ul > li > a {
  display: flex;
  align-items: flex-end;
  height: 100%;
  min-height: 5.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  background:
    linear-gradient(var(--violet), var(--violet)) 1rem 0.95rem / 2.25rem 0.35rem no-repeat,
    linear-gradient(var(--tint), var(--tint)) 1rem 0.95rem / calc(100% - 2rem) 0.35rem no-repeat;
}

details.site-nav-group[open] > ul > li:first-child > a {
  font-family: var(--head);
  font-weight: 900;
  font-size: 1.2rem;
  border: 2px solid var(--violet);
  background:
    linear-gradient(var(--violet), var(--violet)) 1rem 0.95rem / calc(100% - 2rem) 0.35rem no-repeat;
}

details.site-nav-group[open] > ul > li > a:hover { border-color: var(--violet); text-decoration: underline; }

@media (min-width: 64em) {
  .sc-menu { display: none; }
  .sc-band { display: block; }
  .sc-bar { min-height: 4rem; }
  html { scroll-padding-top: 8.5rem; }
}

/* ---------- page frame ---------- */

.sc-page {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 8vw, 5.5rem);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--edge); }

main { display: block; padding-top: clamp(1.75rem, 4.5vw, 3rem); }

main h2 { margin: 2em 0 0.55em; }
main h3 { margin: 1.5em 0 0.4em; }

figure { margin: 0 0 1.5rem; }
figure img { display: block; width: 100%; border-radius: 8px; }

.photo-hero img { aspect-ratio: 21 / 9; object-fit: cover; }

section[data-section][style] {
  background-size: cover;
  background-position: center;
  padding: clamp(5rem, 14vw, 10rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
  margin: 2rem 0;
  border-radius: 10px;
}

section[data-section][style] > .bg-surface-card {
  max-width: 40rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: 8px;
  border-top: 4px solid var(--violet);
}

section[data-section][style] > .bg-surface-card > h2:first-child { margin-top: 0; }

blockquote {
  margin: 1.5rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 4px solid var(--violet);
}

/* ---------- tables ---------- */

.table-scroll {
  max-height: 75vh;
  overflow: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--edge);
  border-radius: 8px;
}

.table-scroll table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 34rem;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

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

.table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-light-base);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 3px solid var(--violet);
}

.table-scroll tbody td:first-child { font-weight: 700; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }

/* ---------- related-page lists ({{{items}}}) ---------- */

.next-reads,
.compare-reads {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--rule);
}

.next-reads ul,
.compare-reads ul,
.side-reads ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.next-reads ul,
.compare-reads ul { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }

.next-reads ul:empty,
.compare-reads ul:empty,
.side-reads ul:empty { display: none; }

.next-reads:has(ul:empty),
.compare-reads:has(ul:empty) { display: none; }

.next-reads li,
.compare-reads li,
.side-reads li { margin: 0; }

.next-reads a,
.compare-reads a,
.side-reads a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--violet);
  background: var(--bg-light-base);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.next-reads a:hover,
.compare-reads a:hover,
.side-reads a:hover { text-decoration: underline; }

/* ---------- home: verdict hero + tile grid ---------- */

.hero-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.verdict-box {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 2px solid var(--edge);
  border-top: 8px solid var(--violet);
  border-radius: 10px;
}

.verdict-box h1 { max-width: 20ch; }

.verdict-lines { margin-top: 1.35rem; max-width: 44rem; }
.verdict-lines .display-line { font-size: 1.125rem; margin: 0 0 0.6rem; }
.verdict-lines .display-line:first-child { font-weight: 600; }
.verdict-lines .display-line:last-child { margin-bottom: 0; }

.hero-meter {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: 10px;
  min-height: 9rem;
}

.meter-row {
  display: block;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--bg-light-base);
  overflow: hidden;
}

.meter-fill { display: block; height: 100%; border-radius: inherit; background: var(--violet); width: 100%; }
.meter-row:nth-child(2) .meter-fill { width: 82%; background: var(--violet-deep); }
.meter-row:nth-child(3) .meter-fill { width: 64%; }
.meter-row:nth-child(4) .meter-fill { width: 45%; background: var(--violet-deep); }

@media (min-width: 56em) {
  .hero-grid { grid-template-columns: minmax(0, 2.2fr) minmax(14rem, 1fr); }
}

.tile-grid > figure { margin-bottom: 2rem; }

.tile-grid ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.tile-grid ul > li {
  margin: 0;
  padding: 1.6rem 1.1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background:
    linear-gradient(var(--violet), var(--violet)) 1.1rem 0.8rem / 3.5rem 0.4rem no-repeat,
    linear-gradient(var(--tint), var(--tint)) 1.1rem 0.8rem / calc(100% - 2.2rem) 0.4rem no-repeat;
}

@media (min-width: 56em) {
  .tile-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
    align-items: start;
  }
  .tile-grid > * { grid-column: 5 / -1; }
  .tile-grid > h2 {
    grid-column: 1 / 5;
    margin-top: 0;
    padding-top: 1.1rem;
    border-top: 3px solid var(--violet);
  }
  .tile-grid > h2 + * { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
  .tile-grid > h2 + ul { padding-top: 1.1rem; margin-top: 0; }
  .tile-grid > :not(h2) + h2,
  .tile-grid > :not(h2) + h2 + * { margin-top: 2.5rem; }
  .tile-grid > figure,
  .tile-grid > section { grid-column: 1 / -1; }
  .tile-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-grid > p:first-of-type:not(h2 ~ p) { grid-column: 1 / -1; font-size: 1.2rem; max-width: 52rem; margin-bottom: 2.5rem; }
}

/* ---------- ranked list: one column with numbered rail ---------- */

.ranked { max-width: 48rem; }

.ranked-head h1 { padding-bottom: 1rem; border-bottom: 4px solid var(--violet); }

.ranked-body { margin-top: 1.5rem; }

.rail-list ol {
  list-style: decimal;
  margin: 1rem 0 1.75rem;
  padding: 0 0 0 4.25rem;
  border-left: 3px solid var(--violet);
}

.rail-list ol > li {
  padding: 0.7rem 0;
  margin: 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
  font-size: 1.125rem;
}

.rail-list ol > li::marker {
  font-family: var(--head);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--violet);
}

.rail-list p:has(> strong:first-child) {
  margin: 0;
  padding: 1rem 0 1rem 1.1rem;
  border-left: 4px solid var(--violet);
  border-bottom: 1px solid var(--rule);
}

.rail-list p:has(> strong:first-child) > strong:first-child {
  display: block;
  font-family: var(--head);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.rail-list p:has(> strong:first-child) + :not(p:has(> strong:first-child)) { margin-top: 1.5rem; }

.rail-list ul > li::marker { color: var(--violet); }

/* ---------- provider review: two columns ---------- */

.review { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }

.review-side {
  padding: 1.4rem;
  border-radius: 10px;
  border-top: 8px solid var(--violet);
  align-self: start;
}

.review-by { margin: 0.75rem 0 0; font-weight: 600; font-size: 0.9375rem; }

.side-reads { margin-top: 1.25rem; }
.side-reads ul { margin-top: 0; }

.review-body { max-width: 44rem; }

.review-body > h2:first-child { margin-top: 0; }

.review-body > h2:first-of-type + p {
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--violet);
  border-radius: 8px;
  font-size: 1.0625rem;
}

.review-body ul {
  list-style: none;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.review-body ul > li {
  margin: 0;
  padding: 0.65rem 0.9rem 0.65rem 2.2rem;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(var(--violet), var(--violet)) 0.9rem 1.15rem / 0.6rem 0.6rem no-repeat;
}

.review-body ul > li:last-child { border-bottom: 0; }

@media (min-width: 60em) {
  .review { grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr); align-items: start; }
  .review-side { position: sticky; top: 9rem; }
  .review-side h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
}

/* ---------- comparison: grid ---------- */

.compare { display: grid; gap: 0 2.5rem; }

.compare-head h1 { max-width: 22ch; padding-bottom: 1rem; border-bottom: 4px solid var(--violet); }

.compare-body { min-width: 0; margin-top: 1.5rem; }

.compare-body > p { max-width: 46rem; }

@media (min-width: 64em) {
  .compare { grid-template-columns: minmax(0, 1fr) 17rem; }
  .compare-head { grid-column: 1 / -1; }
  .compare-reads { grid-column: 2; grid-row: 2; margin-top: 1.5rem; align-self: start; position: sticky; top: 9rem; }
  .compare-reads ul { grid-template-columns: 1fr; }
}

/* ---------- about: stepped criteria ---------- */

.method { max-width: 50rem; }

.method-head h1 { max-width: 20ch; }

.steps { counter-reset: step; margin-top: 1.5rem; }

.steps > h2 {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
}

.steps > h2::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--violet);
  color: var(--brand-light-on-accent);
  font-size: 1.2rem;
  font-weight: 900;
}

.steps > h2 ~ * { margin-left: 1.25rem; padding-left: 2.25rem; border-left: 2px solid var(--rule); }
.steps > h2 ~ h2 { margin-left: 0; padding-left: 3.5rem; border-left: 0; }
.steps > h2 ~ p:has(+ h2),
.steps > h2 ~ ul:has(+ h2),
.steps > h2 ~ ol:has(+ h2) { padding-bottom: 1.25rem; margin-bottom: 0; }

/* ---------- contact ---------- */

.flag { max-width: 42rem; }

.flag-form {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 10px;
  border-top: 6px solid var(--violet);
}

.flag-label { font-weight: 700; font-size: 0.9375rem; margin-top: 0.7rem; }
.flag-label:first-child { margin-top: 0; }

.flag-input {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: inherit;
  background: var(--bg-light-base);
  border: 1px solid var(--edge);
  border-radius: 6px;
}

textarea.flag-input { resize: vertical; }

.flag-input:focus-visible { outline: 2px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }

.flag-button {
  justify-self: start;
  margin-top: 1.1rem;
  min-height: 46px;
  padding: 0.7rem 1.5rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-light-on-accent);
  background: var(--violet);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.flag-button:hover { background: var(--violet-deep); }
.flag-button:focus-visible { outline: 2px solid var(--violet-deep); outline-offset: 3px; }

/* ---------- thank you ---------- */

.done { max-width: 42rem; }

.done-head h1 { padding-left: 1rem; border-left: 8px solid var(--violet); }

.done-body { margin-top: 1.5rem; }

.done-back {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 3px solid var(--violet);
  font-weight: 700;
  font-family: var(--head);
  font-size: 1.2rem;
}

/* ---------- footer ---------- */

.sc-footer { border-top: 5px solid var(--violet); }

.sc-footer-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 2rem var(--gutter) 2.5rem;
}

.sc-footer-name { font-family: var(--head); font-weight: 900; font-size: 1.3rem; margin: 0 0 0.35rem; }
.sc-footer-line { margin: 0; max-width: 40rem; font-size: 0.9375rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
