/* ============================================================================
 * NASDroid — MONOLITH Tactile Hardware Design System (Alabaster Ceramic / Satin Obsidian)
 * Exact visual parity with android-app Theme.kt & embedded WebUI Craft studio palette.
 * ============================================================================ */

:root,
html[data-theme="ceramic"] {
  --canvas: #F3F2EE;
  --canvas-tint: #ECEAE4;
  --surface: #FFFFFF;
  --surface-hover: #FCFBF9;
  --well: #EAE8E3;
  --well-deep: #E2DFD8;
  --nav-bg: rgba(243, 242, 238, 0.84);
  --divider: rgba(15, 23, 42, 0.08);
  --outline: rgba(15, 23, 42, 0.12);
  --outline-strong: rgba(15, 23, 42, 0.20);
  --slab-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 1px 2px rgba(24, 25, 28, 0.04),
    0 10px 28px -12px rgba(24, 25, 28, 0.08);
  --slab-shadow-lg:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 2px 6px rgba(24, 25, 28, 0.05),
    0 24px 52px -20px rgba(24, 25, 28, 0.14);
  --well-shadow:
    0 1px 2px rgba(24, 25, 28, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.72);
  --chassis-bg: linear-gradient(165deg, #FFFFFF 0%, #F4F2EC 58%, #E9E6DE 100%);
  --chassis-edge: rgba(24, 25, 28, 0.12);

  --signal: #E0511B;
  --signal-hover: #CC4512;
  --signal-soft: rgba(224, 81, 27, 0.11);
  --signal-glow: rgba(224, 81, 27, 0.34);
  --emerald: #0E9F6E;
  --emerald-soft: rgba(14, 159, 110, 0.12);
  --emerald-glow: rgba(14, 159, 110, 0.45);
  --indigo: #4F46E5;
  --indigo-soft: rgba(79, 70, 229, 0.10);
  --amber: #D97706;
  --amber-soft: rgba(217, 119, 6, 0.12);
  --danger: #DC2626;
  --danger-soft: rgba(220, 38, 38, 0.11);

  --text: #18191C;
  --text-2: #52555E;
  --text-3: #84868E;
  --grid-dot: rgba(24, 25, 28, 0.055);
  --aura-rgb: 14, 159, 110;
  --aura-copper-rgb: 224, 81, 27;
  color-scheme: light;
}

html[data-theme="obsidian"] {
  --canvas: #090B10;
  --canvas-tint: #0D1017;
  --surface: #151A24;
  --surface-hover: #19202D;
  --well: #10131B;
  --well-deep: #0C0F16;
  --nav-bg: rgba(9, 11, 16, 0.82);
  --divider: rgba(255, 255, 255, 0.065);
  --outline: rgba(255, 255, 255, 0.095);
  --outline-strong: rgba(255, 255, 255, 0.17);
  --slab-shadow:
    0 1px 0 rgba(255, 255, 255, 0.065) inset,
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 14px 34px -14px rgba(0, 0, 0, 0.65);
  --slab-shadow-lg:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 28px 64px -18px rgba(0, 0, 0, 0.82);
  --well-shadow:
    0 1px 3px rgba(0, 0, 0, 0.42) inset,
    0 1px 0 rgba(255, 255, 255, 0.04);
  --chassis-bg: linear-gradient(165deg, #1A202D 0%, #121620 55%, #0C0F16 100%);
  --chassis-edge: rgba(255, 255, 255, 0.11);

  --signal: #FF6422;
  --signal-hover: #FF753B;
  --signal-soft: rgba(255, 100, 34, 0.15);
  --signal-glow: rgba(255, 100, 34, 0.45);
  --emerald: #2CE3A0;
  --emerald-soft: rgba(44, 227, 160, 0.14);
  --emerald-glow: rgba(44, 227, 160, 0.52);
  --indigo: #818CF8;
  --indigo-soft: rgba(129, 140, 248, 0.15);
  --amber: #F5A524;
  --amber-soft: rgba(245, 165, 36, 0.15);
  --danger: #F04D4D;
  --danger-soft: rgba(240, 77, 77, 0.16);

  --text: #F2F0EC;
  --text-2: #A4ABB8;
  --text-3: #6C7485;
  --grid-dot: rgba(255, 255, 255, 0.04);
  --aura-rgb: 44, 227, 160;
  --aura-copper-rgb: 255, 100, 34;
  color-scheme: dark;
}

/* Bilingual instant toggle — zero FOUC */
html[data-lang="zh"] .i18n-en { display: none !important; }
html[data-lang="en"] .i18n-zh { display: none !important; }

/* Theme-matched 3D hardware emblem swap */
html[data-theme="ceramic"] .emblem-obsidian { display: none !important; }
html[data-theme="obsidian"] .emblem-ceramic { display: none !important; }

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--canvas);
}

body {
  margin: 0;
  background-color: var(--canvas);
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  transition: background-color 220ms ease, color 220ms ease;
  overflow-x: hidden;
}

.mono {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================================
 * Navigation Bar — Flush Precision Instrument Rail
 * ============================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--divider);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  object-fit: contain;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--well);
  border: 1px solid var(--divider);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}

.nav-links a {
  transition: color 150ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Recessed segmented instrument switch for Language & Finish */
.seg-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 11px;
  background: var(--well);
  box-shadow: var(--well-shadow);
  border: 1px solid var(--divider);
  gap: 2px;
}

.seg-btn {
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.seg-btn:hover {
  color: var(--text);
}

.seg-btn.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.swatch {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(128, 128, 128, 0.35);
}

.swatch-ceramic { background: linear-gradient(135deg, #FFFFFF, #DFDDD5); }
.swatch-obsidian { background: linear-gradient(135deg, #273043, #090B10); }

.lang-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px 0 9px;
  height: 34px;
  border-radius: 11px;
  background: var(--well);
  box-shadow: var(--well-shadow);
  border: 1px solid var(--divider);
  color: var(--text-2);
}

.lang-wrap svg {
  flex-shrink: 0;
  opacity: 0.78;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  padding-right: 12px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 5px) 52%, calc(100% - 1px) 52%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.lang-select option {
  background: var(--surface);
  color: var(--text);
}

/* ============================================================================
 * Tactile Surfaces, Wells, LEDs, Buttons, Mechanical Rockers
 * ============================================================================ */
.slab {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 22px;
  box-shadow: var(--slab-shadow);
  transition: background-color 220ms ease, border-color 220ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.well {
  background: var(--well);
  border: 1px solid var(--divider);
  border-radius: 14px;
  box-shadow: var(--well-shadow);
}

.led {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
  background: var(--text-3);
}

.led-emerald {
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald-glow);
}

.led-signal {
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal-glow);
}

.led-pulse {
  animation: ledPulse 2.8s ease-in-out infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--signal);
  color: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 8px 22px -6px var(--signal-glow);
}

.btn-primary:hover {
  background: var(--signal-hover);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32) inset,
    0 12px 28px -6px var(--signal-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--outline);
  box-shadow: var(--slab-shadow);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--outline-strong);
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 13px;
}

/* Mechanical Braun / Teenage Engineering Rocker Switch */
.rocker {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--outline);
  background: var(--well-deep);
  box-shadow: var(--well-shadow);
  padding: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background-color 180ms ease, border-color 180ms ease;
  flex-shrink: 0;
}

.rocker-thumb {
  width: 19px;
  height: 18px;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--outline);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(0);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}

.rocker-bar {
  width: 3px;
  height: 9px;
  border-radius: 2px;
  background: var(--text-3);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.rocker[aria-checked="true"] {
  border-color: rgba(14, 159, 110, 0.36);
  background: var(--emerald-soft);
}

.rocker[aria-checked="true"] .rocker-thumb {
  transform: translateX(19px);
}

.rocker[aria-checked="true"] .rocker-bar {
  background: var(--emerald);
  box-shadow: 0 0 7px var(--emerald-glow);
}

/* ============================================================================
 * Hero Section — Asymmetric Hardware Editorial Split
 * ============================================================================ */
.hero {
  padding: 58px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--outline);
  box-shadow: var(--slab-shadow);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 22px;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.7vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}

.hero-title .accent {
  color: var(--signal);
}

.hero-sub {
  margin: 0 0 30px;
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 540px;
}

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

.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 10px;
  background: var(--well);
  border: 1px solid var(--divider);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
}

/* Real NASDroid App Drive Screen Replica */
.device-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-chassis {
  width: 100%;
  max-width: 376px;
  padding: 12px;
  border-radius: 38px;
  background: var(--chassis-bg);
  border: 1px solid var(--chassis-edge);
  box-shadow: var(--slab-shadow-lg);
  position: relative;
}

.device-screen {
  position: relative;
  border-radius: 28px;
  background: var(--canvas);
  border: 1px solid var(--divider);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-body {
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-emblem {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: contain;
  flex-shrink: 0;
}

.app-title {
  font-size: 16.5px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.app-ip-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-3);
  font-size: 11px;
  cursor: pointer;
}

.app-ip-btn.copied {
  color: var(--emerald);
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.app-dl-pill {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--outline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.app-power-pill {
  height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(14, 159, 110, 0.28);
  background: var(--emerald-soft);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.app-power-pill.is-paused {
  background: var(--emerald);
  color: #FFFFFF;
  border-color: transparent;
}

.app-power-pill.is-paused .led {
  display: none;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 18px;
  padding: 13px 14px;
  box-shadow: var(--slab-shadow);
}

.app-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-card-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-3);
}

.app-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.app-used-pill {
  font-size: 10px;
  font-weight: 650;
  color: var(--text-2);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--well);
}

.app-storage-val {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
}

.app-storage-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.app-storage-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

.app-storage-total {
  font-size: 11.5px;
  color: var(--text-3);
  margin-left: 2px;
}

.dev-bar-track {
  margin-top: 10px;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: var(--well);
  overflow: hidden;
  display: flex;
  gap: 2px;
  padding: 1px;
}

.dev-bar-seg {
  height: 100%;
  border-radius: 999px;
}

.app-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
}

.app-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-3);
  white-space: nowrap;
}

.app-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  flex-shrink: 0;
}

.app-metrics-well {
  margin-top: 9px;
  padding: 9px 6px;
  border-radius: 12px;
  background: var(--well);
  box-shadow: var(--well-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.25fr;
  text-align: center;
  gap: 2px;
}

.app-metric-v {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.app-metric-k {
  font-size: 9.5px;
  color: var(--text-3);
  margin-top: 2px;
}

.app-svc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}

.app-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.app-svc-tile {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--slab-shadow);
}

.app-svc-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-svc-name {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text);
}

.app-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 10px;
  background: var(--surface);
  border-top: 1px solid var(--divider);
}

.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-3);
  position: relative;
}

.app-tab.is-active {
  color: var(--signal);
}

.app-tab.is-active::after {
  content: "";
  width: 14px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--signal);
  margin-top: 1px;
}

/* ============================================================================
 * Sections & Typography
 * ============================================================================ */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}

.section-desc {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-2);
}

/* ============================================================================
 * 8-Protocol Precision Matrix
 * ============================================================================ */
.proto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proto-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proto-card:hover {
  transform: translateY(-2px);
  border-color: var(--outline-strong);
}

.proto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.proto-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--well);
  border: 1px solid var(--divider);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.proto-port-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--well);
}

.proto-name {
  margin: 2px 0 0;
  font-size: 15.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.proto-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}

.proto-clients {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--divider);
  font-size: 11px;
  color: var(--text-3);
}

.suite-banner {
  margin-top: 16px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.suite-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.suite-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--signal-soft);
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.suite-item h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 700;
}

.suite-item p {
  margin: 0;
  font-size: 12.8px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ============================================================================
 * Privacy & Zero-Account Architecture Grid
 * ============================================================================ */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.arch-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald);
}

.arch-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.arch-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.arch-code {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--well);
  border: 1px solid var(--divider);
  font-size: 12px;
  color: var(--text-2);
  overflow-x: auto;
}

/* ============================================================================
 * Hardware Craft 3-Col Highlights
 * ============================================================================ */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.craft-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.craft-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--signal);
  line-height: 1.1;
}

.craft-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 750;
}

.craft-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================================
 * Pricing / Plans Section
 * ============================================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.plan-card.featured {
  border-color: var(--signal);
  box-shadow:
    var(--slab-shadow-lg),
    0 0 0 1px var(--signal-soft);
}

.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--well);
  color: var(--text-2);
}

.plan-card.featured .plan-tag {
  background: var(--signal-soft);
  color: var(--signal);
}

.plan-name {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plan-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}

.plan-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-2);
}

.plan-list {
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-2);
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
}

.plan-foot {
  margin-top: auto;
  padding-top: 8px;
}

/* ============================================================================
 * FAQ Accordion
 * ============================================================================ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--well);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-2);
  flex-shrink: 0;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--signal-soft);
  color: var(--signal);
}

.faq-body {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--divider);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================================
 * CTA Band & Footer
 * ============================================================================ */
.cta-band {
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 640px;
}

.cta-emblem {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  object-fit: contain;
  flex-shrink: 0;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.cta-band p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}

.footer {
  border-top: 1px solid var(--divider);
  padding: 36px 0 48px;
  margin-top: 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-2);
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--signal);
}

/* ============================================================================
 * Legal / Compliance / Abuse Subpages (/privacy, /terms, /abuse)
 * ============================================================================ */
.doc-wrap {
  padding: 48px 0 72px;
  max-width: 860px;
  margin: 0 auto;
}

.doc-header {
  margin-bottom: 28px;
}

.doc-header h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-3);
}

.doc-card {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.doc-card h2 {
  margin: 6px 0 8px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.doc-card p {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.72;
}

.doc-card ul {
  margin: 0 0 10px;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 14.2px;
  line-height: 1.7;
}

.doc-card li {
  margin-bottom: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.2px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--divider);
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}

.data-table th {
  background: var(--well);
  font-weight: 700;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td {
  color: var(--text-2);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.pill-green {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--emerald-soft);
  color: var(--emerald);
}

.pill-amber {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--amber-soft);
  color: var(--amber);
}

/* Abuse Report Form */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.input,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--well);
  border: 1px solid var(--outline);
  box-shadow: var(--well-shadow);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input:focus,
.textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-soft);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.cat-btn {
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--well);
  border: 1px solid var(--divider);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.cat-btn.is-active {
  background: var(--signal-soft);
  border-color: var(--signal);
}

.cat-btn strong {
  display: block;
  font-size: 13px;
  color: var(--text);
}

.cat-btn span {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 2px;
}

.alert-box {
  padding: 14px 16px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.55;
  display: none;
}

.alert-box.show { display: block; }
.alert-ok { background: var(--emerald-soft); border: 1px solid rgba(14, 159, 110, 0.35); color: var(--emerald); }
.alert-err { background: var(--danger-soft); border: 1px solid rgba(220, 38, 38, 0.35); color: var(--danger); }

/* ============================================================================
 * Responsive Breakpoints
 * ============================================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .proto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .suite-banner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .brand-sub { display: none; }
  .hero { padding: 34px 0 52px; }
  .section { padding: 50px 0; }
  .arch-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .proto-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-card { padding: 22px 18px; }
  .cta-band { padding: 26px 22px; }
  .cta-left { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .seg-btn { padding: 5px 8px; font-size: 11.5px; }
  .seg-label-long { display: none; }
  .status-pill { font-size: 11px; gap: 6px; padding: 5px 11px 5px 9px; }
  .hero-cta .btn { width: 100%; }
  .data-table { display: block; overflow-x: auto; }
}
