/* AI Builder Finder: paper, ink, safety orange. Square grid, no gradients. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-cond-latin.woff2') format('woff2');
  font-weight: 800 900;
  font-stretch: 62%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ecebe6;
  --paper-2: #e2e1da;
  --card: #f6f5f1;
  --ink: #111111;
  --ink-2: #3a3a38;
  --line: #111111;
  --line-soft: #c9c7bf;
  --accent: #ff4f00;
  --accent-ink: #b33600;
  --ok: #1f7a3a;
  --no: #a12a1a;
  --maxw: 1180px;
  --gutter: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
table, .eyebrow { font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
p + p { margin-top: 16px; }
strong { font-weight: 700; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 760px) { :root { --gutter: 32px; } }


.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 900; font-stretch: 62%; font-size: 26px; letter-spacing: .5px; text-transform: uppercase; line-height: 1; }
.brand span { color: var(--accent); }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { border-bottom-color: var(--accent); color: var(--ink); }


.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); }
.display { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .92; letter-spacing: .3px; }
h1.display { font-size: clamp(46px, 7vw, 86px); margin: 14px 0 20px; }
h1.display em { font-style: normal; color: var(--accent); display: block; }
h1.page { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(38px, 6.5vw, 72px); line-height: .95; margin: 12px 0 18px; }
h2 { font-family: 'Archivo', 'Inter', sans-serif; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(28px, 4vw, 40px); line-height: 1; margin: 56px 0 18px; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 28px 0 8px; }
.lead { font-size: 19px; line-height: 1.6; max-width: 760px; color: var(--ink); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }


.article { max-width: 780px; }
.article ul, .article ol { margin: 14px 0 14px 22px; }
.article li + li { margin-top: 6px; }
.article p, .article li { color: var(--ink); }
section { scroll-margin-top: 20px; }


.hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: start; } }


.panel { background: var(--card); border: 1px solid var(--line); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.panel-body { padding: 18px 16px; }


.q { border: 0; margin: 0 0 18px; }
.q legend { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-2); }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: block; border: 1px solid var(--line); padding: 10px 12px; font-size: 15px; font-weight: 600; cursor: pointer; background: var(--paper); min-height: 44px; }
.opt input:checked + span { background: var(--ink); color: var(--paper); }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn { display: inline-block; background: var(--accent); color: #111; border: 1px solid var(--line); font-weight: 800; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; padding: 14px 20px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--paper); }
.result { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.result ol { margin: 8px 0 0 20px; }
.result li + li { margin-top: 10px; }
.result .why { display: block; font-size: 14px; color: var(--ink-2); }


.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--card); margin: 18px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
thead th { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; border-bottom: 1px solid var(--line); background: var(--paper-2); }
tbody th { font-weight: 700; white-space: nowrap; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--no); font-weight: 700; }


.grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 16px; background: var(--card); }
.cell a.title { font-weight: 800; font-size: 18px; color: var(--accent-ink); text-decoration: none; }
.cell a.title:hover { text-decoration: underline; }
.cell p { font-size: 15px; margin-top: 6px; color: var(--ink-2); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border: 1px solid var(--line); padding: 2px 6px; margin-top: 10px; }


.verdict { border: 1px solid var(--line); border-left: 8px solid var(--accent); background: var(--card); padding: 18px 18px; margin: 22px 0; }
.verdict p { margin: 0; }
.verdict p + p { margin-top: 10px; }
.facts { font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line-soft); margin-top: 40px; padding-top: 14px; }
.facts ul { margin: 8px 0 0 20px; }


.crumbs { font-size: 13px; color: var(--ink-2); padding-top: 22px; }
.crumbs a { color: var(--ink-2); }

/* FAQ */
details { border-top: 1px solid var(--line-soft); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line-soft); }
summary { font-weight: 700; cursor: pointer; font-size: 17px; }
details p { margin-top: 10px; }


.foot { border-top: 1px solid var(--line); margin-top: 72px; padding: 36px 0 44px; background: var(--paper-2); font-size: 14px; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot h4 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.foot ul { list-style: none; }
.foot li + li { margin-top: 5px; }
.foot a { color: var(--ink-2); }
.foot .legal { margin-top: 26px; color: var(--ink-2); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand { font-size: 22px; }
  .nav { gap: 2px 14px; }
  .nav a { font-size: 13px; }
  .lead { font-size: 17px; }
}
