/* ReelSync Studio — marketing site
   Palette matches the app's own dark UI (see backend/static/index.html) */

:root {
  --bg: #0d1614;
  --surface: #131e1c;
  --surface-2: #16221f;
  --line: #223330;
  --ink: #e9efec;
  --muted: #93a6a2;
  --muted-2: #758d89;
  --accent: #6fb8d6;
  --accent-ink: #bfe3f1;
  --accent-dark: #1b7192;
  --amber: #f2a559;
  --ok: #7bc49a;
  --err: #e17b6b;
  --radius: 12px;
  --max: 1120px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
/* Baked-in 90% zoom - matches how the whole site was confirmed to look
   best (denser, better-proportioned) at 90% browser zoom, without asking
   every visitor to zoom out themselves. Scales literally everything (px
   and rem alike), the same way the browser's own zoom does. */
html { scroll-behavior: smooth; zoom: 0.9; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; scroll-margin-top: 96px; }
section.alt { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { section { padding: 64px 0; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--accent); color: #06110f; padding: 12px 20px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- Type ---- */
.eyebrow {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 14px;
}
h1, h2, h3 { font-family: "Big Shoulders Display", Arial, sans-serif; font-weight: 800; color: var(--ink); line-height: 1.05; margin: 0 0 18px; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 16px; max-width: 68ch; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
mark { background: rgba(111, 184, 214, 0.22); color: var(--accent-ink); padding: 0 4px; border-radius: 3px; }

/* ---- Header / nav ---- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 22, 20, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: top 0.25s ease;
}
/* The hide/show itself is driven by main.js setting this element's inline
   "top" directly (not a class) - a class-based rule here was found to get
   silently overridden in some browser setups, while an inline style always
   wins regardless of what else targets this element. */
.nav-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.1rem; font-family: "Big Shoulders Display", Arial, sans-serif; }
.brand img { width: 30px; height: 30px; }
nav.primary { display: flex; align-items: center; gap: 28px; }
nav.primary a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
nav.primary a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; }

@media (max-width: 860px) {
  nav.primary.links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 16px; }
  nav.primary.links.open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn.ghost { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.98rem; padding: 13px 22px; border-radius: 10px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  min-height: 48px; line-height: 1; transition: transform 0.12s ease, filter 0.12s ease;
  font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #06110f; }
.btn.lifetime { background: var(--amber); color: #241300; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.block { width: 100%; }
.btn.big { padding: 16px 26px; font-size: 1.05rem; }

/* ---- Hero ---- */
.hero { padding-top: 40px; padding-bottom: 40px; overflow-x: hidden; }
/* Stacked, centered hero: text on top, the app demo below it, both centered
   in the viewport instead of split into two side-by-side columns. */
.hero-grid { display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; padding: 0 24px; }
.hero-left { max-width: 700px; text-align: center; }
/* The global "p { max-width: 68ch }" rule makes the eyebrow's own box
   narrower than this column at its small font size, so it was hugging the
   left edge as a block instead of sitting centered - same fix already
   used for .section-head's eyebrow. */
.hero-left .eyebrow { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 18px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; color: var(--muted-2); font-size: 0.92rem; }
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; flex: none; color: var(--ok); }

.hero-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.hero-shot img { width: 100%; }

/* ---- Divider between the hero text and the demo panel below it ---- */
.hero-divider { width: 100%; max-width: 240px; height: 1px; background: var(--line); border: none; }

/* ---- Title for the demo panel + auto-demo trigger below it ---- */
.hero-dash-head.section-head { margin-bottom: 28px; }
.hero-dash-col { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; min-width: 0; width: 100%; max-width: 1112px; } /* +1in (96px) each side */
.hero-dash-toolbar { display: flex; align-items: center; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }
.hero-dash-toolbar-label { font-family: "JetBrains Mono", Consolas, monospace; font-size: 0.82rem; color: var(--muted-2); }

/* ============================================================================
   Hero: a real recreation of the actual ReelSync Studio app UI, ported
   directly from the app's own source (backend/static/index.html) - same
   class names, same CSS values, same component patterns. Everything below
   is scoped under #hero-dashboard so it never leaks into the rest of the
   site, and the outer shell is pinned to a fixed size (unlike the real
   app's full-window layout) since this lives inside the page's hero.
   ============================================================================ */
#hero-dashboard {
  --hd-surface-2: #182523; --hd-line: #294240; --hd-mono-surface: #0a1211; --hd-mono-ink: #c9e6de;
  position: relative;
  width: 100%; height: 560px; min-height: 560px; max-height: 560px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch;
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif; font-size: 15px; line-height: 1.55;
}
@media (max-width: 640px) { #hero-dashboard { height: 640px; min-height: 640px; max-height: 640px; } }

/* ---- Shell: the actual sidebar+content row ---- */
#hero-dashboard .hd-shell { display: flex; align-items: stretch; flex: 1; min-height: 0; }
@media (max-width: 640px) { #hero-dashboard .hd-shell { flex-direction: column; } }

/* While the auto-demo tour runs, the panel is display-only (no visible
   banner - the toolbar's Stop button is the only control) so a stray click
   can't knock the scripted sequence out of sync. */
#hero-dashboard.hd-tour-active .hd-shell { pointer-events: none; }

.btn.stop-demo { background: transparent; color: var(--err); border-color: var(--err); }
.btn.stop-demo:hover { background: rgba(225,123,107,0.12); }

/* Visual "press" feedback the auto-demo tour plays on whatever it's about
   to interact with, so a scripted click reads as an actual click rather
   than the UI just silently changing state. */
#hero-dashboard .hd-tour-clicking {
  animation: hd-tour-click-pulse 0.42s ease;
  position: relative; z-index: 5;
}
@keyframes hd-tour-click-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(111,184,214,0); }
  30% { transform: scale(0.94); filter: brightness(1.3); box-shadow: 0 0 0 4px rgba(111,184,214,0.35); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(111,184,214,0); }
}

/* ---- Sidebar (ported from .shell .sidebar) ---- */
#hero-dashboard .sidebar {
  width: 248px; flex: none; border-right: 1px solid var(--hd-line); /* +1in (96px), taken from .content since it's flex:1 */
  padding: 1.1rem 0.75rem; display: flex; flex-direction: column; gap: 1rem; overflow: hidden;
}
@media (max-width: 640px) {
  #hero-dashboard .sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--hd-line); padding: 0.8rem; }
  #hero-dashboard .brand, #hero-dashboard .sidebar-projects { display: none; }
  #hero-dashboard .license-badge, #hero-dashboard nav, #hero-dashboard .new-project-btn { flex: none; }
}
#hero-dashboard .brand { display: flex; align-items: center; gap: 0.3rem; }
#hero-dashboard .brand-mark { font-size: 0.95rem; }
#hero-dashboard .brand-name {
  font-family: "Big Shoulders Display", sans-serif; font-weight: 800; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.1; color: var(--ink);
}
#hero-dashboard .license-badge {
  display: flex; align-items: center; gap: 0.35rem; text-decoration: none; cursor: pointer;
  font-family: "IBM Plex Mono", monospace; font-size: 0.6rem; letter-spacing: 0.02em;
  color: var(--muted); border: 1px solid var(--hd-line); border-radius: 3px; padding: 0.35rem 0.5rem;
  /* Now a <button> (was an <a> with no href - Lighthouse flags hrefless
     links as uncrawlable, and a real action control is the more correct
     element anyway). These three counter the generic #hero-dashboard
     button reset further down, which would otherwise turn this into an
     uppercase, filled-background button like the others. */
  background: transparent; font-weight: 400; text-transform: none;
}
#hero-dashboard .license-badge::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; flex: none; background: var(--muted); }
#hero-dashboard .license-badge:hover { border-color: var(--accent); }
#hero-dashboard .license-badge.licensed { color: var(--ok); }
#hero-dashboard .license-badge.licensed::before { background: var(--ok); }
#hero-dashboard .license-badge.trial { color: var(--amber); }
#hero-dashboard .license-badge.trial::before { background: var(--amber); }
#hero-dashboard nav { display: flex; flex-direction: column; gap: 0.2rem; }
#hero-dashboard .nav-link {
  display: block; background: var(--accent); color: #08181c; text-decoration: none; cursor: pointer; border: none;
  text-align: center; font-family: "IBM Plex Mono", monospace; font-weight: 600;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.5rem 0.4rem; border-radius: 3px;
}
#hero-dashboard .nav-link:hover { filter: brightness(1.08); }
#hero-dashboard .nav-link.active { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4); }
#hero-dashboard .sidebar-projects { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 0.35rem; }
#hero-dashboard .sidebar-projects-empty { color: var(--muted); font-size: 0.72rem; padding: 0.3rem; margin: 0; }
#hero-dashboard .sidebar-project {
  display: flex; align-items: center; justify-content: space-between; gap: 0.4rem;
  text-decoration: none; cursor: pointer; color: var(--ink); text-align: left;
  background: var(--surface); border: 1px solid var(--hd-line); border-radius: 3px; padding: 0.5rem 0.5rem; font-size: 0.62rem;
  width: 100%; font-weight: 400; text-transform: none;
}
#hero-dashboard .sidebar-project:hover { border-color: var(--accent); }
#hero-dashboard .sidebar-project.active { border-color: var(--accent); background: var(--hd-surface-2); }
#hero-dashboard .sidebar-project-name {
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600; margin-bottom: 0; min-width: 0; flex: 1;
}
#hero-dashboard .sidebar-project .pill { font-size: 0.56rem; padding: 0.14rem 0.4rem; flex: none; }
#hero-dashboard .new-project-btn {
  margin-top: auto; background: var(--accent); color: #08181c; text-align: center; text-decoration: none; cursor: pointer; border: none;
  padding: 0.6rem; border-radius: 3px; font-family: "IBM Plex Mono", monospace;
  font-weight: 600; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.03em;
}
#hero-dashboard .new-project-btn:hover { filter: brightness(1.08); }

/* ---- Content area ---- */
#hero-dashboard .content { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; padding: 1.3rem 1.4rem 2rem; }
#hero-dashboard .hd-view { display: none; }
#hero-dashboard .hd-view.active { display: block; }
#hero-dashboard h1 {
  font-family: "Big Shoulders Display", sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1;
  text-transform: uppercase; margin: 0 0 0.3rem; color: var(--ink);
}
#hero-dashboard .eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.5rem; }
#hero-dashboard .lede { color: var(--muted); max-width: 60ch; margin: 0 0 1.3rem; font-size: 0.85rem; }
#hero-dashboard .mono { font-family: "IBM Plex Mono", monospace; }

/* ---- Buttons / inputs (ported) ---- */
#hero-dashboard button, #hero-dashboard .btn {
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--hd-surface-2); color: var(--ink); border: 1px solid var(--hd-line);
  border-radius: 3px; padding: 0.5rem 0.8rem;
}
#hero-dashboard button:disabled { color: var(--muted); cursor: not-allowed; }
#hero-dashboard button.primary, #hero-dashboard .btn.primary { background: var(--accent); color: #08181c; border-color: var(--accent); }
#hero-dashboard button.ok, #hero-dashboard .btn.ok { background: var(--ok); color: #08180f; border-color: var(--ok); }
#hero-dashboard button.ok:hover { filter: brightness(1.08); }
#hero-dashboard button.danger-filled, #hero-dashboard .btn.danger-filled { background: var(--err); color: #1a0a08; border-color: var(--err); }
#hero-dashboard button.danger-filled:hover, #hero-dashboard .btn.danger-filled:hover { filter: brightness(1.1); }
#hero-dashboard button.amber-filled, #hero-dashboard .btn.amber-filled { background: var(--amber); color: #2a1806; border-color: var(--amber); }

#hero-dashboard fieldset { border: 1px solid var(--hd-line); border-radius: 4px; padding: 0.9rem 1.05rem 1.05rem; margin: 0 0 0.9rem; }
#hero-dashboard legend { font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0 0.35rem; }
#hero-dashboard label { display: block; font-size: 0.82rem; margin-bottom: 0.35rem; }
#hero-dashboard .hint { font-size: 0.75rem; color: var(--muted); margin: 0.3rem 0 0; }
#hero-dashboard input[type="text"] {
  width: 100%; background: var(--hd-surface-2); color: var(--ink); border: 1px solid var(--hd-line);
  border-radius: 3px; padding: 0.5rem 0.65rem; font-family: "IBM Plex Sans", sans-serif; font-size: 0.85rem;
}
#hero-dashboard input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#hero-dashboard .file-picker { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.3rem; }
#hero-dashboard .file-picker-btn {
  font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer;
  background: var(--accent); color: #08181c; border: 1px solid var(--accent); border-radius: 3px; padding: 0.5rem 0.8rem; flex-shrink: 0;
}
#hero-dashboard .file-picker-btn:hover { filter: brightness(1.08); }
#hero-dashboard .file-picker-name { font-size: 0.78rem; color: var(--muted); word-break: break-word; }
#hero-dashboard .check-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.55rem; cursor: pointer; }
#hero-dashboard .check-row input[type="checkbox"] { width: 0.95rem; height: 0.95rem; accent-color: var(--accent); flex-shrink: 0; }
#hero-dashboard .check-row span { font-size: 0.82rem; }
#hero-dashboard .check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.3rem 0.7rem; margin-bottom: 0.5rem; transition: opacity 0.15s ease; }
#hero-dashboard .check-grid .check-row { margin-bottom: 0; }
#hero-dashboard .settings-off { opacity: 0.4; pointer-events: none; }
#hero-dashboard .silence-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.9rem 1.2rem; margin-bottom: 0.9rem; }
#hero-dashboard .silence-settings-grid label { margin-bottom: 0.35rem; }
#hero-dashboard .label-note { font-weight: 400; color: var(--muted); font-size: 0.82em; text-transform: none; letter-spacing: 0; }
#hero-dashboard .category-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; margin-bottom: 0.6rem; border-bottom: 1px solid var(--hd-line); }
#hero-dashboard .category-toggle-row .label { font-weight: 600; color: var(--accent-ink); font-size: 0.85rem; }
#hero-dashboard .toggle-switch { position: relative; display: inline-block; width: 2.4rem; height: 1.35rem; flex-shrink: 0; cursor: pointer; }
#hero-dashboard .toggle-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
#hero-dashboard .toggle-track { position: absolute; inset: 0; background: var(--hd-surface-2); border: 1px solid var(--hd-line); border-radius: 99px; transition: background 0.15s ease, border-color 0.15s ease; }
#hero-dashboard .toggle-track::before { content: ""; position: absolute; top: 1px; left: 1px; width: 1.05rem; height: 1.05rem; background: var(--muted); border-radius: 50%; transition: transform 0.15s ease, background 0.15s ease; }
#hero-dashboard .toggle-switch input:checked + .toggle-track { background: rgba(111,184,214,0.25); border-color: var(--accent); }
#hero-dashboard .toggle-switch input:checked + .toggle-track::before { transform: translateX(1rem); background: var(--accent); }
#hero-dashboard .radio-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; cursor: pointer; }
#hero-dashboard .radio-row input[type="radio"] { width: 0.95rem; height: 0.95rem; accent-color: var(--accent); flex-shrink: 0; }
#hero-dashboard .radio-row span { font-size: 0.82rem; }
#hero-dashboard .preset-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
#hero-dashboard .preset-row select { flex: 1; min-width: 9rem; }
#hero-dashboard .slider-row { display: flex; align-items: center; gap: 0.7rem; margin: 0.35rem 0 0.2rem; }
#hero-dashboard .slider-row input[type="range"] { flex: 1; accent-color: var(--accent); }
#hero-dashboard .slider-row .slider-value { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; color: var(--accent-ink); min-width: 3rem; text-align: right; }
#hero-dashboard select { background: var(--hd-surface-2); color: var(--ink); border: 1px solid var(--hd-line); border-radius: 3px; padding: 0.35rem 0.55rem; font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; }

/* ---- Pills / project cards ---- */
#hero-dashboard .pill { font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 99px; white-space: nowrap; }
#hero-dashboard .pill.done { background: rgba(123,196,154,0.16); color: var(--ok); }
#hero-dashboard .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
#hero-dashboard .panel-head h1 { margin: 0; }
#hero-dashboard #projects-empty, #hero-dashboard .hd-generic-empty {
  color: var(--muted); font-size: 0.8rem; border: 1px dashed var(--hd-line); border-radius: 4px; padding: 1.1rem; text-align: center;
}
#hero-dashboard .project-list { display: flex; flex-direction: column; gap: 0.55rem; }
#hero-dashboard .project-card { background: var(--surface); border: 1px solid var(--hd-line); border-radius: 4px; padding: 0.8rem 0.95rem; display: flex; flex-direction: column; gap: 0.4rem; }
#hero-dashboard .project-row1 { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
#hero-dashboard .project-name { font-weight: 600; font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
#hero-dashboard .project-sub { font-family: "IBM Plex Mono", monospace; font-size: 0.65rem; color: var(--muted); display: flex; gap: 0.8rem; flex-wrap: wrap; }
#hero-dashboard .project-stage { font-size: 0.75rem; color: var(--muted); }
#hero-dashboard .project-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
#hero-dashboard .log-view { display: none; margin-top: 0.6rem; background: var(--hd-mono-surface); color: var(--hd-mono-ink); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; line-height: 1.6; padding: 0.7rem 0.8rem; border-radius: 4px; max-height: 130px; overflow-y: auto; white-space: pre-wrap; }
#hero-dashboard .log-view.show { display: block; }
#hero-dashboard .hd-toast { font-size: 0.72rem; color: var(--ok); margin-top: 0.6rem; min-height: 1.1em; }

/* ---- Stepper / status card / terminal (ported, reused by the simulation) ---- */
#hero-dashboard .stepper { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
#hero-dashboard .step {
  font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.4rem 0.7rem; border-radius: 99px; border: 1px solid var(--hd-line); color: var(--muted); background: var(--surface);
}
#hero-dashboard .step.done { border-color: var(--ok); color: var(--ok); }
#hero-dashboard .step.active { border-color: var(--accent); color: var(--accent-ink); background: rgba(111,184,214,0.12); }
#hero-dashboard .step-arrow { color: var(--hd-line); font-size: 0.75rem; }
#hero-dashboard .status-card { background: var(--surface); border: 1px solid var(--hd-line); border-radius: 4px; padding: 0.9rem 1rem; margin-bottom: 1rem; }
#hero-dashboard .live-row { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.7rem; }
#hero-dashboard .pulse { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ok); flex-shrink: 0; animation: hd-pulse 1.4s ease-in-out infinite; }
#hero-dashboard .pulse.stalled { background: var(--muted); animation: none; }
@keyframes hd-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.72); } }
#hero-dashboard .live-row .meta { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; color: var(--muted); }
#hero-dashboard .status-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; margin-bottom: 0.3rem; }
#hero-dashboard .status-row .k { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; }
#hero-dashboard .status-row .v { font-family: "IBM Plex Mono", monospace; }
#hero-dashboard .progress-track { height: 0.45rem; background: var(--hd-surface-2); border-radius: 99px; overflow: hidden; margin: 0.6rem 0 0.2rem; }
#hero-dashboard .progress-fill { height: 100%; background: var(--accent); border-radius: 99px; width: 0%; transition: width 0.2s linear; }
#hero-dashboard .status-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
#hero-dashboard .terminal-label { font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 0.4rem; }
#hero-dashboard .terminal { background: var(--hd-mono-surface); color: var(--hd-mono-ink); font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; line-height: 1.55; padding: 0.8rem 0.9rem; border-radius: 4px; height: 140px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; }

/* ---- License / activate page (ported) ---- */
#hero-dashboard .section-heading { font-size: 0.85rem; margin: 1.3rem 0 0.6rem; color: var(--ink); }
#hero-dashboard .activate-card { background: var(--surface); border: 1px solid var(--hd-line); border-radius: 4px; padding: 1rem 1.1rem; }
#hero-dashboard .card-title { font-size: 0.85rem; font-weight: 600; margin: 0 0 0.6rem; color: var(--ink); }
/* Two columns now that the panel's wide enough - License top-left,
   Community top-right, Software Update below License, matching the real
   app's own wide-window layout (source order gives this for free with a
   plain 2-col grid: 3 children auto-flow into (1,1) (1,2) (2,1)). */
#hero-dashboard .activate-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
@media (max-width: 640px) { #hero-dashboard .activate-layout { grid-template-columns: 1fr; } }
#hero-dashboard .community-links { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.7rem; }
#hero-dashboard .community-links .btn { width: 100%; text-align: center; }
#hero-dashboard .hardware-id { font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; color: var(--muted); word-break: break-all; }
#hero-dashboard .license-key-input {
  width: 100%; background: var(--hd-surface-2); color: var(--ink); border: 1px solid var(--hd-line);
  border-radius: 3px; padding: 0.55rem 0.7rem; font-family: "IBM Plex Mono", monospace; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0.35rem 0 0.8rem;
}
#hero-dashboard .license-key-input:focus { outline: none; border-color: var(--accent); }
#hero-dashboard .license-status-line { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8rem; margin-bottom: 0.45rem; }
#hero-dashboard .license-status-line .k { color: var(--muted); }
#hero-dashboard .license-status-line .v { font-family: "IBM Plex Mono", monospace; }
#hero-dashboard .error-text { margin-top: 0.5rem; font-size: 0.75rem; color: var(--err); font-family: "IBM Plex Mono", monospace; }

/* ---- Confirm dialog modal (ported - replaces instant/no-confirm deletes) ---- */
#hero-dashboard .modal-overlay {
  position: absolute; inset: 0; background: rgba(5,10,9,0.72); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem; z-index: 20;
}
#hero-dashboard .modal-box { background: var(--surface); border: 1px solid var(--hd-line); border-radius: 6px; padding: 1.2rem 1.3rem; max-width: 320px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
#hero-dashboard .modal-title { font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; margin: 0 0 0.6rem; color: var(--ink); }
#hero-dashboard .modal-title.danger { color: var(--err); }
#hero-dashboard .modal-message { font-size: 0.8rem; color: var(--ink); line-height: 1.5; margin: 0 0 1.1rem; }
#hero-dashboard .modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }

/* ---- Cards / sections ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow, .section-head h2, .section-head p { margin-left: auto; margin-right: auto; }

/* Problem/PAS */
.pas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 800px) { .pas { grid-template-columns: 1fr; } }
.pas .card .tag { font-family: "JetBrains Mono", Consolas, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 10px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 48px 0 40px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.step .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--accent-ink); font-family: "Big Shoulders Display", sans-serif; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.step h3 { text-align: center; }
.step p { text-align: center; margin-left: auto; margin-right: auto; }
.arrow-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 8px; color: var(--muted-2); font-family: "JetBrains Mono", monospace; }

/* Feature rows - one full-width screenshot per line, text below, like the manual PDF */
.feature-rows { display: flex; flex-direction: column; gap: 64px; margin-top: 56px; }
.feature-row { display: flex; flex-direction: column; align-items: center; text-align: left; }
/* Matches how the PDF manual places screenshots: shown in full (never cropped),
   scaled down proportionally to fit the reading column, centered, with a small
   caption underneath - never scaled up past native size, never scrolled. */
.feature-shot {
  width: 100%; max-width: 820px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #0b1211; box-shadow: var(--shadow); margin-bottom: 14px;
}
.feature-caption { font-size: 0.85rem; color: var(--muted-2); font-style: italic; margin: 0 0 28px; }

/* ---- Interactive mini-demos: real, clickable UI matching the app itself ---- */
.demo-panel {
  width: 100%; max-width: 820px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #0b1211; box-shadow: var(--shadow); margin-bottom: 14px; padding: 24px 26px 22px;
  text-align: left; font-size: 0.95rem;
}
.demo-tag {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 18px;
}
.demo-toprow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 16px; }
.demo-toprow strong { color: var(--ink); font-size: 1.02rem; }

/* Toggle switch */
.demo-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.demo-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.demo-switch .track {
  position: absolute; inset: 0; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; transition: background 0.15s ease;
}
.demo-switch .track::before {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); transition: transform 0.15s ease, background 0.15s ease;
}
.demo-switch input:checked + .track { background: rgba(111,184,214,0.25); border-color: var(--accent); }
.demo-switch input:checked + .track::before { transform: translateX(20px); background: var(--accent); }

/* Checkbox grid */
.demo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 16px; margin-bottom: 16px; transition: opacity 0.15s ease; }
@media (max-width: 640px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }
.demo-grid.disabled { opacity: 0.4; pointer-events: none; }
.demo-grid.single-col { grid-template-columns: 1fr; }
.demo-check { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--ink); cursor: pointer; user-select: none; }
.demo-check input { accent-color: var(--accent); width: 17px; height: 17px; cursor: pointer; flex: none; }

.demo-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin: 0; }

/* Sliders */
.demo-sliders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 16px; transition: opacity 0.15s ease; }
@media (max-width: 700px) { .demo-sliders { grid-template-columns: 1fr; } }
.demo-sliders.disabled { opacity: 0.4; pointer-events: none; }
.demo-slider-item { display: flex; flex-direction: column; height: 100%; }
.demo-slider-item label { display: block; font-size: 0.88rem; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.demo-slider-item .hint { font-weight: 400; color: var(--muted-2); font-size: 0.82rem; }
.demo-slider-row { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.demo-slider-row input[type="range"] { flex: 1; accent-color: var(--accent); height: 4px; cursor: pointer; }
.demo-slider-row .val { font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: var(--accent-ink); min-width: 54px; text-align: right; }

.demo-download-btn {
  display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; background: var(--ok); color: #06110f; border: none; border-radius: 6px;
  padding: 9px 16px; font-weight: 700; cursor: pointer; margin-bottom: 16px;
}
.demo-download-btn:active { filter: brightness(0.92); }

/* Style preset select */
.demo-select {
  width: 100%; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 11px 14px; font: inherit; font-size: 0.95rem; margin-bottom: 16px; cursor: pointer;
}
.demo-preset-look { color: var(--muted); font-size: 0.88rem; margin: 0; min-height: 1.6em; }

/* ---- Render simulation demo (How it works) ---- */
.render-demo {
  width: 100%; max-width: 760px; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--line);
  background: #0b1211; box-shadow: var(--shadow); padding: 26px 28px 28px; text-align: left;
}
.rd-eyebrow { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.rd-title { font-family: "Big Shoulders Display", sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--ink); margin: 0 0 16px; }
.rd-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.rd-step {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; transition: color 0.2s ease, border-color 0.2s ease;
}
.rd-step.done { color: var(--ok); border-color: var(--ok); }
.rd-step.active { color: var(--accent-ink); border-color: var(--accent); }
.rd-arrow { color: var(--muted-2); font-size: 12px; }
.rd-panel { border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; margin-bottom: 18px; }
.rd-status-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rd-status-left { display: flex; align-items: center; gap: 8px; font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: var(--muted); }
.rd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); transition: background 0.2s ease; }
.rd-dot.running { background: var(--accent); animation: rd-pulse 1s infinite ease-in-out; }
.rd-dot.finished { background: var(--ok); animation: none; }
@keyframes rd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.rd-badge { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted-2); padding: 4px 10px; border-radius: 999px; visibility: hidden; }
.rd-badge.show { visibility: visible; color: var(--ok); border-color: var(--ok); }
.rd-field { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; }
.rd-field .k { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.rd-field .v { color: var(--ink); font-weight: 600; }
.rd-progress-track { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 4px; }
.rd-progress-fill { height: 100%; width: 0%; background: var(--accent); border-radius: 999px; transition: width 0.2s linear; }
.rd-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rd-trigger-btn {
  font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--accent); color: #06110f; border: none; border-radius: 8px; padding: 11px 18px; font-weight: 700; cursor: pointer;
}
.rd-trigger-btn:disabled { opacity: 0.55; cursor: default; }
.rd-download-btn {
  font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--ok); color: #06110f; border: none; border-radius: 8px; padding: 11px 18px; font-weight: 700; cursor: pointer;
  opacity: 0.4; pointer-events: none; transition: opacity 0.2s ease;
}
.rd-download-btn.ready { opacity: 1; pointer-events: auto; }

/* Video format selector */
.demo-format-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.demo-format-option {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer; color: var(--muted); font-size: 0.92rem; transition: border-color 0.15s ease, color 0.15s ease;
}
.demo-format-option input { accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.demo-format-option:has(input:checked) { border-color: var(--accent); color: var(--ink); background: rgba(111,184,214,0.08); }
.demo-format-option strong { color: inherit; }
.feature-text { max-width: 640px; margin-bottom: 24px; }
.feature-text h3 { margin-bottom: 10px; font-size: 1.6rem; text-align: center; }
.feature-text p { margin: 0; font-size: 1.02rem; }
.pill { display: block; width: fit-content; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(111,184,214,0.12); color: var(--accent-ink); padding: 4px 9px; border-radius: 999px; margin: 0 auto 14px; }

/* Who it's for */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 700px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-item { display: flex; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.audience-item svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.audience-item strong { display: block; color: var(--ink); margin-bottom: 4px; }
.audience-item span.desc { color: var(--muted); font-size: 0.93rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 48px; align-items: stretch; }
@media (max-width: 780px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 34px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), var(--shadow); position: relative; }
.price-card .badge { position: absolute; top: -13px; left: 28px; background: var(--amber); color: #241300; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price-card .amount { font-family: "Big Shoulders Display", sans-serif; font-size: 3rem; font-weight: 800; color: var(--ink); margin: 6px 0 2px; }
.price-card .amount small { font-family: "Inter", sans-serif; font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card .amount .was-price { font-family: "Inter", sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--muted-2); margin-right: 8px; }
.price-card ul { list-style: none; margin: 22px 0 28px; padding: 0; flex: 1; }
.price-card li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--muted); font-size: 0.95rem; }
.price-card li svg { flex: none; width: 18px; height: 18px; color: var(--ok); margin-top: 2px; }
.price-note { text-align: center; margin: 22px auto 0; color: var(--muted-2); font-size: 0.88rem; }

/* FAQ */
.faq-list { max-width: 780px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
details.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px 22px;
}
details.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.02rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
details.faq summary .plus::before, details.faq summary .plus::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
}
details.faq summary .plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
details.faq summary .plus::after { left: 50%; top: 0; height: 100%; width: 2px; margin-left: -1px; transition: transform 0.15s ease; }
details.faq[open] summary .plus::after { transform: rotate(90deg) scaleX(0); }
details.faq .answer { padding: 0 0 20px; color: var(--muted); }
details.faq .answer p { margin: 0; }

/* Contact / support form - two matching cards, same visual language as
   the rest of the site's .card sections rather than bare floating content. */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 44px; align-items: stretch; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { display: flex; flex-direction: column; }
.support-note { color: var(--muted-2); margin: 8px 0 0; font-size: 0.95rem; }
.support-footnote { color: var(--muted-2); font-size: 0.85rem; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); }

.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 2px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; transition: background 0.15s ease; }
.contact-list li:hover { background: var(--surface-2); }
.contact-icon {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent); transition: border-color 0.15s ease;
}
.contact-list li:hover .contact-icon { border-color: var(--accent); }
.contact-icon svg { width: 19px; height: 19px; }
.contact-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-label { font-family: "JetBrains Mono", Consolas, monospace; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-ink); }

form.support-form { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  padding: 13px 14px; font: inherit; font-size: 16px; resize: vertical; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111,184,214,0.16); }
.field textarea { min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-status { font-size: 0.92rem; min-height: 20px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: 820px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; max-width: none; } }
.footer-grid .footer-heading { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 0.94rem; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--accent-ink); }
.footer-social { flex-direction: row !important; gap: 10px !important; margin-top: 18px !important; }
.footer-social a {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { color: var(--accent-ink); border-color: var(--accent); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 0.85rem; }

.final-cta { text-align: center; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: 20px; padding: 64px 32px; }
.final-cta .hero-actions { justify-content: center; }

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