/* =====================================================================
   Intellify public site - "light, data-led analytics" design system
   2026-11-19 redesign. Plus Jakarta Sans, white + lilac surfaces,
   indigo ink, violet primary, emerald "score up" accent.
   Signature motif: scores (rings, meters, 62 -> 87 deltas, sparklines).
   Mobile-first: base styles are phone, min-width queries enhance.
   ===================================================================== */
:root {
  /* Ink and text */
  --ink: #1e1b4b; --ink2: #2e2a6b; --text: #34305f; --muted: #5b5785; --soft: #6b6894;
  /* Surfaces */
  --bg: #ffffff; --lilac: #f7f5ff; --lilac2: #f1edff; --tint: #ede9fe; --tint2: #ddd6fe;
  --line: #e6e2f5; --line2: #d6cff0;
  /* Brand */
  --v: #7c3aed; --v-d: #6d28d9; --v-dd: #5b21b6; --v-l: #a78bfa; --v-xl: #c4b5fd;
  /* Accent: emerald = score going up */
  --up: #10b981; --up-ink: #047857; --up-bg: #d1fae5; --up-xl: #ecfdf5;
  /* Score bands */
  --ok: #047857; --okbg: #d1fae5; --warn: #b45309; --warnbg: #fef3c7; --bad: #be123c; --badbg: #ffe4e6;
  /* Shape */
  --r-sm: 12px; --r: 20px; --r-lg: 28px; --pill: 999px;
  --sh-1: 0 1px 2px rgba(30,27,75,.05);
  --sh-2: 0 1px 2px rgba(30,27,75,.04), 0 10px 28px -12px rgba(76,29,149,.18);
  --sh-3: 0 2px 6px rgba(30,27,75,.05), 0 30px 70px -24px rgba(76,29,149,.34);
  --max: 1180px; --measure: 70ch; --navh: 76px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', SFMono-Regular, Menlo, Consolas, monospace;
  /* Aliases kept for page-level styles in the tool pages */
  --bg2: var(--lilac); --shadow: var(--sh-2); --shadow-lg: var(--sh-3); --radius: var(--r);
  --r600: var(--v); --r700: var(--v-d); --r500: #8b5cf6; --r300: var(--v-xl); --r100: var(--tint);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
body { font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--v-d); text-decoration: none; }
a:hover { color: var(--v-dd); }
strong, b { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--v); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--pill); z-index: 300; font-weight: 600; }
.skip:focus { left: 12px; color: #fff; }
.num, .amt, .gauge-val b, .delta, .mrow b, .bundle-amt { font-variant-numeric: tabular-nums; }

/* ---------- Buttons: pill shaped ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--pill); font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: -.005em; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s, color .15s; text-align: center; }
.btn-primary { background: var(--v); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(124,58,237,.7); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--v-d); color: #fff; transform: translateY(-1px); }
.btn-primary::after { content: ''; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.btn-ghost, .btn-line { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover, .btn-line:hover { border-color: var(--v); color: var(--v-d); background: var(--lilac); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-sm.btn-primary::after { width: 6px; height: 6px; }
@media (max-width: 719px) { .btn-sm { min-height: 44px; } }

/* ---------- Floating pill nav ---------- */
.topbar { position: sticky; top: 0; z-index: 100; padding: 10px 10px 0; height: var(--navh); }
.pillnav { position: relative; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 6px 6px 16px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh-2); transition: box-shadow .2s; }
.topbar.scrolled .pillnav { box-shadow: var(--sh-3); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.brand b { font-weight: 800; color: inherit; }
.brand span { color: var(--v); }
.brand:hover { color: var(--ink); }
.nav-toggle { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 4px; background: var(--lilac); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.topbar.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topbar.open .nav-toggle span:nth-child(2) { opacity: 0; }
.topbar.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-3); max-height: calc(100vh - 100px); overflow-y: auto; }
.topbar.open .nav-links { display: flex; }
.nav-links > a:not(.btn), .dd > button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 14px; color: var(--ink); font: 600 15px/1.2 var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.nav-links > a:not(.btn):hover, .dd > button:hover { background: var(--lilac); color: var(--v-d); }
.nav-links > a.on, .dd.on > button { background: var(--tint); color: var(--v-d); }
.dd > button .caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; margin-left: 8px; }
.dd.open > button .caret { transform: rotate(-135deg) translateY(-2px); }
.dd-menu { display: none; padding: 4px 4px 8px; }
.dd.open .dd-menu { display: grid; gap: 2px; }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.35; }
.dd-menu a small { display: none; color: var(--soft); font-weight: 500; font-size: 12.5px; margin-top: 2px; }
.dd-menu a:hover { background: var(--lilac); color: var(--v-d); }
.nav-links .btn { margin-top: 8px; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; align-items: center; gap: 2px; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .nav-links > a:not(.btn), .dd > button { width: auto; min-height: 40px; padding: 8px 14px; border-radius: var(--pill); font-size: 14.5px; color: var(--muted); }
  .nav-links .btn { margin: 0 0 0 8px; }
  .dd { position: relative; }
  .dd-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: 620px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-3); z-index: 200; }
  .dd-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .dd-menu a small { display: block; }
}

/* ---------- Shared bits: chips, eyebrow, badges ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); font-size: 13px; font-weight: 700; color: var(--v-d); box-shadow: var(--sh-1); }
h1 .h1-eyebrow { display: flex; width: fit-content; font-size: 13px; line-height: 1.4; letter-spacing: normal; font-weight: 700; } /* keyword line inside the H1 (2026-11-25) */
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px var(--up-bg); }
.badge, .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--v-d); background: var(--tint); padding: 4px 10px; border-radius: var(--pill); margin-bottom: 12px; }
.chip-seo { color: var(--v-d); background: var(--tint); }
.chip-content { color: var(--up-ink); background: var(--up-bg); }
.chip-ai { color: #0369a1; background: #e0f2fe; }
.chip-compare { color: #be123c; background: #ffe4e6; }
.chip-tools { color: #92400e; background: #fef3c7; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--up-bg); color: var(--up-ink); font-size: 11px; font-weight: 800; margin-right: 8px; }

/* ---------- Home hero: split, light ---------- */
.hero, .page-hero { margin-top: calc(-1 * var(--navh)); }
.hero { position: relative; overflow: hidden; padding: calc(var(--navh) + 36px) 0 56px; background:
  radial-gradient(800px 420px at 90% 0%, rgba(167,139,250,.30), transparent 62%),
  radial-gradient(600px 360px at -10% 100%, rgba(16,185,129,.12), transparent 60%),
  linear-gradient(180deg, #fcfbff 0%, var(--lilac) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(124,58,237,.14) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; } /* without a column rule the track sized to the dashboard mock and cropped the headline on small phones */
.hero h1 { font-size: clamp(34px, 8.4vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; color: var(--ink); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--v-d); background: linear-gradient(transparent 64%, rgba(16,185,129,.30) 64%, rgba(16,185,129,.30) 92%, transparent 92%); padding: 0 .04em; }
.hero p.lede { font-size: 17.5px; line-height: 1.65; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.hero-meta > span { display: inline-flex; align-items: center; }
@media (min-width: 560px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 1024px) {
  .hero { padding: calc(var(--navh) + 64px) 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 56px; }
  .hero p.lede { font-size: 18.5px; }
}

/* ---------- Score dashboard mock (pure HTML/CSS/SVG) ---------- */
.dash-wrap { position: relative; }
.dash { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 16px; color: var(--text); }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dash-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--ink); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.dash-tabs { display: flex; gap: 2px; padding: 3px; background: var(--lilac); border-radius: var(--pill); font-size: 11.5px; font-weight: 600; color: var(--soft); overflow-x: auto; max-width: 100%; }
.dash-tabs > * { padding: 4px 10px; border-radius: var(--pill); white-space: nowrap; }
.dash-tabs b { background: #fff; color: var(--v-d); box-shadow: var(--sh-1); }
.dash-hero { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; }
.gauge { position: relative; width: 112px; height: 112px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.g-track { stroke: var(--lilac2); }
.g-proj { stroke: var(--up); opacity: .35; stroke-dasharray: 2 4; stroke-linecap: butt !important; }
.g-now { stroke: url(#gv); }
.gauge-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-val b { font-size: 34px; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.04em; }
.gauge-val small { font-size: 10.5px; font-weight: 600; color: var(--soft); line-height: 1.2; margin-top: 3px; max-width: 70px; }
.dash-side { display: grid; gap: 10px; min-width: 0; }
.delta { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-weight: 800; color: var(--ink); }
.delta .d-from { font-size: 20px; color: var(--soft); }
.delta .d-arrow { color: var(--up-ink); font-size: 16px; }
.delta .d-to { font-size: 30px; letter-spacing: -.03em; color: var(--up-ink); }
.delta .d-lbl { font-size: 11px; font-weight: 700; color: var(--up-ink); background: var(--up-bg); padding: 2px 8px; border-radius: var(--pill); }
.spark { display: flex; align-items: flex-end; gap: 8px; }
.spark svg { width: 100%; max-width: 170px; height: 40px; overflow: visible; }
.spark small { display: none; font-size: 10.5px; color: var(--soft); white-space: nowrap; font-weight: 600; }
.bands { padding: 12px; border-radius: 16px; background: var(--lilac); margin-bottom: 12px; }
.band-bar { display: flex; height: 10px; border-radius: var(--pill); overflow: hidden; gap: 3px; }
.band-bar i { display: block; height: 100%; border-radius: 3px; }
.band-bar .b-bad { background: #fb7185; } .band-bar .b-warn { background: #fbbf24; } .band-bar .b-ok { background: var(--up); }
.band-legend { display: flex; justify-content: space-between; gap: 6px; margin-top: 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.band-legend b { font-size: 14px; margin-right: 3px; }
.band-legend .bad b { color: var(--bad); } .band-legend .warn b { color: var(--warn); } .band-legend .ok b { color: var(--ok); }
/* Score meters: current (violet) over projected (emerald hatch) */
.meters { display: grid; gap: 9px; }
.mrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.mrow > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbar { position: relative; height: 8px; border-radius: var(--pill); background: var(--lilac2); }
.mbar::before, .mbar::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; }
.mbar::before { width: var(--proj, 0%); background: repeating-linear-gradient(-45deg, rgba(16,185,129,.55) 0 3px, rgba(16,185,129,.22) 3px 6px); }
.mbar::after { width: var(--now, 0%); background: linear-gradient(90deg, var(--v-l), var(--v)); }
.mrow b { font-size: 13px; font-weight: 800; white-space: nowrap; }
.mrow b em { font-style: normal; color: var(--up-ink); margin-left: 4px; }
.mrow b em::before { content: '\2192\00a0'; }
.mock-list { display: grid; gap: 7px; margin-top: 14px; }
.issue { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: #fff; min-width: 0; }
.issue > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.issue > span:last-child:not(:nth-child(2)) { margin-left: auto; color: var(--soft); font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--lilac); padding: 2px 8px; border-radius: var(--pill); }
.pill { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: var(--pill); white-space: nowrap; letter-spacing: .01em; }
.pill.bad { background: var(--badbg); color: var(--bad); } .pill.warn { background: var(--warnbg); color: var(--warn); } .pill.ok { background: var(--okbg); color: var(--ok); }
.toast { display: none; }
@media (min-width: 560px) {
  .dash { padding: 20px; }
  .dash-hero { grid-template-columns: 132px minmax(0, 1fr); gap: 22px; }
  .gauge { width: 132px; height: 132px; }
  .gauge-val b { font-size: 40px; }
  .spark small { display: block; }
  .mrow { grid-template-columns: 118px minmax(0, 1fr) 64px; }
  .toast { position: absolute; left: -18px; bottom: -20px; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); box-shadow: var(--sh-3); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
  .toast b { color: var(--up-ink); font-weight: 800; }
}
@media (min-width: 1024px) { .toast { left: -36px; } }

/* Mini "panel" mock used beside feature rows */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; color: var(--ink); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-head small { font-size: 11.5px; font-weight: 600; color: var(--soft); }
.legend { display: flex; gap: 14px; margin-top: 14px; font-size: 11.5px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.legend i { display: inline-block; width: 18px; height: 8px; border-radius: 99px; margin-right: 6px; vertical-align: 1px; }
.legend .l-now { background: linear-gradient(90deg, var(--v-l), var(--v)); }
.legend .l-proj { background: repeating-linear-gradient(-45deg, rgba(16,185,129,.55) 0 3px, rgba(16,185,129,.22) 3px 6px); }

/* ---------- Sections: alternate white / lilac ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--lilac); }
.section-head { display: grid; gap: 12px; margin: 0 0 36px; max-width: 760px; }
.section-head::before { content: ''; display: block; width: 34px; height: 20px; background:
  linear-gradient(var(--v-xl), var(--v-xl)) 0 100% / 8px 45% no-repeat,
  linear-gradient(var(--v-l), var(--v-l)) 13px 100% / 8px 72% no-repeat,
  linear-gradient(var(--up), var(--up)) 26px 100% / 8px 100% no-repeat; }
.section-head h2 { font-size: clamp(27px, 5.6vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.section-head p { font-size: 17px; color: var(--muted); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
@media (min-width: 1024px) {
  .section { padding: 96px 0; }
  .section-head { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
  .section-head::before { grid-column: 1 / -1; }
  .section-head p { font-size: 17.5px; padding-bottom: 6px; }
  .section-head.center { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
}

/* Grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Cards: big radius, subtle border, coloured top stripe */
.card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 24px; box-shadow: var(--sh-1); --stripe: linear-gradient(90deg, var(--v), var(--v-l)); }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--stripe); }
.grid-2 > .card:nth-child(3n+2), .grid-3 > .card:nth-child(3n+2), .grid-4 > .card:nth-child(4n+2) { --stripe: linear-gradient(90deg, var(--up), #6ee7b7); }
.grid-2 > .card:nth-child(3n), .grid-3 > .card:nth-child(3n), .grid-4 > .card:nth-child(4n+3) { --stripe: linear-gradient(90deg, #6366f1, #a5b4fc); }
.grid-4 > .card:nth-child(4n) { --stripe: linear-gradient(90deg, var(--v-l), var(--up)); }
.section.alt .card { box-shadow: var(--sh-2); border-color: #e9e4fb; }
.card h3 { font-size: 18.5px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card p + p { margin-top: 10px; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--v-d); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.card-top .badge { margin-bottom: 12px; }
a.card { display: block; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--tint2); color: inherit; }
a.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--v-d); font-weight: 700; font-size: 14px; }
a.card:hover .more { color: var(--v-dd); }

/* Score-weight cards (home "Four product scores") */
.recipe { margin-bottom: 22px; }
.recipe-bar { display: flex; gap: 4px; height: 44px; }
.recipe-bar > span { display: flex; align-items: center; padding: 0 12px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; }
.recipe-bar > span small { font-size: 13px; font-weight: 600; opacity: .92; margin-left: 6px; }
.rb-q { flex: 30; background: var(--v); } .rb-s { flex: 25; background: #6366f1; } .rb-g { flex: 25; background: var(--up-ink); } .rb-a { flex: 20; background: var(--v-dd); }
.recipe-bar > span small.hide-sm { display: none; }
@media (min-width: 720px) { .recipe-bar > span small.hide-sm { display: inline; } }
.weight { height: 6px; border-radius: 99px; background: var(--lilac2); margin: 2px 0 16px; overflow: hidden; }
.weight i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--v-l), var(--v)); }
.note { max-width: 780px; margin: 28px auto 0; padding: 16px 20px; background: #fff; border: 1px dashed var(--line2); border-radius: 16px; color: var(--muted); font-size: 15px; }
.note strong { color: var(--up-ink); }

/* "Does not do" cards */
.no-grid .card { --stripe: transparent; background: #fff; padding-left: 64px; }
.no-grid .card::after { content: ''; position: absolute; left: 22px; top: 26px; width: 26px; height: 26px; border-radius: 50%; background:
  linear-gradient(45deg, transparent 45%, var(--bad) 45%, var(--bad) 55%, transparent 55%) center / 12px 12px no-repeat,
  linear-gradient(-45deg, transparent 45%, var(--bad) 45%, var(--bad) 55%, transparent 55%) center / 12px 12px no-repeat, var(--badbg); }

/* Inset board (home learn section) */
.board { background: linear-gradient(135deg, var(--tint) 0%, #f4f1ff 55%, var(--up-xl) 100%); border: 1px solid var(--tint2); border-radius: 32px; padding: 32px 20px; }
.board .section-head { margin-bottom: 28px; }
@media (min-width: 720px) { .board { padding: 48px 40px; } }

/* Split feature rows */
.split { display: grid; gap: 28px; align-items: center; }
.split + .split { margin-top: 64px; }
.split h3 { font-size: clamp(24px, 4.6vw, 30px); line-height: 1.18; letter-spacing: -.03em; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.split p { color: var(--muted); margin-bottom: 12px; }
.split ul { list-style: none; display: grid; gap: 9px; margin: 8px 0 14px; }
.split li { padding-left: 32px; position: relative; color: var(--text); }
.split li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--up-bg); }
.split li::after { content: ''; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border-right: 2px solid var(--up-ink); border-bottom: 2px solid var(--up-ink); transform: rotate(45deg); }
.shot { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-3); background: #fff; padding: 8px; }
.shot img { border-radius: 20px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .split + .split { margin-top: 96px; }
  .split.rev > :first-child { order: 2; }
}

/* Code */
pre.code { background: var(--lilac); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--v-l); border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; margin: 18px 0; white-space: pre; }
pre.code code { font-family: inherit; background: none; color: inherit; padding: 0; border: 0; font-size: inherit; }
code { font-family: var(--mono); font-size: .88em; background: var(--lilac2); color: var(--v-dd); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--tint); overflow-wrap: anywhere; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 22px; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 2px solid var(--v); color: var(--v-d); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.step h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 22px; box-shadow: var(--sh-2); }
.price.best { border: 2px solid var(--v); box-shadow: 0 30px 60px -28px rgba(124,58,237,.55); background: linear-gradient(180deg, #faf8ff, #fff 40%); }
.price .tag { align-self: flex-start; order: -1; margin-bottom: 14px; background: var(--v); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: var(--pill); }
.price h3 { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price .tagline { color: var(--soft); font-size: 14px; margin-bottom: 16px; }
.price .amt { font-size: 42px; font-weight: 800; color: var(--ink); letter-spacing: -.045em; line-height: 1.05; padding-bottom: 16px; border-bottom: 1px dashed var(--line2); }
.price .amt small { font-size: 15px; color: var(--soft); font-weight: 600; letter-spacing: 0; }
.price ul { list-style: none; margin: 16px 0 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.price li { padding-left: 28px; position: relative; font-size: 14.5px; line-height: 1.5; }
.price li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--up-bg); }
.price li::after { content: ''; position: absolute; left: 6px; top: 5px; width: 4px; height: 8px; border-right: 2px solid var(--up-ink); border-bottom: 2px solid var(--up-ink); transform: rotate(45deg); }
.price .btn { width: 100%; }
.price-note { text-align: center; color: var(--soft); font-size: 14.5px; margin-top: 20px; }
.sub-head { font-size: 22px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin: 56px 0 18px; }
.bundle-amt { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; margin-top: 12px; }
.bundle-amt small { font-size: 14px; color: var(--soft); font-weight: 600; letter-spacing: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--sh-1); -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.55; }
table.cmp th, table.cmp td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
table.cmp thead th { background: var(--lilac); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; border-bottom-color: var(--line2); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td { background: #fcfbff; }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }
table.cmp tr.us td, table.cmp td.us { background: #f6f2ff; }
table.cmp tr.us td:first-child { box-shadow: inset 4px 0 0 var(--v); }
table.cmp tr.us td:first-child a { font-weight: 800; }
table.cmp thead .us { color: #fff; background: var(--v); }
.y, .n { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.y { color: var(--ok); } .n { color: var(--bad); }
.table-wrap table.cmp { min-width: 520px; }
.table-wrap.narrow table.cmp { min-width: 0; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--tint2); box-shadow: var(--sh-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 700; color: var(--ink); position: relative; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background:
  linear-gradient(var(--v-d), var(--v-d)) center / 12px 2px no-repeat,
  linear-gradient(var(--v-d), var(--v-d)) center / 2px 12px no-repeat, var(--tint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--up-bg); }
.faq summary:focus-visible { outline-offset: 0; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- CTA band: light, with a score ring ---------- */
.cta { position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center; background: linear-gradient(120deg, #fff 0%, var(--tint) 60%, var(--up-xl) 100%); border: 1px solid var(--tint2); border-radius: 32px; padding: 32px 24px; }
.cta h2, .cta .cta-h { margin-top: 0; font-size: clamp(25px, 4.6vw, 34px); line-height: 1.15; letter-spacing: -.035em; font-weight: 800; color: var(--ink); }
.cta p { color: var(--muted); margin-top: 8px; font-size: 16.5px; }
.cta .btn { background: var(--v); color: #fff; justify-self: start; box-shadow: 0 10px 24px -10px rgba(124,58,237,.7); }
.cta .btn:hover { background: var(--v-d); color: #fff; }
.cta-ring { display: none; }
@media (min-width: 860px) {
  .cta { grid-template-columns: auto minmax(0, 1fr) auto; padding: 40px 48px; gap: 36px; }
  .cta-ring { display: block; position: relative; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--up) 0 87%, rgba(124,58,237,.12) 87% 100%); }
  .cta-ring::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
  .cta-ring span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; font-weight: 800; color: var(--up-ink); font-size: 26px; letter-spacing: -.04em; line-height: 1; }
  .cta-ring span small { display: block; font-size: 11px; color: var(--soft); letter-spacing: 0; margin-top: 2px; font-weight: 700; }
}

/* ---------- Inner page header band (light) ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--navh) + 32px) 0 40px; background: radial-gradient(700px 300px at 100% 0%, rgba(167,139,250,.26), transparent 65%), linear-gradient(180deg, #fcfbff, var(--lilac)); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ''; position: absolute; right: -70px; top: 40px; width: 300px; height: 300px; border-radius: 50%; background: conic-gradient(from 200deg, rgba(124,58,237,.20) 0 62%, transparent 62% 100%); -webkit-mask: radial-gradient(circle, transparent 104px, #000 105px, #000 128px, transparent 129px); mask: radial-gradient(circle, transparent 104px, #000 105px, #000 128px, transparent 129px); pointer-events: none; display: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 6.4vw, 48px); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; color: var(--ink); max-width: 880px; margin-bottom: 14px; }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 760px; }
.page-hero p a { color: var(--v-d); text-decoration: underline; text-underline-offset: 3px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--v-d); }
@media (min-width: 1024px) {
  .page-hero { padding: calc(var(--navh) + 52px) 0 56px; }
  .page-hero::after { display: block; }
  .page-hero p { font-size: 18px; }
}

/* ---------- Guide article ---------- */
.guide-hero { padding-bottom: 76px; }
.page-hero .byline { font-size: 14px; margin-top: 18px; color: var(--soft); }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
.guide-meta .chip, .guide-meta .eyebrow { margin: 0; }
.article { display: grid; gap: 36px; padding: 40px 0 64px; grid-template-columns: minmax(0, 1fr); }
.article.guide-body { position: relative; z-index: 2; margin-top: -48px; padding-top: 0; }
.prose { font-size: 17px; line-height: 1.75; max-width: var(--measure); min-width: 0; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(23px, 4vw, 29px); line-height: 1.22; letter-spacing: -.03em; font-weight: 800; color: var(--ink); margin-top: 52px; padding-top: 4px; scroll-margin-top: 96px; }
.prose h2::before { content: ''; display: block; width: 28px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--v), var(--up)); margin-bottom: 14px; }
.prose h3 { font-size: 19px; font-weight: 800; letter-spacing: -.015em; color: var(--ink); margin-top: 30px; scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 4px; list-style: none; display: grid; gap: 8px; }
.prose ul > li { position: relative; padding-left: 26px; }
.prose ul > li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 3px; background: var(--v-l); }
.prose ol { counter-reset: li; }
.prose ol > li { position: relative; padding-left: 40px; counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: .18em; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--v-d); font-size: 13px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.prose a { text-decoration: underline; text-decoration-color: var(--v-xl); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--v); }
.prose img { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.byline { position: relative; padding-left: 40px; min-height: 30px; line-height: 1.5; padding-top: 5px; font-size: 14px; color: var(--soft); }
.byline::before { content: ''; position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #fff 0 5px, transparent 5.5px), radial-gradient(circle at 50% 110%, #fff 0 10px, transparent 10.5px), linear-gradient(135deg, var(--v), var(--v-l)); }
.byline a { text-decoration: none; font-weight: 700; }

/* Short answer as a score-card */
.answer { position: relative; background: #fff; border: 1px solid var(--tint2); border-radius: 24px; padding: 22px 22px 22px 22px; box-shadow: var(--sh-3); overflow: hidden; }
.answer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--v), var(--v-l) 60%, var(--up)); }
.answer-mark { display: none; }
.answer p { color: var(--ink) !important; font-size: 16.5px; line-height: 1.7; }
.answer p + p { margin-top: 10px; }
.answer p > b:first-child { display: inline-block; color: var(--v-d); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; background: var(--tint); padding: 3px 10px; border-radius: var(--pill); margin-right: 4px; vertical-align: 2px; }
@media (min-width: 720px) {
  .answer { padding: 26px 28px 26px 112px; }
  .answer-mark { display: block; position: absolute; left: 26px; top: 28px; width: 62px; height: 62px; border-radius: 50%; background: conic-gradient(var(--up) 0 100%); }
  .answer-mark::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 24px no-repeat; }
}

/* Callouts */
.callout { position: relative; background: var(--lilac); border: 1px solid var(--tint); border-radius: 18px; padding: 18px 20px 18px 58px; }
.callout::before { content: 'i'; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--v); color: #fff; font: 800 14px/26px Georgia, serif; text-align: center; font-style: italic; }
.callout.warn { background: #fffbeb; border-color: #fde68a; }
.callout.warn::before { content: '!'; background: #d97706; font: 800 15px/26px var(--font); font-style: normal; }
.callout p { margin: 0; color: var(--text); }
.callout p + p { margin-top: 8px; }

/* Sticky right rail */
.aside { display: grid; gap: 16px; align-content: start; min-width: 0; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 14px; }
.toc h2, .toc .toc-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin-bottom: 10px; }
.toc h2::before, .toc .toc-h::before { content: ''; width: 14px; height: 10px; background: linear-gradient(var(--v-l), var(--v-l)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--v-l), var(--v-l)) 0 50% / 70% 2px no-repeat, linear-gradient(var(--v-l), var(--v-l)) 0 100% / 85% 2px no-repeat; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--lilac2); }
.toc a { display: block; margin-left: -2px; padding: 6px 10px 6px 14px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.4; border-radius: 0 10px 10px 0; }
.toc a:hover { color: var(--v-d); background: var(--lilac); }
.toc a.active { color: var(--v-d); border-left-color: var(--v); background: var(--lilac); font-weight: 700; }
.side-cta { position: relative; background: #fff; border: 1px solid var(--tint2); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-2); overflow: hidden; }
.side-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--v), var(--up)); }
.side-cta h2, .side-cta .side-h { color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.side-cta p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.side-cta .btn { width: 100%; }
.side-score { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.side-score .mini-ring { flex: none; position: relative; width: 52px; height: 52px; border-radius: 50%; background: conic-gradient(var(--up) 0 91%, var(--lilac2) 91% 100%); }
.side-score .mini-ring::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.side-score .mini-ring b { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-size: 16px; font-weight: 800; color: var(--up-ink); }
.side-score .delta .d-from { font-size: 15px; } .side-score .delta .d-to { font-size: 22px; }
.related { margin-top: 56px; }
.related h2 { margin-top: 0; }
@media (min-width: 1024px) {
  .article { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: 56px 0 88px; }
  .article.guide-body { padding-top: 0; }
  .aside { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; }
}

/* ---------- Guide hub ---------- */
.filters { position: sticky; top: var(--navh); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; margin-bottom: 18px; background: linear-gradient(180deg, #fff 75%, rgba(255,255,255,0)); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; }
.filters a:hover { border-color: var(--v-l); color: var(--v-d); }
.filters a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters a .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.filters a.f-seo .dot { background: var(--v); } .filters a.f-content .dot { background: var(--up); } .filters a.f-ai .dot { background: #0ea5e9; } .filters a.f-compare .dot { background: #f43f5e; } .filters a.f-tools .dot { background: #f59e0b; }
.filters a .count { font-size: 12px; font-weight: 700; color: var(--soft); background: var(--lilac); padding: 1px 8px; border-radius: var(--pill); }
.filters a.on .count { background: rgba(255,255,255,.16); color: #fff; }
.hub-group { margin-top: 56px; scroll-margin-top: 150px; }
.hub-group:first-child { margin-top: 0; }
.hub-group[hidden] { display: none; }
.hub-head { display: grid; gap: 6px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hub-group > h2, .hub-head h2 { font-size: clamp(22px, 4vw, 28px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.hub-group > p, .hub-head p { color: var(--muted); margin: 0; max-width: 760px; }
.hub-group > p { margin: 6px 0 20px; }
.card.g-seo { --stripe: linear-gradient(90deg, var(--v), var(--v-l)) !important; }
.card.g-content { --stripe: linear-gradient(90deg, var(--up-ink), var(--up)) !important; }
.card.g-ai { --stripe: linear-gradient(90deg, #0369a1, #38bdf8) !important; }
.card.g-compare { --stripe: linear-gradient(90deg, #be123c, #fb7185) !important; }
.card.g-tools { --stripe: linear-gradient(90deg, #b45309, #fbbf24) !important; }
.hub, .faq-page { padding-top: 24px; }
.faq-page .filters, .faq-group { max-width: 860px; margin-left: auto; margin-right: auto; }
.faq-group .faq { margin-top: 16px; }
.related-band { padding: 56px 0; }
.guide-cta { padding: 56px 0 72px; }

/* ---------- Tools ---------- */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--sh-2); }
.tool label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin: 14px 0 6px; }
.tool input, .tool select, .tool textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; min-height: 46px; border: 1.5px solid var(--line2); border-radius: 14px; background: #fcfbff; color: var(--ink); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.tool textarea { font-family: var(--mono); font-size: 13.5px; min-height: 240px; line-height: 1.6; }
.tool input:hover, .tool select:hover, .tool textarea:hover { border-color: var(--v-xl); }
.tool input:focus, .tool select:focus, .tool textarea:focus { outline: none; border-color: var(--v); background: #fff; box-shadow: 0 0 0 4px var(--tint); }
.tool ::placeholder { color: #8f8bb0; }
.tool .row { display: grid; gap: 0 14px; grid-template-columns: minmax(0, 1fr); }
.tool .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.results { margin-top: 18px; display: grid; gap: 8px; }
.res { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; font-size: 14px; background: #fff; }
.ring { flex: none; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--v) 0 62%, var(--lilac2) 62% 100%); }
.ring > div { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.ring b { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.04em; }
.ring small { font-size: 11px; color: var(--soft); font-weight: 600; }
@media (min-width: 720px) { .tool { padding: 28px; } .tool .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Content pages (privacy / terms) ---------- */
body.content-page { background: var(--lilac); }
.content-page .container { max-width: 880px; margin: 0 auto; padding: 24px 16px 72px; }
.content-page .card { padding: 28px 20px; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.content-page .card > h2:first-child, .content-page .card h1 { font-size: clamp(30px, 6vw, 42px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; color: var(--ink); margin: 6px 0 10px; }
.content-page .card h2 { font-size: 23px; font-weight: 800; color: var(--ink); margin: 36px 0 10px; letter-spacing: -.025em; }
.content-page .card h3, .content-page .card h2.sec { font-size: 18.5px; font-weight: 800; color: var(--ink); margin: 32px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); letter-spacing: -.015em; }
.content-page .card p { margin: 12px 0; color: var(--text); font-size: 16px; max-width: var(--measure); }
.content-page .card ul, .content-page .card ol { margin: 12px 0 12px 22px; color: var(--text); max-width: var(--measure); }
.content-page .card li { margin: 7px 0; }
.content-page .card li::marker { color: var(--v); }
.content-page .card pre { background: var(--lilac); color: var(--ink); border: 1px solid var(--line); padding: 16px; border-radius: 14px; overflow-x: auto; font-size: 13px; margin: 14px 0; }
.content-page .card table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.content-page .card th, .content-page .card td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.content-page .card th { background: var(--lilac); color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.content-page .last-updated { display: inline-block; font-size: 13px; font-weight: 700; color: var(--up-ink) !important; background: var(--up-bg); padding: 4px 12px; border-radius: var(--pill); }
@media (min-width: 720px) { .content-page .container { padding: 40px 24px 96px; } .content-page .card { padding: 48px 56px; } }

/* ---------- Footer: light ---------- */
.footer { position: relative; background: #fbfaff; border-top: 1px solid var(--line); color: var(--muted); padding: 0 0 28px; font-size: 14.5px; }
.footer::before { content: ''; display: block; height: 4px; background: linear-gradient(90deg, #fb7185 0 18%, #fbbf24 18% 46%, var(--up) 46% 72%, var(--v) 72% 100%); }
.foot-top { display: grid; gap: 24px; padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { max-width: 520px; }
.foot-brand p + p { margin-top: 10px; }
.foot-card { align-self: start; display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-1); }
.foot-card .btn { width: 100%; }
.footer .btn-primary, .footer .btn-primary:hover { color: #fff; }
.foot-card a.mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.foot-card a.mail::before { content: ''; width: 16px; height: 12px; border: 2px solid currentColor; border-radius: 3px; background: linear-gradient(to bottom right, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%) left top / 50% 100% no-repeat, linear-gradient(to bottom left, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%) right top / 50% 100% no-repeat; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 32px 0; }
.footer h2, .footer .foot-h { color: var(--ink); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer ul a { display: inline-block; padding: 4px 0; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--v-d); }
.foot-brand a:not(.brand) { color: var(--v-d); font-weight: 600; }
.foot-base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--soft); }
.foot-base a { color: var(--muted); font-weight: 600; }
@media (min-width: 860px) {
  .foot-top { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 64px 0 40px; }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
}

@media (min-width: 720px) { .wrap { padding: 0 24px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}
