/* ── Tokens ── */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-raised: #191919;
  --border: #222;
  --blade-900: #0d0e0f;
  --blade-800: #151719;
  --blade-700: #202326;
  --blade-600: #2a2d31;
  --blade-500: #3a3e43;
  --blade-line: rgba(165,170,176,0.18);
  --section-band-bg: linear-gradient(180deg, rgba(58,62,67,0.18), rgba(20,21,23,0.1));
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --text: #f0f0f0;
  --text-secondary: #a0a0a0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout helpers ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-bottom 0.2s;
}
.site-nav.scrolled { border-bottom: 1px solid var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Hero ── */
#hero {
  padding: 64px 0 72px;
  text-align: center;
}
.hero-app-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 24px;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0,0,0,0.46));
}
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12);
  color: var(--accent);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
#hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-tagline {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 24px;
}
.hero-body {
  max-width: 560px;
  margin: 0 auto 30px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.trust-line {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(59,130,246,0.3);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 32px rgba(59,130,246,0.45);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary svg,
.btn-primary img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}
.btn-secondary {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.btn-secondary:hover { color: var(--text); }

.hero-preview {
  width: min(94vw, 1480px);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  padding: clamp(12px, 1.4vw, 22px);
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.16), transparent 42%),
    linear-gradient(180deg, rgba(20,20,20,0.98), rgba(10,10,10,0.96));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3102 / 1524;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: block;
  background: rgba(255,255,255,0.02);
}

/* ── Trusted-by / social proof strip ── */
.social-proof {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.social-proof p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Sections ── */
section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
section > .container {
  position: relative;
  z-index: 1;
}
.section-band {
  background: var(--section-band-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#workflow,
#workflows,
#privacy {
  border-top: 1px solid var(--blade-line);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
#features,
#demo,
#users,
#download {
  position: relative;
}
#demo,
#users,
#download {
  border-top: 1px solid rgba(255,255,255,0.035);
}
#workflows {
  background:
    linear-gradient(135deg, rgba(59,130,246,0.08), transparent 30%),
    linear-gradient(180deg, #101113 0%, #0c0d0e 100%);
}
#features {
  background:
    linear-gradient(135deg, rgba(58,62,67,0.16), transparent 34%),
    linear-gradient(180deg, #0b0b0b 0%, #101112 100%);
}
#features::before,
#workflow::before,
#download::before {
  content: '';
  position: absolute;
  pointer-events: none;
  opacity: 0.48;
}
#features::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: max(-160px, calc((100vw - 1120px) / 2 - 260px));
  background:
    conic-gradient(from 18deg, transparent 0 11%, rgba(122,128,136,0.18) 11% 18%, transparent 18% 29%, rgba(122,128,136,0.12) 29% 36%, transparent 36% 100%);
  border-radius: 50%;
  filter: blur(0.4px);
}
#demo {
  background:
    linear-gradient(90deg, rgba(42,45,49,0.26), transparent 42%),
    #090909;
}
#workflow {
  background:
    repeating-linear-gradient(116deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, #0e0f10 0%, #151719 100%);
}
#workflow::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.74), transparent 38%, rgba(10,10,10,0.36));
}
#users {
  background:
    radial-gradient(circle at 86% 20%, rgba(75,80,87,0.24), transparent 32%),
    linear-gradient(180deg, #0a0a0a 0%, #111214 100%);
}
#download {
  background:
    linear-gradient(180deg, #151719 0%, #0d0e0f 100%);
}
#download::before {
  width: 520px;
  height: 220px;
  right: max(-220px, calc((100vw - 1120px) / 2 - 260px));
  bottom: -92px;
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(166,171,178,0.14) 18% 30%, transparent 30% 42%, rgba(166,171,178,0.1) 42% 54%, transparent 54%);
  transform: rotate(-7deg);
}
.section-label {
  display: inline-block;
  color: #c4c8cd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.7;
}
.section-sub-wide { max-width: none; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }

#features,
#workflow,
#workflows,
#users,
#privacy {
  padding: 72px 0;
}

#features .section-header,
#users .section-header {
  margin-bottom: 36px;
}

#workflow .section-sub,
#privacy .section-sub {
  max-width: 680px;
}

/* ── Cards and preview sections ── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.comparison-card {
  background: linear-gradient(180deg, rgba(32,35,38,0.96), rgba(18,19,20,0.98));
  border: 1px solid rgba(166,171,178,0.13);
  border-radius: var(--radius-md);
  padding: 32px;
}
.comparison-card.accent-card {
  border-color: rgba(158,163,170,0.26);
  background:
    linear-gradient(135deg, rgba(78,84,92,0.26), rgba(22,24,26,0.96) 58%),
    rgba(59,130,246,0.04);
}
.comparison-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.comparison-card li .icon-check { color: #22c55e; flex-shrink: 0; margin-top: 2px; }
.comparison-card li .icon-x { color: #ef4444; flex-shrink: 0; margin-top: 2px; }
.comparison-card li .icon-minus { color: var(--text-secondary); flex-shrink: 0; margin-top: 2px; }

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background:
    linear-gradient(180deg, rgba(31,34,37,0.94), rgba(18,19,20,0.96));
  border: 1px solid rgba(166,171,178,0.13);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: rgba(196,200,205,0.28);
  background:
    linear-gradient(180deg, rgba(41,44,48,0.98), rgba(20,21,23,0.98));
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(59,130,246,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--accent); }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.feature-card-link,
.doc-card-link {
  display: block;
  color: var(--text);
  text-decoration: none;
}
.feature-card-link:hover,
.doc-card-link:hover {
  text-decoration: none;
}
.workflow-link-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}
.feature-grid-compact {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.feature-grid-compact .feature-card,
.audience-grid .feature-card {
  padding: 20px;
}
.feature-grid-compact .feature-card h3,
.audience-grid .feature-card h3 {
  font-size: 0.98rem;
}
.feature-grid-compact .feature-card p,
.audience-grid .feature-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}
.feature-grid-compact .feature-card {
  min-height: 136px;
}
.audience-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ── Workflow ── */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 1px;
  background: var(--border);
}
.workflow-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.step-num {
  width: 44px;
  height: 44px;
  background: #111315;
  border: 1px solid rgba(166,171,178,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4d7db;
  position: relative;
  z-index: 1;
}
.workflow-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.workflow-step p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}
.workflow-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.workflow-card {
  background:
    linear-gradient(180deg, rgba(28,31,34,0.92), rgba(15,16,17,0.96));
  border: 1px solid rgba(166,171,178,0.12);
  border-radius: var(--radius-md);
  padding: 24px;
}
.workflow-card .step-num {
  margin: 0 0 18px;
}
.workflow-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.workflow-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}
.workflow-cards-compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.workflow-cards-compact .workflow-card {
  padding: 18px;
}
.workflow-cards-compact .step-num {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  font-size: 0.76rem;
}
.workflow-cards-compact .workflow-card h3 {
  font-size: 0.95rem;
}
.workflow-cards-compact .workflow-card p {
  font-size: 0.86rem;
  line-height: 1.5;
}
.privacy-grid {
  gap: 16px;
  margin-top: 32px;
}
.privacy-grid .comparison-card {
  padding: 22px;
}
.privacy-grid .comparison-card h3 {
  margin-bottom: 14px;
}
.privacy-grid .comparison-card ul {
  gap: 8px;
}
.privacy-grid .comparison-card li,
.privacy-grid .comparison-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ── Demo ── */
.demo-panel {
  padding: 20px;
  border: 1px solid rgba(166,171,178,0.16);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(38,41,45,0.86), rgba(14,15,16,0.98));
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.demo-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #000;
}

/* ── Download ── */
.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(166,171,178,0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(58,62,67,0.44), rgba(20,21,23,0.98) 46%),
    var(--surface-raised);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
}
.download-copy {
  max-width: 520px;
}
.download-eyebrow {
  color: #c4c8cd;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.download-copy h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.download-copy p {
  color: var(--text-secondary);
  line-height: 1.6;
}
.download-link[data-download-target] {
  white-space: normal;
  max-width: 280px;
  text-align: center;
}

/* ── CTA band ── */
#cta-band {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
#cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
#cta-band p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ── Footer ── */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  max-width: 240px;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.825rem;
}

/* ── Support / Privacy pages ── */
.page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
}
.page-content {
  max-width: 720px;
  padding: 64px 24px 96px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.page-content h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 24px 0 10px;
}
.page-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.page-content a { color: var(--accent); }
.page-content code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.9em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.page-content pre {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 20px 0 28px;
  -webkit-overflow-scrolling: touch;
}
.page-content pre code {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--text);
  line-height: 1.6;
}
.page-content ul,
.page-content ol {
  color: var(--text-secondary);
  margin: 0 0 20px 22px;
}
.page-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.page-content strong {
  color: var(--text);
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: block;
}
.page-content thead,
.page-content tbody,
.page-content tr {
  width: 100%;
}
.page-content th,
.page-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.page-content tr:last-child td { border-bottom: 0; }
.page-content th {
  color: var(--text);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
}
.doc-page {
  max-width: 960px;
}
.doc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.doc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 18px;
}
.doc-toc h2 {
  border: 0;
  margin: 0 0 12px;
  padding: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.doc-toc ol,
.doc-toc ul {
  margin: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.doc-toc li { margin: 0; line-height: 1.35; }
.doc-toc a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.doc-toc a:hover { color: var(--text); }
.doc-copy h2:first-child {
  margin-top: 0;
}
.doc-callout {
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: var(--radius-md);
  background: rgba(59,130,246,0.08);
  padding: 18px 20px;
  margin: 24px 0;
}
.doc-callout p:last-child { margin-bottom: 0; }
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.doc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 20px;
}
.doc-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.doc-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.seo-page {
  max-width: 960px;
}
.page-image {
  width: 100%;
  aspect-ratio: 3106 / 2116;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 42px;
}
.kbd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}
.kbd-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.kbd-item code {
  white-space: nowrap;
  color: var(--text);
}
/* FAQ accordion and support form */
.faq-list { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
details[open] { border-color: rgba(59,130,246,0.3); }
summary {
  padding: 18px 20px;
  font-weight: 500;
  font-size: 0.975rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(180deg); }
details p {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
  margin: 0;
}
.support-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}
.support-panel,
.support-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.support-panel h2,
.support-aside h2 {
  margin-top: 0;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label,
.field span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
.field textarea {
  min-height: 180px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(59,130,246,0.45);
  outline-offset: 1px;
  border-color: rgba(59,130,246,0.45);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.field small {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}
.field-full { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.form-status {
  min-height: 1.5em;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.form-status[data-state="success"] { color: #22c55e; }
.form-status[data-state="error"] { color: #ef4444; }
.btn-primary:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

/* ── Beta feedback form ── */
.feedback-hero {
  background:
    radial-gradient(circle at 18% 0%, rgba(59,130,246,0.14), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(96,165,250,0.08), transparent 30%);
}
.feedback-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feedback-hero p { max-width: 640px; }
.feedback-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.feedback-meta span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  color: var(--text-secondary);
  padding: 7px 12px;
  font-size: 0.82rem;
}
.feedback-content {
  max-width: 880px;
}
.feedback-form {
  display: grid;
  gap: 24px;
}
.feedback-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  padding: clamp(22px, 4vw, 34px);
}
.feedback-section-heading {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 26px;
}
.feedback-section-heading h2 {
  margin: 0 0 5px;
  padding: 0;
  border: 0;
}
.feedback-section-heading p {
  margin: 0;
  font-size: 0.92rem;
}
.feedback-step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  color: var(--accent);
  font-weight: 700;
}
.required-mark { color: #f87171; }
.choice-group,
.rating-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice-card,
.followup-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 12px 14px;
  color: var(--text-secondary);
  cursor: pointer;
}
.choice-card:has(input:checked),
.followup-choice:has(input:checked) {
  border-color: rgba(59,130,246,0.5);
  background: rgba(59,130,246,0.09);
  color: var(--text);
}
.choice-card input,
.followup-choice input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.rating-fieldset {
  margin-bottom: 26px;
}
.rating-fieldset legend {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.rating-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.rating-scale label { cursor: pointer; }
.rating-scale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rating-scale span {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 70px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-secondary);
}
.rating-scale strong {
  color: var(--text);
  font-size: 1.05rem;
}
.rating-scale small {
  margin-top: 3px;
  font-size: 0.7rem;
}
.rating-scale input:focus-visible + span {
  outline: 2px solid rgba(59,130,246,0.6);
  outline-offset: 2px;
}
.rating-scale input:checked + span {
  border-color: var(--accent);
  background: rgba(59,130,246,0.14);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.feedback-long-fields {
  display: grid;
  gap: 22px;
}
.feedback-long-fields .field textarea {
  min-height: 130px;
}
.feedback-submit-section {
  border-color: rgba(59,130,246,0.28);
}
.followup-choice {
  align-items: flex-start;
  margin-bottom: 22px;
}
.followup-choice input { margin-top: 2px; }
.feedback-actions { margin-top: 4px; }
.feedback-actions .form-note { margin: 0; }
.feedback-submit-section .form-status { margin: 14px 0 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-grid-compact,
  .audience-grid,
  .workflow-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-cards-compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .workflow-cards { grid-template-columns: 1fr 1fr; }
  .hero-logo-card img { width: min(180px, 100%); }
  .download-panel { flex-direction: column; align-items: stretch; }
  .download-link[data-download-target] { max-width: none; }
  .support-layout,
  .form-grid,
  .choice-grid { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .doc-grid,
  .kbd-grid { grid-template-columns: 1fr; }
  .page-content table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #hero { padding: 64px 0 56px; }
  .hero-app-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    border-radius: 20px;
  }
  section { padding: 64px 0; }
  #features,
  #workflow,
  #workflows,
  #users,
  #privacy {
    padding: 56px 0;
  }
}
@media (max-width: 480px) {
  .rating-scale { gap: 5px; }
  .rating-scale span { min-height: 58px; }
  .rating-scale small { display: none; }
  .workflow-cards { grid-template-columns: 1fr; }
  .workflow-link-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 24px; }
}

/* ── Premium homepage and shared shell ── */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 6px;
  background: #f2f0eb;
  color: #0a0a0a;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}
.skip-link:focus {
  transform: translateY(0);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 4px;
}

.nav-store-link {
  color: var(--text) !important;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,0.42);
}
.nav-store-link:hover {
  border-bottom-color: var(--text);
  text-decoration: none;
}

.footer-col h2 {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-page {
  --home-bg: #090909;
  --home-surface: #0d0d0d;
  --home-text: #f2f0eb;
  --home-muted: #aaa8a3;
  --home-line: rgba(255,255,255,0.13);
  background: var(--home-bg);
  color: var(--home-text);
}

.home-page .container {
  max-width: 1200px;
}

.home-page .site-nav {
  background: rgba(9,9,9,0.88);
}

.home-page main > section {
  padding: 124px 0;
  background: var(--home-bg);
  border: 0;
  overflow: visible;
}

.home-page #features,
.home-page #screenshots,
.home-page #demo,
.home-page #download {
  background: var(--home-bg);
  border: 0;
}

.home-page #features::before,
.home-page #download::before {
  display: none;
}

.home-page #hero {
  padding: 96px 0 0;
  text-align: center;
}

.home-hero-copy {
  padding-bottom: 76px;
}

.home-page .hero-app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 34px;
  border-radius: 22px;
  filter: none;
}

.home-eyebrow {
  color: var(--home-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.home-page #hero h1 {
  max-width: 920px;
  margin: 0 auto 28px;
  color: var(--home-text);
  font-size: clamp(3.25rem, 8vw, 6.75rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-page .hero-tagline {
  margin: 0 auto 34px;
  color: var(--home-muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 400;
}

.home-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 5px;
  border-bottom: 1px solid rgba(255,255,255,0.42);
  color: var(--home-text);
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.home-hero-action:hover {
  border-bottom-color: var(--home-text);
  text-decoration: none;
}

.home-page .hero-preview {
  width: min(calc(100vw - 32px), 1480px);
  max-height: calc(100svh - var(--nav-h) - 32px);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--home-line);
  border-radius: 15px;
  box-shadow: none;
}

body.home-page #screenshots {
  background: var(--home-bg);
  border-top: 1px solid var(--home-line);
  border-bottom: 0;
}

.home-page .hero-banner {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - var(--nav-h) - 34px);
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 14px;
}

.home-page #screenshots,
.home-page #features,
.home-page #demo,
.home-page #download {
  scroll-margin-top: 84px;
}

.home-section-intro {
  max-width: 700px;
}

.home-section-intro h2,
.home-download h2 {
  margin-bottom: 24px;
  color: var(--home-text);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.home-section-intro > p:last-child {
  color: var(--home-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--home-line);
}

.home-principles article {
  min-height: 228px;
  padding: 30px 42px 0 0;
  background: transparent;
  border: 0;
}

.home-principles article + article {
  padding-left: 42px;
  border-left: 1px solid var(--home-line);
}

.home-principle-number {
  margin-bottom: 48px;
  color: #7d7b77;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.home-principles h3 {
  margin-bottom: 12px;
  color: var(--home-text);
  font-size: 1.08rem;
  font-weight: 550;
}

.home-principles article > p:last-child {
  max-width: 300px;
  color: var(--home-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.home-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
  width: min(calc(100vw - 48px), 1480px);
  margin: 64px 0 0 50%;
  transform: translateX(-50%);
}

.home-shot {
  min-width: 0;
  margin: 0;
}

.home-shot-media {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: var(--home-surface);
  color: inherit;
  font: inherit;
  text-align: left;
}

.home-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.home-shot-trigger {
  cursor: zoom-in;
}

.home-shot figcaption {
  display: grid;
  gap: 5px;
  padding-top: 14px;
}

.home-shot figcaption strong {
  color: var(--home-text);
  font-size: 0.92rem;
  font-weight: 550;
}

.home-shot figcaption span {
  color: var(--home-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.screenshot-lightbox[hidden] {
  display: none;
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 16px;
}

.screenshot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,0.9);
  cursor: zoom-out;
}

.screenshot-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(calc(100vw - 32px), 1440px);
  max-height: calc(100svh - 32px);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: #090909;
}

.screenshot-lightbox-header,
.screenshot-lightbox-controls {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px;
}

.screenshot-lightbox-header {
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--home-line);
}

.screenshot-lightbox-header p {
  color: var(--home-text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.screenshot-lightbox-close,
.screenshot-lightbox-controls button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--home-line);
  border-radius: 7px;
  background: transparent;
  color: var(--home-text);
  font: inherit;
  cursor: pointer;
}

.screenshot-lightbox-close {
  width: 36px;
  flex: 0 0 36px;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.screenshot-lightbox-close:hover,
.screenshot-lightbox-controls button:hover {
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.06);
}

.screenshot-lightbox-image-shell {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #050505;
}

.screenshot-lightbox-image-shell img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 160px);
  object-fit: contain;
}

.screenshot-lightbox-controls {
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--home-line);
}

.screenshot-lightbox-controls > span {
  color: var(--home-muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

body.screenshot-lightbox-open {
  overflow: hidden;
}

.home-page #demo {
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface);
}

.home-demo-frame {
  margin-top: 56px;
  padding: 11px;
  border: 1px solid var(--home-line);
  border-radius: 15px;
  background: #080808;
}

.home-page .demo-video {
  border-radius: 9px;
}

.home-demo-summary {
  max-width: 780px;
  margin-top: 20px;
  color: var(--home-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 104px;
  align-items: end;
}

.home-facts {
  list-style: none;
  border-top: 1px solid var(--home-line);
}

.home-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-facts span {
  color: var(--home-text);
  font-size: 0.94rem;
  font-weight: 500;
}

.home-facts small {
  color: var(--home-muted);
  font-size: 0.82rem;
}

.home-explore {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 88px;
  padding-top: 28px;
  border-top: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 0.88rem;
}

.home-explore > span {
  margin-right: auto;
  color: #7d7b77;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-explore a {
  color: var(--home-muted);
  text-decoration-color: rgba(255,255,255,0.28);
  text-underline-offset: 4px;
}
.home-explore a:hover {
  color: var(--home-text);
}

.home-page #download {
  padding: 150px 0 144px;
  border-top: 1px solid var(--home-line);
}

.home-download-inner {
  max-width: 850px !important;
  text-align: center;
}

.home-download h2 {
  margin: 0 auto 42px;
}

.home-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid #f2f0eb;
  border-radius: 8px;
  background: #f2f0eb;
  color: #0a0a0a;
  font-size: 0.96rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.home-download-button:hover {
  background: transparent;
  color: var(--home-text);
  text-decoration: none;
}

.home-download-note {
  margin-top: 20px;
  color: var(--home-muted);
  font-size: 0.84rem;
}

.home-page .site-footer {
  border-top-color: var(--home-line);
}

.home-page .footer-col h2 {
  color: #7d7b77;
}

@media (max-width: 1024px) {
  .home-trust-layout {
    gap: 56px;
  }
  .home-principles article {
    padding-right: 28px;
  }
  .home-principles article + article {
    padding-left: 28px;
  }

  .home-screenshot-grid {
    gap: 32px 20px;
  }
}

@media (max-width: 768px) {
  .nav-store-link {
    padding-bottom: 2px;
  }

  .home-page main > section {
    padding: 82px 0;
  }

  .home-page #hero {
    padding: 66px 0 0;
  }

  .home-hero-copy {
    padding-bottom: 54px;
  }

  .home-page .hero-app-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 28px;
    border-radius: 19px;
  }

  .home-page #hero h1 {
    max-width: 620px;
    font-size: clamp(3rem, 14vw, 5.25rem);
  }

  .home-page .hero-preview {
    width: calc(100vw - 24px);
    max-height: calc(100svh - var(--nav-h) - 24px);
    border-radius: 10px;
  }

  .home-page .hero-banner {
    border-radius: 9px;
  }

  .home-principles {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .home-principles article,
  .home-principles article + article {
    min-height: 0;
    padding: 24px 0 32px;
    border-left: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-principle-number {
    margin-bottom: 28px;
  }

  .home-screenshot-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    width: calc(100vw - 48px);
    margin-top: 44px;
  }

  .screenshot-lightbox {
    padding: 8px;
  }

  .screenshot-lightbox-panel {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 8px;
  }

  .screenshot-lightbox-header,
  .screenshot-lightbox-controls {
    min-height: 48px;
    padding: 8px 10px;
  }

  .screenshot-lightbox-header p {
    font-size: 0.78rem;
  }

  .screenshot-lightbox-image-shell {
    padding: 8px;
  }

  .screenshot-lightbox-image-shell img {
    max-height: calc(100svh - 136px);
  }

  .home-demo-frame {
    margin-top: 42px;
    padding: 6px;
    border-radius: 10px;
  }

  .home-page .demo-video {
    border-radius: 6px;
  }

  .home-trust-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-explore {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 60px;
  }

  .home-explore > span {
    margin: 0 0 6px;
  }

  .home-page #download {
    padding: 96px 0;
  }

  .footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .home-page #hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .home-page .hero-tagline {
    max-width: 300px;
  }

  .home-facts li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
