:root {
  --bg: #ffffff;
  --surface: #f6f8fb;
  --surface-strong: #eef3f8;
  --text: #17202a;
  --muted: #687485;
  --border: #dce4ee;
  --accent: #1267ff;
  --accent-strong: #0a49c7;
  --lime: #b6f342;
  --shadow: 0 20px 60px rgba(14, 31, 53, 0.12);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, #edf1f6 0%, #fff 7%, #fff 93%, #edf1f6 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.header-top {
  border-bottom: 1px solid var(--border);
}

.header-top__inner {
  display: grid;
  grid-template-columns: minmax(210px, 280px) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 92px;
  padding: 14px 0;
}

.header-top__inner > * {
  min-width: 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--text);
  color: var(--lime);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__mark--image {
  overflow: hidden;
  padding: 0;
}

.brand__logo {
  display: block;
  width: min(260px, 40vw);
  min-width: 150px;
}

.brand__logo--main {
  width: min(230px, 42vw);
}

.brand__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand__logo--footer {
  width: min(220px, 52vw);
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 21px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ad-banner {
  display: flex;
  min-width: 0;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px dashed #9ca9bb;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f9fbff, #edf4ff);
  color: #405066;
  padding: 0 22px;
}

.ad-banner span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ad-banner strong {
  font-size: clamp(16px, 2vw, 24px);
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-banner--image {
  display: block;
  padding: 0;
  overflow: hidden;
}

.ad-banner--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-banner--html {
  overflow: hidden;
}

.search-row {
  border-bottom: 1px solid var(--border);
}

.search-row__inner {
  position: relative;
  padding: 14px 0;
}

.smart-search {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px 8px 8px 16px;
  box-shadow: 0 10px 28px rgba(18, 103, 255, 0.1);
}

.smart-search svg,
.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.smart-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--text);
  font-size: 16px;
  outline: 0;
}

.smart-search button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 0 20px;
}

.search-suggestions {
  position: absolute;
  top: calc(100% - 8px);
  right: 0;
  left: 0;
  display: grid;
  gap: 4px;
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.search-suggestions:empty {
  display: none;
}

.search-suggestions button,
.search-suggestions p {
  display: grid;
  gap: 4px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 12px 16px;
  text-align: left;
}

.search-suggestions strong {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

.topic-nav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.topic-nav__inner::-webkit-scrollbar {
  display: none;
}

.topic-nav a {
  flex: 0 0 auto;
  border-radius: 6px;
  color: #354256;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 12px;
}

.topic-nav a:hover,
.topic-nav a:focus-visible,
.topic-nav a[aria-current="page"] {
  background: var(--surface-strong);
  color: var(--accent-strong);
}

.breaking-strip {
  background: #101820;
  color: #fff;
}

.breaking-strip__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
}

.breaking-strip strong {
  color: var(--lime);
  text-transform: uppercase;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 32px;
  padding: 38px 0 46px;
}

.home-carousel-band {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, #e9eef5 0%, #f8fafc 8%, #f8fafc 92%, #e9eef5 100%);
  padding: 24px 0 0;
}

.home-carousel {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #101820;
  box-shadow: var(--shadow);
}

.home-carousel__viewport {
  position: relative;
  min-height: clamp(300px, 38vw, 470px);
}

.home-carousel__slide {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.home-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-carousel__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 24, 0.88), rgba(8, 14, 24, 0.42) 52%, rgba(8, 14, 24, 0.12)),
    linear-gradient(0deg, rgba(8, 14, 24, 0.42), transparent 52%);
}

.home-carousel__copy {
  position: absolute;
  bottom: clamp(26px, 5vw, 54px);
  left: clamp(22px, 5vw, 54px);
  display: grid;
  gap: 10px;
  width: min(680px, calc(100% - 44px));
}

.home-carousel__copy small {
  width: fit-content;
  border-radius: 999px;
  background: var(--lime);
  color: #101820;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}

.home-carousel__copy strong {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.02;
}

.home-carousel__copy em {
  max-width: 640px;
  color: #dbe4ef;
  font-size: clamp(15px, 2vw, 19px);
  font-style: normal;
  line-height: 1.5;
}

.home-carousel__controls {
  position: absolute;
  right: clamp(18px, 4vw, 42px);
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.home-carousel__controls button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  padding: 0;
}

.home-carousel__controls button.is-active {
  background: var(--lime);
}

.featured-story,
.latest-card,
.editor-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.featured-story {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image {
  margin: 0;
  background: var(--surface);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.featured-story .story-image {
  aspect-ratio: 1900 / 920;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-story__content {
  padding: clamp(22px, 4vw, 38px);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
}

.featured-story__content > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.story-meta a {
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 11px 16px;
}

.side-rail {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(182, 243, 66, 0.42) 58%);
  font-size: 22px;
  line-height: 1.25;
  width: fit-content;
}

.section-heading--wide {
  align-items: end;
}

.section-heading--wide p:last-child {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
}

.latest-list {
  display: grid;
  gap: 12px;
}

.latest-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 10px;
}

.latest-card img {
  width: 112px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.latest-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-card h3 {
  margin: 5px 0 8px;
  font-size: 16px;
  line-height: 1.25;
}

.latest-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.editor-band {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(90deg, #e9eef5 0%, var(--surface) 8%, var(--surface) 92%, #e9eef5 100%);
  padding: 42px 0 52px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.editor-card {
  padding: 20px;
}

.editor-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.editor-card h3 {
  margin: 18px 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.editor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.home-feature-band {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(90deg, #edf1f6 0%, #fff 7%, #fff 93%, #edf1f6 100%);
  padding: 42px 0 54px;
}

.top-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.top-story-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.top-story-card:hover,
.top-story-card:focus-visible {
  border-color: var(--accent);
  outline: 0;
  transform: translateY(-2px);
}

.top-story-card figure {
  margin: 0;
  background: var(--surface);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.top-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-story-card div {
  padding: 18px;
}

.top-story-card span,
.news-river-item span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.top-story-card h3 {
  margin: 8px 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.top-story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.news-river-band {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(90deg, #e9eef5 0%, #f8fafc 8%, #f8fafc 92%, #e9eef5 100%);
  padding: 42px 0 58px;
}

.news-river-list {
  display: grid;
  border-top: 1px solid var(--border);
  background: #fff;
}

.news-river-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--border);
  color: inherit;
  padding: 18px 0;
  text-decoration: none;
}

.news-river-item > strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
}

.news-river-item h3 {
  margin: 5px 0 6px;
  font-size: 20px;
  line-height: 1.25;
}

.news-river-item p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.news-river-item:hover h3,
.news-river-item:focus-visible h3 {
  color: var(--accent-strong);
}

.segment-page {
  background: #fff;
}

.segment-hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
  padding: 34px 0 32px;
}

.segment-hero__inner > p:last-of-type {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.segment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.segment-tabs a {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  padding: 9px 12px;
}

.segment-tabs a:hover,
.segment-tabs a:focus-visible {
  border-color: var(--accent);
  background: #eaf1ff;
  outline: 0;
}

.segment-list-section {
  padding: 36px 0 58px;
}

.segment-news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.segment-news-item {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.segment-news-item__image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  aspect-ratio: 16 / 11;
}

.segment-news-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-news-item h3 {
  margin: 0 0 9px;
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.15;
}

.segment-news-item h3 a:hover,
.segment-news-item h3 a:focus-visible {
  color: var(--accent-strong);
}

.segment-news-item p:not(.section-kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.release-page {
  background:
    linear-gradient(90deg, #edf1f6 0%, #fff 7%, #fff 93%, #edf1f6 100%);
}

.release-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.55fr);
  gap: 34px;
  align-items: start;
  padding: 38px 0 58px;
}

.release-copy {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  padding: 22px;
}

.release-copy h2 {
  margin-bottom: 14px;
  background: linear-gradient(180deg, transparent 58%, rgba(182, 243, 66, 0.42) 58%);
  font-size: 24px;
  width: fit-content;
}

.release-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #334155;
  line-height: 1.55;
}

.release-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.release-form label {
  display: grid;
  gap: 7px;
  color: #344256;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.release-form input,
.release-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 13px;
  text-transform: none;
}

.release-form input:focus,
.release-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 103, 255, 0.12);
  outline: 0;
}

.release-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.form-alert,
.form-success {
  border-radius: var(--radius);
  padding: 13px 14px;
}

.form-alert {
  border-left: 4px solid #d12b2b;
  background: #fff0f0;
  color: #821d1d;
}

.form-alert p,
.form-success p {
  margin: 0;
}

.form-success {
  border-left: 4px solid #1c8d4f;
  background: #ecfff5;
  color: #11663a;
  font-weight: 800;
}

.compare-hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
  padding: 42px 0 34px;
}

.compare-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 32px;
  align-items: end;
}

.compare-hero h1 {
  margin-bottom: 14px;
}

.compare-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.compare-summary {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.compare-summary strong {
  font-size: 28px;
}

.compare-summary span {
  color: var(--muted);
  font-weight: 700;
}

.compare-workbench {
  display: grid;
  gap: 28px;
  padding: 34px 0 52px;
}

.compare-results {
  min-width: 0;
}

.compare-builder {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.compare-builder__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.compare-builder__heading h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.compare-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.compare-slot {
  position: relative;
  display: grid;
  min-height: 292px;
  place-items: center;
  border-left: 1px solid var(--border);
  padding: 18px;
}

.compare-slot:first-child {
  border-left: 0;
}

.compare-slot--empty {
  opacity: 0.66;
}

.compare-slot__vs {
  position: absolute;
  top: 50%;
  left: -14px;
  z-index: 2;
  background: #fff;
  color: #b9c0ca;
  font-weight: 900;
  transform: translateY(-50%);
}

.phone-silhouette {
  position: relative;
  width: min(140px, 70%);
  aspect-ratio: 0.55;
  border: 3px solid #66707a;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.compare-slot--empty .phone-silhouette {
  border-color: #cdd3da;
  background: #f8f8f8;
}

.phone-silhouette span,
.phone-silhouette i {
  position: absolute;
  left: 50%;
  display: block;
  border-radius: 50%;
  transform: translateX(-50%);
}

.phone-silhouette span {
  top: 28px;
  width: 10px;
  height: 10px;
  border: 2px solid #8b949e;
  background: #fff;
}

.phone-silhouette i {
  bottom: 38px;
  width: 5px;
  height: 5px;
  background: #aab2bb;
}

.slot-search {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: min(250px, calc(100% - 24px));
  transform: translate(-50%, -50%);
}

.slot-search__label {
  position: absolute;
  top: -25px;
  left: 10px;
  z-index: 2;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  padding: 7px 10px;
  text-transform: uppercase;
}

.slot-search input {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  padding: 0 44px 0 13px;
  box-shadow: 0 10px 24px rgba(18, 103, 255, 0.13);
}

.compare-slot--empty .slot-search input {
  border-color: var(--accent);
  color: var(--text);
}

.slot-search input::placeholder {
  color: #6d7886;
  font-weight: 700;
  opacity: 1;
}

.slot-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 103, 255, 0.16), 0 12px 28px rgba(18, 103, 255, 0.2);
  outline: 0;
}

.slot-search::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  content: "";
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.slot-search button[data-clear-slot] {
  position: absolute;
  top: 50%;
  right: 32px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  transform: translateY(-50%);
}

.slot-suggestions {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 40;
  overflow-y: auto;
  max-height: 270px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.slot-suggestions[hidden],
.slot-suggestions:empty {
  display: none;
}

.slot-suggestions button {
  display: grid;
  width: 100%;
  gap: 3px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  padding: 11px 12px;
  text-align: left;
}

.slot-suggestions button:last-child {
  border-bottom: 0;
}

.slot-suggestions button:hover,
.slot-suggestions button:focus {
  background: #f7faff;
  outline: 0;
}

.slot-suggestions strong {
  font-size: 14px;
}

.slot-suggestions span,
.slot-suggestions p {
  color: var(--muted);
  font-size: 12px;
}

.slot-suggestions p {
  margin: 0;
  padding: 12px;
}

.compare-slot > p {
  align-self: end;
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 24px;
}

.compare-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 0 20px;
}

.compare-button:disabled {
  background: #c8d0dc;
  cursor: not-allowed;
}

.compare-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.picker-panel {
  position: sticky;
  top: 228px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.picker-panel h2,
.compare-results h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.picker-search {
  position: relative;
  display: grid;
  gap: 8px;
}

.picker-search label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.picker-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 12px 13px;
  outline: 0;
}

.picker-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 103, 255, 0.12);
}

.phone-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 8;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-autocomplete[hidden],
.phone-autocomplete:empty {
  display: none;
}

.phone-autocomplete button {
  display: grid;
  width: 100%;
  gap: 3px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  padding: 11px 12px;
  text-align: left;
}

.phone-autocomplete button:last-child {
  border-bottom: 0;
}

.phone-autocomplete button:hover,
.phone-autocomplete button:focus {
  background: #f7faff;
  outline: 0;
}

.phone-autocomplete strong {
  font-size: 14px;
}

.phone-autocomplete span,
.phone-autocomplete p {
  color: var(--muted);
  font-size: 12px;
}

.phone-autocomplete p {
  margin: 0;
  padding: 12px;
}

.brand-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-quick-filters button {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 0 12px;
}

.brand-quick-filters button[aria-pressed="true"] {
  border-color: var(--accent);
  background: #eaf1ff;
}

.phone-option-list {
  display: grid;
  gap: 10px;
  max-height: 540px;
  overflow: auto;
  padding-right: 4px;
}

.phone-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  padding: 12px;
}

.phone-option:hover,
.phone-option:has(input:checked) {
  border-color: var(--accent);
  background: #f7faff;
}

.phone-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.phone-option strong,
.selected-chip strong,
.phone-card strong {
  display: block;
}

.phone-option span,
.selected-chip span,
.phone-card span {
  color: var(--muted);
  font-size: 13px;
}

.selected-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 42px;
  align-items: center;
}

.selected-chip {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 10px 8px 12px;
}

.selected-chip button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.compare-empty {
  border: 1px dashed #9ca9bb;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  padding: 24px;
  line-height: 1.5;
}

.phone-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.phone-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.phone-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.phone-card__score {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.phone-card dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.phone-card div {
  display: grid;
  gap: 2px;
}

.phone-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.phone-card dd {
  margin: 0;
  font-weight: 800;
}

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

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--border);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.spec-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.spec-table tbody th {
  width: 170px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
}

.spec-table .spec-group th {
  background: #101820;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spec-table td {
  color: #273244;
  line-height: 1.45;
}

.compare-sheet {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-sheet__bar {
  position: sticky;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: #f7f9fc;
  color: var(--muted);
  font-size: 13px;
  padding: 12px 16px;
}

.compare-sheet__bar strong {
  color: var(--text);
  font-size: 15px;
}

.spec-table--matrix {
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.spec-table--matrix th,
.spec-table--matrix td {
  border-right: 1px solid #dfe4eb;
}

.spec-table--matrix th:last-child,
.spec-table--matrix td:last-child {
  border-right: 0;
}

.spec-table--matrix thead th {
  top: 0;
  background: #f8fafc;
  color: var(--text);
  text-transform: none;
}

.spec-table--matrix .spec-table__corner {
  left: 0;
  z-index: 4;
  width: 178px;
  background: #eef2f6;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.spec-table__device {
  min-width: 210px;
}

.spec-table__device strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.2;
}

.spec-table__device small {
  display: block;
  color: #5d6978;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}

.spec-table__brand {
  display: inline-flex;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-table--matrix tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 178px;
  background: #f6f8fb;
  color: #1d2838;
  font-size: 13px;
  line-height: 1.35;
}

.spec-table--matrix .spec-group th {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #101820;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spec-value {
  font-size: 14px;
}

.spec-value--1,
.spec-table__device--1 {
  background: #ffffff;
}

.spec-value--2,
.spec-table__device--2 {
  background: #f6f7f9;
}

.spec-value--3,
.spec-table__device--3 {
  background: #f1f4f7;
}

.spec-value--4,
.spec-table__device--4 {
  background: #fafafa;
}

.spec-table--matrix tbody tr:not(.spec-group):nth-child(even) .spec-value--1 {
  background: #f9fafb;
}

.spec-table--matrix tbody tr:not(.spec-group):nth-child(even) .spec-value--2 {
  background: #eef1f4;
}

.spec-table--matrix tbody tr:not(.spec-group):nth-child(even) .spec-value--3 {
  background: #e8edf2;
}

.spec-table--matrix tbody tr:not(.spec-group):nth-child(even) .spec-value--4 {
  background: #f2f3f5;
}

.spec-table--matrix tbody tr:not(.spec-group):hover td,
.spec-table--matrix tbody tr:not(.spec-group):hover th[scope="row"] {
  background: #fff9df;
}

.compare-hidden-price[hidden] {
  display: none !important;
}

.data-disclaimer {
  margin: 16px 0 0;
  border-left: 3px solid #ffc857;
  background: #fff8e6;
  color: #5e4b16;
  font-size: 13px;
  line-height: 1.55;
  padding: 12px 14px;
}

.site-footer {
  background: #101820;
  color: #fff;
  padding: 34px 0;
}

.article-page {
  background: #fff;
}

.article-shell {
  padding: 38px 0 58px;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.article-breadcrumb a {
  color: var(--accent-strong);
}

.article-header {
  max-width: 860px;
}

.article-header h1 {
  max-width: 860px;
}

.article-summary {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.article-meta span,
.article-meta time {
  display: inline-flex;
}

.article-hero-image {
  overflow: hidden;
  margin: 30px 0 34px;
  border-radius: var(--radius);
  background: var(--surface);
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.article-hero-image figcaption {
  margin: 0;
  background: #fff;
  color: #8a94a3;
  font-size: 11px;
  line-height: 1.4;
  padding: 6px 8px 0;
}

.article-content {
  max-width: 780px;
}

.article-content p {
  color: #273244;
  font-size: 19px;
  line-height: 1.78;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(280px, 340px);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
}

.article-content h2,
.article-content h3 {
  color: var(--text);
  line-height: 1.2;
}

.article-content h2 {
  margin: 34px 0 14px;
  font-size: clamp(26px, 3vw, 34px);
}

.article-content h3 {
  margin: 28px 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.article-content strong {
  color: #101820;
  font-weight: 900;
}

.article-content em {
  color: #3a4657;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding-left: 24px;
  color: #273244;
  font-size: 19px;
  line-height: 1.7;
}

.article-content blockquote {
  margin: 26px 0;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  color: #273244;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  padding: 18px 22px;
}

.article-content code {
  border-radius: 5px;
  background: #eef2f7;
  color: #101820;
  font-size: 0.9em;
  padding: 2px 5px;
}

.article-content .article-source-note {
  margin-top: 34px;
  color: #8a94a3;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.article-content .article-source-note span {
  font-weight: 800;
}

.article-content .article-small-note,
.article-small-note-inline {
  color: #8a94a3;
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}

.article-small-note-inline {
  display: inline;
}

.article-sidebar {
  position: sticky;
  top: 190px;
  display: grid;
  gap: 16px;
}

.article-side-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.article-side-card h2 {
  margin: 0 0 14px;
  font-size: 19px;
}

.article-side-list {
  display: grid;
  gap: 12px;
}

.article-side-list a,
.article-side-list li {
  min-width: 0;
}

.article-side-list a {
  display: grid;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.article-side-list span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-side-list strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.article-side-list--ranked {
  margin: 0;
  padding-left: 22px;
}

.article-side-list--ranked li::marker {
  color: var(--accent);
  font-weight: 900;
}

.article-side-ad {
  overflow: hidden;
  padding: 0;
}

.article-side-ad img {
  display: block;
  width: 100%;
  height: auto;
}

.article-google-ad {
  display: grid;
  min-height: 250px;
  place-items: center;
  background: var(--surface);
  color: var(--muted);
  padding: 18px;
  text-align: center;
}

.article-google-ad strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #b7c2d0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: #d7e0ea;
  font-size: 14px;
  font-weight: 700;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9daabb;
  font-size: 13px;
  padding-top: 18px;
}

@media (max-width: 900px) {
  .header-top__inner,
  .home-grid,
  .compare-hero__inner,
  .article-layout,
  .release-shell,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .picker-panel {
    position: static;
  }

  .article-sidebar {
    position: static;
  }

  .compare-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
  }

  .compare-slot {
    border-left: 0;
    background: #fff;
  }

  .compare-slot__vs {
    display: none;
  }

  .ad-banner {
    min-height: 58px;
  }

  .home-grid {
    padding-top: 24px;
  }

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

  .top-stories-grid {
    grid-template-columns: 1fr;
  }

  .section-heading--wide {
    align-items: start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .header-top__inner {
    gap: 12px;
    min-height: auto;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .ad-banner {
    display: grid;
    gap: 4px;
    padding: 12px;
  }

  .smart-search {
    grid-template-columns: 22px 1fr;
  }

  .smart-search button {
    grid-column: 1 / -1;
  }

  .breaking-strip__inner {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  h1 {
    font-size: 34px;
  }

  .compare-hero {
    padding-top: 28px;
  }

  .compare-workbench {
    padding-top: 24px;
  }

  .compare-builder {
    padding: 14px;
  }

  .compare-slots {
    grid-template-columns: 1fr;
  }

  .compare-slot {
    min-height: 250px;
  }

  .compare-actions {
    justify-content: stretch;
  }

  .compare-button {
    width: 100%;
  }

  .latest-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .home-carousel__viewport {
    min-height: 380px;
  }

  .home-carousel__copy {
    bottom: 58px;
  }

  .home-carousel__controls {
    right: auto;
    left: 22px;
  }

  .segment-news-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
  }

  .segment-news-item h3 {
    font-size: 19px;
  }

  .latest-card img {
    width: 96px;
    height: 86px;
  }

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

  .news-river-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .news-river-item > strong {
    width: 34px;
    height: 34px;
  }
}
