.epo-page {
  --epo-blue: #0969da;
  --epo-blue-dark: #064b9b;
  --epo-blue-soft: #eaf4ff;
  --epo-green: #087a55;
  --epo-green-soft: #e9f8f2;
  --epo-amber: #9a5700;
  --epo-amber-soft: #fff6e5;
  --epo-red: #b42318;
  --epo-red-soft: #fff0ee;
  --epo-ink: #15253a;
  --epo-muted: #52647a;
  --epo-line: #d9e4ef;
}

.epo-page .article-lead strong {
  color: var(--epo-ink);
}

.epo-page .article-hero h1 {
  font-size: clamp(42px, 4.5vw, 58px);
  line-height: 1.02;
}

.epo-page [id] {
  scroll-margin-top: 150px;
}

.epo-page .article-hero {
  align-items: start;
}

.epo-author-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 18px 0 2px;
  color: var(--epo-muted);
  font-size: 14px;
}

.epo-author-line img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--epo-line);
}

.epo-author-line a {
  color: var(--epo-ink);
  font-weight: 850;
}

.epo-author-person {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.epo-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.epo-verified::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--epo-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--epo-green-soft);
}

.epo-hero-card {
  overflow: hidden;
}

.epo-hero-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1198 / 627;
  object-fit: cover;
}

.epo-hero-score {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: #fff;
}

.epo-score-ring {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  color: var(--epo-ink);
  background:
    radial-gradient(circle closest-side, #fff 73%, transparent 75% 99%),
    conic-gradient(var(--epo-blue) 87%, #dfeaf5 0);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 950;
}

.epo-hero-score strong {
  display: block;
  margin-bottom: 5px;
  color: var(--epo-ink);
  font-size: 18px;
}

.epo-hero-score p {
  margin: 0;
  color: var(--epo-muted);
  font-size: 14px;
}

.epo-affiliate-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin: 0 auto 26px;
  padding: 16px 18px;
  color: #354a62;
  background: #f7fbff;
  border: 1px solid #cfe3f7;
  border-radius: 16px;
  font-size: 14px;
}

.epo-affiliate-note svg {
  width: 22px;
  height: 22px;
  color: var(--epo-blue);
}

.epo-affiliate-note p {
  margin: 0;
}

.epo-affiliate-note a {
  color: var(--epo-blue-dark);
  font-weight: 800;
}

.epo-summary-grid,
.epo-fact-grid,
.epo-product-grid,
.epo-score-grid,
.epo-route-grid,
.epo-author-grid {
  display: grid;
  gap: 14px;
}

.epo-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.epo-summary-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--epo-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(26, 56, 94, .06);
}

.epo-summary-item span,
.epo-label {
  display: inline-flex;
  color: var(--epo-blue-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.epo-summary-item h2 {
  margin: 8px 0;
  color: var(--epo-ink);
  font-size: 20px;
}

.epo-summary-item p {
  margin: 0;
  color: var(--epo-muted);
}

.epo-verdict {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f8ff, #fff 68%);
  border: 1px solid #cfe3f7;
}

.epo-verdict::after {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 210px;
  height: 210px;
  content: "";
  background: radial-gradient(circle, rgba(9, 105, 218, .12), transparent 68%);
  pointer-events: none;
}

.epo-verdict-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 20px;
  align-items: start;
}

.epo-verdict-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.epo-verdict-list li {
  padding: 12px 14px;
  color: #3d536b;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--epo-line);
  border-radius: 13px;
}

.epo-verdict-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--epo-ink);
}

.epo-cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.epo-microcopy {
  flex-basis: 100%;
  margin: 0;
  color: var(--epo-muted);
  font-size: 12px;
}

.epo-fact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.epo-fact {
  padding: 17px;
  background: #f8fbfe;
  border: 1px solid var(--epo-line);
  border-radius: 15px;
}

.epo-fact dt {
  margin-bottom: 5px;
  color: var(--epo-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.epo-fact dd {
  margin: 0;
  color: var(--epo-ink);
  font-weight: 820;
}

.epo-fact small {
  display: block;
  margin-top: 6px;
  color: var(--epo-muted);
  font-weight: 500;
}

.epo-source-tag {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 7px;
  color: var(--epo-blue-dark);
  background: var(--epo-blue-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.epo-source-tag:hover {
  text-decoration: underline;
}

.epo-score-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.epo-score-row {
  padding: 17px;
  background: #fff;
  border: 1px solid var(--epo-line);
  border-radius: 15px;
}

.epo-score-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  color: var(--epo-ink);
  font-weight: 850;
}

.epo-score-heading span:last-child {
  color: var(--epo-blue-dark);
}

.epo-meter {
  overflow: hidden;
  height: 8px;
  background: #e8eff6;
  border-radius: 99px;
}

.epo-meter span {
  display: block;
  width: var(--epo-value);
  height: 100%;
  background: linear-gradient(90deg, var(--epo-blue), #28a4f3);
  border-radius: inherit;
}

.epo-score-row p {
  margin: 9px 0 0;
  color: var(--epo-muted);
  font-size: 14px;
}

.epo-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--epo-line);
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}

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

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

.epo-table th {
  color: var(--epo-ink);
  background: #f3f8fd;
  font-size: 13px;
}

.epo-table td {
  color: #40546b;
}

.epo-table tr:last-child td {
  border-bottom: 0;
}

.epo-table strong {
  color: var(--epo-ink);
}

.epo-ranking-callout,
.epo-data-callout,
.epo-warning,
.epo-update-box {
  margin: 20px 0;
  padding: 20px;
  border-radius: 16px;
}

.epo-ranking-callout {
  background: var(--epo-blue-soft);
  border-left: 5px solid var(--epo-blue);
}

.epo-data-callout {
  background: var(--epo-green-soft);
  border-left: 5px solid var(--epo-green);
}

.epo-warning {
  background: var(--epo-amber-soft);
  border-left: 5px solid var(--epo-amber);
}

.epo-update-box {
  background: #f8fafc;
  border: 1px solid var(--epo-line);
}

.epo-ranking-callout h3,
.epo-data-callout h3,
.epo-warning h3,
.epo-update-box h3 {
  margin-top: 0;
}

.epo-ranking-callout p:last-child,
.epo-data-callout p:last-child,
.epo-warning p:last-child,
.epo-update-box p:last-child {
  margin-bottom: 0;
}

.epo-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.epo-product {
  display: flex;
  flex-direction: column;
  padding: 19px;
  background: #fff;
  border: 1px solid var(--epo-line);
  border-radius: 17px;
  box-shadow: 0 7px 22px rgba(26, 56, 94, .05);
}

.epo-product h3 {
  margin: 7px 0 8px;
}

.epo-product p {
  flex: 1;
  margin: 0 0 14px;
  color: var(--epo-muted);
}

.epo-product a:not(.button) {
  color: var(--epo-blue-dark);
  font-weight: 850;
}

.epo-tool {
  overflow: hidden;
  padding: 0;
  border: 1px solid #bcd9f5;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(21, 70, 125, .10);
}

.epo-tool-head {
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #075fbf, #0f8bd8);
}

.epo-tool-head .epo-label {
  color: #fff;
  opacity: .85;
}

.epo-tool-head h2 {
  margin: 7px 0 10px;
  color: #fff;
}

.epo-tool-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
}

.epo-tool-body {
  padding: 24px;
  background: #fff;
}

.epo-tool-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.epo-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--epo-ink);
  font-size: 14px;
  font-weight: 850;
}

.epo-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 42px 10px 13px;
  color: var(--epo-ink);
  background: #fff;
  border: 1px solid #b7c8d9;
  border-radius: 12px;
  font: inherit;
}

.epo-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.epo-checks legend {
  grid-column: 1 / -1;
  margin-bottom: 6px;
  color: var(--epo-ink);
  font-weight: 900;
}

.epo-check {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  padding: 14px;
  cursor: pointer;
  background: #f8fbfe;
  border: 1px solid var(--epo-line);
  border-radius: 13px;
}

.epo-check:has(input:checked) {
  background: var(--epo-green-soft);
  border-color: #91d1bb;
}

.epo-check input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--epo-green);
}

.epo-check strong {
  display: block;
  color: var(--epo-ink);
  font-size: 14px;
}

.epo-check small {
  display: block;
  margin-top: 3px;
  color: var(--epo-muted);
  line-height: 1.45;
}

.epo-tool-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 20px;
  background: #f3f8fd;
  border: 1px solid #cfe0f1;
  border-radius: 16px;
}

.epo-tool-number {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  color: var(--epo-blue-dark);
  background: #fff;
  border: 8px solid #d9eafb;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 950;
}

.epo-tool-result h3 {
  margin: 0 0 5px;
}

.epo-tool-result p {
  margin: 0;
  color: var(--epo-muted);
}

.epo-progress {
  overflow: hidden;
  height: 9px;
  margin-top: 12px;
  background: #dce8f4;
  border-radius: 99px;
}

.epo-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--epo-blue), #17a673);
  border-radius: inherit;
  transition: width .2s ease;
}

.epo-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.epo-button-quiet {
  min-height: 42px;
  padding: 9px 15px;
  color: var(--epo-blue-dark);
  cursor: pointer;
  background: #fff;
  border: 1px solid #a9c4de;
  border-radius: 10px;
  font: inherit;
  font-weight: 850;
}

.epo-button-quiet:hover {
  background: #f2f7fc;
}

.epo-tool-privacy {
  margin: 14px 0 0;
  color: var(--epo-muted);
  font-size: 12px;
}

.epo-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.epo-route {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--epo-line);
  border-radius: 16px;
}

.epo-route.is-best {
  background: var(--epo-blue-soft);
  border-color: #9ec9ef;
}

.epo-route h3 {
  margin: 6px 0 8px;
}

.epo-route ul {
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--epo-muted);
}

.epo-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.epo-contact-list li {
  padding: 16px;
  color: var(--epo-muted);
  background: #f8fbfe;
  border: 1px solid var(--epo-line);
  border-radius: 14px;
}

.epo-contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--epo-ink);
}

.epo-contact-list a {
  color: var(--epo-blue-dark);
  font-weight: 800;
}

.epo-review-note {
  padding: 18px;
  color: #40546b;
  background: #f8fafc;
  border: 1px solid var(--epo-line);
  border-radius: 15px;
}

.epo-review-note strong {
  color: var(--epo-ink);
}

.epo-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.epo-pros,
.epo-cons {
  padding: 22px;
  border-radius: 18px;
}

.epo-pros {
  background: var(--epo-green-soft);
  border: 1px solid #b9e2d3;
}

.epo-cons {
  background: var(--epo-red-soft);
  border: 1px solid #f0c7c3;
}

.epo-pros h2,
.epo-cons h2 {
  margin-top: 0;
}

.epo-pros li::marker {
  color: var(--epo-green);
}

.epo-cons li::marker {
  color: var(--epo-red);
}

.epo-steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.epo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--epo-line);
  border-radius: 15px;
}

.epo-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--epo-blue);
  border-radius: 50%;
  font-weight: 950;
}

.epo-step h3 {
  margin: 2px 0 5px;
  font-size: 17px;
}

.epo-step p {
  margin: 0;
  color: var(--epo-muted);
}

.epo-method-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.epo-method-list li {
  padding: 14px;
  color: var(--epo-muted);
  background: #f8fafc;
  border: 1px solid var(--epo-line);
  border-radius: 13px;
}

.epo-method-list strong {
  color: var(--epo-ink);
}

.epo-source-list {
  padding-left: 22px;
}

.epo-source-list li {
  margin-bottom: 10px;
  color: var(--epo-muted);
}

.epo-source-list a {
  color: var(--epo-blue-dark);
  font-weight: 800;
}

.epo-author-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.epo-author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  background: #f8fbfe;
  border: 1px solid var(--epo-line);
  border-radius: 16px;
}

.epo-author-card img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
}

.epo-author-card h3 {
  margin: 3px 0 5px;
}

.epo-author-card p {
  margin: 0;
  color: var(--epo-muted);
  font-size: 14px;
}

.epo-final-cta {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #064c9d, #0a86d6);
  border-radius: 22px;
}

.epo-final-cta h2 {
  margin-top: 0;
  color: #fff;
}

.epo-final-cta p {
  color: rgba(255, 255, 255, .9);
}

.epo-final-cta .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
}

.epo-final-cta .epo-microcopy {
  color: rgba(255, 255, 255, .78);
}

.epo-mobile-bar {
  display: none;
}

.epo-page :focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .epo-summary-grid,
  .epo-route-grid {
    grid-template-columns: 1fr;
  }

  .epo-verdict-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .epo-page {
    padding-bottom: 74px;
  }

  .epo-author-line,
  .epo-affiliate-note,
  .epo-hero-score,
  .epo-tool-result {
    grid-template-columns: 1fr;
  }

  .epo-author-line {
    align-items: flex-start;
  }

  .epo-hero-score {
    justify-items: start;
  }

  .epo-fact-grid,
  .epo-score-grid,
  .epo-product-grid,
  .epo-checks,
  .epo-contact-list,
  .epo-pros-cons,
  .epo-author-grid {
    grid-template-columns: 1fr;
  }

  .epo-tool-select {
    grid-template-columns: 1fr;
  }

  .epo-tool-head,
  .epo-tool-body {
    padding: 20px;
  }

  .epo-mobile-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--epo-line);
    box-shadow: 0 -8px 24px rgba(18, 45, 78, .12);
    backdrop-filter: blur(12px);
  }

  .epo-mobile-bar span {
    color: var(--epo-ink);
    font-size: 13px;
    font-weight: 850;
  }

  .epo-mobile-bar .button {
    min-height: 43px;
    padding: 9px 14px;
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .epo-mobile-bar span {
    display: none;
  }

  .epo-mobile-bar .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .epo-progress span {
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-sidebar,
  .epo-mobile-bar,
  .epo-affiliate-note,
  .article-actions,
  .epo-tool-actions,
  .related-articles {
    display: none !important;
  }

  .article-layout,
  .epo-tool-result {
    display: block !important;
  }

  .epo-tool,
  .article-card-box {
    break-inside: avoid;
    box-shadow: none !important;
  }
}
