/*
Theme Name: VISEC — The Read
Theme URI: https://visec.com/
Description: Lightweight dark theme for VISEC. Concept "The Read": crimson read-brackets, graphite night ground. Built from the 9-model design panel (Sep 2026).
Version: 0.1.0
Requires PHP: 8.0
Text Domain: visec
*/

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-400-800-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-500-600-latin.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #0B0E12;
  --bg-2: #0F141B;
  --surface: #131922;
  --surface-2: #19212C;
  --line: #313C4B;
  --line-2: #3F4D5F;
  --text: #F2F5F8;
  --muted: #CBD3DC;
  --dim: #AAB4C0;
  --crimson: #D71920;
  --crimson-hi: #EC2A30;
  --crimson-ink: #FF6166;
  --match: #34D17F;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1140px;
  --gutter: 20px;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { 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(--bg);
  color: var(--text);
  font: 400 16px/1.62 var(--display);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 17px; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: 36px; line-height: 1.03; letter-spacing: -0.024em; }
h2 { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
@media (min-width: 1024px) {
  h1 { font-size: 56px; letter-spacing: -0.028em; }
  h2 { font-size: 44px; letter-spacing: -0.024em; }
  h3 { font-size: 21px; }
}
:focus-visible { outline: 2px solid var(--crimson-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--crimson); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono, .eyebrow, .chip, .plate, .log { font-family: var(--mono); }
/* Panel consensus (6/6 reviews): secondary type reads underweight on dark.
   The colour was already fine (--muted #CBD3DC on #0B0E12 is ~13:1); the real
   issue is scale + tracking on uppercase mono. Bumped one step, not recoloured. */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow b { color: var(--crimson-ink); font-weight: 600; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 36rem; }
@media (min-width: 1024px) { .lead { font-size: 20px; } }
.muted { color: var(--muted); }
.small { font-size: 15px; color: var(--muted); }
.tabnum { font-variant-numeric: tabular-nums; }

/* ---------- the read bracket (signature motif) ---------- */
.read { position: relative; }
.read::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  --c: var(--crimson-hi); --l: 18px; --t: 3px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) left top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--l) no-repeat;
}
.read--sm::after { --l: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius-sm);
  font: 600 16px/1 var(--display); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--crimson); color: #fff; }
.btn--primary:hover { background: var(--crimson-hi); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-note { font-size: 14px; color: var(--muted); }
.link-arrow { color: var(--text); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: var(--crimson-ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 34px; width: auto; }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-cta { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: transparent; color: var(--text); border: 1px solid var(--line-2); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px var(--gutter); text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .brand img { height: 38px; }
}

/* ---------- sections ---------- */
.section { padding-block: 52px; }
.section + .section { border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding-block: 104px; } }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 44rem; }
@media (min-width: 1024px) { .section-head { margin-bottom: 52px; } }

/* ---------- hero ---------- */
.hero { padding-block: 28px 56px; position: relative; background: radial-gradient(1100px 620px at 88% -8%, rgba(38, 72, 120, .30), rgba(38, 72, 120, 0) 70%); }
.hero .wrap { display: grid; gap: 36px; position: relative; }
.hero-copy { display: grid; gap: 18px; align-content: start; }
.hero-cta { display: grid; gap: 10px; margin-top: 6px; }
@media (min-width: 560px) { .hero-cta { grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 20px; } .hero-cta .btn-note { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .hero { padding-block: 64px 80px; }
  .hero .wrap { grid-template-columns: 1fr 1.22fr; gap: 56px; align-items: center; }
}

/* the live read demo */
.demo { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.demo-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 600 11px/1 var(--mono); letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.demo-top .rec { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.demo-top .rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.demo-stage { position: relative; aspect-ratio: 16 / 10; }
.demo-stage svg { width: 100%; height: 100%; }
.demo-log { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); font: 600 13px/1.3 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; min-height: 46px; }
.demo-log .t { color: var(--dim); }
.demo-log .p { color: var(--text); letter-spacing: .08em; }
.demo-log .ok { color: var(--match); }

/* hero: real camera-wall photo with crisp HTML labels on top */
.camwall { aspect-ratio: 16 / 9; }
.camwall > img { width: 100%; height: 100%; object-fit: cover; }
.cam {
  position: absolute; z-index: 2;
  font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: #EAF0F6; background: rgba(6, 9, 13, .62); backdrop-filter: blur(2px);
  padding: 5px 7px; border-radius: 3px; white-space: nowrap;
}
@media (min-width: 1024px) { .cam { font-size: 13px; padding: 6px 9px; } }
.cam--1 { left: 3.5%; top: 6%; }
.cam--2 { left: 52%; top: 6%; }
.cam--3 { left: 3.5%; top: 53.5%; }
.cam--4 { left: 52%; top: 53.5%; }
/* sits over the car in the driveway view */
.motion-box { position: absolute; z-index: 3; left: 11%; top: 21.5%; width: 18.5%; height: 26%; animation: snap 7s var(--ease) infinite; }
.motion-box::after { --l: 12px; --t: 2px; }
.motion-box b {
  position: absolute; left: 0; top: -24px;
  background: var(--crimson); color: #fff;
  font: 600 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 6px; border-radius: 3px;
}
.demo.paused .motion-box { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-box { animation: none; opacity: 1; } }

/* alert card over the camera grid */
.demo-alert {
  position: absolute; right: 12px; bottom: 12px; width: min(66%, 290px);
  background: rgba(14, 19, 26, .95); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 10px 12px; display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
  animation: alertin 7s var(--ease) infinite;
}
.demo-alert i { display: block; width: 46px; height: 34px; border-radius: 4px; background: linear-gradient(160deg, #1E2937, #0F141C); border: 1px solid var(--line); position: relative; }
.demo-alert i::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 7px; height: 9px; border-radius: 2px; background: #2B3747; }
.demo-alert b { display: block; font: 600 12.5px/1.3 var(--mono); letter-spacing: .03em; color: var(--text); }
.demo-alert span { font-size: 11.5px; color: var(--muted); }
@keyframes alertin { 0%, 20% { opacity: 0; transform: translateY(14px); } 27%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(14px); } }
.demo .mover { transform-box: fill-box; transform-origin: center; animation: mover 7s var(--ease) infinite; }
@keyframes mover { 0%, 8% { transform: translateX(-26px); } 22%, 100% { transform: translateX(0); } }

/* svg animation (3 s read, 4 s hold, loops only while visible) */
.demo .scan { animation: scan 7s var(--ease) infinite; }
.demo .bracket { transform-box: fill-box; transform-origin: center; animation: snap 7s var(--ease) infinite; }
.demo .arm { transform-box: fill-box; transform-origin: 100% 50%; animation: arm 7s var(--ease) infinite; }
.demo .light { animation: light 7s steps(1) infinite; }
.demo-log .reveal, .demo .tag { animation: reveal 7s steps(1) infinite; }
.demo.paused .scan, .demo.paused .bracket, .demo.paused .arm, .demo.paused .light, .demo.paused .reveal, .demo.paused .tag, .demo.paused .rec i, .demo.paused .demo-alert, .demo.paused .mover { animation-play-state: paused; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 3% { opacity: 1; } 14% { transform: translateY(230px); opacity: 1; } 16%, 100% { transform: translateY(230px); opacity: 0; } }
@keyframes snap { 0%, 15% { opacity: 0; transform: scale(1.45); } 20%, 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes arm { 0%, 30% { transform: rotate(0deg); } 40%, 84% { transform: rotate(72deg); } 92%, 100% { transform: rotate(0deg); } }
@keyframes light { 0%, 29% { fill: #D71920; } 30%, 88% { fill: #34D17F; } 89%, 100% { fill: #D71920; } }
@keyframes reveal { 0%, 21% { opacity: 0; } 22%, 91% { opacity: 1; } 92%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .demo .scan { animation: none; opacity: 0; }
  .demo .bracket, .demo-log .reveal, .demo .tag { animation: none; opacity: 1; }
  .demo .arm { animation: none; transform: rotate(72deg); }
  .demo .light { animation: none; fill: #34D17F; }
  .demo-top .rec i { animation: none; }
  .demo-alert { animation: none; opacity: 1; transform: none; }
  .demo .mover { animation: none; transform: none; }
}

/* ---------- proof strip ---------- */
.proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; white-space: nowrap; }
.proof .chip { background: transparent; border-color: transparent; padding: 4px 0 4px 20px; position: relative; }
.proof .chip::before { content: ""; position: absolute; left: 2px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-left: 2px solid var(--crimson-hi); border-bottom: 2px solid var(--crimson-hi); transform: rotate(-45deg); }
.proof { gap: 6px 20px; }
.chip svg { width: 14px; height: 14px; color: var(--crimson-ink); }

/* ---------- cards / modules ---------- */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--crimson-ink); }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: 4px; font-size: 15px; }

/* phones: compact module cards (after the base .card rules so they win) */
/* The 2-column icon layout must be scoped to cards that ACTUALLY have an icon.
   Applied to every .card it pushed the first child (an h3, or the eyebrow in a
   .card.read box) into the 40px track, rendering headings one word per line.
   Only home.html's 3 cards carry an .icon; the other ~19 are icon-less. */
@media (max-width: 819px) {
  .card { padding: 18px; gap: 8px; }
  .card:has(.icon) { grid-template-columns: 40px 1fr; column-gap: 14px; }
  .card:has(.icon) .icon { width: 40px; height: 40px; grid-row: span 1; }
  .card:has(.icon) h3 { align-self: center; }
  .card:has(.icon) p, .card:has(.icon) .link-arrow { grid-column: 1 / -1; }
  .section-head { margin-bottom: 26px; }
}

/* ---------- real software ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.15fr .85fr; gap: 64px; } .split--flip { grid-template-columns: .85fr 1.15fr; } .split--flip > :first-child { order: 2; } }
.shot { margin: 14px; }
.shot img { border-radius: 8px; border: 1px solid var(--line-2); width: 100%; }
.shot figcaption { margin-top: 12px; font: 600 13.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs div { background: var(--surface); padding: 16px; display: grid; gap: 4px; }
.specs b { font: 800 22px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.specs .icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--crimson-ink); margin-bottom: 6px; }
.specs .icon svg { width: 18px; height: 18px; }
.specs span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.brands { font: 600 13px/1.9 var(--mono); letter-spacing: .06em; color: var(--muted); }
.brands span + span::before { content: " · "; color: var(--dim); }

/* ---------- pricing ---------- */
.prices { display: grid; gap: 16px; }
@media (min-width: 700px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .prices { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; align-content: start; }
.price.is-free { background: transparent; border-style: dashed; }
.price.is-pick { border-color: var(--crimson); background: linear-gradient(180deg, rgba(215,25,32,.10), rgba(215,25,32,.02)); }
.price-tag { font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.price-tag em { font-style: normal; color: var(--crimson-ink); }
.price-cams { font: 800 21px/1.2 var(--display); }
.price-amt { display: flex; align-items: flex-start; gap: 2px; font: 800 48px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-amt sup { font-size: .45em; margin-top: .3em; letter-spacing: 0; }
.price-terms { font: 600 12.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.price li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.price li::before { content: ""; width: 10px; height: 10px; margin-top: .45em; border-left: 2px solid var(--crimson); border-top: 2px solid var(--crimson); }
/* phones: the two "at home / at work" scenes sit side by side instead of stacking */
@media (max-width: 819px) {
  #cameras .split { grid-template-columns: 1fr 1fr; gap: 10px; }
  #cameras .shot img { aspect-ratio: 4 / 3; object-fit: cover; }
  #cameras figcaption { font-size: 10.5px; letter-spacing: .06em; }
}

/* phones: price cards become compact rows */
@media (max-width: 699px) {
  .prices { gap: 10px; }
  .price { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 18px; align-items: center; }
  .price-tag { grid-column: 1 / -1; }
  .price-cams { font-size: 18px; }
  .price-amt { font-size: 32px; justify-self: end; }
  .price-terms { grid-column: 1 / -1; }
  .price .btn { grid-column: 1 / -1; min-height: 46px; margin-top: 6px; }
  .price.is-free .btn { min-height: 44px; }
}
.pay-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 18px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--crimson); border-bottom: 2px solid var(--crimson); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); justify-self: center; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 44rem; display: grid; gap: 10px; }

/* ---------- final CTA ---------- */
.closer { text-align: left; }
.closer-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; display: grid; gap: 18px; justify-items: start; }
@media (min-width: 1024px) { .closer-box { padding: 56px; grid-template-columns: 1fr auto; align-items: center; } .closer-box .hero-cta { justify-content: end; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: 40px 48px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 16px; }
@media (min-width: 1024px) { .page-hero { padding-block: 80px 72px; } }

/* ---------- download page ---------- */
.dl-box { display: grid; gap: 18px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 13px/1 var(--mono); color: var(--crimson-ink); letter-spacing: .08em; }
.steps p { color: var(--muted); font-size: 15.5px; }
.steps .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--crimson-ink); margin-bottom: 4px; }
.steps .icon svg { width: 24px; height: 24px; }
.send-pc { display: none; }
.is-touch .send-pc { display: grid; }
.thanks { display: none; }
.thanks.show { display: grid; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 620px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); }
td:not(:first-child), th:not(:first-child) { text-align: center; }
tr:last-child td { border-bottom: 0; }
td .yes { display: inline-block; width: 12px; height: 12px; border-left: 2px solid var(--match); border-bottom: 2px solid var(--match); transform: rotate(-45deg) translate(1px, -2px); }

/* ---------- features page ---------- */
.anchor-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.io { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .io { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.io div { background: var(--surface); padding: 18px; display: grid; gap: 6px; }
.io b { font-weight: 700; }
.io span { color: var(--muted); font-size: 15px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000 center / cover no-repeat; }
.video button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.65)); color: #fff; display: grid; place-items: center; }
.video .play { width: 76px; height: 76px; display: grid; place-items: center; }
.video .play svg { width: 30px; height: 30px; margin-left: 4px; }
.video .label { position: absolute; left: 16px; bottom: 14px; font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- case studies ---------- */
.stories { display: grid; gap: 16px; }
@media (min-width: 820px) { .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.story { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.story .who { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story p { color: var(--muted); }
.story .row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.share-btn { background: none; border: 0; padding: 0; color: var(--muted); font: 600 14.5px/1 var(--display); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.share-btn:hover { color: var(--text); }
.share-btn svg { width: 16px; height: 16px; }

/* ---------- prose (legal, help) ---------- */
.prose { max-width: 44rem; display: grid; gap: 14px; color: var(--muted); }
.prose h2 { color: var(--text); font-size: 26px; margin-top: 18px; }
.prose a { color: var(--text); }
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 120px; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .site-footer { padding-block: 64px 48px; } }
.foot { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } .foot-brand { grid-column: auto; } }
.foot h4 { margin: 0 0 12px; font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { text-decoration: none; display: inline-block; padding-block: 6px; }
.foot a:hover { color: var(--text); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand img { height: 34px; width: auto; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; color: var(--dim); }

/* ---------- sticky mobile download bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta .btn--ghost { flex: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
/* ⚠️ Do NOT add bottom clearance here. `.site-footer` already sets
   `padding-block: 48px 120px` on phones, which clears the 69px fixed bar with
   room to spare — measured at max scroll: .foot-base ends at y=764, bar starts
   at y=775. An override added here once REDUCED that 120px to 80px while
   "fixing" an overlap that never existed: three review models reported it from
   full-page screenshots (which always paint fixed elements mid-page), and a
   caretRangeFromPoint probe appeared to confirm it — but that API snaps to the
   NEAREST text, so it reports a hit for empty padding. Use rectangle
   intersection to test occlusion, never caret snapping. */

/* ---------- beta ribbon ---------- */
.beta-bar { background: #2A1215; color: #FFB3B5; font: 600 12px/1.4 var(--mono); letter-spacing: .06em; text-align: center; padding: 7px var(--gutter); }

/* The comparison table used to be display:none below 700px, which hid rows the
   cards never carried (remote viewing, playback, 3-PC install, "no monthly fee").
   Flagged on phones by two review models in both rounds. It stays visible now:
   .table-wrap is overflow-x:auto and the table's 620px min-width scrolls inside
   that container, so the page itself still never scrolls sideways. */
@media (max-width: 699px) {
  .compare .table-wrap { -webkit-overflow-scrolling: touch; }
  .compare table { font-size: 14.5px; }
  .compare th, .compare td { padding: 12px 14px; }
}

/* ---------- contact form ---------- */
.contact-split { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-split { grid-template-columns: 1.25fr .75fr; } }
.cform-card { gap: 8px; }
.cform { display: grid; gap: 16px; margin-top: 10px; }
.cform-row { display: grid; gap: 7px; }
.cform label { font: 600 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cform input, .cform textarea {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 13px 14px; font: 400 16px/1.5 var(--display); min-height: 52px;
}
.cform textarea { min-height: 130px; resize: vertical; }
.cform input:focus-visible, .cform textarea:focus-visible { outline: 2px solid var(--crimson-hi); outline-offset: 2px; border-color: transparent; }
.cform .btn { justify-self: start; }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-note { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 15px; border: 1px solid; }
.cform-note--ok { color: var(--match); border-color: color-mix(in srgb, var(--match) 45%, transparent); background: color-mix(in srgb, var(--match) 12%, transparent); }
.cform-note--bad { color: var(--crimson-ink); border-color: color-mix(in srgb, var(--crimson-ink) 45%, transparent); background: color-mix(in srgb, var(--crimson-ink) 12%, transparent); }

/* buy page: license chooser */
.cform-choice { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 10px; }
.cform-choice legend { font: 600 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 6px; }
.cform-choice label { display: flex; align-items: center; gap: 10px; font: 400 16px/1.3 var(--display); text-transform: none; letter-spacing: 0; color: var(--text); cursor: pointer; min-height: 44px; }
.cform-choice input { width: 20px; height: 20px; min-height: 0; accent-color: var(--crimson); flex: none; }
.cform-choice b { font-weight: 600; }
.cform-choice span { color: var(--muted); font-variant-numeric: tabular-nums; }
.cform select { width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 14px; font: 400 16px/1.5 var(--display); min-height: 52px; }
.buy-next { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 15.5px; }
.buy-next li::marker { color: var(--crimson-hi); font-weight: 700; }

/* phones: single primary CTA (the header already has Download), full-width hero button */
@media (max-width: 899px) {
  .page-home .hero .hero-cta .btn--primary { width: 100%; }
  .sticky-cta .btn--ghost { display: none; }
  .sticky-cta .btn { flex: 1 1 100%; }
}

/* PayPal buy buttons sit in their own form */
.pp { display: contents; }

/* the owner's own feature list */
.featlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 28px; }
@media (min-width: 760px) { .featlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.featlist li { display: grid; grid-template-columns: 16px 1fr; gap: 4px 12px; align-items: start; }
.featlist li::before { content: ""; width: 10px; height: 10px; margin-top: .5em; border-left: 2px solid var(--crimson-hi); border-bottom: 2px solid var(--crimson-hi); transform: rotate(-45deg); }
.featlist b { grid-column: 2; font-weight: 700; }
.featlist span { grid-column: 2; color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* "Intelligently created" divides the list, as it did on the old site */
.featlist-head { grid-column: 1 / -1; margin-top: 10px; }
.featlist-head::before { display: none; }
.featlist-head b { grid-column: 1 / -1; font: 600 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--crimson-ink); }
@media (min-width: 760px) { .featlist-head { margin-top: 16px; } }
