/* Stippla website. Layout: a navy hero band carrying a live point cloud, then light "survey sheet" sections
   on a faint dot grid; content in one 1120px column. System fonts only, so no visitor data goes to a font host. */
:root {
  --navy: #0a1a33;          /* logo tile */
  --navy-2: #102647;
  --ink: #14396b;           /* icon main stroke */
  --sky: #4fc3f7;           /* logo centre, on navy */
  --blue: #1a9bdb;          /* accent on light */
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: #dce3ec;
  --text: #13233d;
  --muted: #5b6b80;
  --grey: #6b7c93;          /* icon context stroke */
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --radius: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: 0.88em; background: #e8eef5; padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 12.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 12px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(10, 26, 51, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.07); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 700 20px var(--display); letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: #c9d6e6; text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,0.25); color: var(--white); border-radius: 8px; padding: 7px 12px; font: 600 14px var(--body); cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav .btn { margin: 12px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font: 600 15.5px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: #7dd3fa; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--navy); color: var(--white); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: 14.5px; }

/* hero */
.hero { background: radial-gradient(1100px 520px at 78% 40%, #14335f 0%, var(--navy) 62%); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; padding-block: 72px 64px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .lede { margin-top: 20px; font-size: 18.5px; line-height: 1.6; color: #c9d6e6; max-width: 34em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero .note { margin-top: 16px; font-size: 14px; color: #8fa6c2; }
.cloud { position: relative; aspect-ratio: 5 / 4; width: 100%; min-width: 0; }
.cloud canvas { width: 100%; height: 100%; display: block; }
.cloud .readout { position: absolute; left: 6%; bottom: 4%; font: 500 12px/1.5 var(--mono); color: #8fa6c2; letter-spacing: 0.04em; }
.cloud .readout b { color: var(--sky); font-weight: 600; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 32px; } .cloud { max-width: 560px; } }

/* format strip */
.formats { background: var(--navy-2); color: #c9d6e6; border-top: 1px solid rgba(255,255,255,0.06); }
.formats .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding-block: 16px; font: 500 13.5px var(--mono); letter-spacing: 0.04em; }
.formats strong { color: var(--white); font-weight: 600; }
.formats .sep { color: #43597a; }

/* sections */
.section { padding-block: 88px; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.dotgrid { background-image: radial-gradient(#d3dce8 1px, transparent 1.2px); background-size: 22px 22px; }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: 44px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* workflow */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.step .num { font: 600 12.5px var(--mono); color: var(--blue); letter-spacing: 0.1em; }
.step ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.step li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; color: var(--muted); }
.step li b { display: block; color: var(--text); font-weight: 600; }
.step li img { width: 30px; height: 30px; }

/* showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }
.figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.figure .frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fbfcfe; }
.figure .frame img { width: 100%; height: 100%; object-fit: contain; }
.figure figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.figure figcaption b { color: var(--text); font-weight: 600; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }
.points li { border-top: 2px solid var(--ink); padding-top: 12px; font-size: 15px; color: var(--muted); }
.points li b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

/* split blocks */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checks li::before { content: ""; width: 10px; height: 10px; margin: 8px 0 0 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #d9effb; }
.viewer-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 36px; display: grid; gap: 18px; justify-items: start; }
.viewer-card img { width: 96px; height: 96px; }
.tag { display: inline-block; font: 600 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: #e3eef9; padding: 5px 10px; border-radius: 999px; }

/* trial timeline */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 8px; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }
.timeline > div { padding: 22px 22px 22px 0; border-top: 2px solid var(--line); position: relative; }
.timeline > div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); }
.timeline > div.on::before { background: var(--blue); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 16px; grid-template-rows: auto auto auto 1fr auto; min-width: 0; }
.plan.featured { border: 2px solid var(--ink); box-shadow: 0 10px 30px -18px rgba(10, 26, 51, 0.45); }
.plan .price { font: 700 40px/1 var(--display); color: var(--text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .price.tbd { font-size: 22px; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.plan li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--blue); }
.plan .btn { width: 100%; }
.small-print { margin-top: 26px; font-size: 14px; color: var(--muted); max-width: 52rem; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* page head (inner pages) */
.page-head { background: var(--navy); color: var(--white); }
.page-head .wrap { padding-block: 56px 48px; display: grid; gap: 12px; }
.page-head p { color: #c9d6e6; font-size: 18px; max-width: 44rem; }

/* prose (guide, legal) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: #2b3b55; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.prose .updated { font: 500 13px var(--mono); color: var(--muted); }
.callout { border-left: 3px solid var(--blue); background: #e8f4fc; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; color: #1d3554; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 12.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: #f8fafc; }
tr:last-child td { border-bottom: 0; }
td img { width: 24px; height: 24px; }

/* cta band */
.cta-band { background: var(--navy); color: var(--white); }
.cta-band .wrap { padding-block: 64px; display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band p { color: #c9d6e6; margin-top: 8px; }

/* footer */
.site-foot { background: #071226; color: #8fa6c2; font-size: 14.5px; }
.site-foot .wrap { padding-block: 48px 36px; display: grid; gap: 28px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { margin: 0 0 10px; color: var(--white); font: 600 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: #c9d6e6; text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot .fine { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 13px; line-height: 1.6; }
