/* AI Human Evaluator - free cost comparison calculator. */

.ahe-main {
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(79, 125, 249, .18), transparent 62%),
    var(--navy, #050b1f);
  padding: 34px 0 0;
}

.ahe-wrap {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.ahe-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--muted, #aabbdc);
  font-size: .8rem;
}

.ahe-breadcrumbs a { color: var(--light, #93bfff); }
.ahe-breadcrumbs span { color: var(--text, #e8eeff); }

.ahe-eyebrow {
  margin: 0;
  color: var(--light, #93bfff);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ahe-hero { max-width: 790px; padding: 8px 0 30px; }
.ahe-hero h1 { margin: 10px 0 14px; }
.ahe-hero .ahe-lead { max-width: 680px; color: var(--muted, #aabbdc); font-size: 1.05rem; }

.ahe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #c7d6ed;
  font-size: .82rem;
}

.ahe-chips li::before { content: "✓"; margin-right: 7px; color: var(--green, #34d399); }

.ahe-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.ahe-card {
  border: 1px solid var(--line, rgba(110, 168, 255, .2));
  border-radius: 18px;
  background: rgba(10, 21, 51, .9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  padding: 26px;
}

.ahe-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.ahe-card-head h3 { margin: 0 0 3px; font-size: 1.3rem; }
.ahe-card-sub { color: var(--muted, #aabbdc); font-size: .8rem; }

.ahe-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #6ea8ff40;
  border-radius: 9px;
  background: transparent;
  color: var(--light, #93bfff);
  font-size: .76rem;
  padding: 8px 11px;
}

.ahe-reset:hover { background: #4f7df914; }

.ahe-fieldset { border: 0; border-top: 1px solid #6ea8ff1f; margin: 0; padding: 18px 0 0; }
.ahe-fieldset:first-of-type { border-top: 0; padding-top: 0; }
.ahe-fieldset + .ahe-fieldset { margin-top: 18px; }

.ahe-fieldset legend {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  color: #fff;
  font-family: var(--type-display, 'Sora'), sans-serif;
  font-size: .95rem;
  font-weight: 700;
}

.ahe-step {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4f7df922;
  color: var(--light, #93bfff);
  font-size: .66rem;
  letter-spacing: .04em;
}

.ahe-field { margin-top: 14px; }
.ahe-field label { display: block; margin-bottom: 7px; color: #dbe6fa; font-size: .8rem; font-weight: 600; }
.ahe-optional { color: #8fa4c8; font-weight: 400; }

.ahe-input,
.ahe-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #6ea8ff44;
  border-radius: 10px;
  background: #050b1fcc;
  color: #fff;
  font: inherit;
  font-size: .95rem;
  padding: 11px 13px;
}

.ahe-input:focus,
.ahe-select:focus { outline: 2px solid #6ea8ff66; outline-offset: 1px; }

.ahe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ahe-row .ahe-field { margin-top: 0; }

.ahe-volume { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 8px; }

.ahe-money { position: relative; }
.ahe-money .ahe-prefix {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #9cb1d7;
  font-size: .9rem;
  pointer-events: none;
}
.ahe-money .ahe-input { padding-left: 28px; }

.ahe-hint { display: block; margin-top: 7px; color: #91a6c9; font-size: .72rem; line-height: 1.5; }

.ahe-slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ahe-slider-head output { color: var(--light, #93bfff); font-family: var(--type-display, 'Sora'), sans-serif; font-size: 1.1rem; font-weight: 700; }

.ahe-range { width: 100%; margin: 10px 0 2px; accent-color: var(--blue, #4f7df9); }

.ahe-form-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #6ea8ff1f;
  color: #91a6c9;
  font-size: .74rem;
  line-height: 1.5;
}

.ahe-form-error {
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid #f8717155;
  border-radius: 9px;
  background: #f871710d;
  color: #ffc0c0;
  font-size: .8rem;
}

.ahe-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green, #34d399);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ahe-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.ahe-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ahe-cost {
  border: 1px solid #6ea8ff33;
  border-radius: 13px;
  background: #0b1830;
  padding: 17px;
}

.ahe-cost.ai { border-color: #4f7df966; background: #122a55; }
.ahe-cost-label { display: flex; align-items: center; gap: 8px; color: #c7d6ed; font-size: .78rem; }
.ahe-cost-number { margin-top: 9px; color: #fff; font-family: var(--type-display, 'Sora'), sans-serif; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.1; }
.ahe-cost-sub { margin-top: 5px; color: #91a6c9; font-size: .72rem; }

.ahe-net {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid #34d39944;
  border-radius: 13px;
  background: #34d3990d;
}

.ahe-net.added { border-color: #f8717144; background: #f871710d; }
.ahe-net-label { color: #c7d6ed; font-size: .78rem; }
.ahe-net-number { color: var(--green, #34d399); font-family: var(--type-display, 'Sora'), sans-serif; font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.ahe-net.added .ahe-net-number { color: #fca5a5; }
.ahe-net-caption { width: 100%; color: #91a6c9; font-size: .72rem; }

.ahe-break {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #6ea8ff2e;
  border-radius: 13px;
  background: #4f7df90a;
}

.ahe-break strong { margin-left: auto; color: #fff; font-family: var(--type-display, 'Sora'), sans-serif; font-size: 1rem; white-space: nowrap; }
.ahe-break-copy { min-width: 0; }
.ahe-break-label { color: #c7d6ed; font-size: .78rem; }
.ahe-break-note { color: #91a6c9; font-size: .72rem; }

.ahe-chart-block { margin-top: 20px; }
.ahe-chart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.ahe-chart-head h3 { margin: 0; font-size: 1rem; }
.ahe-chart-sub { margin-top: 3px; color: #91a6c9; font-size: .72rem; }

.ahe-legend { display: flex; flex-wrap: wrap; gap: 12px; color: #a9bddd; font-size: .7rem; }
.ahe-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ahe-legend i { width: 14px; height: 3px; border-radius: 4px; background: #c4d2ea; }
.ahe-legend i.ai { background: #4f7df9; }
.ahe-legend i.cross { height: 10px; width: 1px; background: #fbbf24; }

.ahe-chart { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.ahe-chart text { fill: #afc2df; font-family: var(--type-body, 'Inter'), sans-serif; font-size: 11px; }
.ahe-chart .ahe-grid { stroke: #293e62; stroke-width: 1; }
.ahe-chart .ahe-axis { stroke: #48618b; stroke-width: 1; }
.ahe-chart .ahe-human { stroke: #c4d2ea; stroke-width: 2.4; fill: none; }
.ahe-chart .ahe-ai { stroke: #4f7df9; stroke-width: 2.8; fill: none; }
.ahe-chart .ahe-cross { stroke: #fbbf24; stroke-width: 1.5; stroke-dasharray: 4 4; }
.ahe-chart .ahe-cross-label { fill: #fbbf24; font-size: 10px; }

.ahe-breakdown { margin-top: 20px; border-top: 1px solid #6ea8ff1f; padding-top: 16px; }
.ahe-breakdown-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ahe-breakdown-title h3 { margin: 0; font-size: 1rem; }
.ahe-breakdown-title span { color: #8fa4c8; font-size: .68rem; }

.ahe-table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: .8rem; }
.ahe-table th,
.ahe-table td { padding: 8px 0; border-bottom: 1px solid #6ea8ff14; text-align: left; }
.ahe-table th { color: #b9cae6; font-weight: 500; }
.ahe-table td { color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.ahe-table .total th,
.ahe-table .total td { color: #fff; font-weight: 700; border-bottom-color: #6ea8ff38; }

.ahe-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: #91a6c9;
  font-size: .72rem;
  line-height: 1.55;
}

.ahe-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

.ahe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  background: #2b4fc0;
  color: #fff;
  font-family: var(--type-display, 'Sora'), sans-serif;
  font-size: .86rem;
  font-weight: 700;
  padding: 11px 16px;
  text-decoration: none;
}

.ahe-button:hover { background: #3768ed; text-decoration: none; }
.ahe-button.secondary { background: transparent; border: 1px solid #6ea8ff55; color: #dbe6fa; }
.ahe-button.secondary:hover { background: #4f7df914; }

.ahe-email-form { margin-top: 14px; }
.ahe-email-form label { display: block; margin-bottom: 7px; color: #c7d6ed; font-size: .76rem; }
.ahe-email-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.ahe-email-row .ahe-button { min-height: 46px; white-space: nowrap; }
.ahe-status { min-height: 1.2em; margin: 10px 0 0; color: #91a6c9; font-size: .74rem; }
.ahe-print-head { display: none; }

.ahe-faq { margin-top: 40px; padding-top: 28px; border-top: 1px solid #6ea8ff22; }
.ahe-faq h2 { margin: 0 0 8px; }
.ahe-faq details { border-bottom: 1px solid #6ea8ff1f; padding: 13px 0; }
.ahe-faq summary { cursor: pointer; color: #fff; font-weight: 600; }
.ahe-faq details p { margin: 8px 0 0; color: #aabbdc; font-size: .85rem; }

.ahe-explainer { margin: 40px 0 0; }
.ahe-explainer h2 { margin-bottom: 8px; }
.ahe-explainer > p { max-width: 760px; color: #aabbdc; }
.ahe-explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.ahe-explain { border: 1px solid #6ea8ff24; border-radius: 13px; background: #0b1830; padding: 17px; }
.ahe-explain h3 { margin: 0 0 6px; font-size: .95rem; }
.ahe-explain p { margin: 0; color: #aabbdc; font-size: .8rem; }

.ahe-math {
  margin-top: 16px;
  border: 1px solid #6ea8ff2e;
  border-radius: 13px;
  background: #4f7df90a;
  padding: 16px 18px;
}
.ahe-math h3 { margin: 0 0 6px; font-size: .95rem; }
.ahe-math p { margin: 0; color: #aabbdc; font-size: .82rem; }

.ahe-related { margin: 38px 0 0; }
.ahe-related h2 { margin-bottom: 14px; }
.ahe-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ahe-related-card {
  display: block;
  border: 1px solid #6ea8ff24;
  border-radius: 13px;
  background: #0b1830;
  padding: 17px;
  color: #aabbdc;
  text-decoration: none;
}
.ahe-related-card:hover { border-color: #6ea8ff66; text-decoration: none; }
.ahe-related-card h3 { margin: 0 0 6px; color: #fff; font-size: .95rem; }
.ahe-related-card p { margin: 0 0 8px; font-size: .8rem; }
.ahe-related-card span { color: var(--light, #93bfff); font-size: .78rem; }

.ahe-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 36px 0 0;
  padding: 22px 24px;
  border: 1px solid #6ea8ff3d;
  border-radius: 16px;
  background: linear-gradient(120deg, #132850, #0a1533);
}
.ahe-cta h2 { margin: 0 0 4px; font-size: 1.25rem; }
.ahe-cta p { margin: 0; color: #aabbdc; font-size: .82rem; }

@media (max-width: 980px) {
  .ahe-layout { grid-template-columns: 1fr; }
  .ahe-explainer .ahe-explain-grid,
  .ahe-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ahe-wrap { width: min(100% - 30px, 1180px); }
  .ahe-main { padding-top: 24px; }
  .ahe-card { padding: 20px; }
  .ahe-row, .ahe-compare, .ahe-actions, .ahe-explain-grid, .ahe-related-grid { grid-template-columns: 1fr; }
  .ahe-volume { grid-template-columns: 1fr; }
  .ahe-card-head { align-items: flex-start; }
  .ahe-net { align-items: flex-start; }
  .ahe-break { align-items: flex-start; flex-wrap: wrap; }
  .ahe-break strong { margin-left: 0; }
}

@media print {
  .site-nav, .site-footer, footer, .ahe-form-card, .ahe-actions, .ahe-status, .ahe-breadcrumbs,
  .ahe-email-form, .ahe-live,
  .ahe-chips, .ahe-cta, .ahe-related, .ahe-faq, .ahe-explainer { display: none !important; }
  body, .ahe-main { background: #fff !important; color: #111 !important; }
  .ahe-card { border: 1px solid #ddd; background: #fff; box-shadow: none; color: #111; }
  .ahe-layout { display: block; }
  .ahe-cost, .ahe-net, .ahe-break, .ahe-table th, .ahe-table td { color: #111 !important; }
  .ahe-card-head h3, .ahe-chart-head h3, .ahe-breakdown-title h3,
  .ahe-cost-number, .ahe-net-number, .ahe-break strong,
  .ahe-cost-label, .ahe-net-label, .ahe-break-label { color: #111 !important; }
  .ahe-card-head p, .ahe-cost-sub, .ahe-net-caption, .ahe-break-note, .ahe-note,
  .ahe-chart-sub, .ahe-legend, .ahe-breakdown-title span { color: #333 !important; }
  .ahe-chart text { fill: #222 !important; }
  .ahe-chart .ahe-grid { stroke: #d4d4d4; }
  .ahe-chart .ahe-axis { stroke: #666; }
  .ahe-chart .ahe-human { stroke: #444; }
  .ahe-chart .ahe-ai { stroke: #1d4ed8; }
  .ahe-chart .ahe-cross { stroke: #a16207; }
  .ahe-chart .ahe-cross-label { fill: #854d0e !important; }
  .ahe-result-card { border: 0; padding: 0; }
  .ahe-print-head { display: flex; flex-direction: column; gap: 2px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid #ccc; }
  .ahe-print-head strong { font-family: var(--type-display, 'Sora'), sans-serif; font-size: 20px; }
  .ahe-print-head span { color: #444; font-size: 11px; }
}
