/* ==========================================================================
   Infosafe — Editorial Alabaster & Obsidian Stylesheet
   ========================================================================== */

:root {
  --bg-ground: #f6f7f9;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f0f2f6;
  --bg-obsidian: #0c0e13;
  --bg-obsidian-card: #13161e;
  --bg-obsidian-elevated: #1a1e29;

  --ink-primary: #111318;
  --ink-secondary: #434a57;
  --ink-muted: #5d6575;
  --ink-on-dark: #f1f3f7;
  --ink-on-dark-muted: #94a0b4;

  --border-light: #e2e5ec;
  --border-dark: #252b3b;

  --accent-aes: #4f46e5;
  --accent-rsa: #0284c7;
  --accent-stego: #7c3aed;
  --accent-verified: #059669;
  --accent-amber: #d97706;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "New York", "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container-max: 1180px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: clip;
}

/* Prevent intrinsic min-content widths from stretching grid tracks past mobile viewports */
.hero-grid > *,
.pioneer-grid > *,
.workflow-grid > *,
.stego-grid > *,
.toolkit-top > *,
.ownership-split > *,
.pricing-grid > *,
.install-band > *,
.faq-grid > *,
.legal-layout > *,
.footer-grid > *,
.tool-row > * {
  min-width: 0;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-primary);
  background-color: var(--bg-ground);
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(246, 247, 249, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.brand-owl {
  height: 36px;
  width: auto;
  display: block;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.brand-parent {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.16s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--ink-primary);
}

/* ==========================================================================
   Buttons & Platform Icons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background-color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: #12151c;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #232836;
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: #c5cad6;
  background-color: #ffffff;
}

.btn-light {
  background-color: #ffffff;
  color: #12151c;
}

.btn-light:hover {
  background-color: #eceef3;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.platform-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: inline-block;
}

/* ==========================================================================
   Typography Helpers
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}

.eyebrow-dark {
  color: var(--ink-on-dark-muted);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  margin: 0;
  color: inherit;
}

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */

.hero {
  padding: 68px 0 84px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-ground);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 52px;
  align-items: center;
}

.hero-title {
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.07;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-copy {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0 0 28px;
  max-width: 510px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.hero-meta {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0 0 12px;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.coming-soon-row {
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.coming-soon-label {
  font-weight: 500;
}

.coming-soon-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-secondary);
  font-weight: 500;
}

.hero-media {
  position: relative;
}

.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-wrap {
  aspect-ratio: 16 / 10.5;
}

.hero-transform-bar {
  margin-top: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}

.transform-node {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.transform-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.transform-sub {
  font-size: 11.5px;
  color: var(--ink-muted);
  display: block;
}

.transform-arrow {
  color: var(--ink-muted);
  display: flex;
  align-items: center;
}

/* ==========================================================================
   2. Pioneer Statement (Obsidian Band)
   ========================================================================== */

.pioneer-band {
  background: var(--bg-obsidian);
  color: var(--ink-on-dark);
  padding: 92px 0;
}

.pioneer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.pioneer-heading {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.pioneer-body {
  color: var(--ink-on-dark-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.pioneer-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  aspect-ratio: 4 / 3;
}

.pioneer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facts-strip {
  margin-top: 56px;
  padding-top: 38px;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.fact-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 6px;
}

.fact-caption {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   3. How Locking & Sharing Works
   ========================================================================== */

.workflow-section {
  padding: 92px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.section-title {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
  max-width: 640px;
}

.section-subtitle {
  max-width: 580px;
  color: var(--ink-muted);
  font-size: 15.5px;
  margin: 12px 0 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.workflow-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.workflow-header {
  margin-bottom: 24px;
}

.step-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-tab {
  text-align: left;
  background: var(--bg-ground);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.step-tab:hover {
  border-color: #c5cad6;
}

.step-tab[aria-selected="true"] {
  background: var(--bg-surface);
  border-color: #12151c;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.step-tab-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.step-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
}

.step-tab[aria-selected="true"] .step-index {
  color: var(--accent-aes);
}

.step-tab-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-primary);
}

.step-tab-desc {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.58;
  color: var(--ink-secondary);
}

.workflow-diagram-box {
  margin-top: 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-ground);
  padding: 18px 20px;
}

.workflow-diagram-box svg {
  width: 100%;
  height: auto;
  display: block;
}

.diagram-caption {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 10px 0 0;
}

.workflow-photo-tall {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 100%;
  min-height: 540px;
}

.workflow-photo-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   4. Steganography Spotlight (Balanced Heights)
   ========================================================================== */

.stego-section {
  padding: 92px 0;
  background: var(--bg-ground);
  border-bottom: 1px solid var(--border-light);
}

.stego-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: stretch;
}

.stego-media-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stego-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #0c0e13;
  flex: 1;
  min-height: 360px;
}

.stego-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stego-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: linear-gradient(
    to bottom,
    rgba(12, 14, 19, 0.2) 0%,
    rgba(12, 14, 19, 0.08) 40%,
    rgba(12, 14, 19, 0.48) 100%
  );
}

.stego-stage.show-map .stego-overlay {
  opacity: 1;
}

.stego-controls {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stego-controls-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stego-interact-hint {
  font-size: 13px;
  color: var(--ink-secondary);
  margin: 0;
}

.segmented-control {
  display: inline-flex;
  background: var(--bg-ground);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 3px;
}

.segmented-btn {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.segmented-btn[aria-pressed="true"] {
  background: #12151c;
  color: #ffffff;
}

.stego-caption-note {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.stego-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stego-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stego-point {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.stego-point-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-stego);
  margin-top: 2px;
}

.stego-point strong {
  display: block;
  font-size: 14.8px;
  color: var(--ink-primary);
  margin-bottom: 3px;
}

.stego-point span {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.58;
}

/* ==========================================================================
   5. Built-In Workbench & Tools (Balanced Left & Right Panel Height)
   ========================================================================== */

.toolkit-section {
  padding: 92px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.toolkit-header {
  margin-bottom: 36px;
}

.toolkit-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 60px;
}

.toolkit-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 100%;
  min-height: 440px;
}

.toolkit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-rows {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.tool-row:first-child {
  border-top: 1px solid var(--border-light);
}

.tool-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-light);
  background: var(--bg-ground);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
}

.tool-row h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tool-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.tool-caveat {
  margin-top: 6px !important;
  font-size: 12.5px !important;
  color: var(--ink-muted) !important;
}

.ownership-split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: stretch;
  background: var(--bg-ground);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.ownership-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 100%;
  min-height: 320px;
}

.ownership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ownership-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ownership-copy h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ownership-copy p {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-secondary);
  margin: 0 0 12px;
}

.ownership-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ownership-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.8px;
  color: var(--ink-primary);
}

.ownership-list li svg {
  flex-shrink: 0;
  transform: translateY(2px);
  color: var(--accent-verified);
}

/* ==========================================================================
   6. Comparison Matrix
   ========================================================================== */

.compare-section {
  padding: 92px 0;
  background: var(--bg-ground);
  border-bottom: 1px solid var(--border-light);
}

.compare-wrap {
  margin-top: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  vertical-align: top;
}

.compare-table thead th {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  background: var(--bg-surface-soft);
}

.compare-table th.col-infosafe,
.compare-table td.col-infosafe {
  background: rgba(18, 21, 28, 0.025);
  color: var(--ink-primary);
  font-weight: 500;
}

.compare-table thead th.col-infosafe {
  background: #12151c;
  color: #ffffff;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   7. Pricing & Download
   ========================================================================== */

.pricing-section {
  padding: 92px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.pricing-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.plan-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  background: var(--bg-ground);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card-pro {
  background: var(--bg-obsidian);
  border-color: var(--border-dark);
  color: var(--ink-on-dark);
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.plan-card-pro .plan-tagline {
  color: var(--ink-on-dark-muted);
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-period {
  font-size: 14px;
  color: var(--ink-muted);
}

.plan-card-pro .plan-period {
  color: var(--ink-on-dark-muted);
}

.plan-subnote {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 0 0 24px;
  min-height: 20px;
}

.plan-card-pro .plan-subnote {
  color: #34d399;
}

.plan-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 20px 0 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-card-pro .plan-features {
  border-top-color: var(--border-dark);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.plan-features svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.install-band {
  margin-top: 48px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  background: var(--bg-ground);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.install-band h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.install-band p {
  font-size: 15px;
  color: var(--ink-secondary);
  margin: 0 0 22px;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.install-badge-col {
  justify-self: center;
  text-align: center;
}

.install-badge-icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  margin: 0 auto 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

/* ==========================================================================
   8. FAQ
   ========================================================================== */

.faq-section {
  padding: 92px 0;
  background: var(--bg-ground);
  border-bottom: 1px solid var(--border-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-primary);
}

.faq-btn svg {
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform 0.2s ease;
}

.faq-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.faq-answer[hidden] {
  display: none;
}

/* ==========================================================================
   Footer & Loopstates Watermark (Aligned with Salescale)
   ========================================================================== */

.site-footer {
  background: var(--bg-obsidian);
  color: var(--ink-on-dark);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand p {
  color: var(--ink-on-dark-muted);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 340px;
  margin: 14px 0 0;
}

.footer-col h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-on-dark-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 13.8px;
  color: var(--ink-on-dark);
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-watermark-wrap {
  padding: 8px 0 24px;
  overflow: hidden;
  user-select: none;
}

.footer-watermark-svg {
  display: block;
  width: 100%;
  height: auto;
}

.footer-watermark-svg text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 175px;
  letter-spacing: -4px;
  fill: var(--bg-obsidian);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 2.2;
  paint-order: stroke fill;
  stroke-linejoin: round;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-on-dark-muted);
}

.footer-bottom a {
  color: var(--ink-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */

.legal-hero {
  background: var(--bg-obsidian);
  color: var(--ink-on-dark);
  padding: 56px 0 50px;
}

.legal-hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 10px;
}

.legal-meta {
  font-size: 14px;
  color: var(--ink-on-dark-muted);
}

.legal-main {
  padding: 56px 0 88px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-toc h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.legal-toc a {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.4;
}

.legal-toc a:hover {
  color: var(--ink-primary);
  text-decoration: underline;
}

.legal-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  min-width: 0;
}

.legal-article section + section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.legal-article h2 {
  font-size: 21px;
  margin-bottom: 12px;
}

.legal-article h3 {
  font-size: 16px;
  margin: 18px 0 8px;
}

.legal-article p,
.legal-article li {
  font-size: 14.8px;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.legal-article ul {
  padding-left: 20px;
  margin: 10px 0;
}

.legal-article li + li {
  margin-top: 6px;
}

.legal-callout {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-ground);
  border-left: 3px solid #12151c;
  font-size: 14px;
  color: var(--ink-primary);
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 13.8px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-surface-soft);
  color: var(--ink-primary);
  font-weight: 600;
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile First-Class Polish)
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid,
  .pioneer-grid,
  .workflow-grid,
  .stego-grid,
  .toolkit-top,
  .ownership-split,
  .pricing-grid,
  .install-band,
  .faq-grid,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .facts-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .workflow-photo-tall,
  .toolkit-photo,
  .ownership-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .stego-stage {
    flex: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .install-badge-col {
    justify-self: start;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .install-badge-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .btn-sm {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .hero {
    padding: 40px 0 52px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .pioneer-band,
  .workflow-section,
  .stego-section,
  .toolkit-section,
  .compare-section,
  .pricing-section,
  .faq-section {
    padding: 64px 0;
  }

  .hero-transform-bar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .transform-arrow {
    transform: rotate(90deg);
    justify-content: flex-start;
  }

  .facts-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ownership-split,
  .install-band,
  .plan-card,
  .legal-article {
    padding: 22px;
  }

  .workflow-photo-tall,
  .toolkit-photo,
  .ownership-photo {
    min-height: 0;
  }

  .footer-watermark-svg text {
    font-size: 185px;
  }
}

@media (max-width: 460px) {
  .brand-owl {
    height: 30px;
  }

  .brand-name {
    font-size: 16px;
  }

  .nav-actions .btn-sm span {
    display: none;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
  }

  .platform-row {
    flex-direction: column;
    align-items: stretch;
  }

  .platform-row .btn,
  .platform-chip {
    justify-content: center;
  }
}
