/* whatco.app/company/{id} — company profile page (research/WEB_PROFILE_SPEC.md §4) */
:root { --bg:#F3F1EB; --ink:#1B1A17; --muted:#5E584F; --faint:#8B857B; --line:rgba(27,26,23,.08); --yellow:#E3CF5C; --card:#FFFFFF; }
* { box-sizing:border-box; margin:0 }
body { background:var(--bg); color:var(--ink); font:16px/1.5 -apple-system,"SF Pro Text",Inter,system-ui,sans-serif; -webkit-font-smoothing:antialiased }
a { color:inherit }
.top { position:sticky; top:0; z-index:5; display:flex; justify-content:space-between; align-items:center; padding:14px clamp(16px,4vw,40px); background:rgba(243,241,235,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line) }
.top img { display:block; height:30px; width:auto }
.btn { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:14px 24px; font-weight:700; font-size:16px; text-decoration:none; border:0; cursor:pointer; font-family:inherit }
.btn.sm { padding:9px 16px; font-size:14px } .btn.dark { background:var(--ink); color:#fff } .btn.light { background:#fff; color:var(--ink) } .btn.line { background:transparent; border:1.5px solid var(--ink); color:var(--ink) }

/* One layout for every page: a 1480px container, text capped at a readable line (lead 760, headings 880, paragraphs 780),
   data (tiles, tables, cards, comparison rows) across the full width. Phone rules at the end of the file. */
.wrap { max-width:1480px; margin:0 auto; padding:0 clamp(16px,4vw,40px) }
main { padding:28px 0 40px }
section { padding:36px 0; border-bottom:1px solid var(--line) }
section:last-of-type { border-bottom:0 }
h1 { font-size:clamp(34px,5vw,46px); font-weight:800; letter-spacing:-.04em; line-height:1 }
h2 { font-size:clamp(26px,3.6vw,34px); font-weight:800; letter-spacing:-.035em; line-height:1.08; margin-bottom:18px; text-wrap:balance }
h2 mark { background:none; color:#B49A12 }
p { color:var(--muted); font-size:17px; margin-top:12px }
.eyebrow { font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); font-weight:700; margin-bottom:10px; display:flex; gap:10px; align-items:center }
.pb { display:inline-block; background:rgba(27,26,23,.07); color:var(--muted); border-radius:999px; padding:2px 9px; font-size:12px; font-weight:700; letter-spacing:0; text-transform:none }

.hero { padding-top:20px }
.who { display:flex; gap:16px; align-items:center }
.logo { width:64px; height:64px; border-radius:16px; background:#fff; object-fit:contain; box-shadow:0 4px 14px rgba(27,26,23,.08); flex:0 0 auto }
.logo.letter { display:flex; align-items:center; justify-content:center; font-weight:800; font-size:28px; background:#C9D7F0 }
.cat { color:var(--faint); font-weight:600; margin-top:6px }
.lead { font-size:clamp(21px,2.6vw,26px); line-height:1.3; color:var(--ink); font-weight:600; letter-spacing:-.015em; margin:22px 0 18px }
.chips { display:flex; flex-wrap:wrap; gap:8px }
.chips span { background:#fff; border:1px solid var(--line); border-radius:999px; padding:6px 12px; font-size:14px; font-weight:600 }
.next { margin:16px 0 22px; color:var(--muted); font-size:15px; font-weight:600 }
.hero .btn { margin-top:4px }

.res { background:var(--ink); color:#fff; border-radius:28px; padding:28px; border:0; margin:8px 0 }
.res h2 { color:#fff; font-size:clamp(26px,3.4vw,34px) } .res h2 mark { color:var(--yellow) }
.res .pill { display:inline-block; background:var(--yellow); color:var(--ink); border-radius:999px; padding:6px 14px; font-weight:800; font-size:14px; margin-bottom:16px }
.rt { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px }
.rt div { border:1.5px solid #3A3731; border-radius:18px; padding:14px 16px }
.rt b { display:block; font-size:28px; letter-spacing:-.03em } .rt span { color:#B9B2A6; font-size:14px; font-weight:600 } .rt em { display:block; font-style:normal; color:#CFE0C4; font-weight:700; font-size:14px; margin-top:4px }
.res .src { display:inline-block; margin-top:16px; color:#B9B2A6; font-size:14px }

.fig { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; background:#fff; border-radius:20px; padding:16px 20px }
.fig b { font-size:44px; letter-spacing:-.04em; line-height:1 } .fig span { color:var(--muted); font-weight:600 }

.bar { display:flex; gap:4px; height:56px; border-radius:16px; overflow:hidden; margin:6px 0 16px }
.bar i { display:block; min-width:6px }
.legend { list-style:none; padding:0; display:grid; gap:8px }
.legend li { display:grid; grid-template-columns:14px 1fr auto auto; gap:12px; align-items:center; font-weight:600 }
.legend li i { width:14px; height:14px; border-radius:4px } .legend b { font-size:17px } .legend em { font-style:normal; color:var(--faint); font-size:14px; min-width:84px; text-align:right }

.steps { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; counter-reset:s }
.steps li { border-radius:20px; padding:16px 18px; font-weight:700; font-size:17px; line-height:1.25; border:1px solid var(--line) }
.steps li span { display:block; font-size:12px; color:var(--muted); margin-bottom:8px }

.tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:10px }
.tiles div { background:#fff; border-radius:20px; padding:16px 18px }
.tiles b { display:block; font-size:clamp(30px,4vw,40px); letter-spacing:-.04em; line-height:1.05 } .tiles span { display:block; color:var(--muted); font-weight:600; margin:4px 0 6px }

.owners { list-style:none; padding:0; display:grid; gap:10px }
.owners li { position:relative; background:#fff; border-radius:16px; padding:12px 16px; display:flex; justify-content:space-between; gap:12px; overflow:hidden; font-weight:600 }
.owners li i { position:absolute; left:0; bottom:0; height:4px; background:var(--yellow) }
.ceo { font-size:16px }

.rivals { display:flex; flex-wrap:wrap; gap:8px }
.rivals a, .rivals span { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:8px 14px; font-weight:700; text-decoration:none; font-size:15px }
.rivals a:hover { border-color:var(--ink) } .rivals img { width:22px; height:22px; border-radius:6px; object-fit:contain } .rivals span { color:var(--muted) }

.time { list-style:none; padding:0; display:grid; gap:2px; border-left:2px solid rgba(27,26,23,.12); margin-left:6px }
.time li { display:grid; grid-template-columns:64px 1fr; gap:12px; padding:8px 0 8px 18px; position:relative; font-weight:600 }
.time li::before { content:''; position:absolute; left:-7px; top:15px; width:12px; height:12px; border-radius:50%; background:var(--ink) }
.time b { color:var(--faint) }

.lock .locks { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:10px }
.lk { position:relative; background:#fff; border-radius:20px; padding:16px 18px; overflow:hidden; min-height:120px }
.lh { display:flex; justify-content:space-between; gap:8px; align-items:baseline; margin-bottom:10px } .lh b { font-size:16px } .lh span { color:var(--faint); font-size:13px; font-weight:700; white-space:nowrap }
.lr { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:6px 0; color:var(--muted); font-weight:600; font-size:14px }
.lr i { width:64px; height:12px; border-radius:6px; background:linear-gradient(90deg,#E4DFD4,#EFEBE3); filter:blur(1.5px) }
.lk .blur { position:absolute; inset:auto 0 0 0; height:46px; background:linear-gradient(180deg,rgba(255,255,255,0),#fff) }
.lk::after { content:'🔒'; position:absolute; right:14px; bottom:10px; font-size:14px; opacity:.6 }
.unlock { margin-top:16px; display:flex; flex-wrap:wrap; gap:12px; align-items:center } .unlock span { color:var(--muted); font-size:14px }

.srcs ul { padding-left:18px; margin-top:10px } .srcs li { margin:6px 0; font-size:15px } .srcs a { color:var(--muted) }
.cta { background:var(--ink); color:#fff; border-radius:28px; padding:32px 28px; margin-top:28px; border:0 }
.cta h2 { color:#fff } .cta p { color:#B9B2A6; margin-bottom:20px }


.foot { display:flex; flex-wrap:wrap; gap:8px 20px; padding:24px clamp(16px,4vw,40px) 40px; font-size:14px; color:var(--faint); max-width:1180px; margin:0 auto }
.foot a, .linklike { color:var(--faint); background:none; border:0; font:inherit; cursor:pointer; padding:0 }
.consent { position:fixed; left:16px; right:16px; bottom:16px; max-width:520px; margin:0 auto; background:#fff; border-radius:20px; padding:16px; box-shadow:0 20px 50px rgba(27,26,23,.18); z-index:20 }
.consent p { font-size:14px; margin:0 0 12px } .consent div { display:flex; gap:8px; justify-content:flex-end } .consent[hidden] { display:none }
.tiles .pb { display:inline-block; margin:0 }
.rt { grid-template-columns:repeat(auto-fit,minmax(130px,1fr)) } .rt b { font-size:clamp(22px,2.6vw,28px); white-space:nowrap }

.top nav { display:flex; gap:18px; align-items:center } .top nav > a:not(.btn) { font-weight:700; font-size:15px; text-decoration:none }
.parent { display:inline-block; margin-bottom:16px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:6px 14px; font-weight:700; font-size:14px; text-decoration:none }
.ucards { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px }
.ucard, .cc { display:flex; gap:12px; align-items:center; background:#fff; border-radius:18px; padding:12px 14px; text-decoration:none; border:1px solid transparent }
.ucard:hover, .cc:hover { border-color:var(--ink) }
.ucard { flex-direction:column; align-items:flex-start; gap:6px } .ucard b { font-size:16px } .ucard span { color:var(--faint); font-size:13px; font-weight:600 }
.ucard img, .cc img { width:36px; height:36px; border-radius:10px; object-fit:contain; flex:0 0 auto }
.group { display:flex; align-items:center; gap:14px; background:#fff; border-radius:22px; padding:18px 20px; margin:28px 0; text-decoration:none; border:1px solid var(--line) }
.group img { width:48px; height:48px; border-radius:12px; object-fit:contain } .group span { display:block; color:var(--faint); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.08em } .group b { font-size:22px; letter-spacing:-.02em } .group i { margin-left:auto; font-style:normal; font-size:24px }
.gaps { padding-left:18px; color:var(--muted) } .gaps li { margin:6px 0 }
.cat-head h1 { margin-bottom:10px } .cat-head p { margin-bottom:18px }
#q { width:100%; height:54px; border-radius:999px; border:1.5px solid rgba(27,26,23,.15); background:#fff; padding:0 22px; font:inherit; font-size:17px; outline:none } #q:focus { border-color:var(--ink) }
.filters { display:flex; gap:8px; overflow-x:auto; padding:14px 0 2px; scrollbar-width:none } .filters::-webkit-scrollbar { display:none }
.filters button { flex:0 0 auto; border:0; border-radius:999px; padding:8px 14px; font:inherit; font-size:14px; font-weight:700; background:rgba(27,26,23,.06); color:#3E3A34; cursor:pointer } .filters button.on { background:var(--ink); color:#fff }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:8px }
.cc div { min-width:0 } .cc b { display:block; font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap } .cc span { display:block; color:var(--faint); font-size:12.5px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.ll { width:36px; height:36px; border-radius:10px; background:#E9E5DC; display:flex; align-items:center; justify-content:center; font-weight:800; flex:0 0 auto }
.cc[hidden] { display:none }
.cat-head { max-width:760px }

.signin { border:0; background:none; font:inherit; font-weight:700; font-size:15px; cursor:pointer; padding:0 }
.acct { display:inline-flex; gap:10px; align-items:center; font-weight:700; font-size:14px } .acct .linklike { font-size:13px }
.unlock a { color:var(--muted); font-weight:600; font-size:15px }
.modal { position:fixed; inset:0; z-index:40; background:rgba(27,26,23,.45); display:flex; align-items:center; justify-content:center; padding:16px }
.sheet { position:relative; background:var(--bg); border-radius:28px; padding:30px 26px 22px; max-width:420px; width:100%; box-shadow:0 30px 80px rgba(0,0,0,.3) }
.sheet h2 { font-size:28px } .sheet p { font-size:15px } .sheet .x { position:absolute; top:14px; right:16px; border:0; background:none; font-size:28px; cursor:pointer; color:var(--faint) }
.sbtns { display:flex; flex-direction:column; align-items:center; gap:10px; margin:22px 0 8px }
.apple { width:300px; height:44px; border-radius:999px; border:0; background:#000; color:#fff; font:inherit; font-weight:600; font-size:15px; display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer }
.sheet .err { color:#A33; font-size:14px; text-align:center } .sheet .fine { font-size:12px; color:var(--faint); text-align:center }
#full .fb { background:#fff; border-radius:20px; padding:18px 20px; margin-top:12px } #full h3 { font-size:18px; letter-spacing:-.01em; margin-bottom:10px }
.kl, .docs { list-style:none; padding:0 } .kl li { display:grid; grid-template-columns:1fr auto 64px; gap:12px; align-items:baseline; padding:7px 0; border-bottom:1px solid var(--line); font-size:15px } .kl li:last-child { border:0 } .kl span { color:var(--muted); font-weight:600 } .kl em, .docs em { font-style:normal; color:var(--faint); font-size:13px } .kl em { text-align:right } .kl b { text-align:right; font-variant-numeric:tabular-nums }
.docs li { padding:5px 0; font-size:14px } .docs a { color:var(--muted) }
.hs { margin-bottom:14px } .hs > b { display:block; font-size:14px; color:var(--muted); margin-bottom:6px }
.hb { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; height:150px; align-items:end } .hb div { display:flex; flex-direction:column; justify-content:flex-end; height:100%; text-align:center } .hb i { display:block; background:#EFE08F; border-radius:8px 8px 4px 4px } .hb span { font-size:12px; font-weight:700; margin-top:4px } .hb em { font-style:normal; font-size:11px; color:var(--faint) }
.cmp { width:100%; border-collapse:collapse; font-size:15px } .cmp th, .cmp td { text-align:left; padding:8px 6px; border-bottom:1px solid var(--line) } .cmp td:first-child { color:var(--muted); font-weight:600 }

/* ---- v2 layout: wide grid, key facts, table of contents, paired blocks (desktop); one column on phones ---- */
.pg { display:grid; grid-template-columns:180px minmax(0,1fr); gap:48px; align-items:start }
.toc { position:sticky; top:86px; display:flex; flex-direction:column; gap:2px; padding-top:34px }
.toc a { text-decoration:none; color:var(--faint); font-size:14px; font-weight:600; padding:6px 10px; border-radius:10px; border-left:2px solid transparent }
.toc a:hover { color:var(--ink) } .toc a.on { color:var(--ink); background:rgba(27,26,23,.05); border-left-color:var(--ink) }
.pc > section, .pc > .row2, .pc > .herorow { border-bottom:1px solid var(--line) }
.pc > section.res, .pc > section.cta { border-bottom:0 }
.herorow { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:40px; align-items:start; padding-bottom:28px }
.herorow .hero { border:0; padding-bottom:0 }
.facts { background:#fff; border-radius:24px; padding:20px 22px; margin-top:28px }
.facts h3 { font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--faint); margin-bottom:10px }
.facts dl { display:grid; grid-template-columns:auto 1fr; gap:9px 14px; font-size:14.5px }
.facts dt { color:var(--faint); font-weight:600 } .facts dd { font-weight:700; margin:0; overflow-wrap:anywhere } .facts a { color:var(--ink) }
.row2 { display:grid; grid-template-columns:1fr 1fr; gap:48px }
.row2 > section { border:0 } .row2 > :only-child { grid-column:1 / -1 }
.row2 h2 { font-size:clamp(24px,2.4vw,30px) }
.pc .res { margin:24px 0 }
.pc .lock .locks { grid-template-columns:repeat(auto-fill,minmax(240px,1fr)) }
.pc #full #full, #full { scroll-margin-top:90px } section[id], .herorow { scroll-margin-top:84px }

/* catalog */
.cat-head { padding-bottom:6px; border:0 } .cat-head p { margin-bottom:0 }
.cat-bar { position:sticky; top:61px; z-index:4; background:rgba(243,241,235,.96); backdrop-filter:blur(10px); padding:12px 0 6px; margin:0 0 4px }
.filters em, .grp h2 em { font-style:normal; opacity:.55; font-weight:600 }
.grp { padding:22px 0; border-bottom:1px solid var(--line) } .grp[hidden], .recent[hidden] { display:none }
.grp h2 { font-size:20px; letter-spacing:-.02em; margin-bottom:12px }
.wide .grid { grid-template-columns:repeat(auto-fill,minmax(200px,1fr)) }
.recent { padding:18px 0 8px; border:0 }
.rstrip { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(240px,1fr); gap:10px; overflow-x:auto; scrollbar-width:none; padding-bottom:4px }
.rstrip a { display:flex; gap:12px; align-items:center; background:var(--ink); color:#fff; border-radius:18px; padding:12px 14px; text-decoration:none }
.rstrip img { width:36px; height:36px; border-radius:10px; background:#fff; object-fit:contain } .rstrip b { display:block; font-size:15px } .rstrip span { color:#B9B2A6; font-size:13px; font-weight:600 }

@media (max-width:1100px) {
  .pg { display:block } .toc { display:none }
  .herorow { grid-template-columns:1fr; gap:0 } .facts { margin-top:18px }
  .row2 { grid-template-columns:1fr; gap:0 } .row2 > section + section { border-top:1px solid var(--line) }
}
.row2 .steps { grid-template-columns:1fr }

/* ---- v3: owner's Claude Design mockup (research/design/Whatco Web Profile TSMC.html) — one column of data ---- */
.pc > section { padding:48px 0 56px }
.pc > section.res { padding:0; margin:0 0 56px }
.pc h2 { max-width:720px; font-size:34px; line-height:1.1; letter-spacing:-.035em; margin-bottom:18px }
.pc p { max-width:640px }
.herorow { padding:40px 0 48px; gap:48px; align-items:start }
.herorow .lead { font-size:25px; line-height:1.3; letter-spacing:-.015em; max-width:620px }
.facts { margin-top:0; padding:24px }
.facts dl { display:block } .facts dl > div, .facts dt, .facts dd { display:block }
.facts dl { display:grid; grid-template-columns:auto 1fr; gap:0 }
.facts dt, .facts dd { padding:10px 0; border-bottom:1px solid var(--line); font-size:14px } .facts dd { text-align:right }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom:0 }
.fig { display:inline-flex; flex-direction:column; align-items:flex-start; gap:8px; padding:22px; min-width:260px; max-width:384px }
.fig b { font-size:46px }
.tiles { grid-template-columns:repeat(3,minmax(0,1fr)); max-width:none }
.tiles div { padding:20px }
.bar { max-width:none }
.legend { max-width:720px; gap:0 } .legend li { padding:14px 0; border-bottom:1px solid var(--line) } .legend li:first-child { border-top:1px solid var(--line) }
.steps { grid-template-columns:repeat(3,minmax(0,1fr)) }
.steps li { min-height:160px; display:flex; flex-direction:column; justify-content:space-between; padding:20px; border:0; font-size:18px }
.row2 .steps { grid-template-columns:repeat(3,minmax(0,1fr)) }
.owners { max-width:720px } .owners li { padding:16px 18px 14px; flex-wrap:wrap } .owners li i { position:static; display:block; flex-basis:100%; height:4px; border-radius:2px; margin-top:4px; max-width:100% }
.owners li { display:grid; grid-template-columns:1fr auto; gap:10px } .owners li i { grid-column:1 / -1 }
.rivals a, .rivals span { padding:6px 16px 6px 6px; font-size:16px }
.rivals a i, .rivals span i, .rivals img { width:30px; height:30px; border-radius:9px; flex:0 0 auto } .rivals a i, .rivals span i { display:inline-flex; align-items:center; justify-content:center; font-style:normal; font-weight:800; font-size:13px; background:#C9D7F0; color:var(--ink) }
.time { max-width:720px; gap:14px } .time li { display:block; padding:2px 0 2px 26px } .time li::before { top:6px } .time b { display:block; font-size:15px; color:var(--faint) } .time span { display:block; font-size:18px; font-weight:600; letter-spacing:-.01em }
.srcs ul { list-style:none; padding:0; max-width:720px; margin-top:18px } .srcs li { margin:0; padding:14px 0; border-top:1px solid var(--line); font-size:16px } .srcs a { color:var(--muted); text-decoration:none } .srcs a:hover { color:var(--ink) }
.pc .lock .locks, .lock .locks { grid-template-columns:1fr; max-width:720px; gap:14px }
.lk { padding:20px 24px 16px; min-height:0 } .lk .lh b { font-size:20px; letter-spacing:-.01em } .lr { font-size:16px; padding:10px 0; border-top:1px solid var(--line) } .lr i { width:80px }
.unlock { margin-top:22px }
.pc .cta { padding:36px 32px; margin-top:8px }
.ucards { grid-template-columns:repeat(auto-fill,minmax(180px,1fr)) }

/* v3.1: results card keeps its inner padding; text caps shared by every page */
.pc > section.res { padding:30px 32px 26px; margin:0 0 56px }
.res .src { display:inline-block; margin-top:18px }
.pg { grid-template-columns:210px minmax(0,1fr); gap:64px }
.herorow { grid-template-columns:minmax(0,1fr) 360px; gap:56px }
.lead { max-width:760px }
main h2 { max-width:880px }
main p { max-width:780px }
.legend, .owners, .time, .srcs ul, .pc .lock .locks, .lock .locks { max-width:880px }
.fig { max-width:440px }
@media (min-width:1600px) { .pc h2 { font-size:38px } .herorow .lead { font-size:27px } }

/* header aligned with the content column (logo over the table of contents, buttons over the right edge) */
body { --cw:1480px }
.top, .foot { padding-left:max(clamp(16px,4vw,40px), calc((100% - var(--cw)) / 2 + clamp(16px,4vw,40px))); padding-right:max(clamp(16px,4vw,40px), calc((100% - var(--cw)) / 2 + clamp(16px,4vw,40px))); max-width:none }

/* ---- account menu, save, nudge, workspace ---- */
.homelink { font-weight:700; font-size:15px; text-decoration:none }
.acct { position:relative }
.avatar { width:38px; height:38px; border-radius:50%; border:0; background:#E3CF5C; color:var(--ink); font:inherit; font-weight:800; font-size:14px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center }
.avatar.big { width:56px; height:56px; font-size:20px; flex:0 0 auto }
.menu { position:absolute; right:0; top:46px; min-width:220px; background:#fff; border-radius:18px; box-shadow:0 18px 50px rgba(27,26,23,.18); padding:8px; display:flex; flex-direction:column; z-index:30 }
.menu[hidden] { display:none }
.menu-name { padding:10px 12px 8px; font-weight:800; font-size:14px; border-bottom:1px solid var(--line); margin-bottom:4px }
.menu a, .menu button { text-align:left; padding:10px 12px; border-radius:10px; font:inherit; font-size:15px; font-weight:600; background:none; border:0; cursor:pointer; text-decoration:none; color:var(--ink) }
.menu a:hover, .menu button:hover { background:rgba(27,26,23,.05) }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center }
.savebtn { padding:13px 20px } .savebtn.on { background:var(--ink); color:#fff; border-color:var(--ink) }
.nudge { position:fixed; left:50%; transform:translateX(-50%); bottom:18px; z-index:25; display:flex; gap:14px; align-items:center; background:#fff; border-radius:999px; padding:10px 12px 10px 22px; box-shadow:0 18px 50px rgba(27,26,23,.2); max-width:calc(100% - 24px); font-size:15px }
.nudge .x { border:0; background:none; font-size:22px; color:var(--faint); cursor:pointer; padding:0 6px }
.ws-head { padding:40px 0 10px; border:0 } .ws-head h1 { margin-bottom:18px }
.ws-search input { width:100%; max-width:720px; height:54px; border-radius:999px; border:1.5px solid rgba(27,26,23,.15); background:#fff; padding:0 22px; font:inherit; font-size:17px; outline:none }
.ws-block { padding:26px 0; border-bottom:1px solid var(--line) } .ws-block h2 { font-size:22px; margin-bottom:14px } .muted { color:var(--faint) }
.upl { list-style:none; padding:0; max-width:720px } .upl li { display:grid; grid-template-columns:1fr auto auto; gap:16px; padding:12px 0; border-top:1px solid var(--line); font-weight:600 } .upl span { color:var(--muted) }
.acc { max-width:720px; display:flex; flex-direction:column; gap:12px; padding-bottom:40px }
.acc-card { display:flex; gap:16px; align-items:center; justify-content:space-between; background:#fff; border-radius:22px; padding:20px 22px }
.acc-card > div:not(.avatar) { flex:1; display:flex; flex-direction:column; gap:4px } .acc-card b { font-size:18px } .acc-card span { color:var(--muted); font-size:14px }
.acc-row { padding:4px 0 }
.danger { margin-top:24px; border:1.5px solid #E8C7C7; border-radius:22px; padding:20px 22px } .danger b { color:#9A2B2B } .danger p { font-size:14px; margin:6px 0 12px }
.signin-page { max-width:560px; margin:40px auto; text-align:center; border:0 } .signin-page p { margin:12px auto 0 }

/* hero actions sit above Key facts; the chips (country, founded, listing) were duplicates of Key facts */
.side-col { display:flex; flex-direction:column; gap:12px }
.side-col .hero-actions { display:grid; grid-template-columns:1fr auto; gap:10px }
.side-col .hero-actions .btn { width:100%; padding:14px 18px; white-space:nowrap }
.herorow .hero .lead { margin-bottom:0 }
@media (max-width:1100px) { .side-col { margin-top:20px } }

/* phones and narrow windows: everything in one column (kept last so it wins over the wide-layout rules) */
@media (max-width:1100px) {
  .pg { display:block } .toc { display:none }
  .herorow { grid-template-columns:1fr; gap:0; padding-top:24px }
  .side-col { margin-top:22px }
  .row2 { grid-template-columns:1fr; gap:0 }
  .tiles, .steps, .row2 .steps { grid-template-columns:1fr 1fr }
}
@media (max-width:560px) {
  .tiles, .steps, .row2 .steps { grid-template-columns:1fr }
  .steps li { min-height:0 }
  .pc h2 { font-size:28px } .herorow .lead { font-size:21px }
  .side-col .hero-actions { grid-template-columns:1fr auto }
  .pc > section.res { padding:22px 18px 20px }
  /* Header on a phone: everything on one line (smaller logo, font and button; nothing wraps). */
  .top { gap:8px; padding-top:12px; padding-bottom:12px } .top img { height:24px }
  .top nav { gap:10px } .top nav > a.homelink { display:none }
  .top nav > a:not(.btn), .top .signin { font-size:14px; white-space:nowrap } .top nav .btn.sm { padding:7px 11px; font-size:13px; white-space:nowrap }
  /* Sign-in nudge: a bar across the bottom instead of a pill (the pill folded into a circle on narrow screens). */
  .nudge { left:12px; right:12px; bottom:12px; transform:none; max-width:none; border-radius:18px; display:grid; grid-template-columns:1fr auto auto; gap:10px; padding:12px 6px 12px 16px; font-size:14px; line-height:1.35 }
}

/* actions back under the lead (no chips above them) */
.herorow .hero .lead { margin-bottom:26px }
.hero .hero-actions { display:flex; gap:10px; flex-wrap:wrap }

/* Google button placeholder: same size as Google's pill, replaced when its iframe renders (no jump). */
#gbtn { min-height:44px; display:flex; justify-content:center; position:relative } #gbtn > div:not(.gph) { position:relative; z-index:1 } .gph { position:absolute; top:0; left:50%; transform:translateX(-50%); width:300px; height:44px; box-sizing:border-box; border:1px solid #dadce0; border-radius:999px; background:#fff; display:flex; align-items:center; justify-content:center; gap:12px; font:500 14px/1 'Google Sans', Roboto, -apple-system, system-ui, sans-serif; color:#3c4043 }

/* ---- Comparison pages (/vs/{slug}) ---- */
/* The comparison column is a fifth wider than a company page on desktop: the table and card need the room. */
.vs h1 { font-size:clamp(40px,6vw,64px); letter-spacing:-.04em; line-height:1; margin:6px 0 14px }
.vcard { display:block; width:100%; max-width:960px; height:auto; border-radius:22px; margin:8px 0 28px; box-shadow:0 14px 40px rgba(27,26,23,.08) }
.vcos { display:grid; grid-template-columns:1fr auto 1fr; gap:16px; align-items:stretch; margin-bottom:34px }
.vco { background:#fff; border-radius:22px; padding:22px; display:flex; flex-direction:column; gap:8px }
.vco .logo { width:56px; height:56px; border-radius:14px; object-fit:contain; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.08) }
.vco .logo.letter { display:flex; align-items:center; justify-content:center; font-weight:800; font-size:24px; background:var(--sand) }
.vco h3 { font-size:24px; letter-spacing:-.02em; margin:6px 0 0 } .vco .meta { color:var(--faint); font-weight:600; font-size:14px } .vco p { color:var(--muted); font-size:15px; line-height:1.45; flex:1 }
.vco .btn { align-self:flex-start; margin-top:6px }
.vsx { align-self:center; font-weight:800; color:var(--faint); font-size:20px }
.vtable { margin-bottom:34px } .vtable table { width:100%; border-collapse:collapse; background:#fff; border-radius:22px; overflow:hidden }
.vtable th, .vtable td { padding:14px 16px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top }
.vtable thead th { font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--faint) } .vtable thead th:not(:first-child), .vtable td { text-align:right }
.vtable tbody th { font-weight:600; color:var(--ink) } .vtable tbody th small { display:block; color:var(--faint); font-weight:500; font-size:12.5px; margin-top:3px; line-height:1.35 }
.vtable td { font-weight:800; font-size:19px; letter-spacing:-.02em; white-space:nowrap } .vtable tr:last-child th, .vtable tr:last-child td { border-bottom:0 }
.vtext p { font-size:19px; line-height:1.55; margin:0 0 18px }
.vlist { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px; margin:24px 0 }
.vitem { display:block; background:#fff; border-radius:22px; overflow:hidden; text-decoration:none; color:var(--ink); box-shadow:0 10px 30px rgba(27,26,23,.06) }
.vitem img { width:100%; height:auto; display:block } .vitem b { display:block; padding:14px 18px 2px; font-size:20px; letter-spacing:-.02em } .vitem span { display:block; padding:0 18px 16px; color:var(--muted); font-weight:600; font-size:14px }
@media (max-width:700px) { .vcos { grid-template-columns:1fr } .vsx { display:none } .vtable td { font-size:16px } .vtable th, .vtable td { padding:11px 12px } }

/* ---- Five years of results: table with sparklines (variant 1) and small line charts (variant 2) ---- */
.fyw { overflow-x:auto; -webkit-overflow-scrolling:touch; margin:0 -20px; padding:0 20px }
.fy { width:100%; border-collapse:collapse; font-size:15px; font-variant-numeric:tabular-nums; min-width:560px }
.fy th, .fy td { padding:9px 8px; border-bottom:1px solid var(--line); text-align:right; white-space:nowrap } .fy tr:last-child th, .fy tr:last-child td { border-bottom:0 }
.fy thead th { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); font-weight:700 }
.fy tbody th { text-align:left; font-weight:600; color:var(--ink); padding-left:0 } .fy td { font-weight:600 }
.fy tr.derived th { color:var(--muted); font-weight:500 } .fy tr.derived td { color:var(--muted); font-weight:500 }
.fy td.chg { font-weight:800 } .fy .neg { color:#B3261E }
.fy td.sp { padding-right:0; width:80px } .fy td.sp svg { display:block; margin-left:auto } .fy td.sp path { fill:none; stroke:var(--ink); stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round } .fy tr.derived td.sp path { stroke:var(--faint) }
.fy .zero, .hc .zero { stroke:var(--line); stroke-width:1; stroke-dasharray:3 3 }
.hcs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.hc { background:var(--bg); border-radius:18px; padding:16px 16px 12px; min-width:0 }
.hc-name { font-size:13px; font-weight:700; color:var(--faint); text-transform:uppercase; letter-spacing:.06em }
.hc-last { font-size:30px; font-weight:800; letter-spacing:-.03em; margin-top:6px; line-height:1.05 } .hc-last.neg { color:#B3261E }
.hc-yoy { font-size:13px; font-weight:700; color:#2F7A3A; min-height:18px; margin-top:2px } .hc-yoy.neg { color:#B3261E }
.hc svg { display:block; width:100%; height:90px; margin-top:10px; overflow:visible } .hc path { fill:none; stroke:var(--ink); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke } .hc circle { fill:var(--ink) }
.hc-x { display:flex; justify-content:space-between; font-size:12px; color:var(--faint); margin-top:6px }
@media (max-width:700px) { .hcs { grid-template-columns:1fr } }

.hist-phone { display:none } @media (max-width:700px) { .hist-desk { display:none } .hist-phone { display:block } }

/* ---- Where the money comes from: split bar + one row per region ---- */
.geo-bar { display:flex; height:44px; border-radius:14px; overflow:hidden; gap:3px; margin:4px 0 22px }
.geo-bar i { display:flex; align-items:center; padding-left:12px; min-width:0 } .geo-bar span { font-size:14px; font-weight:800; color:#1B1A17; white-space:nowrap }
.geo-rows { list-style:none; padding:0; margin:0 }
.geo-rows li { display:grid; grid-template-columns:minmax(140px,240px) 1fr 56px 90px; gap:16px; align-items:center; padding:11px 0; border-top:1px solid var(--line); font-variant-numeric:tabular-nums }
.geo-name { display:flex; align-items:center; gap:10px; font-weight:600; font-size:16px; min-width:0 } .geo-name i { width:12px; height:12px; border-radius:4px; flex:none }
.geo-track { height:10px; background:var(--bg); border-radius:999px; overflow:hidden } .geo-track i { display:block; height:100%; border-radius:999px }
.geo-rows b { font-size:18px; font-weight:800; text-align:right } .geo-rows em { font-style:normal; color:var(--faint); font-weight:600; font-size:14px; text-align:right }
@media (max-width:700px) { .geo-rows li { grid-template-columns:1fr 48px 76px; row-gap:6px } .geo-track { grid-column:1 / -1; grid-row:2 } .geo-bar { height:36px } }
/* Unit pages: the longer answer to the question people search for. */
.answer { max-width:880px } .answer .short { font-size:20px; font-weight:600; line-height:1.45; color:var(--ink); max-width:780px } .answer p { max-width:780px }
.answer .asrc { list-style:none; padding:0; margin-top:14px; display:flex; flex-wrap:wrap; gap:8px } .answer .asrc a { font-size:13px; color:var(--muted); text-decoration:none; border:1px solid var(--line); border-radius:999px; padding:5px 12px; display:inline-block } .answer .asrc a:hover { color:var(--ink) }

/* Hero: a quiet "Explore more companies →" that opens the app modal (screens, App Store link, QR). */
.btn.more { padding:11px 18px; font-size:15px; border-width:1.5px; border-color:rgba(27,26,23,.25) }
.btn.more:hover { border-color:var(--ink) }
.appm { position:fixed; inset:0; z-index:60; background:rgba(27,26,23,.55); display:flex; align-items:center; justify-content:center; padding:16px }
.appm[hidden] { display:none }
.appm-card { position:relative; background:var(--bg, #F3F1EB); border-radius:28px; max-width:860px; width:100%; max-height:calc(100vh - 32px); overflow:auto; display:grid; grid-template-columns:1fr auto; gap:32px; padding:40px; box-shadow:0 30px 80px rgba(0,0,0,.25) }
.appm-x { position:absolute; top:14px; right:14px; width:38px; height:38px; border-radius:50%; border:0; background:rgba(27,26,23,.07); font-size:22px; line-height:1; cursor:pointer; color:var(--ink) }
.appm-text { display:flex; flex-direction:column; gap:14px; align-self:center }
.appm-text h2 { font-size:34px; line-height:1.08; letter-spacing:-.02em; margin:0 }
.appm-text p { margin:0; font-size:17px; line-height:1.45; opacity:.8 }
.appm-get { display:flex; align-items:center; gap:20px; margin-top:10px; flex-wrap:wrap }
.appm-qr { display:flex; align-items:center; gap:10px; font-size:13px; line-height:1.3; opacity:.85; max-width:180px }
.appm-qr img { border-radius:10px; background:#fff; padding:4px; flex:none }
.appm-shots { display:flex; gap:14px; align-items:flex-start }
.appm-shots img { width:190px; height:auto; border-radius:22px; box-shadow:0 10px 30px rgba(0,0,0,.14); display:block }
.appm-shots img + img { margin-top:36px }
body.appm-open { overflow:hidden }
@media (max-width:760px) {
  .appm { align-items:flex-end; padding:0 }
  .appm-card { grid-template-columns:1fr; padding:28px 20px 24px; border-radius:24px 24px 0 0; gap:22px; max-height:92vh }
  .appm-text h2 { font-size:27px; padding-right:36px }
  .appm-shots { order:-1; justify-content:center }
  .appm-shots img { width:42%; max-width:170px; border-radius:16px }
  .appm-shots img + img { margin-top:24px }
  .appm-qr { display:none }
  .appm-get .btn { width:100% }
}

/* Whatco Insights: series hub and "more in this series" list. Article bodies carry their own scoped styles (.ins). */
.ins-hub { max-width:760px; margin:0 auto; padding:40px 0 20px }
.ins-hub h1 { font-size:clamp(34px,5vw,48px); line-height:1.06; letter-spacing:-.035em; margin:12px 0 14px }
.ins-hub .lead { font-size:20px; color:var(--muted); line-height:1.45 }
.ins-list { display:grid; gap:12px; margin-top:28px }
.ins-item { display:grid; grid-template-columns:44px 1fr; gap:14px; background:#fff; border-radius:20px; padding:18px 20px; text-decoration:none; color:var(--ink) }
.ins-item .n { width:36px; height:36px; border-radius:50%; background:rgba(27,26,23,.06); color:var(--faint); display:flex; align-items:center; justify-content:center; font-weight:800 }
.ins-item b { font-size:19px; letter-spacing:-.015em; line-height:1.25; display:block }
.ins-item p { margin:6px 0 0; font-size:15px; color:var(--muted); line-height:1.4 }
.ins-item em { display:block; margin-top:8px; font-style:normal; font-size:13px; font-weight:700; color:var(--faint) }
a.ins-item:hover b { text-decoration:underline }
.ins-item.soon { opacity:.6 }
.ins-next { margin-top:48px }
.ins article > .eyebrow { display:block; font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--faint) }
.ins article > .eyebrow a { text-decoration:none }

/* Reported: results summaries (/reports, /reports/{id}) */
.rp-list { display:flex; flex-direction:column; gap:10px; margin-top:18px }
.rp-row { display:grid; grid-template-columns:44px 1fr 20px; gap:14px; align-items:center; background:#fff; border-radius:18px; padding:14px 16px; text-decoration:none; color:var(--ink) }
.rp-row img, .rp-co img { width:44px; height:44px; border-radius:12px; object-fit:contain; background:#fff; box-shadow:0 1px 0 rgba(0,0,0,.06) }
.rp-row i, .rp-co i { width:44px; height:44px; border-radius:12px; background:#E9E5DC; display:flex; align-items:center; justify-content:center; font-style:normal; font-weight:800 }
.rp-meta { font-size:13px; color:var(--faint); font-weight:600 }
.rp-row b { display:block; font-size:17px; line-height:1.25; letter-spacing:-.01em; margin-top:3px }
.rp-row span { color:var(--faint) }
.rp { max-width:760px; margin:0 auto; padding:32px 0 20px; display:flex; flex-direction:column; gap:22px }
.rp-co { display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink); font-weight:800; font-size:18px }
.rp-co em { font-style:normal; font-weight:600; font-size:14px; color:var(--faint); margin-left:auto }
.rp h1 { font-size:clamp(30px,4.6vw,42px); line-height:1.08; letter-spacing:-.03em; margin:0 }
.rp .vcard { width:100%; height:auto; border-radius:20px; display:block }
.rp-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:10px }
.rp-facts div { background:#fff; border-radius:18px; padding:16px 16px 14px }
.rp-facts b { display:block; font-size:30px; letter-spacing:-.03em; line-height:1 }
.rp-facts span { display:block; margin-top:6px; font-size:14px; color:var(--muted); line-height:1.3 }
.rp-diff { font-size:19px; font-weight:600; line-height:1.35 }
@media (max-width:620px) { .rp-facts { grid-template-columns:1fr } }
