@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #ffffff;
  --paper: #eeeeee;
  --neutral: #9e9fa1;
  --accent: #f9e000;
  --gold: #b79c29;
  --muted: #5e5e60;
  --ink: #333333;
  --dark: #292929;
  --line: #dedee0;
  --font: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  --display: var(--font);
  --content-max-width: 1440px;
  --content-gutter-mobile: 15px;
  --content-gutter-tablet: 30px;
  --content-gutter-desktop: 60px;
  --content-gutter: var(--content-gutter-mobile);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.6}
.layout-section { width: 100%; }
main > .layout-section { padding-block: 90px; }
@media (max-width: 768px) {
  main > .layout-section { padding-block: 50px 30px; }
}
.wrap {
  width: calc(100% - 2 * var(--content-gutter));
  max-width: var(--content-max-width);
  margin-inline: auto;
}
@media (min-width: 768px) {
  :root { --content-gutter: var(--content-gutter-tablet); }
}
@media (min-width: 1180px) {
  :root { --content-gutter: var(--content-gutter-desktop); }
}
.mini-label{font:600 12px var(--display);letter-spacing:.14em;color:var(--accent)}
.price-section{background:var(--paper)}
.section-head{display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin-bottom:35px}
.section-head h1,.section-head h2,.method-section h2{font:600 clamp(34px,4.5vw,54px)/1.05 var(--display);letter-spacing:-.045em;margin:0}
.section-head p{max-width:690px;color:var(--muted);margin:13px 0 0}
.legend{font-size:13px;white-space:nowrap;color:var(--muted)}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.filter-btn{font:500 14px var(--font);border:1px solid var(--line);background:var(--white);padding:9px 15px;border-radius:4px;cursor:pointer;color:var(--ink)}
.table-shell{border:1px solid var(--line);border-radius:6px;overflow:auto}
table{width:100%;border-collapse:collapse;min-width:760px}
th{font:600 12px var(--display);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--paper);padding:14px 18px;text-align:left;border-bottom:2px solid var(--accent)}
td{padding:16px 18px;border-bottom:1px solid var(--line);font-size:15px}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fffce0}
.model-name{font-weight:700}
.provider{display:inline-flex;align-items:center;gap:8px}
.provider-dot{width:8px;height:8px;border-radius:2px}
.num{text-align:right;font-variant-numeric:tabular-nums}
.cost{font-weight:700;color:var(--accent)}
.table-note{font-size:12px;color:var(--muted);margin:12px 0 0}
.ranking-section { background: var(--paper); }
main > .ranking-section { padding-block-start: 0; }
.ranking-meta { justify-content: flex-end; margin-block-end: 12px; }
.ranking-meta:not([hidden]) { display: flex; }
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--prose-space);
  margin: 0 0 var(--prose-space);
}
.podium-card, .chart-card {
  padding: 30px;
  background: var(--white);
  overflow-wrap: anywhere;
}
.podium-card {
  display: grid;
  align-content: start;
  gap: var(--prose-space);
}
.podium-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
}
.rank-no {
  font: 700 14px/1.6 var(--font);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.score-orb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  font: 700 22px/1.25 var(--display);
}
.podium-card h3, .card-head h3, .method-list h3 { margin: 0; font: 700 24px/1.25 var(--display); }
.podium-card p { margin: 8px 0 0; color: var(--muted); }
.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-bottom: 1px solid var(--line);
  margin-block-end: var(--prose-space);
  padding-block-end: 12px;
}
.card-head span { font-size: 14px; color: var(--muted); }
.rank-row, .rank-axis {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 16px;
}
.rank-row { padding-block: 9px; }
.rank-scale {
  display: flex;
  grid-column: 2;
  justify-content: space-between;
  margin-block-end: 8px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.rank-row:first-child { padding-block-start: 0; }
.rank-row:last-child { padding-block-end: 0; }
.rank-label b, .rank-label span { display: block; }
.rank-label b { font-size: 16px; }
.rank-label span { font-size: 14px; color: var(--muted); }
.bar-track { height: 14px; background: var(--paper); overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); transform-origin: left; animation: grow .8s ease-out both; }
.rank-value { font: 700 16px var(--display); font-variant-numeric: tabular-nums; text-align: right; }
@keyframes grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.ranking-sources { background: var(--white); }
.ranking-sources .source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--prose-space); }
.ranking-sources .source-grid a { background: var(--paper); }
.ranking-metric, #rankingStatus { color: var(--muted); font-size: 14px; }
.ranking-metric, .card-head .prose-flow p { margin: 0; }
@media (max-width: 767px) {
  .podium { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
  .rank-row, .rank-axis { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 2rem; gap: 8px; }
  .ranking-sources .source-grid { grid-template-columns: minmax(0, 1fr); }
}
.sources h2{font:600 24px var(--display)}
.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.source-grid a{border:1px solid var(--line);border-radius:4px;padding:17px;text-decoration:none;color:var(--ink);display:flex;justify-content:space-between}
.source-grid a:hover{border-color:var(--accent);color:var(--accent)}
.source-grid span{color:var(--muted);font-size:13px}
.source-grid b{font-size:13px}
.sources .wrap>p{font-size:12px;color:var(--muted);max-width:900px;margin-top:18px}
footer{background:var(--ink);color:#bbb;padding:24px 0;font-size:12px}
footer .wrap{display:flex;align-items:center;gap:30px}
footer .wrap span:first-of-type{margin-right:auto}
footer img{width:122px;height:auto}

@media(max-width:900px){
.source-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:680px){

.section-head{align-items:flex-start;flex-direction:column;gap:18px}
.source-grid{grid-template-columns:1fr}
footer .wrap{flex-direction:column;align-items:flex-start;gap:7px}
footer .wrap span:first-of-type{margin-right:0}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
.bar-fill{animation:none}
}

.price-table {
  background: var(--white);
}

.price-table thead th,
.abo-table thead th {
  padding: 10px 12px;
  background: var(--white);
  font-variant-numeric: normal;
  overflow-wrap: anywhere;
}

.price-table .price-label {
  display: none;
}

@media (max-width: 820px) {
  .table-shell {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .price-table,
  .price-table tbody {
    display: block;
    min-width: 0;
  }

  .price-table {
    background: transparent;
  }

  /* Keep the column headers available to assistive technology. */
  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .price-table tbody {
    display: grid;
    gap: 12px;
  }

  .price-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
  }

  .price-table tbody td {
    min-width: 0;
    padding: 8px 0 4px;
    border: 0;
    overflow-wrap: anywhere;
  }

  .price-table .price-model,
  .price-table .price-provider {
    grid-column: 1 / -1;
    padding: 0;
  }

  .price-table .price-model {
    font-size: 16px;
  }

  .price-table .price-provider {
    margin: 3px 0 6px;
    color: var(--muted);
  }

  .price-table .num {
    text-align: left;
    border-top: 1px solid var(--line);
  }

  .price-table .num:nth-child(even) {
    padding-left: 12px;
  }

  .price-table .price-label {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
  }

}

/* ReDiKo branding and responsive layout. */

.source-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.mini-label {
  font: 700 14px/1.6 var(--font);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-head h1,
.section-head h2,
.method-section h2,
.cost-sources h2,
.ranking-sources h2 {
  font: 700 clamp(28px, 4.5vw, 40px)/1.2 var(--display);
  letter-spacing: normal;
}
.section-head p {
  color: var(--ink);
}
.filter-btn {
  font-weight: 700;
  min-height: 42px;
  border-color: var(--neutral);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.filter-btn:not(.active):hover {
  border-color: var(--gold);
  color: var(--dark);
}
th {
  font-size: 13px;
  color: var(--ink);
}
td {
  font-size: 16px;
}
.cost {
  color: var(--ink);
}
.table-note {
  font-size: 13px;
}
.price-table .price-label {
  font-size: 14px;
}

.source-grid a {
  flex-wrap: wrap;
  gap: 4px 12px;
}
.sources .wrap > p {
  font-size: 13px;
}
footer {
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}
.footer-brand img {
  display: block;
  width: 126px;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.price-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--prose-space);
  margin-block-end: 80px;
}
.token-examples { background: var(--white); padding: 30px; }
.token-examples h3 { font: 700 24px/1.25 var(--display); }
.token-example-table {
  min-width: 0;
  table-layout: fixed;
  margin-block-end: var(--prose-space);
}
.token-example-table :is(th, td) {
  padding: 10px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  vertical-align: middle;
}
.token-example-table th:first-child { padding-inline-end: 12px; }
.token-example-table th:last-child { width: 5rem; }
.token-example-table tbody th {
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.token-example-table tbody tr:last-child > * { border-bottom: 0; }
.token-example-table td { font-size: 22px; font-weight: 700; }
.token-example-table small { display: block; color: var(--muted); }
.token-example-note { font-size: 13px; color: var(--muted); }

@media (max-width: 767px) {
  .price-intro {
    grid-template-columns: minmax(0, 1fr);
    margin-block-end: 40px;
  }
}

.price-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-block-end: 18px;
}

.price-meta {
  max-width: 100%;
  margin-inline-start: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 12px;
  flex-shrink: 0;
}

.date-chip {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.date-chip time {
  color: var(--ink);
  white-space: nowrap;
}

.abo-section { background: var(--paper); }
.abo-section .section-head p { max-width: 830px; }
.abo-section .table-note { margin: 15px 0 0; }
.abo-status { font-size: 14px; margin: 8px 0 0; color: var(--muted); }
.abo-status:empty { margin: 0; }
.abo-shell, .price-shell { border: 0; border-radius: 0; }
.abo-table, .price-table { border-radius: 0; }
.abo-table { table-layout: fixed; min-width: 0; background: var(--white); }
.abo-table tbody :is(th, td) { padding: 10px 12px; overflow-wrap: anywhere; }
.abo-table thead th:nth-child(1) { width: 16%; }
.abo-table thead th:nth-child(2) { width: 14%; }
.abo-table thead th:nth-child(3) { width: 24%; }
.abo-table thead th:nth-child(4) { width: 30%; }
.abo-table thead th:nth-child(5) { width: 16%; }
.abo-table td, .abo-table tbody th { vertical-align: top; }
.abo-table tbody th { text-transform: none; letter-spacing: normal; font: 700 16px/1.45 var(--font); background: var(--white); border-bottom: 1px solid var(--line); }
.abo-table tbody tr:last-child > :is(th, td) { border-bottom: 0; }
.abo-table tbody tr:hover { background: var(--white); }
.abo-table a { color: var(--ink); text-underline-offset: 3px; }
.abo-table a:hover { text-decoration-thickness: 2px; }
.abo-table small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.abo-table .abo-label { display: none; }
.abo-table .abo-plan-name { font-size: 14px; line-height: 1.35; }
.abo-table .abo-price { font-size: 18px; line-height: 1.45; }
.abo-table .abo-unit { font-size: 13px; }
.abo-table .abo-changed { display: inline-block; border-left: 3px solid var(--accent); padding-left: 5px; color: var(--ink); }
.token-explainer { background: var(--white); }
.token-explainer .section-head p { max-width: 820px; }
.token-explainer .wrap > p { max-width: 820px; }
.token-terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
}
.token-terms > div { background: var(--paper); padding: 30px; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .token-terms > div {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}
.token-terms dt { font: 700 24px/1.25 var(--display); }
.token-terms dd { margin-inline: 0; }
.token-icon {
  display: block;
  box-sizing: content-box;
  padding: 15px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
}
@media (max-width: 767px) {
  .token-terms {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
  }
}
.abo-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.abo-section a:focus-visible { outline-color: var(--ink); }

@media (max-width: 940px) {
  .abo-shell { overflow: visible; }
  .abo-table { background: transparent; }
  .abo-table, .abo-table tbody { display: block; }
  .abo-table thead {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .abo-table tbody { display: grid; gap: 12px; }
  .abo-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); background: var(--white); }
  .abo-table tbody th:first-child, .abo-table tbody td:last-child { grid-column: 1 / -1; width: auto; }
  .abo-table tbody td, .abo-table tbody th { min-width: 0; }
  .abo-table .abo-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
  .abo-table th .abo-label { display: none; }
}

@media (max-width: 600px) {
  .abo-table tbody tr { grid-template-columns: minmax(0,1fr); }
}

/* Regular text flow. Compact notes and controls keep their own spacing. */
.prose-flow { --prose-space: 30px; }
.prose-flow > :is(h1, h2, h3, dt, dd, .section-head, .token-terms, :where(p:not(.table-note, .abo-status, .source-note))) {
  margin-block: 0 var(--prose-space);
}
.prose-flow > :last-child { margin-block-end: 0; }

.calculator-section { background: var(--white); }
.cost-sources { background: var(--paper); }
.cost-sources .source-grid a { background: var(--white); }
.calculator-section .mini-label {
  display: block;
  margin-bottom: 8px;
}
.calculator-modes,
.calculator-fields {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}
.calculator-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: var(--prose-space);
}
.calculator-modes label { position: relative; }
.calculator-modes input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.calculator-modes span {
  display: block;
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.calculator-modes input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
}
.calculator-modes input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.calculator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--prose-space);
  align-items: start;
}
.calculator-fields { display: grid; gap: 16px; }
.calculator-fields[disabled] { display: none; }
.calculator-fields label,
.calculator-model-label { font-weight: 700; }
.calculator-model-label {
  display: block;
  margin-block-end: 6px;
}
.calculator-without-model .calculator-model-label { visibility: hidden; }
.calculator-without-model #modelSelect { display: none; }
.calculator-fields :is(select, input) {
  display: block;
  width: 100%;
  min-width: 0;
  min-block-size: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--white);
  box-shadow: none;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
}
.calculator-fields label :is(select, input) { margin-block-start: 6px; }
.calculator-fields select {
  appearance: none;
  padding-inline-end: 34px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23333333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.calculator-fields :is(select, input):focus {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}
@media (forced-colors: active) {
  .calculator-fields select { appearance: auto; background-image: none; }
}
.calculator-fields input[aria-invalid="true"] { border-color: var(--ink); }
.calculator-help, .calculator-note { font-size: 14px; color: var(--muted); }
.calculator-help { margin: 0; }
.calculator-section .calculator-note { margin-block-start: var(--prose-space); }
.calculator-result {
  padding: 30px;
  background: var(--paper);
  color: var(--ink);
  overflow-wrap: anywhere;
}
.calculator-result h3 { margin: 0 0 12px; font: 700 24px/1.25 var(--display); }
.calculator-result output { display: block; font: 700 clamp(34px, 5vw, 52px)/1.2 var(--display); }
.calculator-breakdown {
  border-top: 2px solid var(--accent);
  margin: 20px 0 0;
  padding-top: 16px;
}
.calculator-breakdown > div:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 16px;
}
.calculator-breakdown dd { margin: 0; font-weight: 700; }

@media (min-width: 768px) {
  .calculator-section .calculator-note {
    max-inline-size: calc((100% - var(--prose-space)) / 2);
  }
}

@media (max-width: 767px) {
  .calculator { grid-template-columns: minmax(0, 1fr); }

  /* In the stacked layout the largest panel sets the height of the form. */
  .calculator > .calculator-fields > fieldset,
  #practiceFields > fieldset { grid-area: 2 / 1; }
  .calculator-fields fieldset[disabled] {
    display: grid;
    visibility: hidden;
  }
  .calculator-without-model #modelSelect {
    display: block;
    visibility: hidden;
  }
}

.ranking-sources .source-grid + p { margin-block-start: var(--prose-space); font-size: inherit; }
.podium[hidden] { display: none; }
