/* Lidar View Pro website. Colours follow the app: dark viewer background, green accent (#2EC761). */
:root {
  --bg: #0e1217;
  --bg-raised: #151a21;
  --bg-card: #1a2028;
  --line: #262d37;
  --text: #eef2f6;
  --text-muted: #9aa5b1;
  --accent: #2ec761;
  --accent-ink: #06140b;
  --accent-soft: rgba(46, 199, 97, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 18, 23, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 17px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--accent-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #3ad46d; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--bg-card); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 78% 30%, rgba(46, 199, 97, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; font-weight: 750; }
h1 .accent { color: var(--accent); }
.lead { font-size: 20px; color: var(--text-muted); margin: 0 0 32px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 16px; color: var(--text-muted); font-size: 14px; }

.hero-visual { position: relative; }
.hero-visual .cloud { border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.phone {
  position: absolute; right: -8px; bottom: -48px; width: 38%;
  border-radius: 34px; border: 6px solid #2a313b; background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); overflow: hidden;
}

/* Format strip */
.formats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raised); }
.formats-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding: 22px 0; color: var(--text-muted); font-size: 15px; }
.formats strong { color: var(--text); font-size: 18px; letter-spacing: 0.04em; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 16px; font-weight: 720; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; font-weight: 650; letter-spacing: -0.01em; }
.section-head p { color: var(--text-muted); font-size: 19px; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--text-muted); margin: 0; font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { display: flex; justify-content: center; }
.split-media .screen { width: min(320px, 80%); border-radius: 40px; border: 7px solid #2a313b; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text-muted); }
.checklist li strong { color: var(--text); font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ec761' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Profiles */
.profiles { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-tag { display: inline-block; font-size: 13px; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; font-weight: 600; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(46, 199, 97, 0.12); }
.plan .price { font-size: 40px; font-weight: 750; letter-spacing: -0.03em; margin: 8px 0 4px; }
.plan .price small { font-size: 16px; color: var(--text-muted); font-weight: 500; letter-spacing: 0; }
.plan .sub { color: var(--text-muted); font-size: 15px; margin: 0 0 8px; }
.plan .checklist { margin-bottom: 28px; flex: 1; }
.price-options { display: grid; gap: 8px; margin: 12px 0 4px; }
.price-options div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 6px 0; font-size: 16px; }
.price-options span:last-child { font-weight: 650; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.fine { color: var(--text-muted); font-size: 13px; text-align: center; margin-top: 24px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); margin: 12px 0 0; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta .box {
  background: radial-gradient(80% 120% at 50% 0%, rgba(46, 199, 97, 0.18), transparent 70%), var(--bg-card);
  border: 1px solid var(--line); border-radius: 28px; padding: 64px 24px;
}
.final-cta img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 24px; }
.final-cta p { color: var(--text-muted); font-size: 19px; margin: 0 auto 32px; max-width: 34em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--text-muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 48px); }
.legal .meta { color: var(--text-muted); margin: 0 0 32px; }
.legal .summary { background: var(--bg-card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 14px; padding: 20px 24px; margin: 0 0 40px; }
.legal h2 { font-size: 26px; margin: 48px 0 12px; }
.legal p, .legal li { color: #c9d1da; }
.legal ul { padding-left: 22px; }
.legal li { margin: 8px 0; }
.legal strong { color: var(--text); }
.legal nav.toc { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; }
.legal nav.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal nav.toc li { margin: 4px 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links li:not(:last-child) { display: none; }
  section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .phone { width: 42%; bottom: -36px; right: -4px; border-radius: 24px; border-width: 4px; }
  .legal nav.toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
