/* /Pages/Articles/AiApiPricing.cshtml.rz.scp.css */
.banner[b-1lgeqa7oda] {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 20% 0%, rgba(245, 165, 36, 0.16), transparent 60%);
}

.back[b-1lgeqa7oda] {
  display: inline-block;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 0.925rem;
  text-decoration: none;
}

.back:hover[b-1lgeqa7oda] {
  color: var(--accent);
}

.meta[b-1lgeqa7oda] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.topic[b-1lgeqa7oda] {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.banner h1[b-1lgeqa7oda] {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  max-width: 20ch;
}

.lead[b-1lgeqa7oda] {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #e3d7ca;
  max-width: 42rem;
  margin: 0;
}

.body[b-1lgeqa7oda] {
  /* Bar colours shared with the cost chart, validated for colour-blind separation and contrast on --surface */
  --input: #3987e5;
  --output: #c98500;
  --grid: rgba(255, 236, 214, 0.07);
  padding-top: 3.5rem;
  padding-bottom: 6rem;
}

.prose[b-1lgeqa7oda] {
  max-width: 46rem;
}

.glance[b-1lgeqa7oda] {
  margin-bottom: 4rem;
}

.glance h2[b-1lgeqa7oda] {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.glance-intro[b-1lgeqa7oda] {
  color: var(--muted);
  max-width: 46rem;
}

.glance-intro strong[b-1lgeqa7oda] {
  color: var(--text);
}

/* The cheap input card and the frontier card side by side, stacked on narrow screens */
.glance-grid[b-1lgeqa7oda] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem;
}

@media (max-width: 760px) {
  .glance-grid[b-1lgeqa7oda] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rank-card[b-1lgeqa7oda] {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.rank-card h3[b-1lgeqa7oda] {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.rank-card ol[b-1lgeqa7oda] {
  list-style: none;
  counter-reset: rank;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.rank-card li[b-1lgeqa7oda] {
  counter-increment: rank;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 2.25rem;
  position: relative;
}

.rank-card li[b-1lgeqa7oda]::before {
  content: counter(rank);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.rank-name[b-1lgeqa7oda] {
  font-weight: 500;
  min-width: 0;
}

.rank-name .provider[b-1lgeqa7oda] {
  margin-left: 0.35rem;
  vertical-align: 1px;
}

.card-intro[b-1lgeqa7oda] {
  margin: -0.5rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-intro .swatch[b-1lgeqa7oda] {
  display: inline-block;
  margin-right: 0.3rem;
  vertical-align: 0.05em;
}

/* Cheap input card: one row per price band, listing every model in it */
.rank-card li.tier[b-1lgeqa7oda] {
  display: block;
  padding-left: 2.25rem;
}

.rank-card li.tier[b-1lgeqa7oda]::before {
  top: 0;
  transform: none;
}

.tier + .tier[b-1lgeqa7oda] {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.tier-price[b-1lgeqa7oda] {
  line-height: 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.tier-price strong[b-1lgeqa7oda] {
  color: var(--text);
  font-size: 1.05rem;
}

.tier-models[b-1lgeqa7oda] {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

/* A model in a glance card: name and prices on the first line, its price bars under them */
.rank-card .tier-models li[b-1lgeqa7oda] {
  counter-increment: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.3rem 1rem;
  padding-left: 0;
}

.rank-card .tier-models li[b-1lgeqa7oda]::before {
  content: none;
}

.tier-out[b-1lgeqa7oda] {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* The frontier card is one plain list, with a divider between models */
.rank-card .frontier[b-1lgeqa7oda] {
  margin: 0;
  gap: 0;
}

.rank-card .frontier li[b-1lgeqa7oda] {
  padding: 0.6rem 0;
}

/* The bars are the same length as the price table's chart column */
.bars-row[b-1lgeqa7oda] {
  grid-column: 1 / -1;
}

.bars-row .price-bars[b-1lgeqa7oda] {
  width: min(100%, 14rem);
  margin-top: 0.15rem;
}

.rank-card .frontier li + li[b-1lgeqa7oda] {
  border-top: 1px solid var(--border);
}

/* Each row's sort price stands out */
.tier-out strong[b-1lgeqa7oda] {
  color: var(--text);
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  /* Each model's prices go under its name, leaving the name the full width */
  .rank-card .tier-models li[b-1lgeqa7oda] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }
}

.commentary h3[b-1lgeqa7oda] {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.prose h2[b-1lgeqa7oda],
.pricing h2[b-1lgeqa7oda] {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.prose p[b-1lgeqa7oda] {
  color: var(--muted);
}

.prose strong[b-1lgeqa7oda] {
  color: var(--text);
}

.terms[b-1lgeqa7oda] {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.terms div[b-1lgeqa7oda] {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.terms dt[b-1lgeqa7oda] {
  font-weight: 600;
  color: var(--accent);
}

.terms dd[b-1lgeqa7oda] {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing[b-1lgeqa7oda] {
  margin-top: 4rem;
}

.cost-section[b-1lgeqa7oda] {
  margin-top: 4rem;
}

.cost-section h2[b-1lgeqa7oda] {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.cost-intro[b-1lgeqa7oda] {
  color: var(--muted);
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.pricing-head[b-1lgeqa7oda] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pricing-head h2[b-1lgeqa7oda] {
  margin: 0;
}

.filters[b-1lgeqa7oda] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filters button[b-1lgeqa7oda] {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.filters button:hover[b-1lgeqa7oda] {
  color: var(--text);
}

.filters button.on[b-1lgeqa7oda] {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1206;
}

.table-wrap[b-1lgeqa7oda] {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

table[b-1lgeqa7oda] {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 940px;
}

th[b-1lgeqa7oda],
td[b-1lgeqa7oda] {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

tbody tr:last-child td[b-1lgeqa7oda] {
  border-bottom: 0;
}

tbody tr:hover[b-1lgeqa7oda] {
  background: rgba(255, 255, 255, 0.03);
}

th[b-1lgeqa7oda] {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

th button[b-1lgeqa7oda] {
  all: unset;
  cursor: pointer;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

th button:hover[b-1lgeqa7oda],
th[aria-sort='ascending'] button[b-1lgeqa7oda],
th[aria-sort='descending'] button[b-1lgeqa7oda] {
  color: var(--text);
}

th button:focus-visible[b-1lgeqa7oda] {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.arrow[b-1lgeqa7oda] {
  font-size: 0.7rem;
  opacity: 0.6;
}

.num[b-1lgeqa7oda] {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

th.num button[b-1lgeqa7oda] {
  flex-direction: row-reverse;
}

.model[b-1lgeqa7oda] {
  font-weight: 500;
}

.model-link[b-1lgeqa7oda] {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(245, 165, 36, 0.45);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.model-link:hover[b-1lgeqa7oda] {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Small arrow marking the link as going to another site */
.model-link[b-1lgeqa7oda]::after {
  content: '↗';
  margin-left: 0.2rem;
  font-size: 0.75em;
  color: var(--muted);
}

.model-note[b-1lgeqa7oda] {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--accent);
}

.out[b-1lgeqa7oda] {
  font-weight: 600;
  color: var(--text);
}

/* The price chart column: input over output, on one scale with a gridline at each tick */

.chart[b-1lgeqa7oda] {
  width: 14rem;
}

th.chart[b-1lgeqa7oda] {
  vertical-align: bottom;
}

.chart-key[b-1lgeqa7oda] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.chart-key .swatch.output[b-1lgeqa7oda] {
  margin-left: 0.6rem;
}

.swatch[b-1lgeqa7oda] {
  width: 12px;
  height: 8px;
  border-radius: 0 2px 2px 0;
}

.swatch.input[b-1lgeqa7oda] {
  background: var(--input);
}

.swatch.output[b-1lgeqa7oda] {
  background: var(--output);
}

.chart-ticks[b-1lgeqa7oda] {
  position: relative;
  display: block;
  height: 1rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.chart-ticks span[b-1lgeqa7oda] {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-variant-numeric: tabular-nums;
}

.chart-ticks span:first-child[b-1lgeqa7oda] {
  transform: none;
}

.chart-ticks span:last-child[b-1lgeqa7oda] {
  transform: translateX(-100%);
}

.price-bars[b-1lgeqa7oda] {
  display: grid;
  gap: 2px;
  padding: 0.3rem 0;
  background: var(--chart-grid);
}

/* Rounded at the data end, square at zero */
.bar[b-1lgeqa7oda] {
  height: 8px;
  border-radius: 0 3px 3px 0;
}

.bar.input[b-1lgeqa7oda] {
  background: var(--input);
}

.bar.output[b-1lgeqa7oda] {
  background: var(--output);
}

.provider[b-1lgeqa7oda] {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  white-space: nowrap;
}

.disclaimer[b-1lgeqa7oda] {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 165, 36, 0.4);
  border-left-width: 4px;
  background: var(--accent-soft);
}

.disclaimer svg[b-1lgeqa7oda] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  color: var(--accent);
}

.disclaimer h3[b-1lgeqa7oda] {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  color: var(--accent);
}

.disclaimer p[b-1lgeqa7oda] {
  margin: 0;
  font-size: 0.95rem;
  color: #e3d7ca;
}

.disclaimer strong[b-1lgeqa7oda] {
  color: var(--text);
}

.note[b-1lgeqa7oda] {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 46rem;
}
/* /Pages/Articles/Index.cshtml.rz.scp.css */
.banner[b-19pztdphxe] {
  padding: 6rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 20% 0%, rgba(245, 165, 36, 0.16), transparent 60%);
}

.banner h1[b-19pztdphxe] {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  max-width: 18ch;
}

.lead[b-19pztdphxe] {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #e3d7ca;
  max-width: 40rem;
  margin: 0;
}

.list[b-19pztdphxe] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  padding-top: 3.5rem;
  padding-bottom: 6rem;
}

.article[b-19pztdphxe] {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.article:hover[b-19pztdphxe] {
  transform: translateY(-4px);
  border-color: rgba(245, 165, 36, 0.45);
}

.meta[b-19pztdphxe] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.topic[b-19pztdphxe] {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.article h2[b-19pztdphxe] {
  font-size: 1.4rem;
}

.article p[b-19pztdphxe] {
  color: var(--muted);
  flex: 1;
}

.more[b-19pztdphxe] {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
/* /Pages/Articles/_CostChart.cshtml.rz.scp.css */
.cost-chart[b-ladfqn7ryv] {
  /* Same colours as the price table's chart, validated for colour-blind separation and contrast on --surface */
  --input: #3987e5;
  --output: #c98500;
  --grid: rgba(255, 236, 214, 0.07);
  --zero: rgba(255, 236, 214, 0.35);
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

@media (max-width: 600px) {
  .cost-chart[b-ladfqn7ryv] {
    padding: 1.1rem;
  }
}

/* Controls */

.cost-controls[b-ladfqn7ryv] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  margin-bottom: 1.75rem;
}

.cost-controls[hidden][b-ladfqn7ryv] {
  display: none;
}

@media (max-width: 760px) {
  .cost-controls[b-ladfqn7ryv] {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

.slider[b-ladfqn7ryv] {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.4rem 0.75rem;
  font-size: 0.9rem;
}

.slider-label[b-ladfqn7ryv] {
  color: var(--muted);
}

.slider output[b-ladfqn7ryv] {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.slider input[b-ladfqn7ryv] {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.cost-reset[b-ladfqn7ryv] {
  grid-column: 1 / -1;
}

.cost-reset button[b-ladfqn7ryv] {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.cost-reset button:hover:not(:disabled)[b-ladfqn7ryv] {
  border-color: var(--accent);
  color: var(--accent);
}

/* Already at the defaults: nothing to reset */
.cost-reset button:disabled[b-ladfqn7ryv] {
  color: var(--muted);
  cursor: default;
  opacity: 0.6;
}

/* Group tabs and the legend share a row, the legend wrapping underneath when there's no room */

.cost-bar[b-ladfqn7ryv] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.cost-tabs[b-ladfqn7ryv] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cost-tabs[hidden][b-ladfqn7ryv] {
  display: none;
}

.cost-tabs button[b-ladfqn7ryv] {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.cost-tabs button:hover:not(:disabled)[b-ladfqn7ryv] {
  color: var(--text);
}

.cost-tabs button:focus-visible[b-ladfqn7ryv] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cost-tabs button[aria-selected='true'][b-ladfqn7ryv] {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1206;
}

/* No models in this group at the current settings */
.cost-tabs button:disabled[b-ladfqn7ryv] {
  cursor: default;
  opacity: 0.45;
}

.cost-tab-count[b-ladfqn7ryv] {
  margin-left: 0.2rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

/* Legend */

.legend[b-ladfqn7ryv] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.legend li[b-ladfqn7ryv] {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend .unit[b-ladfqn7ryv] {
  color: var(--muted);
}

.swatch[b-ladfqn7ryv] {
  width: 14px;
  height: 10px;
}

.swatch.input[b-ladfqn7ryv] {
  background: var(--input);
  border-radius: 3px 0 0 3px;
}

.swatch.output[b-ladfqn7ryv] {
  background: var(--output);
  border-radius: 0 3px 3px 0;
}

/* Axis and rows share one grid: name | the two halves | total */

.cost-axis[b-ladfqn7ryv],
.cost-row[b-ladfqn7ryv] {
  display: grid;
  grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr) 5.5rem;
  column-gap: 1rem;
  align-items: center;
  padding: 0 0.5rem;
}

.cost-axis[b-ladfqn7ryv] {
  font-size: 0.75rem;
  color: var(--muted);
  padding-bottom: 0.35rem;
}

.ticks[b-ladfqn7ryv] {
  position: relative;
  height: 1.1rem;
}

.ticks span[b-ladfqn7ryv] {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ticks .t0[b-ladfqn7ryv] {
  left: 0;
  transform: none;
}

.ticks .t25[b-ladfqn7ryv] {
  left: 25%;
}

.ticks .t50[b-ladfqn7ryv] {
  left: 50%;
}

.ticks .t75[b-ladfqn7ryv] {
  left: 75%;
}

.ticks .t100[b-ladfqn7ryv] {
  left: 100%;
  transform: translateX(-100%);
}

.axis-total[b-ladfqn7ryv] {
  text-align: right;
}

/* One block per cost group, each with its own heading, axis and scale */
.cost-group + .cost-group[b-ladfqn7ryv] {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.cost-group-head[b-ladfqn7ryv] {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.cost-group-count[b-ladfqn7ryv] {
  margin-left: 0.35rem;
  font-weight: 400;
  color: var(--muted);
}

/* As tabs, one group shows at a time and its tab names it */
.cost-chart[data-tabbed] .cost-group + .cost-group[b-ladfqn7ryv] {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.cost-chart[data-tabbed] .cost-group-head[b-ladfqn7ryv] {
  display: none;
}

.cost-rows[b-ladfqn7ryv] {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cost-row[b-ladfqn7ryv] {
  min-height: 2.25rem;
  border-radius: 8px;
  outline: none;
  transition: background-color 0.15s ease;
}

.cost-row:hover[b-ladfqn7ryv],
.cost-row.on[b-ladfqn7ryv] {
  background: rgba(255, 255, 255, 0.04);
}

.cost-row:focus-visible[b-ladfqn7ryv] {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.cost-name[b-ladfqn7ryv] {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

/* The halves sit either side of a 2px surface gap; the zero line runs through it, gridlines at the half marks */
.cost-plot[b-ladfqn7ryv] {
  align-self: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2px;
  align-items: center;
  background:
    linear-gradient(var(--zero), var(--zero)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--grid), var(--grid)) 25% 0 / 1px 100% no-repeat,
    linear-gradient(var(--grid), var(--grid)) 75% 0 / 1px 100% no-repeat;
}

.half[b-ladfqn7ryv] {
  display: flex;
  align-items: center;
}

.half.in[b-ladfqn7ryv] {
  justify-content: flex-end;
}

/* Thin bars: rounded at the data end, square at zero */
.bar[b-ladfqn7ryv] {
  height: 14px;
  transition: width 0.12s ease-out;
}

.bar.input[b-ladfqn7ryv] {
  background: var(--input);
  border-radius: 4px 0 0 4px;
}

.bar.output[b-ladfqn7ryv] {
  background: var(--output);
  border-radius: 0 4px 4px 0;
}

.cost-total[b-ladfqn7ryv] {
  text-align: right;
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Phones: name and total on one line, the bars full width underneath */
@media (max-width: 600px) {
  .cost-row[b-ladfqn7ryv] {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name total" "plot plot";
    padding-top: 0.35rem;
    padding-bottom: 0.45rem;
  }

  .cost-name[b-ladfqn7ryv] {
    grid-area: name;
    padding: 0;
  }

  .cost-total[b-ladfqn7ryv] {
    grid-area: total;
  }

  /* The name line breaks up the gridlines here, so keep only the zero line */
  .cost-plot[b-ladfqn7ryv] {
    grid-area: plot;
    min-height: 1.4rem;
    background: linear-gradient(var(--zero), var(--zero)) 50% 0 / 1px 100% no-repeat;
  }

  .cost-axis[b-ladfqn7ryv] {
    grid-template-columns: minmax(0, 1fr);
  }

  .axis-name[b-ladfqn7ryv],
  .axis-total[b-ladfqn7ryv] {
    display: none;
  }
}

/* Tooltip */

.cost-tip[b-ladfqn7ryv] {
  position: absolute;
  z-index: 2;
  min-width: 230px;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-size: 0.85rem;
  line-height: 1.4;
  pointer-events: none;
}

.tip-head strong[b-ladfqn7ryv] {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.tip-head[b-ladfqn7ryv] {
  color: var(--muted);
}

.tip-head strong[b-ladfqn7ryv] {
  color: var(--text);
}

.tip-model[b-ladfqn7ryv] {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.cost-tip dl[b-ladfqn7ryv] {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.cost-tip dl div[b-ladfqn7ryv] {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.cost-tip dt[b-ladfqn7ryv] {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}

.cost-tip dd[b-ladfqn7ryv] {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Line keys, not boxes, at tooltip size */
.key[b-ladfqn7ryv] {
  width: 12px;
  height: 2px;
  border-radius: 1px;
}

.key.input[b-ladfqn7ryv] {
  background: var(--input);
}

.key.output[b-ladfqn7ryv] {
  background: var(--output);
}

.tip-rates[b-ladfqn7ryv] {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.cost-caption[b-ladfqn7ryv] {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
/* /Pages/Contact.cshtml.rz.scp.css */
.contact[b-wztrl3ztq7] {
  padding: 6rem 0 7rem;
  background: radial-gradient(ellipse at 20% 0%, rgba(245, 165, 36, 0.16), transparent 60%);
}

@media (max-width: 520px) {
  .contact[b-wztrl3ztq7] {
    padding: 3.5rem 0 4.5rem;
  }
}

h1[b-wztrl3ztq7] {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  max-width: 18ch;
}

.lead[b-wztrl3ztq7] {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #e3d7ca;
  max-width: 40rem;
}

.layout[b-wztrl3ztq7] {
  max-width: 48rem;
  margin-top: 3rem;
}

.form-card[b-wztrl3ztq7] {
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--surface);
}

@media (max-width: 520px) {
  .layout[b-wztrl3ztq7] {
    margin-top: 2.25rem;
  }

  .form-card[b-wztrl3ztq7] {
    padding: 1.35rem;
  }
}

.form-title[b-wztrl3ztq7],
.sent-title[b-wztrl3ztq7] {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

/* <form> is a tag helper (it adds the antiforgery token), and tag helpers don't get this page's CSS scope */
.form-card[b-wztrl3ztq7]  form {
  display: grid;
  gap: 1.1rem;
}

.row[b-wztrl3ztq7] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 600px) {
  .row[b-wztrl3ztq7] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field[b-wztrl3ztq7] {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

label[b-wztrl3ztq7] {
  font-size: 0.9rem;
  font-weight: 500;
}

input[b-wztrl3ztq7],
select[b-wztrl3ztq7],
textarea[b-wztrl3ztq7] {
  width: 100%;
  font: inherit;
  font-size: 1rem; /* 16px or more stops iPhones zooming in on focus */
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(255, 236, 214, 0.16);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  color-scheme: dark;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea[b-wztrl3ztq7] {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}

textarea[b-wztrl3ztq7]::placeholder {
  color: rgba(184, 170, 155, 0.7);
}

select[b-wztrl3ztq7] {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8aa9b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
}

input:focus[b-wztrl3ztq7],
select:focus[b-wztrl3ztq7],
textarea:focus[b-wztrl3ztq7] {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

[aria-invalid='true'][b-wztrl3ztq7] {
  border-color: #ef6b5b;
}

.error[b-wztrl3ztq7] {
  margin: 0;
  font-size: 0.85rem;
  color: #f19284;
}

.form-error[b-wztrl3ztq7] {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(239, 107, 91, 0.45);
  background: rgba(239, 107, 91, 0.1);
  color: #f6c6be;
  font-size: 0.95rem;
}

.trap[b-wztrl3ztq7] {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.actions[b-wztrl3ztq7] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.25rem;
}

.actions .btn[b-wztrl3ztq7] {
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.actions .btn:disabled[b-wztrl3ztq7] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.privacy[b-wztrl3ztq7] {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 520px) {
  .actions .btn[b-wztrl3ztq7] {
    width: 100%;
    justify-content: center;
  }
}

.sent[b-wztrl3ztq7] {
  display: grid;
  justify-items: start;
  gap: 0.25rem;
}

.sent .icon[b-wztrl3ztq7] {
  margin-bottom: 0.75rem;
}

.sent-title[b-wztrl3ztq7] {
  margin-bottom: 0.25rem;
}

.sent p[b-wztrl3ztq7] {
  color: var(--muted);
}

.sent strong[b-wztrl3ztq7] {
  color: var(--text);
  overflow-wrap: anywhere;
}

.sent .btn[b-wztrl3ztq7] {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.icon[b-wztrl3ztq7] {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg[b-wztrl3ztq7] {
  width: 24px;
  height: 24px;
}

/* /Pages/Error.cshtml.rz.scp.css */
.status[b-2khsn5etk3] {
  padding: 6rem 0 7rem;
}

@media (max-width: 520px) {
  .status[b-2khsn5etk3] {
    padding: 3.5rem 0 4.5rem;
  }
}

h1[b-2khsn5etk3] {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
}

p[b-2khsn5etk3] {
  color: #e3d7ca;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.request-id[b-2khsn5etk3] {
  font-size: 0.9rem;
  color: var(--muted);
}
/* /Pages/Index.cshtml.rz.scp.css */
.hero[b-lzhz73q839] {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 5rem;
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.1) 0%, rgba(20, 16, 13, 0.55) 55%, var(--bg) 100%),
    url('/images/21-Big-idea_Medium.jpg') center 30% / cover no-repeat;
}

.hero-inner[b-lzhz73q839] {
  max-width: var(--max);
}

.hero h1[b-lzhz73q839] {
  font-size: clamp(2.6rem, 7vw, 5rem);
  max-width: 12ch;
}

.lead[b-lzhz73q839] {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #e3d7ca;
  max-width: 38rem;
}

.actions[b-lzhz73q839] {
  margin-top: 2rem;
}

.section[b-lzhz73q839] {
  padding-top: 5rem;
  padding-bottom: 1rem;
}

.section h2[b-lzhz73q839] {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  max-width: 22ch;
}

.cards[b-lzhz73q839] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card[b-lzhz73q839] {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover[b-lzhz73q839] {
  transform: translateY(-4px);
  border-color: rgba(245, 165, 36, 0.45);
}

.icon[b-lzhz73q839] {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* The svg comes from the _ServiceIcon partial, which has its own CSS scope */
.icon[b-lzhz73q839]  svg {
  width: 24px;
  height: 24px;
}

.card-body[b-lzhz73q839] {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3[b-lzhz73q839] {
  font-size: 1.2rem;
}

.card-body p[b-lzhz73q839] {
  color: var(--muted);
  flex: 1;
}

.more[b-lzhz73q839] {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.cta[b-lzhz73q839] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 5rem;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: radial-gradient(circle at 15% 0%, rgba(245, 165, 36, 0.18), transparent 55%), var(--surface);
}

.cta p[b-lzhz73q839] {
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

@media (max-width: 600px) {
  .cta[b-lzhz73q839] {
    padding: 1.75rem;
  }
}
/* /Pages/Privacy.cshtml.rz.scp.css */
.privacy[b-04tmreqj8m] {
  padding: 6rem 0 7rem;
}

@media (max-width: 520px) {
  .privacy[b-04tmreqj8m] {
    padding: 3.5rem 0 4.5rem;
  }
}

h1[b-04tmreqj8m] {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
}

p[b-04tmreqj8m] {
  color: #e3d7ca;
  max-width: 40rem;
}
/* /Pages/Services.cshtml.rz.scp.css */
.banner[b-lzmu41p29v] {
  padding: 6rem 0 3.5rem;
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.82) 0%, rgba(20, 16, 13, 0.9) 70%, var(--bg) 100%),
    url('/images/23-image-asset.jpeg') center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.banner h1[b-lzmu41p29v] {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  max-width: 16ch;
}

.lead[b-lzmu41p29v] {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #e3d7ca;
  max-width: 40rem;
}

.jump[b-lzmu41p29v] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.jump a[b-lzmu41p29v] {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.jump a:hover[b-lzmu41p29v] {
  border-color: rgba(245, 165, 36, 0.5);
  color: var(--accent);
}

.list[b-lzmu41p29v] {
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.service[b-lzmu41p29v] {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 64px;
}

.service:last-child[b-lzmu41p29v] {
  border-bottom: 0;
}

.icon[b-lzmu41p29v] {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* The svg comes from the _ServiceIcon partial, which has its own CSS scope */
.icon[b-lzmu41p29v]  svg {
  width: 26px;
  height: 26px;
}

.head h2[b-lzmu41p29v] {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.intro[b-lzmu41p29v] {
  font-size: 1.15rem;
  color: #e3d7ca;
  max-width: 24rem;
}

.detail p[b-lzmu41p29v] {
  color: var(--muted);
}

.points[b-lzmu41p29v] {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.points li[b-lzmu41p29v] {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.points li[b-lzmu41p29v]::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.3rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px rgba(245, 165, 36, 0.5);
}

@media (max-width: 800px) {
  .service[b-lzmu41p29v] {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2.5rem 0;
  }
}
/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
.shell[b-bun78ye0c3] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header[b-bun78ye0c3] {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 16, 13, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.bar[b-bun78ye0c3] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 64px;
}

.brand[b-bun78ye0c3] {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark[b-bun78ye0c3] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 3px rgba(245, 165, 36, 0.55);
}

.nav[b-bun78ye0c3] {
  display: flex;
  gap: 0.25rem;
}

.nav a[b-bun78ye0c3] {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

@media (max-width: 520px) {
  .nav[b-bun78ye0c3] {
    gap: 0;
  }

  .nav a[b-bun78ye0c3] {
    padding: 0.35rem 0.55rem;
    font-size: 0.925rem;
  }
}

/* Small phones: the CAIS logo already links home, so drop the Home link to make room */
@media (max-width: 420px) {
  .bar[b-bun78ye0c3] {
    padding: 0 1rem;
  }

  .nav .home[b-bun78ye0c3] {
    display: none;
  }

  .nav a[b-bun78ye0c3] {
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
  }
}

.nav a:hover[b-bun78ye0c3] {
  color: var(--text);
}

.nav a.active[b-bun78ye0c3] {
  color: var(--text);
  background: var(--surface-2);
}

.content[b-bun78ye0c3] {
  flex: 1;
}

.site-footer[b-bun78ye0c3] {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.foot[b-bun78ye0c3] {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.foot-links[b-bun78ye0c3] {
  display: flex;
  gap: 1.25rem;
}

.foot a[b-bun78ye0c3] {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover[b-bun78ye0c3] {
  color: var(--text);
}
/* /Pages/Status.cshtml.rz.scp.css */
.status[b-vidhnxzuv5] {
  padding: 6rem 0 7rem;
}

@media (max-width: 520px) {
  .status[b-vidhnxzuv5] {
    padding: 3.5rem 0 4.5rem;
  }
}

h1[b-vidhnxzuv5] {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
}

p[b-vidhnxzuv5] {
  color: #e3d7ca;
  max-width: 40rem;
  margin-bottom: 2rem;
}
