/* AnubicidePro · Scarlet Studio (colours: NexusBotStudio/data/branding/BRAND.md) */
:root {
  color-scheme: dark;
  --bg: #121214;
  --bg-2: #161619;
  --panel: #1b1b1f;
  --field: #212126;
  --line: #2a2a30;
  --line-2: #3a3740;
  --fg: #f2f0f2;
  --muted: #bdb7bd;
  --subtle: #9d97a0;
  --red: #b12443;
  --red-2: #c72c4f;
  --accent: #ff8ca1;
  --ok: #7fdca4;
  --wrap: 1160px;
  --r: 12px;
  --sans: Bahnschrift, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
p, ul, ol, figure { margin: 0; }
b { font-weight: 600; color: var(--fg); }
kbd, code { font: 600 .85em var(--mono); padding: .1em .45em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: var(--field); color: var(--fg); white-space: nowrap; }
code { border-bottom-width: 1px; font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 99; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--subtle); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--field); border-color: #4b4650; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn .win { width: 18px; height: 18px; fill: currentColor; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(18, 18, 20, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.brand b { color: var(--accent); font-weight: 600; }
.links { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0 0 0 auto; }
.links a { display: block; padding: 6px 11px; border-radius: 7px; color: var(--muted); font-size: 15px; text-decoration: none; }
.links a:hover { color: var(--fg); background: var(--panel); }
.menu { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--line-2); background: none; color: var(--fg); cursor: pointer; }
.menu svg { width: 22px; height: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Hero */
.hero { padding: 76px 0 0; background: radial-gradient(900px 480px at 50% 108%, rgba(177, 36, 67, .32), transparent 70%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 14px; text-decoration: none; }
.pill:hover { border-color: #4b4650; color: var(--fg); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(40px, 7vw, 72px); margin: 22px 0 18px; letter-spacing: -.03em; line-height: 1.02; }
.lede { max-width: 620px; color: var(--muted); font-size: clamp(17px, 2vw, 19px); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.fineprint { margin-top: 16px; color: var(--subtle); font-size: 14px; }
.shot { border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: #0f0f11; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.shot img { width: 100%; }
.shot-hero { margin-top: 56px; border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 -20px 120px -40px rgba(177, 36, 67, .55), 0 30px 80px -30px #000; }

/* Sections */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: 56px; }
.head-center { margin-inline: auto; text-align: center; }
.kicker { font: 600 13px/1 var(--mono); color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.head h2 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.025em; }
.head p:not(.kicker) { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* Feature rows */
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; padding-top: 0; }
.row-flip .row-text { order: 2; }
.row h3 { font-size: 26px; margin-bottom: 14px; }
.row-text > p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.shot-tall { max-width: 320px; justify-self: center; }
.beta, .soon { display: inline-block; vertical-align: middle; font: 600 11px/1 var(--mono); padding: 4px 7px; border-radius: 5px; border: 1px solid rgba(255, 140, 161, .35); color: var(--accent); letter-spacing: .02em; margin-left: 4px; }
.soon { border-color: var(--line-2); color: var(--subtle); }

/* Faux rules panel (styled like the app) */
.panel { border: 1px solid var(--line-2); border-radius: var(--r); background: #17171a; overflow: hidden; font-size: 15px; }
.panel-bar { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--panel); font-weight: 600; }
.panel-bar .muted { font-weight: 400; font-size: 14px; }
.rules { width: 100%; border-collapse: collapse; }
.rules th { text-align: left; font-weight: 400; color: var(--subtle); font-size: 13px; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.rules td { padding: 11px 18px; border-bottom: 1px solid var(--line); }
.rules tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font: 600 12px/1 var(--mono); padding: 5px 8px; border-radius: 5px; background: var(--field); border: 1px solid var(--line-2); color: var(--muted); }
.tag-catch { color: var(--ok); border-color: rgba(127, 220, 164, .3); }
.tag-run { color: var(--subtle); }
.tag-pause { color: var(--accent); border-color: rgba(255, 140, 161, .35); }
.ev { font: 600 11px var(--mono); color: var(--subtle); margin-left: 6px; }

/* Feature grid */
.sub { font-size: 22px; margin: 72px 0 24px; }
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.grid li { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid li:nth-child(3n) { border-right: 0; }
.grid li:nth-last-child(-n+3) { border-bottom: 0; }
.grid h4 { font-size: 17px; margin-bottom: 6px; }
.grid p { color: var(--subtle); font-size: 15px; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 15px; color: var(--fg); background: var(--panel); }
.compare tbody th { font-weight: 400; color: var(--muted); width: 36%; }
.compare td { color: var(--fg); }
.compare .no { color: var(--subtle); }

/* Updates */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.head-side { margin-bottom: 0; }
.link { display: inline-block; margin-top: 20px; font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.log { list-style: none; padding: 0; border-left: 1px solid var(--line-2); }
.log li { position: relative; padding: 0 0 30px 28px; }
.log li:last-child { padding-bottom: 0; }
.log li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.log li:first-child::before { background: var(--accent); border-color: var(--accent); }
.log-meta { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.log-meta b { font: 600 16px var(--mono); }
.log-meta time { color: var(--subtle); font-size: 14px; }
.log li > p:last-child { color: var(--muted); }

/* Pricing */
.plans { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { position: relative; padding: 28px 24px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); }
.plan h3 { font-size: 16px; font-weight: 600; color: var(--muted); }
.price { font-size: 48px; font-weight: 700; letter-spacing: -.03em; margin: 10px 0 4px; }
.per { color: var(--subtle); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.save { font: 600 12px/1 var(--mono); color: var(--ok); }
.plan-best { border-color: var(--red); background: linear-gradient(180deg, rgba(177, 36, 67, .12), var(--bg) 60%); }
.flag { position: absolute; top: -11px; left: 22px; padding: 4px 9px; border-radius: 6px; background: var(--red); color: #fff; font: 600 12px/1 var(--mono); }
.trial { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 0 auto 28px; padding: 14px 18px; border-radius: var(--r); border: 1px solid rgba(127, 220, 164, .35); background: rgba(127, 220, 164, .07); color: var(--muted); }
.trial-badge { flex: none; font: 600 12px/1 var(--mono); padding: 6px 9px; border-radius: 6px; background: var(--ok); color: #0f1a14; text-transform: uppercase; letter-spacing: .04em; }
.trial b { color: var(--fg); }
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.buy-steps, .buy-side { padding: 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); }
.buy h3 { font-size: 18px; margin-bottom: 16px; }
.buy-steps ol { padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.buy-steps ol li::marker { color: var(--accent); font-family: var(--mono); }
.device { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 14px; border-radius: 9px; background: rgba(177, 36, 67, .12); border: 1px solid rgba(255, 140, 161, .25); font-weight: 600; }
.device svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.methods { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.methods li { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--field); font-size: 14px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.contact { display: grid; gap: 2px; padding: 14px 16px; text-align: left; border-radius: 10px; border: 1px solid var(--line-2); background: var(--field); color: var(--fg); font: inherit; text-decoration: none; cursor: pointer; transition: border-color .15s; }
.contact:hover { border-color: var(--accent); }
.contact-label { font-size: 13px; color: var(--subtle); }
.contact-value { font-weight: 600; overflow-wrap: anywhere; }
.contact-hint { font-size: 12px; color: var(--subtle); }
.contact.copied .contact-hint { color: var(--ok); }
.note { text-align: center; margin-top: 22px; color: var(--subtle); font-size: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 22px; color: var(--muted); }
.faq ul { padding-left: 20px; display: grid; gap: 6px; }

/* Final + footer */
.final { padding: 112px 0; border-top: 1px solid var(--line); background: radial-gradient(700px 320px at 50% 0%, rgba(177, 36, 67, .2), transparent 70%); }
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(30px, 4.4vw, 44px); margin-top: 20px; letter-spacing: -.025em; }
.final p { color: var(--muted); margin-top: 12px; font-size: 18px; }
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; background: #0f0f11; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot h2 { font-size: 13px; font-weight: 600; color: var(--subtle); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--fg); }
.studio { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--subtle); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 13px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 46px); letter-spacing: -.025em; margin-bottom: 8px; }
.legal .updated { color: var(--subtle); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 21px; margin: 34px 0 12px; }
.legal ul { color: var(--muted); padding-left: 22px; display: grid; gap: 8px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal .back { margin-top: 40px; }

/* Responsive */
@media (max-width: 960px) {
  .row, .split { grid-template-columns: 1fr; gap: 32px; }
  .row-flip .row-text { order: 0; }
  .head-side { position: static; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid li:nth-child(3n) { border-right: 1px solid var(--line); }
  .grid li:nth-child(2n) { border-right: 0; }
  .grid li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .grid li:nth-last-child(-n+2) { border-bottom: 0; }
  .plans { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .buy { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu { display: grid; }
  .nav-cta { display: none; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 60px; flex-direction: column; padding: 6px 16px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 13px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .links li:last-child a { border-bottom: 0; }
  .hero { padding-top: 48px; }
  .cta .btn { flex: 1 1 100%; }
  .shot-hero { margin-top: 40px; }
  .section, .final { padding: 80px 0; }
  .head { margin-bottom: 36px; }
  .row { padding: 36px 0; }
  .row h3 { font-size: 23px; }
  .grid { grid-template-columns: 1fr; }
  .grid li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .grid li:last-child { border-bottom: 0 !important; }
  .plans { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .trial { flex-direction: column; align-items: flex-start; gap: 10px; }
  .faq summary { font-size: 17px; }
  .compare { min-width: 0; font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare tbody th { width: 34%; }
}
@media (max-width: 600px) {
  .shot-hero { max-width: 300px; margin-inline: auto; border-radius: 14px 14px 0 0; }
}
/* Content pages (guide, changelog, PokeNexus bot pages) */
.crumbs { display: flex; gap: 8px; padding-top: 28px; font-size: 14px; color: var(--subtle); }
.crumbs a { color: var(--subtle); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.page-hero { padding: 36px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 58px); letter-spacing: -.03em; line-height: 1.04; max-width: 16ch; margin: 14px 0 18px; }
.page-hero .lede { max-width: 640px; }
.page-hero .cta { justify-content: flex-start; }
.page-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.page-body { padding: 72px 0 24px; }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 32px; }
.prose p, .prose li { color: var(--muted); }
.prose ol, .prose ul:not(.ticks) { padding-left: 22px; display: grid; gap: 8px; }
.prose .ticks { margin-top: 16px; }
.prose figure { margin: 32px 0; }
.prose table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: table; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.prose thead th { background: var(--panel); color: var(--fg); }
.prose td { color: var(--muted); }
.callout { padding: 16px 18px; border-radius: 10px; border: 1px solid rgba(255, 140, 161, .3); background: rgba(177, 36, 67, .1); color: var(--muted); }
.callout b { color: var(--fg); }
.related { padding: 56px 0 96px; }
.related h2 { font-size: 22px; margin-bottom: 20px; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards a { display: block; height: 100%; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--fg); text-decoration: none; transition: border-color .15s; }
.cards a:hover { border-color: var(--accent); }
.cards b { display: block; font-size: 17px; margin-bottom: 4px; }
.cards span { color: var(--subtle); font-size: 15px; }
.changes { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.changes li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.changes .v { font: 600 18px var(--mono); }
.changes time { display: block; color: var(--subtle); font-size: 14px; margin-top: 2px; }
.changes p { color: var(--muted); }
.changes a { font-size: 14px; }
.foot-grid-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 960px) {
  .page-split { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 24px 0 48px; }
  .page-hero .cta .btn { flex: 1 1 100%; }
  .page-body { padding-top: 48px; }
  .cards { grid-template-columns: 1fr; }
  .changes li { grid-template-columns: 1fr; gap: 6px; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
