/* The Laser Pointer website. System font, nothing loaded from outside. The icon's near-black and
   laser red; the plan chips use the app's tier badge colours (packages/presentation_ui tier_badge.dart);
   light or dark follows the visitor's system, and the hero, the Ultra band and the footer stay dark. */
:root {
  --ink: #1d1d22; --muted: #5e5e6a; --line: #dcdce2; --soft: #f5f5f8; --page: #fff;
  --dark: #1f1e23; --red: #ec2730; --pale: #fde0e0; --banner-ink: #8a1218; --link: #b3141c;
  --chip-free: #eeeeee; --chip-plus: #bbdefb; --chip-pro: #e1bee7; --chip-ultra: #ffe082;
  --chip-free-ink: #000; --chip-plus-ink: #000; --chip-pro-ink: #000; --chip-ultra-ink: #000;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ececf1; --muted: #a9a8b2; --line: #3a3940; --soft: #232227; --page: #141317;
    --pale: #3b1c20; --banner-ink: #ffb4b8; --link: #ff8a90;
    --chip-free: #424242; --chip-plus: #0d47a1; --chip-pro: #4a148c; --chip-ultra: #ff8f00;
    --chip-free-ink: #fff; --chip-plus-ink: #fff; --chip-pro-ink: #fff; --chip-ultra-ink: #000;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--page); }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--page); padding: 8px 12px; z-index: 10; }

/* header: the menu is a checkbox, so it needs no script */
.nav { border-bottom: 1px solid var(--line); background: var(--page); }
.nav .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin-right: auto; min-height: 44px; }
.dot { width: 28px; height: 28px; border-radius: 50%; flex: none; background: radial-gradient(circle, #fde0e0 0 22%, var(--red) 23% 48%, #3a2024 49% 62%, var(--dark) 63%); }
.menu-toggle { position: absolute; opacity: 0; width: 44px; height: 44px; right: 16px; top: 10px; margin: 0; cursor: pointer; z-index: 2; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; align-items: center; justify-content: center; font-size: 1.3rem; }
.menu-toggle:focus-visible + .menu-button { outline: 3px solid var(--red); outline-offset: 2px; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { color: var(--ink); text-decoration: none; min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; }
.links a[aria-current] { font-weight: 700; }
.links a:hover { background: var(--soft); }
.links a.btn { color: #fff; }
.btn { min-height: 44px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border: 1px solid var(--line); background: var(--page); color: var(--ink); text-decoration: none; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 1.05rem; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (max-width: 759px) {
  .menu-button { display: flex; }
  .links { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .menu-toggle:checked ~ .links { display: flex; }
  .links a { border: 0; }
}

/* sections */
.sec { padding: 56px 0; }
.sec.soft { background: var(--soft); }
.sec h2 { font-size: 1.7rem; margin: 0 0 8px; line-height: 1.25; }
.lead { color: var(--muted); margin: 0 0 28px; max-width: 720px; }
h1 { line-height: 1.2; }
.hero, .band, .foot { background: var(--dark); color: #fff; }
.hero { padding: 72px 0; }
.hero .wrap { display: flex; gap: 48px; align-items: center; }
.hero h1 { font-size: 2.6rem; margin: 0 0 16px; max-width: 620px; }
.hero p { color: #cfcfd8; font-size: 1.15rem; max-width: 560px; margin: 0 0 24px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn:not(.red), .band .btn:not(.red) { background: transparent; color: #fff; border-color: #55545c; }
.band { padding: 48px 0; border-top: 4px solid var(--red); border-bottom: 4px solid var(--red); }
.band .wrap { display: flex; gap: 40px; align-items: center; }
.band h2 { font-size: 1.9rem; margin: 12px 0 8px; }
.band p { color: #cfcfd8; max-width: 520px; margin: 0 0 20px; font-size: 1.05rem; }
.shot { flex: none; width: 420px; max-width: 100%; border-radius: 14px; background: #2b2a31; border: 1px solid #3d3c44; color: #8d8c96; font-size: .9rem; text-align: center; overflow: hidden; }
.shot img { display: block; width: 100%; }
.shot.hole { min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 16px; position: relative; }
.shot.wide { width: 380px; }
.shot .laser { position: absolute; left: 62%; top: 38%; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px 6px #ec273080; }
@media (max-width: 859px) {
  .hero .wrap, .band .wrap { flex-direction: column; align-items: stretch; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.9rem; }
  .band h2 { font-size: 1.5rem; }
  .shot, .shot.wide { width: 100%; }
  .sec { padding: 36px 0; }
}

/* cards, chips, tiers */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 859px) { .grid { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--page); color: var(--ink); text-decoration: none; display: block; }
a.card:hover { border-color: var(--red); }
.card b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.card span.sub { color: var(--muted); }
.ic { width: 36px; height: 36px; border-radius: 10px; background: var(--pale); color: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 10px; }
.chip { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.chip.free { background: var(--chip-free); color: var(--chip-free-ink); }
.chip.plus { background: var(--chip-plus); color: var(--chip-plus-ink); }
.chip.pro { background: var(--chip-pro); color: var(--chip-pro-ink); }
.chip.ultra { background: var(--chip-ultra); color: var(--chip-ultra-ink); }
.band .chip { margin-left: 0; }
.more { margin-top: 20px; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 959px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 559px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: var(--page); }
.tier h3 { margin: 0; font-size: 1.15rem; }
.price { font-size: 1.8rem; font-weight: 800; }
.tier ul { margin: 4px 0 8px; padding-left: 18px; color: var(--muted); }
.banner { background: var(--pale); color: var(--banner-ink); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }

/* "one app instead of three" */
.vs { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vs-old, .vs-new { border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.vs-old { background: var(--soft); color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.vs-old::before { content: "\2715"; text-decoration: none; display: inline-block; font-weight: 700; }
.vs-new { border: 1px solid var(--line); font-weight: 600; }
.vs-new::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px 2px #ec273060; }
@media (max-width: 659px) { .vs-row { grid-template-columns: 1fr; gap: 6px; } }

/* features page */
.group { border-top: 1px solid var(--line); padding: 28px 0; }
.group h2 { font-size: 1.4rem; }
.features { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
@media (max-width: 759px) { .features { grid-template-columns: 1fr; } }
.features b { display: block; }
.features span { color: var(--muted); }
.tiernav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tiernav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }

/* guide */
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 40px 0 56px; }
.guide-nav { display: flex; flex-direction: column; gap: 2px; align-self: start; position: sticky; top: 16px; }
.guide-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.guide-nav a[aria-current] { font-weight: 700; background: var(--soft); }
.guide-nav a:hover { background: var(--soft); }
@media (max-width: 859px) { .guide-layout { grid-template-columns: 1fr; gap: 16px; } .guide-nav { position: static; } }
.prose { max-width: 760px; min-width: 0; }
.prose h1 { font-size: 2rem; margin-top: 0; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose code { background: var(--soft); border-radius: 4px; padding: 1px 5px; font-size: .92em; overflow-wrap: anywhere; }
.prose pre { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; overflow-wrap: normal; }
.prose .table { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.prose li { margin: 4px 0; }

.foot { padding: 28px 0; color: #a9a8b2; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.foot b { color: #fff; margin-right: auto; }
.foot a { color: #cfcfd8; min-height: 44px; display: inline-flex; align-items: center; }
.notfound { padding: 80px 0; }
.status { color: var(--muted); }
