/* Sales and Marketing One Stop Solutions design system
   Ink #10194A, Signal Blue #2F5BFF, Sales Amber #E8962E, Growth Teal #0F9F94, Cool Paper #F4F6FB, Slate #5A6283
   Brand colours are overridable from Admin > Settings > Branding. */
:root {
  --ink: #10194A; --night: #10194A; --brand: #2F5BFF; --brand-deep: #1F44D6; --sales: #E8962E; --mkt: #0F9F94;
  --paper: #F4F6FB; --surface: #FFFFFF; --surface-2: #EEF1F8; --text: #151A33; --muted: #5A6283; --line: #DCE1EE; --line-strong: #C5CCDF;
  --good: #0F7A4E; --warn: #B4570B; --bad: #B42318;
  --sales-soft: color-mix(in srgb, var(--sales) 14%, transparent); --mkt-soft: color-mix(in srgb, var(--mkt) 14%, transparent); --brand-soft: color-mix(in srgb, var(--brand) 10%, transparent);
  --f-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif; --f-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --r-lg: 20px; --r-md: 14px; --r-sm: 9px;
  --shadow-1: 0 1px 2px rgba(16, 25, 74, .06), 0 2px 8px rgba(16, 25, 74, .04); --shadow-2: 0 10px 30px -12px rgba(16, 25, 74, .28);
  --wrap: 1220px; --gutter: clamp(16px, 4vw, 32px); color-scheme: light;
}
:root[data-theme="dark"] { --paper: #0A0F2C; --surface: #121A40; --surface-2: #19224F; --text: #E8EBF7; --muted: #A2AACB; --line: #26306A; --line-strong: #35418A; --ink: #E8EBF7; --night: #0D1440; --brand-deep: #7E9BFF; color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0A0F2C; --surface: #121A40; --surface-2: #19224F; --text: #E8EBF7; --muted: #A2AACB; --line: #26306A; --line-strong: #35418A; --ink: #E8EBF7; --night: #0D1440; --brand-deep: #7E9BFF; color-scheme: dark; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); } h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); } h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.prose { max-width: 70ch; } .prose h2 { margin-top: 1.6em; } .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .35em 0; }
.prose table, table.data { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td, table.data th, table.data td { text-align: left; padding: .65em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th, table.data th { font-weight: 600; color: var(--muted); font-size: .85rem; background: var(--surface-2); }
.prose img { border-radius: var(--r-md); height: auto; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 1.2em 0; padding: .2em 0 .2em 1em; color: var(--muted); }
.prose .table-scroll, .prose { overflow-wrap: anywhere; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .95rem/1 var(--f-body); padding: .8em 1.25em; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; } .btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); } .btn-ink:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); } .btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-quiet { background: transparent; color: var(--text); padding-inline: .6em; } .btn-quiet:hover { color: var(--brand); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-sm { padding: .55em .85em; font-size: .85rem; } .btn-lg { padding: 1em 1.6em; font-size: 1.02rem; } .btn-block { width: 100%; }
.field { margin-bottom: 1.05rem; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--text); }
.field .hint, .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url], .field input[type=number], .field input[type=date], .field input[type=datetime-local], .field input[type=search], .field input[type=tel], .field select, .field textarea, select.input, textarea.input {
  width: 100%; font: 400 .97rem/1.4 var(--f-body); color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .72em .85em; transition: border-color .15s, box-shadow .15s; }
.field textarea, textarea.input { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input[type=color] { width: 56px; height: 40px; padding: 2px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; margin: .5rem 0; }
.check input { margin-top: .3em; accent-color: var(--brand); width: 1.05em; height: 1.05em; flex: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1rem; }
.err-text { color: var(--bad); font-size: .85rem; }

/* Alerts */
.flash-stack { position: fixed; top: 84px; right: 16px; z-index: 80; display: grid; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.flash { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); padding: .85rem 1rem; border-radius: 12px; box-shadow: var(--shadow-2); font-size: .93rem; animation: flashIn .35s ease-out; }
.flash-success { border-left-color: var(--good); } .flash-error { border-left-color: var(--bad); }
.flash button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } }
.notice { background: var(--surface-2); border: 1px solid var(--line); padding: .9rem 1.1rem; border-radius: var(--r-md); font-size: .93rem; }
.notice-warn { background: color-mix(in srgb, var(--sales) 12%, var(--surface)); border-color: color-mix(in srgb, var(--sales) 40%, var(--line)); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 1.2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; display: block; }
.brand-name { font: 700 1.3rem/1 var(--f-display); letter-spacing: -.03em; }
.brand img.brand-logo { height: 38px; width: auto; }
.brand-name.two { display: flex; flex-direction: column; gap: .22rem; line-height: 1; }
.brand-name.two .bn1 { font: 700 1.08rem/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.brand-name.two .bn2 { font: 700 .66rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); white-space: nowrap; }
.auth-side .brand-name.two .bn2, .site-footer .brand-name.two .bn2 { color: #9DB3FF; }
.nav { display: flex; align-items: center; gap: .1rem; margin-left: .6rem; }
.nav > a, .nav-drop > button { font: 500 .95rem var(--f-body); color: var(--text); text-decoration: none; padding: .55rem .75rem; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current] { color: var(--brand-deep); background: var(--brand-soft); }
.nav-drop { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: min(720px, 90vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 1.2rem; display: none; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.nav-drop.open .mega { display: grid; }
.mega h4 { font: 600 .82rem var(--f-body); color: var(--muted); margin: 0 0 .5rem; letter-spacing: 0; display: flex; align-items: center; gap: .4rem; }
.mega h4 i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mega a { display: flex; gap: .65rem; padding: .5rem .55rem; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .93rem; align-items: center; }
.mega a:hover { background: var(--surface-2); } .mega a .ic { color: var(--muted); }
.mega .mega-sales a:hover .ic { color: var(--sales); } .mega .mega-mkt a:hover .ic { color: var(--mkt); }
.hdr-search { flex: 1; max-width: 300px; min-width: 220px; margin-left: auto; position: relative; }
.hdr-search input { width: 100%; border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: .6rem 1rem .6rem 2.4rem; font: inherit; font-size: .92rem; color: var(--text); }
.hdr-search input:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px var(--brand-soft); }
.hdr-search > .ic { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: .4rem; display: none; z-index: 60; }
.suggest.show { display: block; }
.suggest a { display: flex; gap: .6rem; align-items: center; padding: .5rem .6rem; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .92rem; }
.suggest a:hover, .suggest a.active { background: var(--surface-2); } .suggest small { color: var(--muted); margin-left: auto; }
.hdr-actions { display: flex; align-items: center; gap: .4rem; flex: none; margin-left: auto; }
.hdr-search + .hdr-actions { margin-left: 0; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--text); cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--brand-deep); }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--sales); color: #fff; font: 700 .65rem/16px var(--f-body); }
.menu-toggle, .search-btn { display: none !important; }
.nav .nav-mobile-only { display: none !important; }
.user-menu { position: relative; }
.user-menu > button { display: flex; align-items: center; gap: .45rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 3px; cursor: pointer; color: var(--text); font: 500 .9rem var(--f-body); }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: .4rem; display: none; z-index: 60; }
.open > .dropdown { display: block; }
.dropdown a, .dropdown button { display: flex; width: 100%; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 8px; color: var(--text); text-decoration: none; font: 500 .92rem var(--f-body); background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: .3rem 0; }

/* Avatars, monograms, tags */
.avatar, .mono { display: inline-grid; place-items: center; flex: none; color: #fff; font-family: var(--f-display); font-weight: 700; background: var(--mono); letter-spacing: -.02em; }
.avatar { border-radius: 50%; }
.avatar-sm { width: 30px; height: 30px; font-size: .72rem; } .avatar-md { width: 40px; height: 40px; font-size: .88rem; } .avatar-lg { width: 88px; height: 88px; font-size: 1.9rem; }
.mono { width: 48px; height: 48px; border-radius: 13px; font-size: 1rem; background: linear-gradient(135deg, var(--mono), color-mix(in srgb, var(--mono) 60%, #000)); }
.mono-lg { width: 76px; height: 76px; border-radius: 20px; font-size: 1.6rem; } .mono-sm { width: 34px; height: 34px; border-radius: 9px; font-size: .78rem; }
.tag { display: inline-flex; align-items: center; gap: .35em; font: 600 .76rem/1 var(--f-body); padding: .38em .62em; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.tag-sales { background: var(--sales-soft); color: color-mix(in srgb, var(--sales) 75%, #000); }
.tag-marketing { background: var(--mkt-soft); color: color-mix(in srgb, var(--mkt) 75%, #000); }
:root[data-theme="dark"] .tag-sales { color: var(--sales); } :root[data-theme="dark"] .tag-marketing { color: #3FD3C6; }
.tag-sponsored { background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink); }
.tag-good { background: color-mix(in srgb, var(--good) 13%, transparent); color: var(--good); }
.tag-warn { background: color-mix(in srgb, var(--sales) 15%, transparent); color: var(--warn); }
.tag-bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.expert-tag { display: inline-flex; align-items: center; gap: .3em; font: 600 .74rem/1 var(--f-body); padding: .34em .55em .34em .4em; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 14%, transparent), color-mix(in srgb, var(--mkt) 14%, transparent)); color: var(--brand-deep); }
.expert-tag .ic { width: 1em; height: 1em; }

/* Stars and scores */
.stars { --s: 16px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s); vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C5CCDF' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.stars-fill { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E8962E' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x; }
.stars-num { font-weight: 700; margin-left: .4em; font-size: .92rem; }
.scorebar { display: grid; grid-template-columns: 6.2rem 1fr 2.4rem; align-items: center; gap: .6rem; font-size: .84rem; }
.scorebar .track { display: block; height: 7px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.scorebar .fill { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.scorebar.expert .fill { background: linear-gradient(90deg, var(--brand), var(--mkt)); } .scorebar.peer .fill { background: var(--sales); }
.scorebar b { text-align: right; font-variant-numeric: tabular-nums; }

/* Hero with live scoreboard (signature element) */
.hero { position: relative; background: var(--night); color: #E8EBF7; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 92% 10%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%), radial-gradient(40% 60% at 70% 100%, color-mix(in srgb, var(--mkt) 35%, transparent), transparent 70%); opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; max-width: 15ch; }
.hero p.lead { color: #C3C9E6; font-size: 1.12rem; max-width: 52ch; }
.hero-search { margin-top: 1.8rem; background: #fff; border-radius: 16px; padding: 6px; display: flex; gap: 6px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); max-width: 560px; position: relative; }
.hero-search input { flex: 1; border: 0; font: 500 1.02rem var(--f-body); padding: .8rem .9rem; border-radius: 12px; color: #151A33; min-width: 0; background: transparent; }
.hero-search input:focus { outline: none; }
.hero-search .suggest { top: calc(100% + 8px); }
.seg { display: inline-flex; background: #EEF1F8; border-radius: 11px; padding: 3px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: .55rem .8rem; border-radius: 9px; font: 600 .86rem var(--f-body); color: #5A6283; }
.seg input:checked + span { background: #fff; color: #10194A; box-shadow: var(--shadow-1); }
.seg input:focus-visible + span { outline: 2px solid var(--brand); }
.hero-proof { display: flex; gap: 1.6rem; margin-top: 1.6rem; flex-wrap: wrap; color: #A9B1D6; font-size: .9rem; }
.hero-proof strong { color: #fff; font-family: var(--f-display); font-size: 1.15rem; margin-right: .3em; }
.board { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 1.2rem; backdrop-filter: blur(6px); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.board-head h2 { color: #fff; font-size: 1.05rem; margin: 0; letter-spacing: -.01em; }
.board-tabs { display: flex; gap: 4px; background: rgba(255, 255, 255, .08); padding: 3px; border-radius: 10px; }
.board-tabs button { background: none; border: 0; color: #C3C9E6; font: 600 .8rem var(--f-body); padding: .42rem .7rem; border-radius: 8px; cursor: pointer; }
.board-tabs button[aria-selected=true] { background: #fff; color: #10194A; }
.board-legend { display: flex; gap: 1rem; font-size: .76rem; color: #A9B1D6; margin: 0 0 .5rem; }
.board-legend i { display: inline-block; width: 10px; height: 4px; border-radius: 4px; margin-right: .35em; vertical-align: middle; }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li a { display: grid; grid-template-columns: 1.4rem 34px 1fr auto; gap: .75rem; align-items: center; padding: .62rem .5rem; border-radius: 12px; text-decoration: none; color: #fff; }
.board li a:hover { background: rgba(255, 255, 255, .07); }
.board .rank { font: 700 .9rem var(--f-display); color: #7C86B8; text-align: center; }
.board .nm { min-width: 0; }
.board .nm strong { display: block; font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board .bars { display: grid; gap: 4px; margin-top: 5px; }
.board .bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.board .bar span { display: block; height: 100%; border-radius: 4px; animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left; }
.board .bar.e span { background: linear-gradient(90deg, #7E9BFF, #3FD3C6); } .board .bar.p span { background: var(--sales); }
.board .sc { font: 700 1.15rem var(--f-display); text-align: right; }
.board .sc small { display: block; font: 500 .7rem var(--f-body); color: #8F98C4; }
.board-foot { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #A9B1D6; }
.board-foot a { color: #fff; }
.board li[data-f]:not([data-show]) { display: none; }
@keyframes grow { from { transform: scaleX(0); } }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; } .section-tight { padding: 2.2rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; } .section-head p { margin: .4rem 0 0; color: var(--muted); max-width: 60ch; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.func-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.func-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; position: relative; overflow: hidden; }
.func-col::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--fc); }
.func-col.sales { --fc: var(--sales); } .func-col.marketing { --fc: var(--mkt); }
.func-col header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .3rem; }
.func-col header h3 { font-size: 1.45rem; margin: 0; }
.func-col > p { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; max-width: 46ch; }
.cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; align-items: center; gap: .6rem; padding: .6rem .65rem; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .94rem; }
.cat-list a:hover { background: var(--surface-2); } .cat-list a .ic { color: var(--fc); } .cat-list a small { margin-left: auto; color: var(--muted); font-weight: 400; }
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; counter-reset: step; padding: 0; margin: 0; }
.method li { list-style: none; padding: 1.5rem; border-right: 1px solid var(--line); position: relative; }
.method li:last-child { border-right: 0; }
.method li::before { counter-increment: step; content: counter(step); font: 700 2.4rem/1 var(--f-display); color: var(--line-strong); display: block; margin-bottom: .8rem; }
.method h3 { font-size: 1.05rem; margin-bottom: .35rem; } .method p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Ranked solution list */
.layout-list { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; }
.filters h2 { font-size: 1rem; margin-bottom: .8rem; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.filters legend { font-weight: 600; font-size: .86rem; margin-bottom: .45rem; color: var(--muted); }
.filters .check { margin: .3rem 0; font-size: .9rem; }
.filter-toggle { display: none; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.sol-list { display: grid; gap: .8rem; }
.sol { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.15rem 1.2rem; position: relative; transition: border-color .15s, box-shadow .15s; }
.sol:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.sol.is-sponsored { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 4%, var(--surface)), var(--surface)); }
.sol-rank { position: absolute; left: -.6rem; top: 1rem; background: var(--night); color: #fff; font: 700 .74rem/1 var(--f-display); padding: .3rem .45rem; border-radius: 6px; }
.sol h3 { font-size: 1.12rem; margin: 0 0 .15rem; }
.sol h3 a { color: var(--ink); text-decoration: none; }
.sol h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sol h3 a:hover { color: var(--brand-deep); }
.sol .meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; font-size: .86rem; color: var(--muted); margin-top: .35rem; }
.sol .tagline { margin: .25rem 0 0; font-size: .95rem; color: var(--text); }
.sol-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .7rem; min-width: 150px; position: relative; z-index: 2; }
.sol-score { text-align: right; }
.sol-score .big { font: 700 1.7rem/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; }
.sol-score .big small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.sol-actions { display: flex; gap: .4rem; }
.cmp-check { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; color: var(--muted); cursor: pointer; padding: .4rem .55rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); position: relative; z-index: 2; }
.cmp-check:has(input:checked) { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.cmp-check input { accent-color: var(--brand); }
.empty { text-align: center; padding: 3rem 1rem; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty h3 { margin-bottom: .4rem; }
.cmp-tray { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); background: var(--night); color: #fff; border-radius: 16px; padding: .7rem .8rem .7rem 1.1rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .55); z-index: 70; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s; max-width: calc(100vw - 24px); visibility: hidden; }
:root[data-theme="dark"] .cmp-tray { background: #2F5BFF; }
.cmp-tray.show { transform: translate(-50%, 0); visibility: visible; }
.cmp-tray .chips { display: flex; gap: .4rem; overflow-x: auto; }
.cmp-tray .chip { background: rgba(255, 255, 255, .12); padding: .35rem .6rem; border-radius: 8px; font-size: .84rem; white-space: nowrap; }
.cmp-tray .btn-primary { background: #fff; color: #10194A; }
.pager { display: flex; gap: .35rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; }
.pager a:hover { border-color: var(--brand); } .pager .on { background: var(--night); color: #fff; border-color: var(--night); }

/* Page header */
.page-head { padding: 2.2rem 0 1.6rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .35rem; }
.page-head p { color: var(--muted); max-width: 65ch; margin: 0; font-size: 1.05rem; }
.page-head.sales { box-shadow: inset 0 4px 0 var(--sales); } .page-head.marketing { box-shadow: inset 0 4px 0 var(--mkt); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 .9rem; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--brand); }
.chips-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
.chip-link { padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); font-size: .88rem; font-weight: 500; }
.chip-link:hover, .chip-link.on { border-color: var(--night); background: var(--night); color: #fff; }

/* Solution detail */
.sol-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 2rem 0 0; }
.sol-hero-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: start; }
.sol-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .3rem; }
.sol-hero .tagline { font-size: 1.08rem; color: var(--muted); margin-bottom: .7rem; }
.sol-hero .meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; font-size: .9rem; color: var(--muted); }
.sol-cta { display: flex; flex-direction: column; gap: .5rem; min-width: 210px; }
.tabs { display: flex; gap: .2rem; margin-top: 1.8rem; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: .8rem 1rem; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .93rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); } .tabs a.on { color: var(--ink); border-bottom-color: var(--brand); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.panel + .panel, .panel + .grid-2, .grid-2 + .panel { margin-top: 1.2rem; }
.panel h2 { font-size: 1.3rem; } .panel-tight { padding: 1.1rem 1.2rem; }
.aside-sticky { position: sticky; top: 88px; display: grid; gap: 1.2rem; }
.quick-answer { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, var(--surface)), color-mix(in srgb, var(--mkt) 6%, var(--surface))); border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line)); border-radius: var(--r-md); padding: 1.1rem 1.25rem; margin: 0 0 1.4rem; }
.quick-answer strong { display: block; font: 600 .82rem var(--f-body); color: var(--brand-deep); margin-bottom: .3rem; }
.quick-answer p { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.score-card { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.dial { --v: 80; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--v) * 1%), var(--surface-2) 0); position: relative; }
.dial::after { content: ""; position: absolute; inset: 9px; background: var(--surface); border-radius: 50%; }
.dial span { position: relative; z-index: 1; text-align: center; font: 700 1.9rem/1 var(--f-display); color: var(--ink); }
.dial small { display: block; font: 500 .7rem var(--f-body); color: var(--muted); margin-top: 3px; }
.score-card .bars { display: grid; gap: .55rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin: 0; }
.facts div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .8rem; color: var(--muted); } .facts dd { margin: .1rem 0 0; font-weight: 600; font-size: .95rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.2rem; }
.feature-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; } .feature-list .ic { color: var(--good); margin-top: .2em; }
.integrations { display: flex; flex-wrap: wrap; gap: .45rem; }
.integrations span { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 8px; font-size: .86rem; background: var(--surface); }
.review { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.review:first-of-type { border-top: 0; padding-top: .4rem; }
.review-head { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.review-who { line-height: 1.3; } .review-who strong { display: block; font-size: .95rem; } .review-who span { font-size: .82rem; color: var(--muted); }
.review h3 { margin: .9rem 0 .4rem; font-size: 1.08rem; }
.review .pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .6rem; }
.review .pc h4 { font: 600 .82rem var(--f-body); margin: 0 0 .25rem; display: flex; align-items: center; gap: .3rem; }
.review .pc .pro h4 { color: var(--good); } .review .pc .con h4 { color: var(--bad); } .review .pc p { font-size: .94rem; margin: 0; }
.review-foot { display: flex; gap: .8rem; align-items: center; margin-top: .9rem; font-size: .84rem; color: var(--muted); flex-wrap: wrap; }
.weight-chip { font: 600 .74rem var(--f-body); padding: .25rem .5rem; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.vendor-reply { margin-top: .9rem; background: var(--surface-2); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .92rem; }
.vote-btn { display: inline-flex; align-items: center; gap: .35rem; background: var(--surface); border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: .35rem .6rem; font: 600 .82rem var(--f-body); cursor: pointer; }
.vote-btn:hover { border-color: var(--brand); color: var(--brand-deep); } .vote-btn.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C5CCDF' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / 30px no-repeat; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E8962E' d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.rating-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 6px; }
.sub-ratings { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 720px; table-layout: fixed; }
.cmp th, .cmp td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.cmp thead th { background: var(--surface); vertical-align: bottom; }
.cmp th[scope=row] { width: 190px; color: var(--muted); font-weight: 600; font-size: .85rem; background: var(--surface-2); position: sticky; left: 0; }
.cmp .best { background: color-mix(in srgb, var(--good) 9%, transparent); font-weight: 700; }
.cmp-col-head { display: grid; gap: .5rem; }
.cmp-col-head .tag { justify-self: start; }
.cmp-col-head a { font: 700 1.05rem var(--f-display); color: var(--ink); text-decoration: none; }

/* Community */
.forum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.forum-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem; text-decoration: none; color: var(--text); display: block; position: relative; }
.forum-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.forum-card h3 { font-size: 1.05rem; margin-bottom: .25rem; } .forum-card p { color: var(--muted); font-size: .9rem; margin: 0 0 .7rem; } .forum-card .meta { font-size: .82rem; color: var(--muted); }
.forum-card.sales { box-shadow: inset 3px 0 0 var(--sales); } .forum-card.marketing { box-shadow: inset 3px 0 0 var(--mkt); }
.threads { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.thread-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); position: relative; }
.thread-row:last-child { border-bottom: 0; }
.thread-row:hover { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.thread-row .votes { text-align: center; font: 700 1.15rem/1 var(--f-display); color: var(--ink); }
.thread-row .votes small { display: block; font: 500 .7rem var(--f-body); color: var(--muted); margin-top: .2rem; }
.thread-row .votes.solved { color: var(--good); }
.thread-row h3 { font-size: 1.02rem; margin: 0 0 .25rem; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
.thread-row h3 a { color: var(--ink); text-decoration: none; } .thread-row h3 a::after { content: ""; position: absolute; inset: 0; }
.thread-row .meta { font-size: .82rem; color: var(--muted); display: flex; gap: .3rem .8rem; flex-wrap: wrap; align-items: center; }
.post { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.post:first-child { border-top: 0; }
.post-votes { display: flex; flex-direction: column; align-items: center; gap: .3rem; } .post-votes .vote-btn { flex-direction: column; padding: .4rem .5rem; }
.post-body { min-width: 0; }
.post-body .who { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; flex-wrap: wrap; font-size: .88rem; }
.post-body .who a { font-weight: 600; color: var(--text); text-decoration: none; }
.post.accepted { background: color-mix(in srgb, var(--good) 6%, transparent); border-radius: var(--r-md); padding-inline: 1rem; border-top-color: transparent; }
.accepted-flag { display: inline-flex; align-items: center; gap: .3rem; color: var(--good); font-weight: 700; font-size: .82rem; }
.lb-row { display: grid; grid-template-columns: 2.4rem 44px 1fr auto; gap: .9rem; align-items: center; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-row .pos { font: 700 1.1rem var(--f-display); color: var(--muted); text-align: center; }
.lb-row:nth-child(-n+3) .pos { color: var(--sales); }
.lb-row .rep { font: 700 1.1rem var(--f-display); color: var(--ink); text-align: right; } .lb-row .rep small { display: block; font: 500 .72rem var(--f-body); color: var(--muted); }
.badge-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem .4rem .45rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .84rem; font-weight: 600; }
.badge i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.badge.bronze i { background: #B5651D; } .badge.silver i { background: #7D879E; } .badge.gold i { background: linear-gradient(135deg, #E8962E, #F2C14E); }
.badge i .ic { width: 12px; height: 12px; }
.profile-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; }
.stat-row { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.stat-row div strong { display: block; font: 700 1.5rem/1 var(--f-display); color: var(--ink); } .stat-row div span { font-size: .82rem; color: var(--muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; position: relative; display: flex; flex-direction: column; }
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 1.1rem; margin: .5rem 0 .4rem; } .card h3 a { color: var(--ink); text-decoration: none; } .card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: .93rem; margin: 0 0 .8rem; }
.card .foot { margin-top: auto; font-size: .82rem; color: var(--muted); display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.card .foot form, .card .foot .tag { position: relative; z-index: 2; }
.post-cover { height: 132px; border-radius: 10px; margin: -.2rem -.2rem .6rem; background: linear-gradient(135deg, var(--c1, var(--brand)), var(--c2, var(--mkt))); position: relative; overflow: hidden; }
.post-cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.09) 0 2px, transparent 2px 18px); }
.post-cover.sales { --c1: #10194A; --c2: var(--sales); } .post-cover.marketing { --c1: #10194A; --c2: var(--mkt); } .post-cover.general { --c1: #10194A; --c2: var(--brand); }
.res-type { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.article-head { max-width: 780px; margin: 0 auto; padding: 2.5rem 0 1rem; }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.byline { display: flex; align-items: center; gap: .8rem; font-size: .9rem; color: var(--muted); margin-top: 1rem; } .byline strong { color: var(--text); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; max-width: 1120px; margin: 0 auto; padding-bottom: 3rem; }
.article .prose { font-size: 1.06rem; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem; margin-top: 2rem; }
.faq { margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq .faq-ic { transition: transform .2s; color: var(--muted); } .faq details[open] .faq-ic { transform: rotate(180deg); }
.faq-a { padding: 0 0 1rem; color: var(--muted); max-width: 72ch; }

/* Ads */
.ad { position: relative; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 1rem 1.1rem; }
.ad-tag { position: absolute; top: .55rem; right: .7rem; font: 600 .68rem var(--f-body); color: var(--muted); background: var(--surface-2); padding: .2rem .45rem; border-radius: 5px; }
.ad-native { display: grid; gap: .25rem; text-decoration: none; color: var(--text); padding-right: 4.5rem; }
.ad-native strong { color: var(--ink); font-family: var(--f-display); font-size: 1.05rem; }
.ad-native span { color: var(--muted); font-size: .9rem; }
.ad-native .ad-cta { font-style: normal; font-weight: 600; color: var(--brand-deep); font-size: .88rem; margin-top: .2rem; }
.ad img { display: block; border-radius: 8px; width: 100%; height: auto; }
.ad-house { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 10px, var(--surface-2) 10px, var(--surface-2) 11px); }
.ad-house p { font-size: .9rem; margin: 0 4rem .6rem 0; color: var(--muted); } .ad-house strong { color: var(--text); }
.ad-wide { margin: 1.5rem 0; } .ad-band { padding: 1.4rem 0; }

/* CTA band, plans */
.cta-band { background: var(--night); color: #C3C9E6; border-radius: 24px; padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.cta-band li { display: flex; gap: .5rem; align-items: center; } .cta-band li .ic { color: #3FD3C6; }
.cta-band .actions { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.news { display: flex; gap: .5rem; max-width: 460px; } .news input { flex: 1; min-width: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; }
.plan.hl { border: 2px solid var(--brand); box-shadow: var(--shadow-2); }
.plan .price { font: 700 2.4rem/1 var(--f-display); color: var(--ink); margin: .6rem 0; } .plan .price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .5rem; font-size: .94rem; }
.plan li { display: flex; gap: .5rem; } .plan li .ic { color: var(--good); margin-top: .2em; }
.plan .btn { margin-top: auto; }

/* Auth */
.auth { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--night); color: #C3C9E6; padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 90% 0%, color-mix(in srgb, var(--brand) 60%, transparent), transparent 70%); opacity: .5; }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18ch; }
.auth-side .brand, .auth-side .brand-name { color: #fff; }
.auth-side blockquote { margin: 2rem 0 0; padding: 1.2rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--r-md); background: rgba(255, 255, 255, .05); max-width: 460px; }
.auth-side blockquote p { color: #E8EBF7; }
.auth-main { display: grid; place-items: center; padding: 2.5rem var(--gutter); }
.auth-card { width: 100%; max-width: 430px; } .auth-card h1 { font-size: 2rem; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1rem; }
.role-pick label { border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .8rem; cursor: pointer; display: block; position: relative; }
.role-pick input { position: absolute; opacity: 0; }
.role-pick strong { display: block; font-size: .95rem; } .role-pick span { font-size: .82rem; color: var(--muted); }
.role-pick label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand); }
.role-pick label:has(input:focus-visible) { outline: 2px solid var(--brand); }
.demo-logins { margin-top: 1.4rem; font-size: .85rem; } .demo-logins summary { cursor: pointer; color: var(--muted); }
.demo-logins table { width: 100%; margin-top: .6rem; border-collapse: collapse; } .demo-logins td { padding: .3rem .2rem; border-bottom: 1px solid var(--line); }

/* Dashboard shell */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
.dash-nav { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .8rem; }
.dash-nav .who { display: flex; gap: .7rem; align-items: center; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
.dash-nav .who strong { display: block; font-size: .95rem; line-height: 1.2; } .dash-nav .who div span { font-size: .78rem; color: var(--muted); }
.dash-nav a { display: flex; gap: .65rem; align-items: center; padding: .6rem .7rem; border-radius: 9px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .93rem; }
.dash-nav a:hover { background: var(--surface-2); } .dash-nav a.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.dash-nav .count { margin-left: auto; background: var(--surface-2); border-radius: 99px; padding: 0 .5rem; font-size: .75rem; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.kpi span { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.kpi strong { display: block; font: 700 1.75rem/1.1 var(--f-display); color: var(--ink); margin-top: .35rem; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .8rem; color: var(--good); }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
.table-wrap table.data { margin: 0; min-width: 640px; }
.table-wrap table.data td, .table-wrap table.data th { padding: .8rem 1rem; }
.table-wrap table.data tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; gap: .3rem; flex-wrap: wrap; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: .5rem; }
.spark i { flex: 1; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 50%, var(--mkt))); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.spark i:hover::after { content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--night); color: #fff; font: 600 .7rem var(--f-body); padding: .2rem .4rem; border-radius: 4px; white-space: nowrap; z-index: 3; }
.dq { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.dq-grade { width: 84px; height: 84px; border-radius: 18px; display: grid; place-items: center; font: 700 2.4rem var(--f-display); color: #fff; background: var(--good); }
.dq-grade.B { background: var(--brand); } .dq-grade.C { background: var(--sales); } .dq-grade.D { background: var(--bad); }

/* Footer */
.site-footer { background: var(--night); color: #A9B1D6; padding: 3.5rem 0 1.5rem; }
:root[data-theme="dark"] .site-footer { background: #070B22; }
.site-footer a { color: #DDE1F2; text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.foot-grid h2 { font: 600 .9rem var(--f-body); color: #fff; margin: 0 0 .8rem; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .93rem; }
.site-footer .brand, .site-footer .brand-name { color: #fff; }
.foot-about { font-size: .93rem; max-width: 40ch; margin: 1rem 0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .85rem; }
.foot-bottom nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .15); font: 700 .8rem var(--f-body); }
.site-footer .news input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.site-footer .news input::placeholder { color: #8F98C4; }
.cookie { position: fixed; left: 16px; bottom: 16px; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 1.1rem 1.2rem; z-index: 75; font-size: .9rem; display: none; }
.cookie.show { display: block; } .cookie p { margin: 0 0 .8rem; } .cookie .row { display: flex; gap: .5rem; flex-wrap: wrap; }
.error-page { text-align: center; padding: 6rem 0; }
.error-page .code { font: 700 clamp(5rem, 15vw, 9rem)/1 var(--f-display); color: var(--line-strong); letter-spacing: -.05em; }

/* Responsive */
@media (max-width: 1520px) { .hdr-search { display: none; } .search-btn { display: inline-grid !important; } }
@media (max-width: 1080px) {
  .nav { display: none; } .menu-toggle { display: inline-grid !important; }
  .nav.mobile-open { display: flex; position: fixed; inset: 68px 0 0 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 2rem; overflow-y: auto; margin: 0; z-index: 49; gap: .2rem; }
  .nav.mobile-open > a, .nav.mobile-open .nav-drop > button { font-size: 1.05rem; padding: .85rem .7rem; width: 100%; justify-content: space-between; }
  .nav.mobile-open .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 .5rem; grid-template-columns: 1fr; }
  .hero .wrap { grid-template-columns: 1fr; }
  .detail, .article { grid-template-columns: 1fr; } .aside-sticky { position: static; }
  .card-grid, .forum-grid, .plans { grid-template-columns: 1fr 1fr; }
  .method { grid-template-columns: 1fr 1fr; } .method li:nth-child(2) { border-right: 0; } .method li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kpis { grid-template-columns: 1fr 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .layout-list { grid-template-columns: 1fr; } .filters { position: static; display: none; } .filters.open { display: block; } .filter-toggle { display: inline-flex; }
  .func-split { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; } .dash-nav { position: static; display: flex; overflow-x: auto; gap: .2rem; padding: .5rem; } .dash-nav .who { display: none; } .dash-nav a { white-space: nowrap; }
  .auth { grid-template-columns: 1fr; } .auth-side { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .sol-hero-grid { grid-template-columns: auto 1fr; } .sol-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .profile-head { grid-template-columns: auto 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hdr { gap: .5rem; } .hdr-actions .btn-quiet, .hdr-actions [data-theme-toggle] { display: none; }
  .nav .nav-mobile-only { display: flex !important; }
  .brand-name { font-size: 1.15rem; } .logo-mark { width: 34px; height: 34px; } .brand-name.two .bn1 { font-size: .98rem; } .brand-name.two .bn2 { font-size: .6rem; letter-spacing: .12em; }
  .brand { gap: .45rem; min-width: 0; }
}
@media (max-width: 400px) {
  .brand-name.two .bn1 { font-size: .9rem; } .brand-name.two .bn2 { font-size: .55rem; letter-spacing: .08em; }
  .hdr-actions { gap: .2rem; } .hdr-actions .btn { padding-left: .75rem; padding-right: .75rem; }
  .hdr-actions .search-btn { display: none !important; }
  .sol { grid-template-columns: auto 1fr; } .sol-side { grid-column: 1 / -1; flex-direction: row; align-items: center; min-width: 0; } .sol-score { text-align: left; }
  .card-grid, .forum-grid, .plans, .grid-2, .grid-3, .feature-list, .facts, .cat-list, .review .pc { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; } .method li { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-search { flex-wrap: wrap; } .hero-search .seg { width: 100%; } .hero-search .seg label { flex: 1; text-align: center; }
  .hero-search input { width: 100%; flex-basis: 100%; } .hero-search .btn { width: 100%; }
  .thread-row { grid-template-columns: 48px 1fr; } .thread-row > :last-child { display: none; }
  .score-card { grid-template-columns: 1fr; justify-items: start; }
  .board li a { grid-template-columns: 1.2rem 30px 1fr auto; gap: .55rem; }
  .cmp-tray { left: 12px; right: 12px; transform: translateY(140%); } .cmp-tray.show { transform: translateY(0); }
  .table-wrap table.data { min-width: 560px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .ad, .cookie, .cmp-tray, .aside-sticky { display: none !important; } }
.grid-2 > .panel, .grid-2 > form.panel { margin-top: 0; }
