:root {
  color-scheme: dark;
  --bg: #0b1826;
  --panel: #132235;
  --line: #2b4053;
  --text: #eef3f8;
  --muted: #a5b8cb;
  --blue: #8bc4f5;
  --green: #7cdeb6;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:is(a, button, [tabindex]):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--blue); color: var(--bg); }
h1, h2, p, figure, dl, dd { margin: 0; }
h1, h2 { line-height: 1.2; }
h2 { font-size: 25px; letter-spacing: -.6px; font-weight: 650; }
img { display: block; object-fit: contain; }
.shell { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; background: var(--blue); color: var(--bg); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 36px; }
.brand { text-decoration: none; font-size: 24px; font-weight: 750; letter-spacing: -.8px; white-space: nowrap; }
.brand > span { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a, .sign-in, .site-footer nav a { text-decoration: none; font-size: 13px; color: #c5d2df; }
.site-nav a:hover, .sign-in:hover, .site-footer nav a:hover { color: var(--blue); }
.sign-in { border-left: 1px solid var(--line); padding-left: 28px; white-space: nowrap; }
.sign-in span { color: var(--blue); padding-left: 8px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 70px; padding-block: 54px 38px; }
.overline { color: var(--blue); font-size: 12px; margin-bottom: 14px; }
h1 { font-size: clamp(33px, 3.5vw, 48px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.13; }
.hero-intro > p { max-width: 470px; font-size: 16px; color: #c1cfdd; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 44px; padding: 10px 18px; border: 1px solid #a6d4fa; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 650; }
.button-primary { background: var(--blue); color: #102334; }
.button-primary:hover { background: #b0d9fa; }
.free-note { font-size: 12px; color: var(--green); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 550; color: var(--blue); text-decoration: none; }
.text-link:hover { color: #cde7fd; text-decoration: underline; text-underline-offset: 4px; }
.product-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.product-label { display: flex; align-items: center; gap: 9px; }
.product-label h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.capture-note { font-size: 11px; color: var(--muted); }
.preview-tabs { display: flex; gap: 4px; padding: 0 10px; background: #102031; border: 1px solid var(--line); border-bottom: 0; border-radius: 5px 5px 0 0; }
.preview-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; min-height: 45px; padding: 10px 15px; color: var(--muted); cursor: pointer; font-size: 12px; }
.preview-tabs button:hover { color: var(--text); background: #1a3045; }
.preview-tabs button[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--text); }
.preview { border: 1px solid var(--line); border-radius: 0 0 5px 5px; background: #101d2b; overflow: hidden; }
.preview + .preview { margin-top: 18px; }
.preview-tabs:not([hidden]) ~ .preview { margin-top: 0; }
.screenshot-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #4b6d8a #122333; background: #10202d; }
.screenshot-link { display: block; cursor: zoom-in; text-decoration: none; }
.screenshot-link img { width: 100%; height: auto; }
figcaption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 20px; border-top: 1px solid var(--line); }
figcaption strong { font-size: 13px; font-weight: 600; }
figcaption p { margin-top: 2px; font-size: 12px; color: var(--muted); }
figcaption .text-link { flex-shrink: 0; }
.screenshot-note { font-size: 11px; color: #8fa5bb; margin-top: 9px; }
.mobile-scroll-note { display: none; }
.free-section { padding-block: 48px; }
.section-intro > p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 580px; }
.free-section .section-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.free-section .section-intro > p { max-width: 480px; margin: 0; font-size: 12px; }
.free-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 4px; background: #112131; }
.free-page { display: flex; align-items: center; gap: 13px; min-height: 99px; padding: 20px; text-decoration: none; }
.free-page + .free-page { border-left: 1px solid var(--line); }
.free-page:hover { background: #1a3045; }
.free-page img, .calculator-icon { flex-shrink: 0; color: var(--blue); }
.free-page > span:nth-child(2) { flex: 1; min-width: 0; }
.free-page strong, .free-page small { display: block; }
.free-page strong { font-size: 14px; font-weight: 600; }
.free-page small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.free-page > span:last-child { color: var(--blue); }
.free-label { font-size: 10px; color: var(--green); }
.workflow { display: grid; grid-template-columns: .9fr 1.3fr; gap: 85px; padding-block: 45px; border-top: 1px solid var(--line); }
.workflow .section-intro > p { max-width: 390px; }
.workflow .text-link { margin-top: 20px; }
.tool-notes > div { display: grid; grid-template-columns: 155px 1fr; gap: 24px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.tool-notes > div:first-child { padding-top: 0; }
.tool-notes > div:last-child { padding-bottom: 0; border-bottom: 0; }
.tool-notes dt { font-size: 13px; font-weight: 600; }
.tool-notes dd { color: var(--muted); font-size: 13px; }
.book-section { border-block: 1px solid var(--line); padding-block: 24px; }
.book-section > p:first-child { color: var(--muted); font-size: 12px; }
.book-logos { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 28px; padding: 0; margin: 18px 0; list-style: none; }
.book-logos li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c5d2df; }
.book-logos img { border-radius: 3px; }
.coverage-note { font-size: 10px; color: #8fa5bb; }
.membership { display: grid; grid-template-columns: 1fr .65fr; gap: 90px; align-items: center; padding-block: 48px; }
.membership p { color: var(--muted); font-size: 14px; margin: 12px 0 18px; max-width: 540px; }
.plan-links a { display: flex; align-items: center; gap: 25px; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.plan-links a:first-child { border-top: 1px solid var(--line); }
.plan-links a:hover { color: var(--blue); }
.plan-links a > span:first-child { font-size: 14px; flex: 1; }
.plan-links strong { font-size: 24px; font-weight: 600; }
.plan-links small { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 3px; }
.plan-links a > span:last-child { color: var(--blue); }
.community { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 24px; }
.community p { color: var(--muted); font-size: 13px; }
.site-footer { background: #091420; border-top: 1px solid var(--line); padding-block: 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.site-footer .brand { font-size: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.site-footer nav a { font-size: 11px; }
.site-footer p { font-size: 10px; color: #8fa5bb; }
.site-footer .copyright { margin-top: 6px; }
body.preview-open { overflow: hidden; }
#screenshot-dialog { padding: 0; width: min(1600px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); border: 1px solid #526b83; border-radius: 5px; background: var(--bg); color: var(--text); overflow: hidden; }
#screenshot-dialog::backdrop { background: #030a12e6; }
.screenshot-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.screenshot-dialog-header p { font-size: 12px; }
.close-preview { background: var(--panel); color: var(--text); border: 1px solid #476079; border-radius: 4px; padding: 8px 12px; font-size: 12px; white-space: nowrap; cursor: pointer; }
.close-preview:hover { background: #253c52; }
.close-preview span { margin-left: 8px; }
.enlarged-scroll { overflow: auto; max-height: calc(100dvh - 110px); }
#enlarged-screenshot { display: block; width: 100%; height: auto; min-width: 1000px; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 35px; }
  .free-page { padding: 16px 12px; gap: 10px; }
  .free-page small { font-size: 10px; }
  .free-page img, .calculator-icon { width: 24px; height: 24px; }
  .workflow { gap: 40px; }
  .tool-notes > div { grid-template-columns: 130px 1fr; gap: 18px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 34px 28px; }
  h1 { font-size: 42px; }
  .hero-intro > p { max-width: 590px; font-size: 15px; }
  .free-section .section-intro { display: block; }
  .free-section .section-intro > p { margin-top: 10px; }
  .free-links { grid-template-columns: 1fr; }
  .free-page { padding: 17px 20px; min-height: 78px; gap: 16px; }
  .free-page + .free-page { border-left: 0; border-top: 1px solid var(--line); }
  .free-page small { font-size: 12px; }
  .free-page img, .calculator-icon { width: 28px; height: 28px; }
  .workflow { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .workflow .section-intro > p { max-width: 580px; }
  .tool-notes > div { grid-template-columns: 160px 1fr; }
  .book-logos { justify-content: flex-start; gap: 18px 28px; }
  .membership { gap: 40px; }
  .footer-top { align-items: flex-start; }
  .site-footer nav { max-width: 340px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 16px; flex-wrap: wrap; padding-block: 14px 10px; }
  .brand { font-size: 23px; }
  .sign-in { margin-left: auto; padding-left: 0; border: 0; }
  .site-nav { order: 3; width: 100%; gap: 24px; margin: 0; }
  .site-nav a { font-size: 12px; padding-block: 4px; }
  h1 { font-size: clamp(29px, 7.8vw, 42px); letter-spacing: -1px; }
  h2 { font-size: 23px; }
  .overline { font-size: 11px; }
  .hero-intro > p { font-size: 14px; }
  .hero-actions { gap: 13px; }
  .button { font-size: 13px; gap: 18px; }
  .free-note { font-size: 11px; }
  .product-label h2 { font-size: 11px; }
  .product-label img { width: 17px; height: 17px; }
  .capture-note { font-size: 9px; }
  .preview-tabs { padding-inline: 4px; }
  .preview-tabs button { font-size: 11px; padding-inline: 12px; }
  .screenshot-link { min-width: 850px; }
  figcaption { flex-direction: column; align-items: flex-start; gap: 9px; padding: 13px 14px; }
  figcaption strong { font-size: 12px; }
  figcaption p, figcaption .text-link { font-size: 11px; }
  .screenshot-note { font-size: 10px; }
  .mobile-scroll-note { display: inline; }
  .free-section { padding-block: 32px; }
  .free-page { padding-inline: 14px; gap: 12px; }
  .free-page small { font-size: 10px; }
  .tool-notes > div { grid-template-columns: 1fr; gap: 6px; }
  .book-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .book-logos li { font-size: 11px; }
  .membership { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .membership p { font-size: 13px; }
  .community { flex-direction: column; gap: 10px; padding-block: 22px; }
  .footer-top { flex-direction: column; gap: 18px; }
  #screenshot-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .screenshot-dialog-header { padding: 10px; gap: 12px; }
  .screenshot-dialog-header p { font-size: 11px; }
  .enlarged-scroll { max-height: calc(100dvh - 120px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
