/* The plugin's theme (plugin/src/Theme.h) and its fonts (Inter Regular and Medium, plugin/assets). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-regular.woff) format("woff"); }
@font-face { font-family: Inter; font-weight: 500 700; font-display: swap; src: url(/fonts/inter-medium.woff) format("woff"); }
:root {
  --bg: #161826; --surface: #232532; --line: #3f424d; --text: #e9e9ed; --muted: #b2b6ca;
  --accent: #9184d9; --accent-hi: #b5abfc; --accent-lo: #2b2741; --red: #ff8587; --amber: #f5c46e;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent-hi); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
.shot img, .split img, figure img { border-radius: 12px; border: 1px solid var(--line); }
h1, h2, h3, th, strong, .btn, .brand { font-weight: 500; }
.wrap, main > section, main > .hero, main > article, main > .legal { max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 3; }

header.top { position: sticky; top: 0; z-index: 2; background: rgba(22, 24, 38, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--surface); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--text); text-decoration: none; }
.brand span { color: var(--muted); }
header nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
header nav a:hover { color: var(--text); }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 14px 26px; border-radius: 10px; margin: 6px; }
.btn:hover { background: #a296e6; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); background: transparent; }
header nav a.btn.small { padding: 8px 14px; margin: 0 0 0 20px; font-size: 14px; color: #fff; }

.hero { padding: 56px 0 24px; text-align: center; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); margin: 0 0 16px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.lede { font-size: 20px; color: var(--muted); max-width: 740px; margin: 0 auto 28px; }
.note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.shot { margin: 36px auto 0; max-width: 980px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding: 32px 20px 8px; margin: 0 auto; max-width: 1080px; list-style: none; }
.facts li { background: var(--surface); border-radius: 12px; padding: 16px 18px; color: var(--muted); font-size: 15px; }
.facts strong { display: block; color: var(--text); font-size: 22px; }

main > section { padding-top: 64px; padding-bottom: 8px; }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 24px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 6px; }
.sub { color: var(--muted); max-width: 740px; margin: -12px 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: 14px; padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-lo); color: var(--accent-hi); margin-bottom: 10px; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: center; margin-bottom: 48px; }
.split:nth-of-type(even) { grid-template-columns: 1.4fr 1fr; }
.split:nth-of-type(even) > div { order: 2; }
.split p { color: var(--muted); }
.split h2 { margin-bottom: 12px; }
.red { color: var(--red); } .amber { color: var(--amber); }

.price { font-size: 40px; font-weight: 500; margin: 6px 0; }
.price .per { font-size: 18px; color: var(--muted); font-weight: 400; }
ul.ticks { padding-left: 20px; color: var(--muted); margin: 12px 0 0; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin-top: 28px; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--surface); vertical-align: top; }
thead th { color: var(--muted); font-size: 14px; }
td { color: var(--muted); }
tbody th { color: var(--text); font-weight: 400; }
td.yes { color: var(--text); }

.faq h3 { margin-top: 26px; }
.faq p { color: var(--muted); margin: 0; max-width: 800px; }
code { background: var(--surface); padding: 2px 6px; border-radius: 6px; font-size: 14px; word-break: break-word; }
pre { background: var(--surface); padding: 14px 16px; border-radius: 10px; overflow-x: auto; }
pre code { padding: 0; word-break: normal; }
.cta { text-align: center; padding-bottom: 56px; }

article, .legal { max-width: 760px !important; padding-top: 28px; padding-bottom: 48px; }
article h1, .legal h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 8px 0 12px; letter-spacing: -0.01em; }
article h2, .legal h2 { font-size: 23px; margin: 40px 0 10px; }
article h3 { margin-top: 26px; }
article p, article li, .legal p, .legal li { color: #d4d6e2; }
article li { margin: 6px 0; }
article figure { margin: 24px 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0; }
.crumbs a { color: var(--muted); }
.box { background: var(--surface); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 24px 0; }
.box p { margin: 0; }

footer { border-top: 1px solid var(--surface); margin-top: 56px; padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 18px; display: inline-block; padding: 4px 0; }

@media (max-width: 760px) {
  .split, .split:nth-of-type(even) { grid-template-columns: 1fr; gap: 16px; }
  .split:nth-of-type(even) > div { order: 0; }
  header nav a:not(.btn) { display: none; }
  .lede { font-size: 18px; }
  main > section { padding-top: 48px; }
}
