/* Comparison and guide pages. Same language as the home page: system type, soft pastel header, full-width bands. */
:root {
  color-scheme: light;
  --blue: #3b82f6;
  --ink: #111;
  --ink-soft: #5d5a58;
  --line: #e7e4e0;
  --paper: #fff;
  --oat: #f4eee6;
  --night: #141414;
  --win: #e8f6e3;
  --win-ink: #24661b;
  --rec: #d42a20;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: #1d62d8; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { letter-spacing: -.018em; text-wrap: balance; }
h2 { margin: 3rem 0 .75rem; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); line-height: 1.15; }
h3 { margin: 1.75rem 0 .25rem; font-size: 1.1875rem; line-height: 1.3; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { margin: 0 0 .5rem; font-size: .875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--rec); }

/* Header */
.top { background: linear-gradient(100deg, #fdeae3 0%, #f1e7f6 52%, #e0ebfb 100%); }
.top-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; }
.brand { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-size: 1.25rem; font-weight: 650; letter-spacing: -.015em; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top-bar nav { display: flex; gap: 1.25rem; font-size: .9375rem; font-weight: 500; }
.top-bar nav a { color: var(--ink); text-decoration: none; }
.top-bar nav a:hover { text-decoration: underline; }
.head { padding-block: 2.25rem 2.75rem; }
.crumbs { margin-bottom: 1.25rem; font-size: .8125rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs span { margin-inline: .125rem; }
h1 { max-width: 19em; margin: 0 0 .75rem; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1.07; letter-spacing: -.022em; }
.byline { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.byline a { color: inherit; }

/* Lead */
.article { padding-block: 2.5rem 4rem; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; align-items: start; }
.side { position: sticky; top: 1.5rem; }
.phone { width: 100%; filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .22)); }
.answer { padding: 1.5rem 1.625rem; border-radius: 18px; background: var(--oat); }
.answer p:last-child { margin: 0; font-size: 1.1875rem; line-height: 1.5; }
.answer b { font-weight: 650; }

.hub-note { margin: 1.25rem 0 0; }

/* Tables */
.table-wrap { margin-top: 1.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; }
caption { padding: .875rem 1rem; text-align: left; font-size: .8125rem; color: var(--ink-soft); }
th, td { padding: .75rem 1rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { font-size: .8125rem; font-weight: 700; }
thead th.us { color: var(--rec); }
tbody th { font-weight: 600; }
.versus:not(.many) th:first-child { width: 30%; }
.versus:not(.many) td { width: 35%; }
td.win { background: var(--win); color: var(--win-ink); font-weight: 600; }
.many { min-width: 860px; }
.versus.many-lite th:first-child { width: 34%; }
.versus.many-lite td { width: auto; }
.many tr.us { background: var(--win); }
.many tr.us th, .many tr.us td { color: var(--win-ink); font-weight: 600; }

/* Prose */
.prose { max-width: 44rem; }
.prose.wide { max-width: 52rem; }
.prose ul, .steps ol { padding-left: 1.25rem; }
.prose li, .steps li { margin-bottom: .5rem; }
blockquote { margin: 1.25rem 0; padding: .25rem 0 .25rem 1.125rem; border-left: 3px solid var(--rec); font-family: "New York", ui-serif, "Iowan Old Style", Georgia, serif; font-size: 1.125rem; }
blockquote cite { display: block; margin-top: .25rem; font: 400 .8125rem/1.4 var(--sans); color: var(--ink-soft); }
.steps h2 { margin-top: 2.25rem; }
.note { padding: 1rem 1.25rem; border-radius: 14px; background: #eef2f6; font-size: .9375rem; }
.note p:last-child { margin: 0; }

/* Ranked lists */
.pick { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .75rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.pick h2 { margin: 0 0 .375rem; font-size: 1.5rem; }
.rank { margin: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: #f1f1ef; font-size: 1rem; font-weight: 700; }
.pick.top { margin-top: 1.5rem; padding: 1.5rem; border: 2px solid var(--win-ink); border-radius: 18px; background: #f6fbf4; }
.pick.top .rank { background: var(--win-ink); color: #fff; }
.prose.wide > .pick:first-child { margin-top: 1.5rem; border-top: 0; }
.meta { font-size: .9375rem; color: var(--ink-soft); }
.meta b { color: var(--ink); font-weight: 600; }
.more { margin: 0; font-weight: 600; }

/* Hubs */
.hub-list .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .875rem; padding: 0; margin: 0; list-style: none; }
.cards a { display: grid; gap: .25rem; height: 100%; padding: 1.125rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.cards a:hover { border-color: #9a9794; }
.cards b { font-weight: 650; line-height: 1.3; }
.cards span { color: var(--ink-soft); font-size: .9375rem; line-height: 1.4; }

/* Browser tools */
.tool { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1.75rem 0 1rem; }
.tool-pane { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.tool label { font-size: .9375rem; font-weight: 600; }
.tool textarea { width: 100%; padding: .875rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: 400 .875rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; resize: vertical; }
.tool textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.tool .tool-output { background: #faf8f5; }
.tool .tool-open { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; font-weight: 500; color: var(--ink-soft); }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.tool button { padding: .5rem 1rem; border: 0; border-radius: 99px; background: #111; color: #fff; font: 500 .9375rem/1.3 var(--sans); cursor: pointer; }
.tool button:disabled { background: #e7e4e0; color: #8a8785; cursor: default; }
.tool button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.tool-status { font-size: .875rem; color: var(--ink-soft); }
.prose code { padding: .0625rem .3125rem; border-radius: 5px; background: #f1f1ef; font: 400 .875em ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* Footer blocks */
.faq h2, .sources h2, .related h2 { margin-top: 3.5rem; }
.sources { font-size: .9375rem; color: var(--ink-soft); }
.sources ul { padding-left: 1.125rem; }
.sources li { margin-bottom: .25rem; }
.related ul { padding-left: 1.25rem; }
.cta { background: linear-gradient(180deg, #fff 0%, #f7eef4 55%, #e6ebfa 100%); padding-block: 4rem; }
.cta-in { display: grid; justify-items: center; text-align: center; gap: .75rem; }
.cta img { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 16px 34px rgba(120, 30, 20, .24); }
.cta h2 { margin: .75rem 0 0; }
.cta p { max-width: 42rem; color: #4d4a52; }
.store { display: inline-flex; align-items: center; gap: .625rem; padding: .625rem 1.25rem .625rem 1rem; border-radius: 12px; background: #000; color: #fff; text-decoration: none; transition: transform .18s ease; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }
.store span { display: grid; line-height: 1.05; font-size: .6875rem; font-weight: 500; text-align: left; }
.store b { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.01em; }
.foot { background: var(--night); color: #9c9a98; padding-block: 2.25rem; font-size: .875rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.foot p { margin: 0; max-width: 34rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #fff; }
.missing { display: grid; justify-items: center; gap: 1rem; padding-block: 6rem; text-align: center; }
.missing img { width: 84px; height: 84px; border-radius: 19px; }
.missing h1 { margin: 0; }

@media (max-width: 860px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .lead-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .side { position: static; width: min(260px, 70%); margin-inline: auto; }
}
@media (max-width: 480px) {
  .top-bar nav { gap: .875rem; font-size: .875rem; }
  .answer { padding: 1.125rem 1.25rem; }
  .answer p:last-child { font-size: 1.0625rem; }
  th, td { padding: .625rem .625rem; }
  table { font-size: .875rem; }
  .pick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .top-bar nav a:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .store, .cards a { transition: none; }
}
