/* StepVane marketing site — plain CSS, no build step.
   Colors are tokens on :root; dark mode follows the visitor's system setting. */

:root {
  --brand: #0b5cff;
  --brand-strong: #0847c7;
  --brand-soft: #e8efff;
  --on-brand: #ffffff;
  --link: #0a4fdc;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f0f3f9;
  --text: #0f172a;
  --muted: #475569;
  --border: #d9e0ea;
  --ok: #0f7a43;
  --warn-bg: #fff6e0;
  --warn-text: #6b4500;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .08), 0 24px 60px rgba(15, 23, 42, .14);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1160px;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #0b5cff;
    --brand-strong: #2f6cf0;
    --brand-soft: #14254a;
    --on-brand: #ffffff;
    --link: #8db2ff;
    --bg: #0b1120;
    --bg-alt: #0f172a;
    --surface: #131c31;
    --surface-2: #1a2540;
    --text: #e6ebf5;
    --muted: #a3b0c5;
    --border: #2a3754;
    --ok: #4ad08a;
    --warn-bg: #3a2a08;
    --warn-text: #ffd98a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: .05em .35em; overflow-wrap: anywhere; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .3em; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--on-brand); padding: .6em 1em; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 1.2rem; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; }
.nav-toggle {
  margin-left: auto; display: none; align-items: center; gap: 8px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; font-weight: 600; padding: .45em .8em; cursor: pointer; min-height: 44px;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li + li { margin-top: 0; }
.site-nav a { display: block; padding: .5em .75em; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 550; font-size: .97rem; }
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--link); background: var(--brand-soft); }
.site-nav .nav-cta a { background: var(--brand); color: var(--on-brand); margin-left: 6px; }
.site-nav .nav-cta a:hover { background: var(--brand-strong); }

/* Narrow screens: the menu folds behind the Menu button. site.js (loaded in
   each page's <head>) marks <html> with class "js" before the page is drawn;
   without JavaScript the menu stays a wrapped row of links instead. */
@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; gap: 2px; }
  html:not(.js) .site-nav { margin-left: 0; width: 100%; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .site-nav a { padding: .7em .8em; }
  .site-nav .nav-cta a { margin: 6px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.25em; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: .75em; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); background: radial-gradient(1200px 400px at 80% -10%, var(--brand-soft), transparent 70%); border-bottom: 1px solid var(--border); }
.page-hero p { max-width: 720px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); background: radial-gradient(1000px 500px at 85% 0%, var(--brand-soft), transparent 70%), var(--bg); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1fr 1.25fr; } }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.2rem); max-width: 17ch; }
.hero .lead { max-width: 56ch; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.hero-points svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
.hero-note { margin-top: 14px; font-size: .92rem; color: var(--muted); }

.shot-stack { position: relative; padding-bottom: 410px; }
.browser {
  border-radius: 12px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.phone {
  background: #0f172a; border-radius: 28px; padding: 8px; box-shadow: var(--shadow-lg);
  border: 1px solid #334155;
}
.phone img { border-radius: 20px; }
.shot-stack .phone { position: absolute; right: 0; bottom: 0; width: 250px; }
.hero-shots { position: relative; }
.hero-shots .shot-more { display: none; }
@media (min-width: 720px) { .hero-shots figcaption { position: absolute; left: 0; bottom: 0; width: calc(100% - 276px); margin: 0; } }
.hero-only-narrow { display: none; }
/* On a small screen the hero's Studio picture would be shrunk to half its size: the home page then shows the phone, at its own size. */
@media (max-width: 719px) {
  .hero-only-wide { display: none; }
  .hero-only-narrow { display: inline; }
  .shot-stack { padding-bottom: 0; }
  .shot-stack .browser { display: none; }
  .shot-stack .phone { position: static; width: min(100%, 290px); margin: 0 auto; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--link); margin-bottom: 14px;
}
.icon svg { width: 24px; height: 24px; }
.card-link { display: inline-flex; gap: .3em; align-items: center; font-weight: 600; margin-top: 8px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li { margin: 0; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font-weight: 750; margin-bottom: 14px;
}
.steps .shot { margin-top: 20px; }
.step-row { display: grid; gap: 24px; align-items: center; }
.step-row .shot { width: min(100%, 290px); margin: 0 auto; }
@media (min-width: 720px) { .step-row { grid-template-columns: 1fr 290px; gap: 40px; } .step-row .shot { margin-top: 0; } }

/* Feature split rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b5cff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (prefers-color-scheme: dark) {
  .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%238db2ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

/* Phones are shown at 240 to 290 px, so Capture's 16 px text stays about 12 px or more; one column on a small screen. */
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; max-width: 620px; margin: 0 auto; }
.phones .phone { width: 100%; max-width: 290px; margin-left: auto; margin-right: auto; }
@media (min-width: 560px) { .phones .phone:nth-child(2) { margin-top: 40px; } }

figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }

/* Pictures: taken at the size they are shown, with numbered labels in them and the same numbers in the caption.
   A Studio picture is shown at up to its own width (1060 px), a phone at 240 to 290 px; the pictures link to the larger file. */
.shot-link { display: block; position: relative; color: inherit; text-decoration: none; }
.shot-link:focus-visible { outline-offset: -4px; }
.shot-link img { width: 100%; height: auto; }
.shot-more {
  position: absolute; right: 10px; top: 10px; padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: var(--on-brand); font-size: .875rem; font-weight: 650; line-height: 1.5; box-shadow: var(--shadow);
}
.shot-link:hover .shot-more, .shot-link:focus-visible .shot-more { background: var(--brand-strong); }
.shot-wide { max-width: 1060px; margin-left: auto; margin-right: auto; }
.shot figcaption { font-size: 1rem; line-height: 1.55; margin-top: 14px; }
.n {
  display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: .25em; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font-size: .82em; font-weight: 750; line-height: 1; vertical-align: .05em;
}
/* Below 900 px a Studio picture would be shrunk to a half or less of its size: the page then shows a strip of its panels, taken
   from the same window and zoomed, so the text stays readable (the link opens the whole window). */
.only-narrow { display: none; }
@media (max-width: 899px) {
  .only-wide { display: none; }
  .only-narrow { display: inline; }
  .shot-wide .browser { max-width: 400px; margin-left: auto; margin-right: auto; }
  .shot-more { display: none; }
}
@media (max-width: 599px) { .steps li { padding: 20px 14px; } }
/* A text block above a wide picture (Studio's pictures need the whole width to keep their text readable). */
@media (min-width: 900px) { .split.split-stack { grid-template-columns: 1fr; } .split-stack .checklist-cols { columns: 2; column-gap: 48px; } .split-stack .checklist-cols li { break-inside: avoid; } }
.split.split-stack { align-items: start; }
/* The phones next to a text: a little more room than half, so two phones keep their size. */
@media (min-width: 900px) { .split.split-phones { grid-template-columns: 1fr 1.15fr; } }

/* Band */
.band { background: linear-gradient(135deg, #0b5cff, #0838a8); color: #fff; border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .band { grid-template-columns: 1.4fr auto; } }
.band h2 { color: #fff; }
.band p { color: #f0f4ff; margin: 0; }
.band .btn-primary { background: #fff; color: #0838a8; }
.band .btn-primary:hover { background: #e8efff; }
.band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.band .btn-secondary:hover { border-color: #fff; }
.band :focus-visible { outline-color: #fff; }

/* Trust strip */
.facts { display: grid; gap: 16px; }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 18px 20px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.fact strong { display: block; font-size: 1.05rem; }
.fact span { color: var(--muted); font-size: .95rem; }

/* Pricing */
.plans { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--brand); color: var(--on-brand); font-size: .78rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font-size: 1.3rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 6px 0 4px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .checklist { margin: 20px 0 24px; flex: 1; }
.placeholder-note { display: inline-block; background: var(--warn-bg); color: var(--warn-text); border-radius: 6px; padding: .15em .55em; font-size: .82rem; font-weight: 600; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; font-size: 1.08rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Download */
.dl-card { display: flex; flex-direction: column; }
.dl-card .btn { margin-top: auto; }
.dl-meta { list-style: none; padding: 0; margin: 0 0 20px; font-size: .93rem; color: var(--muted); }
.dl-meta li { margin: 0; padding: 6px 0; border-top: 1px dashed var(--border); }

/* Notice */
.notice { background: var(--warn-bg); color: var(--warn-text); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; }
.notice strong { color: inherit; }
.callout { background: var(--brand-soft); border-radius: var(--radius); padding: 20px 24px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 650; }
tr:last-child td { border-bottom: 0; }

/* Docs list */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .doc-list { grid-template-columns: repeat(2, 1fr); } }
.doc-list li { margin: 0; }
.doc-list a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; color: var(--text); }
.doc-list a:hover { border-color: var(--brand); }
.doc-list b { color: var(--link); margin-right: .4em; font-variant-numeric: tabular-nums; }
.doc-list span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }

/* Form */
.form { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .two { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; } }
.form .two { display: grid; gap: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.req { color: #c2261b; }
@media (prefers-color-scheme: dark) { .req { color: #ff8a80; } }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid #8b97aa; border-radius: var(--radius-sm); padding: .65em .8em; min-height: 48px;
}
textarea { min-height: 160px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.check-line { display: flex; gap: 12px; align-items: flex-start; }
.check-line input { width: 24px; min-height: 24px; height: 24px; margin-top: 2px; flex: none; }
.check-line label { margin: 0; font-weight: 600; }
.hint { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.form-status { min-height: 1.5em; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 56px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-grid .about { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid .about { grid-column: auto; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); }

/* 404 */
.not-found { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.not-found .big { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; color: var(--link); line-height: 1; letter-spacing: -.04em; margin-bottom: .2em; }
.not-found .btn-row { justify-content: center; }

/* ---------- Small helpers (instead of style="" attributes, which the CSP blocks) ---------- */
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-section { margin-top: 1.4em; }
.align-start { align-items: start; }
.footer-blurb { margin-top: 12px; max-width: 34ch; }
.h3-lg { font-size: 1.5rem; }
.price-text { font-size: 2rem; }

/* ---------- Starter apps ---------- */
.starter-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
/* ten apps: 1, 2 or 5 to a row, so no row is left with a single card */
@media (min-width: 600px) { .starter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .starter-grid { grid-template-columns: repeat(5, 1fr); } }
.starter-grid li { margin: 0; }
.starter { height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.starter h3 { font-size: 1.05rem; margin-bottom: .3em; }
.starter p { color: var(--muted); font-size: .93rem; margin: 0; }
.chip { display: inline-block; font-size: .75rem; font-weight: 650; padding: .1em .6em; border-radius: 999px; background: var(--brand-soft); color: var(--link); margin-bottom: 8px; }

/* ---------- Barcode types ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: .3em .75em; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: .9rem; }
.chips li.strong { border-color: var(--brand); color: var(--link); font-weight: 650; }

/* ---------- Download: "coming soon" until a release is configured ---------- */
.dl-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.dl-card .dl-actions .btn { margin-top: 0; }
.btn-soon { background: var(--surface-2); color: var(--muted); border-color: var(--border); cursor: default; }
.soon-note { margin-bottom: 28px; }

/* ---------- Docs list items that are not links (no public manual address set) ---------- */
.doc-list .doc-item { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }

/* ---------- Contact form ---------- */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.thanks { background: var(--brand-soft); border-radius: var(--radius); padding: 28px; }
.thanks h2 { font-size: 1.6rem; }
.thanks p:last-child { margin-bottom: 0; }

/* The walkthrough video */
.video-frame { max-width: 960px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(10, 30, 80, .14); background: #0a1633; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0a1633; }
.video-transcript { max-width: 960px; margin: 18px auto 0; }
.video-transcript summary { cursor: pointer; font-weight: 600; color: var(--link); }
.video-transcript div { margin-top: 12px; }

/* Video guides page */
.guide-jump { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.guide-jump a { font-weight: 600; }
.guide-learn { margin: 12px 0 0; padding-left: 1.2em; }
.guide-learn li { margin: .25em 0; }
.guide + .guide { border-top: 1px solid var(--border); }

/* Breadcrumbs, card links and article pages (guides, solutions, integrations) */
.breadcrumb { font-size: .9rem; margin-bottom: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 .55em; color: var(--muted); }
.breadcrumb a { color: var(--link); }
.link-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .link-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .link-cards { grid-template-columns: repeat(3, 1fr); } }
.link-cards a.card { display: block; height: 100%; color: inherit; text-decoration: none; }
.link-cards a.card:hover { border-color: var(--brand); }
.link-cards a.card h3 { color: var(--link); }
.link-cards .meta { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.link-cards .thumb { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 12px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-alt); }
.article > * { max-width: 760px; }
.article h2 { margin-top: 1.6em; }
.article ol.how { padding-left: 1.4em; list-style: decimal; }
.article ol.how li { margin: .55em 0; padding-left: .2em; }
.faq dt { font-weight: 700; margin-top: 1.1em; }
.faq dd { margin: .3em 0 0; color: var(--muted); }
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.related a { display: inline-block; padding: .45em .9em; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--link); font-weight: 600; font-size: .92rem; text-decoration: none; }
.related a:hover { border-color: var(--brand); }
.video-frame video { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #000; aspect-ratio: 16 / 9; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
