/* The /compare pages: the hub and every page built from compare.html, plus
   the hand-written compare-tomo, -poke, -sidekicks and -ai-you-can-text.
   2026-09-27: rebuilt in the landing's design language (landing-day.css and
   khio-ui.css): warm paper, Crimson Pro headings, Open Runde text, the tactile
   button, and the Khio column lit so a reader finds our side at a glance.
   Two table shapes: .vs is Khio against one product (Khio is column 2), and
   .field lists products down the side (Khio is the first row).
   Light only, like /features and the homepage. These pages used to turn dark
   with the browser, which put them out of step with the rest of the site
   (James 2026-09-28). */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400..600;1,400..600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-runde@5.3.0/latin-400.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-runde@5.3.0/latin-500.css');
@import url('https://cdn.jsdelivr.net/npm/@fontsource/open-runde@5.3.0/latin-600.css');

:root {
    --paper: #fbfaf7; --surface: #ffffff;
    --ink: #111114; --ink-2: rgba(17, 17, 20, .66); --ink-3: rgba(17, 17, 20, .45);
    --line: rgba(17, 17, 20, .09); --blue: #0a84ff;
    --ours: rgba(10, 132, 255, .06); --ours-line: rgba(10, 132, 255, .28);
    --display: 'Crimson Pro', Georgia, 'Times New Roman', serif;
    --sans: 'Open Runde', 'Inter', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); font-family: var(--sans); }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(17, 17, 20, .25); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 900px; margin: 0 auto; padding: 56px 24px 96px; }
.wrap.is-wide { max-width: 1280px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
h1 { margin: 14px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(42px, 7vw, 68px); line-height: 1; letter-spacing: -.028em; text-wrap: balance; }
h2 { margin: 64px 0 18px; font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.lead { margin: 18px 0 0; max-width: 60ch; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.checked { position: relative; margin-top: 16px; padding-left: 16px; max-width: 70ch; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.checked::before { content: ''; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #30b85a; box-shadow: 0 0 0 3px rgba(48, 184, 90, .15); }

/* The table: a white card, rows ruled, the Khio side lit. */
.table-wrap { overflow-x: auto; margin-top: 36px; background: var(--surface); border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -36px rgba(15, 23, 42, .35); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { padding-top: 18px; padding-bottom: 14px; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
tbody th { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); min-width: 130px; width: 20%; padding-top: 19px; }
td { color: var(--ink-2); min-width: 200px; }
table.vs th:nth-child(2), table.vs td:nth-child(2) { background: var(--ours); color: var(--ink); }
table.vs thead th:nth-child(2) { box-shadow: inset 0 3px 0 var(--blue); }
table.field tbody tr:first-child th, table.field tbody tr:first-child td { background: var(--ours); color: var(--ink); }
table.field tbody tr:first-child th { box-shadow: inset 3px 0 0 var(--blue); }
table.field thead th { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
table.field tbody th { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink); }

/* Built pages (public/compare.html): a band row names each group, and every
   cell leads with a mark, then the detail in small type. The hub's .matrix
   runs Khio plus every product across, so the feature column stays pinned
   while the rest scrolls sideways. */
tr.band th { padding: 12px 18px; font-size: 11.5px; letter-spacing: .12em; color: var(--ink); background: #f6f5f2; }
.mk { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; border-radius: 50%; }
.mk.yes { background: #30b85a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.mk.partial { background: linear-gradient(90deg, #e3a21a 50%, transparent 50%); box-shadow: inset 0 0 0 2px #e3a21a; }
.mk.no { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23999' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; box-shadow: inset 0 0 0 1.5px rgba(17, 17, 20, .14); }
.cell-d { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
table.vs td:nth-child(2) .cell-d { color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

table.matrix { width: auto; min-width: 100%; font-size: 13.5px; }
table.matrix th, table.matrix td { padding: 12px 14px; }
table.matrix td { min-width: 132px; }
table.matrix thead th { font-size: 17px; white-space: nowrap; }
table.matrix tbody th { position: sticky; left: 0; z-index: 1; min-width: 170px; background: var(--surface); }
table.matrix tr.band th { background: #f6f5f2; }
table.matrix th:nth-child(2), table.matrix td:nth-child(2) { background: var(--ours); color: var(--ink); }
table.matrix thead th:nth-child(2) { box-shadow: inset 0 3px 0 var(--blue); }
table.matrix .cell-d { font-size: 12px; }

.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pick { display: block; padding: 18px 20px; border-radius: 18px; background: var(--surface); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pick:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--ours-line), 0 16px 30px -24px rgba(10, 132, 255, .5); }
.pick b { display: block; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.pick span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }

/* Cards. */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.card { position: relative; background: var(--surface); border-radius: 20px; padding: 22px 24px; box-shadow: 0 0 0 1px var(--line), 0 16px 36px -30px rgba(15, 23, 42, .3); }
.card.is-ours { box-shadow: 0 0 0 1.5px var(--ours-line), 0 18px 40px -28px rgba(10, 132, 255, .35); background: linear-gradient(180deg, rgba(10, 132, 255, .05), transparent 60%), var(--surface); }
.card h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -.012em; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.card ul li { position: relative; padding-left: 20px; }
.card ul li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.card.is-ours ul li::before { background: var(--blue); }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.card p + p { margin-top: 8px; }
.card .ours { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 999px; vertical-align: 4px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: rgba(10, 132, 255, .1); }
.card .src-line { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.card .src-line a { color: var(--ink-3); }

.note { margin-top: 18px; max-width: 64ch; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.sources { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.sources a { color: var(--ink-2); }

/* The close: the landing's tactile button. */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 56px; padding: 36px 24px; border-radius: 26px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-align: center; }
.cta-row p { flex-basis: 100%; margin-bottom: 6px; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -.015em; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; font: 500 16px/1 var(--sans); color: #fff; text-decoration: none;
    background: linear-gradient(#3a3a3a 0%, #3a3a3a 52%, #2c2c2c 80%, #1f1f1f 100%);
    box-shadow: 0 .5px 1px rgba(0, 0, 0, .08), 0 1px 3px rgba(0, 0, 0, .1), 0 4px 12px rgba(0, 0, 0, .08), inset 0 0 0 1.25px #353535, inset 0 0 12px rgba(255, 255, 255, .1);
    transition: transform .18s var(--ease), filter .2s ease; }
.cta:hover { filter: brightness(1.14); }
.cta:active { transform: translateY(1px) scale(.985); }
.cta.is-light { color: #1c1c1c; background: linear-gradient(#edecea 0%, #edecea 65%, #dcdcdc 85%, #c4c4c4 100%); box-shadow: 0 .5px 1px rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .06), inset 0 0 0 1.25px #c9c7c4, inset 0 0 12px #fff; }

@media (max-width: 640px) {
    .wrap { padding-top: 36px; }
    th, td { padding: 13px 14px; }
    td { min-width: 170px; }
    table.matrix tbody th { min-width: 118px; width: 118px; font-size: 11px; }
    table.matrix td { min-width: 116px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
