:root {
  --ink: #14213d;
  --ink-2: #4a5671;
  --line: #dfe3ea;
  --bg: #ffffff;
  --panel: #f5f7fa;
  --brand: #1f4fd1;
  --brand-ink: #ffffff;
  --pass: #127a3e;
  --warn: #9a5b00;
  --fail: #b42318;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.15; margin: 0.6em 0 0.4em; letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; margin: 1.8em 0 0.5em; }
.lede { font-size: 1.12rem; color: var(--ink-2); }
.fine { font-size: 0.86rem; color: var(--ink-2); }

.hdr { border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { display: block; border-radius: 6px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--brand); }
.crumbs { font-size: 0.85rem; color: var(--ink-2); margin-top: 16px; }
.crumbs a { color: var(--ink-2); }

.maker { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 20px 0; }
.maker-controls { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 12px; }
.maker-controls select { font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; max-width: 100%; }
.maker-baby { display: flex; gap: 6px; align-items: center; }
.maker-drop { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 28px 16px; border: 2px dashed #b8c2d6; border-radius: var(--radius); background: #fff; cursor: pointer; }
.maker-drop.over { border-color: var(--brand); background: #eef3ff; }
.maker-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.maker-drop strong { display: inline-block; background: var(--brand); color: var(--brand-ink); padding: 10px 22px; border-radius: 999px; }
.maker-drop:focus-within strong { outline: 3px solid #9db7ff; outline-offset: 2px; }
.maker-drop span { color: var(--ink-2); }
.maker-drop small { color: var(--ink-2); font-size: 0.82rem; }
.maker-status { min-height: 1.4em; margin: 10px 0 0; color: var(--ink-2); }
.maker-status.error { color: var(--fail); }
.maker-result { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 20px; margin-top: 12px; }
.maker-result[hidden] { display: none; }
.maker-preview { margin: 0; }
.maker-preview canvas { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 4px; }
.maker-verdict { font-weight: 700; font-size: 1.1rem; margin: 0; }
.maker-verdict.pass { color: var(--pass); }
.maker-verdict.warn { color: var(--warn); }
.maker-verdict.fail { color: var(--fail); }
.maker-picked { font-size: 0.88rem; color: var(--ink-2); margin: 2px 0 8px; }
.maker-checks { list-style: none; padding: 0; margin: 0 0 14px; font-size: 0.93rem; }
.maker-checks li { padding: 3px 0; }
.maker-checks b { display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; color: #fff; font-size: 0.75rem; margin-right: 4px; }
.maker-checks .pass b { background: var(--pass); }
.maker-checks .warn b { background: var(--warn); }
.maker-checks .fail b { background: var(--fail); }
.maker-downloads { display: flex; flex-wrap: wrap; gap: 8px; }
.maker-downloads[hidden], .maker-buy[hidden] { display: none; }
.btn { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 10px 20px; background: var(--brand); color: var(--brand-ink); cursor: pointer; }
.btn:disabled { background: #9aa6bf; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.why h2 { font-size: 1.05rem; margin: 0.8em 0 0.2em; }
.why p { margin: 0; color: var(--ink-2); }
.cols { columns: 2 220px; padding-left: 1.2em; }
.steps li { margin-bottom: 0.4em; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.spec th { width: 38%; color: var(--ink-2); font-weight: 600; }
.sizes thead th { background: var(--panel); }
.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--ink-2); }
.ftr { margin-top: 48px; border-top: 1px solid var(--line); background: var(--panel); font-size: 0.86rem; color: var(--ink-2); }
.ftr .wrap { padding-top: 16px; padding-bottom: 24px; }
.ftr a { color: var(--ink-2); }

@media (max-width: 640px) {
  .maker-result { grid-template-columns: 1fr; }
  .maker-preview { max-width: 280px; }
}
