/* SpotPlot website: dark, Apple-style, matching the app (see followspot/DESIGN.md) */
:root {
  --bg: #000;
  --panel: #1C1C1E;
  --panel-2: #2A2A2A;
  --line: rgba(255, 255, 255, 0.10);
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #6E6E73;
  --blue: #0A84FF;
  --blue-text: #409CFF;
  --green: #30D158;
  --orange: #FF9F0A;
  --yellow: #FFD60A;
  --grad: linear-gradient(90deg, #64D2FF, #0A84FF 60%, #5E5CE6);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 22px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.btn-soon { cursor: default; color: var(--text-2); }
.btn-soon:hover { filter: none; }
.btn-small { height: 34px; padding: 0 16px; font-size: 14px; border-radius: 17px; }

/* Hero */
.hero { text-align: center; padding: 88px 0 40px; }
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.03; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 700; }
.hero p.lede { font-size: clamp(19px, 2.4vw, 24px); color: var(--text-2); max-width: 720px; margin: 0 auto 30px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .small { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.shot { margin: 56px auto 0; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 120px rgba(10, 132, 255, 0.18), 0 0 0 1px var(--line); }
.shot .bar { height: 30px; background: var(--panel-2); display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid rgba(0, 0, 0, 0.5); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--blue-text); margin: 0 0 8px; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 700; }
.section-head p { color: var(--text-2); font-size: 19px; margin: 0; }

/* Feature rows: text beside an image */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.feature p { color: var(--text-2); margin: 0 0 14px; }
.feature ul { color: var(--text-2); padding-left: 20px; margin: 0; }
.feature li { margin: 6px 0; }
.feature .media img { border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
.paper img { background: #fff; border-radius: 6px !important; }

/* Small feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.card h4 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.card .dot { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; font-size: 17px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(10, 132, 255, 0.6); box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.4), 0 20px 60px rgba(10, 132, 255, 0.12); }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.plan .who { color: var(--text-2); font-size: 15px; margin: 0 0 18px; }
.price { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.price-alt { color: var(--text-2); font-size: 15px; margin: 8px 0 20px; }
.save { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); background: rgba(48, 209, 88, 0.14); padding: 2px 8px; border-radius: 10px; margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; color: var(--text-2); font-size: 15px; flex: 1; }
.plan li { padding: 7px 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: none; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 10px; }
.plan .btn { width: 100%; }
.soon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 16px auto 0; }
.soon .plan { background: transparent; }
.tag { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 600; color: var(--orange); background: rgba(255, 159, 10, 0.14); padding: 3px 9px; border-radius: 10px; margin-bottom: 12px; }
.tiers { width: 100%; border-collapse: collapse; font-size: 15px; color: var(--text-2); margin: 4px 0 18px; }
.tiers td { padding: 6px 0; border-top: 1px solid var(--line); }
.tiers td:last-child { text-align: right; color: var(--text); font-weight: 600; }
.fine { color: var(--text-3); font-size: 13px; text-align: center; margin-top: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--text-2); font-weight: 400; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details ul, details ol { color: var(--text-2); margin: 12px 0 0; }

/* Download band */
.band { text-align: center; background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(10, 132, 255, 0.25), transparent 70%); }
.band img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; }

/* Docs (manual & support) */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 56px 16px 96px; }
.toc { position: sticky; top: 76px; align-self: start; font-size: 14px; }
.toc p { font-weight: 600; color: var(--text); margin: 0 0 8px; }
.toc a { display: block; color: var(--text-2); padding: 5px 0; }
.toc a:hover { color: var(--text); text-decoration: none; }
.doc { max-width: 760px; }
.doc h1 { font-size: 48px; letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1.1; }
.doc .intro { color: var(--text-2); font-size: 19px; margin: 0 0 40px; }
.doc h2 { font-size: 30px; margin: 56px 0 12px; scroll-margin-top: 76px; }
.doc h3 { font-size: 20px; margin: 30px 0 8px; scroll-margin-top: 76px; }
.doc p, .doc li { color: #D1D1D6; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc img { border-radius: 10px; margin: 18px 0; box-shadow: 0 0 0 1px var(--line); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; padding: 9px 12px 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text-2); font-weight: 600; font-size: 13px; }
kbd { font-family: inherit; font-size: 13px; background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; color: var(--text); }
.note { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; padding: 14px 18px; margin: 18px 0; color: #D1D1D6; }
.note.warn { border-left-color: var(--orange); }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0 0 40px; }
.contact-card h2 { margin-top: 0; font-size: 26px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0 48px; color: var(--text-3); font-size: 13px; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer a { color: var(--text-2); }

@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .feature.flip .text { order: 0; }
  .grid { grid-template-columns: 1fr; }
  .plans, .soon { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
  section { padding: 72px 0; }
  .hero { padding-top: 64px; }
}
@media (max-width: 560px) {
  .nav .wrap { gap: 14px; }
  .nav .btn-small { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a.hide-sm { display: none; }
  footer nav { margin-left: 0; }
}
