/*
 * Palette and motion taken from https://joinaligned.ai/enterprise (computed styles + its CSS, Sep 28 2026):
 *   accent       #ff5e00   (._accent, hover:bg-[#ff5e00], Aligned bar in its benchmark chart)
 *   accent tint  #fff3eb   (Aligned row background)   accent hover wash rgba(255,94,0,.09)
 *   ink          #3a3a3a   (body text, primary button)   strong #1f1f1f   body copy #4a4a4a
 *   muted        #8a8a8a / #6a6a6a    lines #cfcfcf / #dfdfdf / #ececec
 *   bar track    #f1f1f0   competitor bar #cfcfcf -> #3a3a3a on hover
 *   surfaces     #ffffff, #fafafa (footer), #fafaf9 (row hover / example box)
 *   fonts        Inter (body), Inter Tight (headings)
 *   easing       cubic-bezier(0.22,1,0.36,1), 150–240ms
 */
:root {
  --accent: #ff5e00;
  --accent-hover: #e65500;            /* accent darkened ~10% for pressed/hover on orange fills */
  --accent-tint: #fff3eb;
  --accent-wash: rgba(255, 94, 0, 0.09);
  --ink: #3a3a3a;
  --ink-strong: #1f1f1f;
  --body: #4a4a4a;
  --muted: #8a8a8a;
  --muted-2: #6a6a6a;
  --line: #cfcfcf;
  --line-2: #dfdfdf;
  --line-3: #ececec;
  --track: #f1f1f0;
  --bar: #cfcfcf;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --surface-3: #fafaf9;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 200ms;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface-2); color: var(--ink);
  font-family: var(--font); font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; font-optical-sizing: auto;
}
a { color: inherit; }
.page { max-width: 1280px; margin: 0 auto; padding: 32px 20px 0; display: flex; flex-direction: column; gap: 40px; }

/* ---------- header ---------- */
.hero { background: var(--surface); border: 1px solid var(--line-2); padding: 24px 24px 20px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wordmark { width: 132px; height: 32px; display: inline-flex; align-items: center; }
.wordmark img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.hero h1 { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-strong); }
.badge { font-size: 11px; font-weight: 500; color: var(--muted-2); background: #f4f4f5; border: 1px solid var(--line-2); padding: 1px 8px; border-radius: 4px; }
.pill-preview { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); border: 1px solid rgba(255,94,0,.25); padding: 3px 9px; }
.summary { margin: 16px 0 0; max-width: 820px; font-family: var(--font-head); font-size: 26px; line-height: 1.3; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; }
.stats { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat {
  display: block; text-align: left; text-decoration: none; cursor: pointer; font: inherit; color: inherit;
  background: var(--surface-2); border: 1px solid var(--line-2); padding: 12px 14px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.stat:hover, .stat:focus-visible { border-color: var(--accent); background: var(--accent-wash); transform: translateY(-1px); outline: none; }
.stat-label { font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.stat-value { margin-top: 6px; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-strong); transition: color var(--dur) var(--ease); }
.stat:hover .stat-value { color: var(--accent); }
.stat-detail { margin-top: 2px; font-size: 12px; color: var(--muted-2); }
.meta { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--muted); }
.meta .sep { color: var(--line); }

/* ---------- sections ---------- */
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-family: var(--font-head); font-size: 28px; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); }
.section-head p { margin: 0; max-width: 680px; font-size: 15px; color: var(--muted-2); }
.strengths { display: grid; grid-template-columns: 1fr; gap: 16px; }
.strength { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.strength-why { background: var(--surface); border: 1px solid var(--line-2); border-left: 2px solid var(--accent); padding: 8px 12px; font-size: 13px; color: var(--body); }
.strength-why b { display: block; color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.strength .card { flex: 1; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  font: 500 12px/1 var(--font); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 9999px; cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.chip:hover, .chip:focus-visible { border-color: var(--accent); color: var(--accent); background: var(--accent-wash); outline: none; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"]:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 1.5px #fff; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  display: flex; flex-direction: column; min-width: 0; background: var(--surface);
  border: 1px solid var(--line-2); padding: 20px 20px 14px; scroll-margin-top: 20px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 0 10px 28px -12px rgba(0,0,0,.18); }
.card.flash { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,94,0,.18); }
.card-head { display: flex; align-items: flex-start; gap: 12px; }
.card-head h3 { margin: 0; flex: 1; font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-strong); }
.tag { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 3px 10px; border-radius: 9999px; font-size: 11px; font-weight: 600; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; }
.desc { margin: 6px 0 0; font-size: 13px; color: var(--body); min-height: 39px; text-wrap: pretty; }

.chart { position: relative; margin-top: 14px; border: 1px solid var(--line-3); background: var(--surface); padding: 14px 14px 10px 14px; }
.chart-top { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; padding: 0 6px; font-size: 11px; color: var(--muted); }
.rank { font-weight: 600; color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.plot { position: relative; height: 200px; margin-top: 26px; }
.gridline { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line-3); }
.gridline span { position: absolute; left: -36px; top: -7px; width: 28px; text-align: right; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gridline.base { border-top: 1px solid var(--line); }
.bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 6px; padding: 0 4px; }
.bar-col { position: relative; flex: 1 1 0; min-width: 0; max-width: 64px; height: 100%; cursor: default; outline: none; }
.bar-label { position: absolute; left: -8px; right: -8px; display: flex; flex-direction: column; align-items: center; padding-bottom: 3px; }
.bar-val { font-size: 10px; font-weight: 600; color: var(--muted-2); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color var(--dur) var(--ease); }
.bar { position: absolute; left: 0; right: 0; bottom: 0; background: var(--bar); transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease); transform-origin: bottom; }
.bar-col:hover .bar { background: var(--ink); }
.bar-col:hover .bar-val { color: var(--ink-strong); }
.bar-col.aligned .bar { background: var(--accent); }
.bar-col.aligned .bar-val { color: var(--accent); font-size: 11px; }
.bar-col.aligned:hover .bar { background: var(--accent-hover); transform: scaleY(1.012); }
.star { font-size: 11px; line-height: 1; color: var(--accent); }
.pending-slot {
  flex: 1 1 0; min-width: 0; align-self: stretch; margin: 10px 0 0 8px; display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed var(--line); background: repeating-linear-gradient(135deg, #fff 0 8px, var(--surface-3) 8px 16px);
  font-size: 12px; color: var(--muted); padding: 0 16px;
}
.axis { display: flex; gap: 6px; padding: 6px 4px 0; }
.axis-item { flex: 1 1 0; max-width: 64px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.axis-item img { width: 16px; height: 16px; object-fit: contain; }
.axis-item.aligned img { filter: brightness(0); }
.axis-item span { font-size: 10px; color: var(--muted-2); text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
.axis-item.aligned span { font-weight: 700; color: var(--ink-strong); }
.axis-spacer { flex: 1 1 0; }

.callout { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; background: var(--accent-tint); border: 1px solid rgba(255,94,0,.18); padding: 8px 12px; font-size: 13px; color: var(--body); }
.callout img { width: 14px; height: 14px; filter: brightness(0); }
.callout b { color: var(--ink-strong); }
.callout .score { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.callout .pending { margin-left: auto; font-size: 11px; color: var(--muted); font-style: italic; }
.card-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-3); display: flex; align-items: flex-start; gap: 12px; font-size: 12px; color: var(--muted); }
.card-foot .prov { flex: 1; min-width: 0; }
.card-foot a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease); }
.card-foot a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.card-foot .src { white-space: nowrap; color: var(--muted-2); }
.note { margin-top: 4px; font-size: 11.5px; color: var(--muted-2); }

/* ---------- methodology + footer ---------- */
.method { background: var(--surface); border: 1px solid var(--line-2); padding: 24px; }
.method ol { margin: 0; padding: 0; list-style: none; counter-reset: m; max-width: 900px; }
.method li { counter-increment: m; display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-3); font-size: 14px; color: var(--body); line-height: 1.55; }
.method li::before { content: counter(m, decimal-leading-zero); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.site-foot { margin: 8px -20px 0; padding: 24px 20px 32px; border-top: 1px solid var(--ink); background: var(--surface-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 12px; color: var(--muted); }
.site-foot .brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 13px; }
.site-foot .brand img { width: 18px; height: 18px; filter: brightness(0); }
.site-foot a { text-decoration: none; transition: color var(--dur) var(--ease); }
.site-foot a:hover { color: var(--accent); }
.site-foot .right { margin-left: auto; }

/* ---------- tooltip ---------- */
.tooltip {
  position: fixed; z-index: 50; pointer-events: none; min-width: 150px; max-width: 260px;
  background: var(--ink-strong); color: #fff; padding: 8px 10px; font-size: 12px; line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; transform: translate(-50%, calc(-100% - 6px));
  transition: opacity 150ms var(--ease), transform 150ms var(--ease);
}
.tooltip.show { opacity: 1; transform: translate(-50%, calc(-100% - 10px)); }
.tooltip b { display: block; font-size: 13px; }
.tooltip .tv { color: #ffb380; font-weight: 700; font-variant-numeric: tabular-nums; }
.tooltip .ts { display: block; margin-top: 2px; color: #bbb; font-size: 11px; }

@media (max-width: 1000px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .strengths { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } .summary { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .card:hover, .stat:hover { transform: none; } }

/* Ranked leaderboard list (replaces vertical bars) */
.lb { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.lb-row { display: grid; grid-template-columns: 34px 18px minmax(0, 1fr) minmax(40px, 26%) 48px; align-items: center; gap: 8px; padding: 6px 6px; border-top: 1px solid var(--line-3, #eee); font-size: 12.5px; outline: none; transition: background-color var(--dur, .15s) var(--ease, ease); }
.lb-row:first-child { border-top: 0; }
.lb-row:hover, .lb-row:focus-visible { background: #fafafa; }
.lb-rank { color: var(--muted, #888); font-variant-numeric: tabular-nums; font-size: 11.5px; }
.lb-logo { width: 16px; height: 16px; object-fit: contain; }
.lb-row.aligned .lb-logo { filter: brightness(0); }
.lb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink, #222); }
.lb-name small { margin-left: 6px; color: var(--muted, #999); font-size: 11px; }
.lb-track { height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.lb-fill { display: block; height: 100%; background: var(--bar, #cfcfcf); border-radius: 3px; }
.lb-score { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--muted-2, #555); }
.lb-row.aligned { background: #fff4ec; box-shadow: inset 3px 0 0 var(--accent, #ff5e00); }
.lb-row.aligned .lb-rank, .lb-row.aligned .lb-score { color: var(--accent, #ff5e00); font-weight: 700; }
.lb-row.aligned .lb-name { font-weight: 700; color: var(--ink-strong, #111); }
.lb-row.aligned .lb-fill { background: var(--accent, #ff5e00); }
.lb-foot { margin: 8px 6px 0; font-size: 11px; color: var(--muted, #999); }

/* Cost table */
.cost { margin-top: 32px; padding: 28px; border: 1px solid var(--line-3, #e5e5e5); background: var(--surface, #fff); }
.cost h2 { margin: 0 0 6px; font-size: 22px; font-weight: 500; }
.cost h2 sup { color: var(--accent, #ff5e00); font-size: 12px; margin-left: 2px; }
.c-sum { margin: 0 0 16px; color: var(--muted-2, #555); font-size: 13.5px; max-width: 720px; }
.c-explain { background: #f7f7f7; border: 1px solid #eaeaea; padding: 12px 14px; font-size: 12.5px; color: #555; margin-bottom: 20px; }
.c-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.c-table th { text-align: left; font-weight: 400; font-size: 11.5px; color: #888; padding: 8px; border-bottom: 1px solid #222; vertical-align: bottom; }
.c-table td { padding: 8px; border-bottom: 1px solid #eee; }
.c-num, .c-x { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-x { color: #888; width: 80px; }
.c-model { white-space: nowrap; width: 28%; }
.c-model img { width: 16px; height: 16px; object-fit: contain; vertical-align: -3px; margin-right: 10px; }
.c-bar { width: 40%; }
.c-track { display: block; height: 7px; background: #f0f0f0; }
.c-fill { display: block; height: 100%; background: #cfcfcf; }
.c-group td { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #777; padding-top: 22px; border-bottom: 0; }
.c-aligned { background: #fff4ec; }
.c-aligned td { color: var(--accent, #ff5e00); font-weight: 700; }
.c-aligned .c-model { color: #111; }
.c-aligned .c-model img { filter: brightness(0); }
.c-aligned .c-fill { background: var(--accent, #ff5e00); }
.c-foot { margin: 18px 0 0; font-size: 11.5px; color: #888; line-height: 1.5; }

/* spacing pass */
.strengths { display: flex; flex-direction: column; gap: 36px; }
.strength { display: flex; flex-direction: column; }
.strength-why { padding: 10px 14px; border: 1px solid var(--line-2); border-left: 3px solid var(--accent, #ff5e00); border-bottom: 0; background: #fff; }
.strength-why b { display: block; margin-bottom: 2px; }
.strength .card { margin-top: 0; }
.grid { gap: 32px; }
section + section { margin-top: 48px; }
.card-foot { margin-top: 16px; }
.strength { gap: 0; }

/* smaller methodology + disclaimers */
.method { padding: 16px 18px; }
.method .section-head h2 { font-size: 16px; }
.method li { font-size: 11.5px; line-height: 1.45; padding: 6px 0; gap: 10px; color: var(--muted, #777); }
.cost-foot, .cost .footnote, .cost small { font-size: 11px; line-height: 1.45; color: var(--muted, #777); }
.card-desc, .card-head p { line-height: 1.5; }
.c-foot { font-size: 11px !important; line-height: 1.45; color: var(--muted, #777); }
.card .desc { font-size: 13px; line-height: 1.55; max-width: 860px; }

/* ================= editorial pass ================= */
body { background: #fff; color: #1f1f1f; font-size: 14px; }
.page { max-width: 960px; padding: 64px 32px 0; gap: 64px; }
.hero, .card, .method, .cost, .strength, .strength-why, .chart, .stat { border-radius: 0 !important; box-shadow: none !important; }
.hero { background: transparent; border: 0; border-bottom: 1px solid #1f1f1f; padding: 0 0 32px; }
.hero h1 { font-size: 14px; font-weight: 500; color: #1f1f1f; }
.badge { background: transparent; border: 0; padding: 0; font-size: 13px; color: #8a8a8a; }
.summary { margin-top: 36px; font-size: 32px; line-height: 1.2; letter-spacing: -0.025em; color: #1f1f1f; max-width: 780px; }
.stats { margin-top: 40px; gap: 0; border-top: 1px solid #e5e5e5; }
.stat { background: transparent; border: 0; border-left: 1px solid #e5e5e5; padding: 20px 20px 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:hover, .stat:focus-visible { background: transparent; border-color: #e5e5e5; transform: none; }
.stat-value { margin-top: 8px; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.hero .meta { margin-top: 24px; }
.section-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: #1f1f1f; }
.section-head p { font-size: 14px; }
.grid, .strengths { gap: 0; }
.strength { gap: 0; }
.strength-why { display: none; }
.card { background: transparent; border: 0; border-top: 1px solid #e5e5e5; padding: 40px 0; }
.card:hover { transform: none; border-color: #e5e5e5; }
.card-head h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.card .desc { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #4a4a4a; max-width: 720px; }
.chart { margin-top: 24px; border: 0; padding: 0; background: transparent; }
.chart-top { padding: 0 0 8px; margin: 0; border-bottom: 1px solid #1f1f1f; font-size: 11px; }
.lb { margin-top: 0; }
.lb-row { grid-template-columns: 36px 18px minmax(0,1fr) minmax(60px, 32%) 52px; gap: 12px; padding: 9px 0; font-size: 13px; border-top: 1px solid #efefef; }
.lb-row.aligned { background: #fff4ec; box-shadow: none; margin: 0; padding: 9px 0; }
.lb-row.aligned:hover, .lb-row.aligned:focus-visible { background: #fff4ec; }
.lb-row.aligned .lb-name { color: #111; }
.lb-foot { margin: 10px 0 0; }
.card-foot { margin-top: 20px; padding-top: 0; border-top: 0; }
.callout { background: transparent; border: 0; border-top: 1px solid #efefef; padding: 10px 0 0; }
.cost { background: transparent; border: 0; border-top: 1px solid #1f1f1f; padding: 40px 0 0; }
.method { background: transparent; border: 0; border-top: 1px solid #e5e5e5; padding: 32px 0 0; }
.method .section-head h2 { font-size: 13px; font-weight: 600; }
.method li { font-size: 11.5px; padding: 6px 0; }
.page > footer, footer { max-width: 896px; margin: 32px auto 0; width: 100%; border-top: 1px solid #e5e5e5; padding: 20px 0 40px; background: transparent; font-size: 12px; }
section + section { margin-top: 0; }
@media (max-width: 800px) { .page { padding: 32px 16px 0; } .summary { font-size: 26px; } .stat { border-left: 0; padding-left: 0; } }
.tag { background: transparent !important; box-shadow: none !important; color: #8a8a8a !important; padding: 0 !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; } .tag .dot { display: none; }
.hero .stats { margin-top: 36px; }
.site-foot { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; color: #8a8a8a; line-height: 1.5; }
.site-foot > span:nth-child(2) { flex: 1; min-width: 300px; }
.card-foot { justify-content: flex-end; }
/* alignment fix */
.hero-top { align-items: center; gap: 0; }
.hero-top .wordmark { height: 28px; width: auto; margin-right: 16px; padding-right: 16px; border-right: 1px solid #e5e5e5; }
.hero-top .wordmark img { height: 28px; width: auto; }
.hero h1 { font-size: 14px; line-height: 28px; margin: 0 12px 0 0; }
.hero .badge { font-size: 14px; line-height: 28px; }
.hero .badge::before { content: none; }
.site-foot { align-items: flex-start; gap: 24px; }
.site-foot .brand { display: inline-flex; align-items: center; gap: 8px; line-height: 20px; white-space: nowrap; }
.site-foot .brand img { height: 16px; width: auto; }
.site-foot > span { line-height: 20px; }
.site-foot .right { white-space: nowrap; }
.hero-top .wordmark { border-right: 0; padding-right: 0; margin-right: 20px; } .hero h1 { font-family: var(--font); font-weight: 600; letter-spacing: 0; color: #1f1f1f; } .hero .badge { font-weight: 400; color: #8a8a8a; }
