/* Plus Jakarta Sans (headings) and Inter (text), served from this site. SIL Open Font License: fonts/OFL-*.txt */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f5f7fb;
  --ink: #0e1726;
  --muted: #4b5768;
  --line: #dde3ec;
  --accent: #1d4ed8;
  --accent-dark: #173fae;
  --accent-soft: #e9efff;
  --gap: #b42318;
  --gap-bg: #fef1f0;
  --conflict: #8f4f06;
  --conflict-bg: #fff6e5;
  --check: #344054;
  --check-bg: #eef1f6;
  --ok: #067647;
  --radius: 12px;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --head: "Plus Jakarta Sans", var(--sans);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
header.site { border-bottom: 1px solid var(--line); background: var(--bg); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font: 800 1.2rem/1 var(--head); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; vertical-align: -7px; margin-right: 10px; border-radius: 7px; }
.brand small { font: 500 0.78rem/1 var(--sans); color: var(--muted); margin-left: 8px; letter-spacing: 0; }
nav.top { display: flex; gap: 20px; }
nav.top a { color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
nav.top a:hover { color: var(--ink); }

/* hero */
.hero { padding: 48px 0 40px; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto 1fr; column-gap: 48px; align-items: start; }
.hero-copy { grid-column: 1; grid-row: 1; }
.hero-grid .trust { grid-column: 1; grid-row: 2; }
.hero-grid #tool { grid-column: 2; grid-row: 1 / span 2; }
.kicker { font-size: 0.9rem; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.lede { font-size: 1.14rem; color: var(--muted); margin-top: 16px; max-width: 34em; }
.trust { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.96rem; }
.trust svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.trust b { font-weight: 600; }
.trust span { color: var(--muted); }

/* panels */
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(14, 23, 38, 0.05), 0 12px 32px -20px rgba(14, 23, 38, 0.25); }
.drop { border: 1.5px dashed #b7c2d3; border-radius: 10px; padding: 16px; background: var(--bg); transition: border-color 0.15s ease-out, background 0.15s ease-out; }
.drop + .drop { margin-top: 12px; }
.drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop.has-file { border-style: solid; border-color: var(--line); }
.drop h3 { margin-bottom: 4px; }
.drop p.d { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.drop.main { padding: 20px; }
.file-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.file-btn { position: relative; display: inline-flex; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn input:focus-visible + .btn { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool-foot { margin-top: 16px; font-size: 0.92rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: 0.82rem; padding: 2px 10px; border-radius: 999px; background: var(--check-bg); color: var(--check); }
.chip.name { background: var(--accent-soft); color: var(--accent-dark); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.mapping { margin-top: 10px; font-size: 0.92rem; }
details.mapping summary { cursor: pointer; color: var(--accent); font-weight: 500; }
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; max-height: 340px; overflow: auto; padding-right: 4px; }
.key-cols { margin-top: 12px; }
.key-cols .hint { margin: 0 0 6px; padding: 0; font-size: 0.88rem; }
.key-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.key-grid label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--muted); align-content: start; }
.key-grid select { width: 100%; }
select.need { border-color: var(--gap); box-shadow: 0 0 0 2px #f3c9c0; }
.col-note { font-size: 0.78rem; color: var(--muted); min-height: 1.1em; }
.col-note .linkish { font-size: inherit; }
.map-grid label { display: grid; gap: 4px; font-size: 0.82rem; color: var(--muted); }
select, input[type="text"] { font: inherit; padding: 8px 10px; border: 1px solid #b7c2d3; border-radius: 8px; background: var(--bg); color: var(--ink); min-height: 40px; max-width: 100%; width: 100%; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; font: 600 0.98rem/1.2 var(--sans); color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 10px; cursor: pointer; text-decoration: none; transition: background 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.secondary { background: var(--bg); color: var(--accent-dark); border-color: #b7c2d3; }
.btn.secondary:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.btn.locked { color: var(--muted); }
.btn.large { min-height: 52px; font-size: 1.05rem; padding: 12px 22px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.linkish:hover { color: var(--accent-dark); }

/* results */
#results { padding: 32px 0 0; }
#results .panel { padding: 28px; }
.result h2 { margin-bottom: 6px; }
.result-sub { color: var(--muted); }
.upsell { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 16px 18px; background: var(--accent-soft); border: 1px solid #c8d6ff; border-radius: 10px; flex-wrap: wrap; }
.upsell p { color: var(--muted); font-size: 0.94rem; }
.tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.tile { display: grid; gap: 2px; text-align: left; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color 0.15s ease-out, background 0.15s ease-out; }
.tile:hover { border-color: #9fb0c8; }
.tile.on { border-color: var(--accent); background: var(--accent-soft); }
.tile-n { font: 800 1.4rem/1.1 var(--head); }
.tile-l { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }
.sevs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 8px; }
.legend { color: var(--muted); font-size: 0.86rem; margin-bottom: 12px; }
.sev-btn { font: inherit; font-size: 0.86rem; padding: 4px 12px; min-height: 32px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); cursor: pointer; }
.sev-btn:hover { border-color: #9fb0c8; }
.sev-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.grid { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.grid th { text-align: left; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); background: var(--surface); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.grid td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid .sub { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 400; }
table.grid td.found { color: var(--muted); overflow-wrap: anywhere; max-width: 260px; }
.mono { font-family: var(--mono); font-size: 0.86em; }
table.grid strong.mono { font-weight: 600; white-space: nowrap; }
table.grid .mono.sub { white-space: nowrap; }
.pill { display: inline-block; padding: 1px 9px; font-size: 0.78rem; font-weight: 600; border-radius: 999px; white-space: nowrap; }
.pill.gap { color: var(--gap); background: var(--gap-bg); }
.pill.conflict { color: var(--conflict); background: var(--conflict-bg); }
.pill.check { color: var(--check); background: var(--check-bg); }
a.src { display: block; margin-top: 4px; font-size: 0.8rem; color: var(--muted); }
a.src:hover { color: var(--accent-dark); }
.notes { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
details.col-gaps { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 12px 16px; }
details.col-gaps summary { cursor: pointer; font-weight: 600; }
details.col-gaps .hint { padding: 8px 0 12px; }
.maker { display: flex; gap: 20px; align-items: flex-start; max-width: 800px; }
.maker img { border-radius: 14px; flex: 0 0 auto; }
.maker p { color: var(--muted); margin-top: 8px; }
.exports { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.err { color: var(--gap); font-size: 0.94rem; margin-top: 10px; }
.empty, .hint { color: var(--muted); font-size: 0.9rem; padding: 12px; }
.ok { color: var(--ok); font-weight: 600; }

/* sections */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block > .wrap > h2 { margin-bottom: 12px; }
.block .intro { color: var(--muted); max-width: 44em; margin-bottom: 24px; font-size: 1.05rem; }
.demo-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.caption { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }
.rule-group { margin-top: 28px; }
.rule-group h3 { margin-bottom: 10px; }
.rule-list { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px) { .rule-list { grid-template-columns: 1fr; } }
details.rule { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
details.rule summary { cursor: pointer; font-weight: 600; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
details.rule p { margin-top: 8px; color: var(--muted); font-size: 0.94rem; }
details.rule ul { margin: 8px 0 0; padding-left: 18px; font-size: 0.88rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 800px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.plan.main { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price { font: 800 2.2rem/1.1 var(--head); }
.price small { font: 500 0.92rem/1 var(--sans); color: var(--muted); }
.price s { font-size: 1.1rem; font-weight: 500; color: var(--muted); margin-right: 6px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.96rem; flex: 1; }
.plan li { margin-bottom: 4px; }
.offer { margin-bottom: 20px; font-size: 0.98rem; }
.license-row { max-width: 800px; margin-top: 20px; font-size: 0.94rem; }
#key-box { padding: 14px 16px; background: var(--accent-soft); border-radius: 10px; margin-bottom: 12px; }
#key-value { font: 600 1.05rem/1.4 var(--mono); overflow-wrap: anywhere; }
#activate-form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
#activate-form input { flex: 1 1 240px; width: auto; font-family: var(--mono); }
#license-msg { color: var(--gap); margin-top: 8px; }
#license-status { margin-top: 8px; }
body.licensed .buy-only { display: none; }

/* tables in prose */
.facts { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--bg); }
.facts th { text-align: left; font-size: 0.8rem; color: var(--muted); font-weight: 600; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.facts td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child td { border-bottom: 0; }
.facts-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.facts tr.us td { background: var(--accent-soft); font-weight: 500; }
.limits { display: grid; gap: 8px; padding-left: 18px; margin: 0; color: var(--muted); }

/* faq + prose */
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 800px; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin-top: 8px; color: var(--muted); }
.prose { padding-top: 48px; padding-bottom: 64px; }
.prose h2 { margin: 32px 0 10px; font-size: 1.35rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose li { margin-bottom: 6px; }
.prose h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.prose .lede { margin: 16px 0 8px; }
.note { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin: 16px 0; }
.sources { font-size: 0.9rem; color: var(--muted); }
.cta-block { margin-top: 32px; padding: 24px; background: var(--accent-soft); border-radius: var(--radius); }
.cta-block h2 { margin: 0 0 8px; }
.cta-block p { margin-bottom: 16px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }

/* footer */
footer.site { padding: 32px 0; background: var(--ink); color: #c4cedb; font-size: 0.88rem; }
footer.site a { color: #e6ebf3; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
footer.site p { margin-bottom: 8px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; }
  .hero-copy, .hero-grid .trust, .hero-grid #tool { grid-column: 1; grid-row: auto; }
  .hero-grid #tool { order: 2; }
  .hero-grid .trust { order: 3; margin-top: 0; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 28px 0 28px; }
  nav.top { gap: 14px; }
  nav.top a { font-size: 0.86rem; }
  .panel, #results .panel { padding: 16px; }
  .drop.main { padding: 16px; }
  .file-row .btn { width: 100%; }
  .file-btn { width: 100%; }
  .tiles { display: flex; overflow-x: auto; gap: 6px; margin-top: 14px; padding-bottom: 4px; }
  .tile { flex: 0 0 auto; min-width: 104px; padding: 8px 10px; }
  .tile-n { font-size: 1.15rem; }
  .tile-l { white-space: nowrap; }
  .sevs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .sev-btn { flex: 0 0 auto; }
  .tiles, .sevs { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); padding-right: 24px; }
  .maker { flex-direction: column; gap: 12px; }
  .upsell { gap: 10px; margin-top: 14px; padding: 12px 14px; }
  .result-sub, .upsell p { font-size: 0.9rem; }
  .plans { grid-template-columns: 1fr; }
  .upsell .btn, .exports .btn { width: 100%; }
  section.block { padding: 40px 0; }
  /* result rows become cards */
  .table-wrap { border: 0; overflow: visible; }
  table.grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.grid, table.grid tbody, table.grid tr, table.grid td { display: block; width: 100%; }
  table.grid tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 8px 12px; }
  table.grid td { border: 0; padding: 6px 0; }
  table.grid td.found { max-width: none; }
  table.grid td::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
  table.grid td[data-label="Type"]::before { display: none; }
}
