/* Multicam Sports Recorder site. Tokens on :root (site-style 2); nothing
   outside :root uses a raw colour value. */

:root {
  --bg: #0d1220;
  --bg-alt: #0f1b2d;
  --card: #131929;
  --border: #1e2d47;
  --text: #e6ebf3;
  --text-muted: #9aa8c2;
  --brand: #004a8d;
  --brand-hover: #1a6dbd;
  --accent: #4d9de0;
  --pitch: #2f9e5b;
  --rec: #e5484d;
  --ok: #28a745;
  --danger: #ff6b6b;
  --logo-chip: #e6ebf3;
  --on-brand: #ffffff;
  --pitch-line: #ffffff;
  --shadow: rgba(0, 0, 0, 0.45);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-s: 8px;
  --radius: 14px;
  --radius-pill: 999px;
  --wrap: 1160px;
  --gutter: 16px;
  --section: 72px;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --section: 112px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1, h2 { margin-bottom: 24px; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.phrase { display: inline-block; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 700; }
h3, .h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.small { font-size: 0.875rem; }
.muted { color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); }

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* One left edge (site-style 4a): a narrow section keeps the full content
   column, only its content is capped, never centred. */
.wrap.narrow { max-width: var(--wrap); }
.wrap.narrow > * { max-width: 820px; }
main p, .lead, .check-list-large, .feature-list { max-width: 46rem; }
.card p, .steps p, .price-card p, .price-table-foot p { max-width: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius-s);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-secondary { background: transparent; border-color: var(--accent); color: var(--text); }
.btn-secondary:hover { background: var(--card); color: var(--text); }
.btn-small { padding: 8px 16px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

.icon { flex: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); margin-right: auto; min-width: 0; }
.brand-logo { display: inline-flex; flex: none; }
.logo-chip { display: inline-flex; padding: 4px 8px; background: var(--logo-chip); border-radius: var(--radius-s); flex: none; }
.logo-chip img { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; }
.brand-sub, .powered-by { color: var(--text-muted); text-decoration: none; }
.brand-sub { font-size: 0.75rem; }
.brand-sub:hover, .powered-by:hover { color: var(--text); text-decoration: underline; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--text-muted); text-decoration: none; font-weight: 500; border-radius: var(--radius-s);
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.nav-cta { display: none; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-s);
  cursor: pointer;
}

.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; min-width: 44px; padding: 0 6px;
  color: var(--text-muted); text-decoration: none;
}
.lang-switch .flag { display: block; flex: none; border-radius: 2px; outline: 1px solid var(--border); opacity: 0.55; }
.lang-switch a[aria-current="true"] { color: var(--text); }
.lang-switch a[aria-current="true"] span { text-decoration: underline; text-underline-offset: 5px; }
.lang-switch a[aria-current="true"] .flag, .lang-switch a:hover .flag { opacity: 1; }
.lang-switch a:hover { color: var(--text); }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; order: 3; }
  .js .site-nav { display: none; order: 10; width: 100%; padding: 8px 0 16px; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .site-nav { order: 10; width: 100%; }
  .header-cta { order: 2; }
  .lang-switch { order: 4; }
}
@media (max-width: 559px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 0.9rem; }
  .header-cta { display: none; }
  .nav-cta { display: block; margin-top: 8px; }
  .logo-chip img { height: 28px; }
}

/* Sections */
.section, .page-intro { padding: var(--section) 0; }
main > section:nth-of-type(even):not(.cta-band) { background: var(--bg-alt); }
.page-intro { padding-bottom: calc(var(--section) / 2); }

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Hero (site-style 7a) */
.hero {
  position: relative;
  padding: 56px 0 var(--section);
  background: radial-gradient(ellipse at 85% 100%, color-mix(in srgb, var(--pitch) 12%, transparent), transparent 60%);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { min-height: min(80vh, 820px); display: flex; align-items: center; }
  .hero > .wrap { width: 100%; }
}
.hero-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .shot-hero { transform: perspective(1600px) rotateY(-4deg); width: 108%; }
}

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font-size: 0.85rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.chip .icon { color: var(--accent); }

/* Trust strip */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-list { list-style: none; margin: 0 auto; padding-top: 20px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 500; }
.trust-list .icon { color: var(--accent); }
@media (min-width: 768px) { .trust-list { flex-direction: row; justify-content: space-between; } }

/* Cards */
.cards { display: grid; gap: 20px; margin-top: 32px; align-items: stretch; list-style: none; padding: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-messages { grid-template-columns: repeat(3, 1fr); }
  .cards-messages .card-feature { grid-row: span 2; }
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-flex; color: var(--accent); margin-bottom: 12px; }
.card .photo { margin-top: 16px; }

/* Screenshots and photos (site-style 6) */
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--text-muted); }
.shot-note { display: block; margin-top: 4px; font-style: italic; }
.shot-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 18px 40px var(--shadow);
}
.shot-hero .shot-frame { box-shadow: 0 40px 90px var(--shadow); }
.shot-bar { height: 28px; background: var(--border); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted); opacity: 0.6; }
.shot-frame img { width: 100%; height: auto; }

.photo img { border: 1px solid var(--border); border-radius: var(--radius); width: auto; max-width: 100%; height: auto; }

.tour { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 768px) { .tour { grid-template-columns: 1fr 1fr; } }

/* Media placeholder (site-style 6c) */
.media { margin: 24px 0; }
.media-placeholder {
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.media video, .media img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.shot-frame video, .shot-frame .media-placeholder { display: block; border: 0; border-radius: 0; }

/* Two images side by side at the same height (site-style 4a, pairs).
   Column widths follow the aspect ratios: P4 1311/580, P3 984/551. */
.pair { display: grid; gap: 32px; margin-top: 48px; }
.pair .photo { margin: 0; }
.pair .photo img { width: 100%; }
@media (min-width: 1024px) {
  .pair { grid-template-columns: 2.2603fr 1.7858fr; gap: 32px; align-items: start; }
  /* Product 4: the 16:9 highlight and the 16:10 screenshot S6, both in a window frame. */
  .pair.pair-highlight { grid-template-columns: 1.7778fr 1.6fr; }
  /* How it works 4: S2 and S1, both 16:10. */
  .pair.pair-even { grid-template-columns: 1fr 1fr; }
}
.pair-highlight .media { margin: 0; }

/* Close-up illustration (site-style 6a): three panels that wrap on narrow screens */
.closeup-art { margin: 24px 0; }
.ca-panels { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 28px; }
.ca-panels svg { display: block; height: auto; max-width: 100%; }
.ca-p1 { flex: 0 1 300px; }
.ca-p2 { flex: 0 1 228px; }
.ca-p3 { flex: 0 1 364px; }
.ca-pitch { fill: var(--pitch); }
.ca-stand { fill: var(--bg-alt); }
.ca-line { fill: none; stroke: var(--pitch-line); stroke-width: 1.2; opacity: 0.9; }
.ca-spot { fill: var(--pitch-line); }
.ca-cone { fill: var(--accent); opacity: 0.16; }
.ca-cone-on { fill: var(--accent); opacity: 0.3; }
.ca-cone-edge { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0.8; }
.ca-cam { fill: var(--text); }
.ca-cam-on { fill: var(--accent); }
.ca-box { fill: none; stroke: var(--accent); stroke-width: 3; }
.ca-box-strong { stroke-width: 4; }
.ca-title { fill: var(--text); font: 600 13px var(--font); }
.ca-muted { fill: var(--text-muted); font: 500 12px var(--font); }
.ca-label { fill: var(--text); font: 600 12px var(--font); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }

/* Price card (site-style 6d) */
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 460px;
  width: 100%;
}
.price-label { margin: 0 0 4px; color: var(--text-muted); font-weight: 600; }
.price-amount { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.price-covers { color: var(--text-muted); margin: 0 0 20px; }
.price-number { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1; color: var(--text); }
.price-terms { display: flex; flex-direction: column; color: var(--text-muted); line-height: 1.35; }
.pill {
  display: inline-block;
  padding: 1px 8px;
  margin-right: 4px;
  font-size: 0.75rem; font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.check-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: 3px; }
.check-list-large { gap: 14px; margin-top: 32px; }

/* Price table (site-style 6e) */
.price-table-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-top: 32px; max-width: 820px; overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.price-table thead th, .price-table thead .col-price { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 600; }
.price-table .col-price { text-align: right; }
.price-table tbody th { font-weight: 400; }
.row-name { display: block; font-weight: 600; color: var(--text); }
.row-detail { display: block; font-size: 0.9rem; color: var(--text-muted); }
.row-included .row-name { font-size: 1.1rem; }
.price-table strong { font-weight: 600; color: var(--text); }
.status { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; font-size: 0.8rem; font-weight: 600; border-radius: var(--radius-pill); white-space: nowrap; }
.status-included { color: var(--accent); border: 1px solid var(--accent); }
.status-option { color: var(--text); border: 1px solid var(--border); }
.status-later { color: var(--text-muted); border: 1px dashed var(--border); }
.price-table-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; }
.price-table-foot p { display: flex; gap: 10px; margin: 0; }
.price-table-foot .icon { color: var(--accent); flex: none; margin-top: 3px; }
@media (max-width: 639px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table tr { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .price-table th, .price-table td { display: block; padding: 0; border: 0; }
  .price-table tbody th { grid-column: 1 / -1; }
  .price-table .col-price { text-align: right; }
}

/* Lists of features */
.feature-list, .tech-list { margin: 32px 0; display: grid; gap: 16px; }
.tech-list { max-width: 820px; }
.feature-list dt, .tech-list dt { font-weight: 600; }
.feature-list dd, .tech-list dd { margin: 2px 0 0; color: var(--text-muted); }
.tech-list > div { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .tech-list > div { grid-template-columns: 180px 1fr; } .tech-list dd { margin: 0; } }

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.steps p { margin: 0; }
.step-number {
  flex: none;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 32px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-s); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; min-height: 44px; }
.faq summary:hover { color: var(--accent); }
.faq-a { padding: 0 20px 4px; color: var(--text-muted); }

/* CTA band */
.cta-band { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-text { color: var(--text-muted); margin: 0; }

/* Use cases */
.usecase h3 { margin-top: 1.5em; }
.usecase .split > div > h3:first-child { margin-top: 0; }

/* Contact and form */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.company { font-style: normal; color: var(--text-muted); line-height: 1.7; }
.company strong { color: var(--text); }
.form-card { padding: 28px; }

.lead-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 10px; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); }
.field-check label { font-weight: 500; }
.field-check .field-error { grid-column: 1 / -1; }
.field-hint { margin: 0; }
.field-error { margin: 0; color: var(--danger); font-size: 0.9rem; font-weight: 500; }
.error-summary {
  border: 1px solid var(--danger);
  border-radius: var(--radius-s);
  padding: 16px 20px;
  background: var(--bg);
}
.error-summary h3 { color: var(--danger); margin-bottom: 0.4em; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--danger); }
.error-summary p { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Prose */
.prose h2 { margin-top: 1.6em; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 24px; background: var(--bg); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .logo-chip { margin-bottom: 12px; }
.footer-heading { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; }

/* Consent banner: a bar at the bottom, never covering the first screen. */
.consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 10px 0;
}
.consent-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.consent-inner p { margin: 0; flex: 1 1 280px; }
.consent-actions { display: flex; gap: 8px; }

/* Recording dot (site-style 7) */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .shot-hero { transform: none; }
}
