/* LinkedIn AI Poster: dark, glassy, electric. */
:root {
  --bg: #0B0B12;
  --bg-2: #10101A;
  --surface: #15151F;
  --surface-2: #1C1C29;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #ECECF4;
  --muted: #A3A3B8;
  --violet: #7C5CFF;
  --violet-2: #A08BFF;
  --cyan: #22D3EE;
  --good: #34D399;
  --bad: #F87171;
  --grad: linear-gradient(135deg, #7C5CFF 0%, #22D3EE 100%);
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 14px;
  --glow: 0 0 0 1px var(--line), 0 20px 50px -20px rgba(124, 92, 255, .35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  margin: 0; color: var(--text); font: 17px/1.7 var(--sans);
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(124, 92, 255, .18), transparent 60%),
    radial-gradient(800px 400px at -10% 10%, rgba(34, 211, 238, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-2); text-decoration-color: rgba(160, 139, 255, .45); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
::selection { background: rgba(124, 92, 255, .5); }

/* header */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(11, 11, 18, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-head__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 18px/1 var(--display); letter-spacing: -.02em; }
.logo:hover { color: var(--text); }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__mark { width: 28px; height: 28px; }
.site-nav { margin-left: auto; display: flex; gap: 6px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 7px 12px; border-radius: 999px; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.nav-toggle { display: none; margin-left: auto; font: 600 14px var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg-2); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 12px 14px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; border-radius: 10px; }
}

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; color: #fff; }
h1 { font-size: clamp(36px, 5.2vw, 60px); margin: 10px 0 18px; }
h1 em, .grad { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 64px 0 16px; }
h3 { font-size: 21px; margin: 34px 0 10px; }
h4 { font: 600 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin: 0; }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dek { font-size: 20px; color: var(--muted); max-width: 760px; margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 12px/1.4 var(--mono); color: var(--muted); margin: 20px 0 0; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }

/* page */
.page-head { padding-top: 44px; padding-bottom: 26px; }
.page-hero img { border-radius: var(--radius); box-shadow: var(--glow); aspect-ratio: 21/9; object-fit: cover; width: 100%; }
.prose { max-width: 820px; padding-bottom: 96px; }
.prose--home { max-width: 1160px; }
.prose--home > p, .prose--home > ul, .prose--home > ol, .prose--home > h2, .prose--home > h3, .prose--home > .answer, .prose--home > .faq { max-width: 820px; }
.prose p, .prose li { color: #D6D6E2; }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--violet); }
.prose blockquote { margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--violet); font-size: 20px; color: #fff; }
.prose code { font: 14px var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.sc { margin: 30px 0; }

.answer { position: relative; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; border-radius: var(--radius); padding: 22px 24px; margin: 34px 0; box-shadow: 0 20px 60px -30px rgba(124, 92, 255, .6); }
.answer p:last-child { margin-bottom: 0; }
.answer .label { color: var(--cyan); margin: 0 0 10px; }

.disclosure { background: rgba(124, 92, 255, .08); border: 1px solid rgba(124, 92, 255, .3); border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: #CFCFE0; }

/* tool cards */
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 24px; transition: border-color .2s, box-shadow .2s; }
.tool-card:hover { border-color: rgba(124, 92, 255, .45); box-shadow: var(--glow); }
.tool-card__head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; }
.tool-card__rank { font: 700 15px/1 var(--mono); color: #fff; background: var(--grad); border-radius: 10px; width: 42px; height: 42px; display: grid; place-items: center; }
.tool-card__name { margin: 0 0 4px; font-size: 24px; }
.tool-card__name a { color: #fff; text-decoration: none; }
.tool-card__best { margin: 0; font-size: 15.5px; color: var(--muted); }
.tool-card__best .label { color: var(--cyan); margin-right: 4px; }
.tool-card__price { text-align: right; font: 600 15px var(--display); color: #fff; white-space: nowrap; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.tool-card__price .label { display: block; margin-bottom: 4px; }
.tool-card__shot { margin: 18px 0 6px; border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; object-position: top; width: 100%; }
.tool-card__foot { font-size: 14px; margin: 14px 0 0; color: var(--muted); }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.proscons ul { margin: 0; padding-left: 18px; font-size: 15px; }
.proscons div:first-child h4 { color: var(--good); }
.proscons div:last-child h4 { color: var(--bad); }
.proscons div:first-child li::marker { color: var(--good); }
.proscons div:last-child li::marker { color: var(--bad); }
@media (max-width: 640px) {
  .tool-card__head { grid-template-columns: auto 1fr; }
  .tool-card__price { grid-column: 1 / -1; text-align: left; justify-self: start; }
  .proscons { grid-template-columns: 1fr; }
}

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 640px; }
table.data caption { caption-side: bottom; text-align: left; padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
table.data th, table.data td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #D6D6E2; }
table.data thead th { background: var(--surface-2); color: #fff; font: 600 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
table.data thead th a { color: #fff; }
table.data tbody th { font-weight: 600; color: #fff; white-space: nowrap; }
table.data tbody th a { color: #fff; }
table.data tbody tr:hover td, table.data tbody tr:hover th { background: rgba(124, 92, 255, .05); }
table.compare tbody th { color: var(--muted); font-weight: 500; white-space: normal; min-width: 150px; }
.prose table:not(.data) { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: block; overflow-x: auto; }
.prose table:not(.data) th, .prose table:not(.data) td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose table:not(.data) thead th { background: var(--surface-2); color: #fff; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }

/* media */
figure { margin: 0; }
.shot img, .illo img { border-radius: 12px; border: 1px solid var(--line); width: 100%; }
.shot figcaption, .video figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.yt { display: block; width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: var(--radius); background: #000 center/cover no-repeat; cursor: pointer; position: relative; padding: 0; overflow: hidden; box-shadow: var(--glow); }
.yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 18, .7)); }
.yt__play { position: absolute; inset: 50% auto auto 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 40px rgba(124, 92, 255, .7); }
.yt__play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }

/* faq + related */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; color: #fff; cursor: pointer; }
.faq summary::marker { color: var(--violet); }
.related ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.related li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0; }
.related li:hover { border-color: rgba(124, 92, 255, .45); }
.related li a { font: 600 17px/1.25 var(--display); color: #fff; text-decoration: none; display: block; margin-bottom: 6px; }
.related li span { font-size: 14px; color: var(--muted); }

/* home */
.home-hero { padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.home-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.home-hero__img img { border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -20px rgba(124, 92, 255, .55); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; background: var(--grad); color: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8); }
.btn:hover { color: #fff; filter: brightness(1.1); }
.btn--ghost { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 26px 0; }
.cards a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; transition: border-color .2s, transform .2s; }
.cards a strong { display: block; font: 600 19px/1.25 var(--display); color: #fff; margin-bottom: 6px; }
.cards a span { font-size: 15px; color: var(--muted); }
.cards a .card__k { display: block; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.cards a:hover { border-color: rgba(124, 92, 255, .5); transform: translateY(-2px); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 26px 0; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stats b { display: block; font: 700 32px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stats span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .home-hero__grid { grid-template-columns: 1fr; } }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 52px 0; }
.site-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-foot h2 { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 6px 0 16px; }
.site-foot__grid > div > a:not(.logo) { display: block; color: #CFCFE0; text-decoration: none; margin: 0 0 9px; font-size: 14.5px; }
.site-foot__grid > div > a:not(.logo):hover { color: var(--cyan); }
.site-foot p { color: var(--muted); font-size: 14.5px; }
.site-foot .fine { font-size: 12.5px; color: #7A7A90; }
@media (max-width: 760px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* video review grid */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 24px 0 36px; }
.vcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.vcard .yt, .vcard iframe { border: 0; border-radius: 0; box-shadow: none; width: 100%; aspect-ratio: 16/9; }
.vcard figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.vcard figcaption strong { font: 600 15px/1.35 var(--display); color: #fff; }
.vcard__meta { font-size: 13px; color: var(--muted); }
.vcard__note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.vcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); text-decoration: none; }
.tag--tool { color: var(--cyan); border-color: rgba(34, 211, 238, .35); }
.tag--warn { color: #FBBF24; border-color: rgba(251, 191, 36, .4); }
[id] { scroll-margin-top: 84px; }

/* comparison tables break out of the 820px reading column */
.prose .table-wrap { position: relative; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100vw - 40px)); margin: 28px 0; }
