/* ==========================================================================
   LedgeOps Labs — Assets Quota Guard
   Executive FinOps Design System (Zero external dependencies, 100 Lighthouse)
   ========================================================================== */

:root {
  --bg-canvas: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-elevated: #1e293b;

  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;

  --brand-blue: #0052cc;
  --brand-blue-hover: #0043a8;
  --brand-blue-soft: #eff6ff;
  --brand-blue-border: #bfdbfe;

  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-soft: #ecfdf5;
  --emerald-border: #a7f3d0;

  --amber-700: #b45309;
  --amber-500: #f59e0b;
  --amber-soft: #fffbeb;
  --amber-border: #fde68a;

  --red-700: #b91c1c;
  --red-600: #dc2626;
  --red-soft: #fef2f2;
  --red-border: #fecaca;

  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --container-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--brand-blue-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 82, 204, 0.35);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink-900);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--ink-900);
  margin-top: 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

code,
pre,
.mono {
  font-family: var(--font-mono);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding: 80px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #0b2559 100%);
  color: #e2e8f0;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--ink-600);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  border: 1px solid var(--brand-blue-border);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.eyebrow-emerald {
  color: var(--emerald-700);
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
}

.eyebrow-amber {
  color: var(--amber-700);
  background: var(--amber-soft);
  border-color: var(--amber-border);
}

/* Sticky Top Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-900);
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-link:hover {
  color: var(--ink-900);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-vendor {
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--ink-600);
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: var(--ink-700);
  font-size: 0.93rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: var(--ink-900);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 9px 15px;
  font-size: 0.87rem;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1.02rem;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--ink-900);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-white {
  background-color: #ffffff;
  color: var(--brand-blue);
  font-weight: 800;
}

.btn-white:hover {
  background-color: #f8fafc;
  color: var(--brand-blue-hover);
}

.btn-ghost-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Hero Section */
.hero {
  padding: 60px 0 76px;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 62%);
  border-bottom: 1px solid var(--border-light);
}

.trust-pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--ink-800);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.trust-pill .dot-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
}

.trust-pill .dot-blue {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.hero-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
  color: var(--ink-600);
  max-width: 790px;
  margin: 20px auto 30px;
  line-height: 1.62;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-microcopy {
  font-size: 0.84rem;
  color: var(--ink-600);
  margin-bottom: 44px;
}

/* Interactive Live UI Preview Showcase */
.preview-shell {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #334155;
  color: #f8fafc;
}

.preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #334155;
}

.preview-window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #cbd5e1;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.preview-scenario-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #1e293b;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.scenario-btn {
  background: transparent;
  color: #cbd5e1;
  border: none;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.scenario-btn[aria-pressed="true"] {
  background: var(--brand-blue);
  color: #ffffff;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.ui-card {
  background: #ffffff;
  color: var(--ink-900);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--border-light);
}

.ui-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.ui-card-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0;
}

.ui-card-sub {
  font-size: 0.78rem;
  color: var(--ink-600);
  margin: 2px 0 0;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-red {
  background: var(--red-soft);
  color: var(--red-700);
  border: 1px solid var(--red-border);
}

.badge-amber {
  background: var(--amber-soft);
  color: var(--amber-700);
  border: 1px solid var(--amber-border);
}

.badge-emerald {
  background: var(--emerald-soft);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-border);
}

.badge-blue {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

/* Gadget Gauge Bar */
.gauge-meter-wrap {
  margin-bottom: 16px;
}

.gauge-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.gauge-track {
  width: 100%;
  height: 12px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.gauge-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.gauge-fill-critical {
  background: linear-gradient(90deg, #f59e0b 0%, #dc2626 100%);
}

.gauge-fill-warning {
  background: #f59e0b;
}

.gauge-fill-ok {
  background: var(--emerald-500);
}

.gadget-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.gadget-kpi-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.gadget-kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-600);
  display: block;
}

.gadget-kpi-val {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ink-900);
  display: block;
  margin-top: 2px;
}

.gadget-kpi-val.is-danger {
  color: var(--red-700);
}

.gadget-kpi-val.is-safe {
  color: var(--emerald-700);
}

.spike-alert-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--amber-700);
  font-size: 0.8rem;
  font-weight: 600;
}

.spike-alert-strip.is-calm {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
  color: var(--emerald-700);
}

.boss-summary-pre {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-800);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 14px;
}

.boss-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Calculator Widget & Page */
.calc-shell {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
}

.calc-inputs {
  padding: 32px;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border-light);
}

.calc-outputs {
  padding: 32px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.field-group {
  margin-bottom: 22px;
}

.field-group:last-child {
  margin-bottom: 0;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.field-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-900);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--ink-600);
}

.plan-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.plan-pills-4 {
  grid-template-columns: repeat(2, 1fr);
}

.plan-pill-btn {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.plan-pill-btn strong {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-900);
}

.plan-pill-btn span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-600);
}

.plan-pill-btn[aria-pressed="true"] {
  background: var(--brand-blue-soft);
  border-color: var(--brand-blue);
  box-shadow: inset 0 0 0 1px var(--brand-blue);
}

.plan-pill-btn[aria-pressed="true"] strong {
  color: var(--brand-blue);
}

.input-number,
.input-select {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-900);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.range-slider {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--brand-blue);
  cursor: pointer;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.switch-input {
  width: 44px;
  height: 24px;
  accent-color: var(--brand-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.kpi-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.kpi-card {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.kpi-card-danger {
  background: var(--red-soft);
  border-color: var(--red-border);
}

.kpi-card-emerald {
  background: var(--emerald-soft);
  border-color: var(--emerald-border);
}

.kpi-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.kpi-card-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 6px 0 2px;
  display: block;
}

.kpi-card-danger .kpi-card-value {
  color: var(--red-700);
}

.kpi-card-emerald .kpi-card-value {
  color: var(--emerald-700);
}

.kpi-card-sub {
  font-size: 0.8rem;
  color: var(--ink-600);
}

.roi-highlight-banner {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.roi-highlight-banner .roi-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a7f3d0;
}

.roi-highlight-banner .roi-big {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 3px;
}

.lockout-banner {
  background: var(--red-soft);
  border: 2px solid var(--red-600);
  color: var(--red-700);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

.lockout-banner strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

/* Feature & Retention Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}

.card-elevated {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  margin-bottom: 16px;
  font-weight: 800;
}

.card-icon-emerald {
  background: var(--emerald-soft);
  color: var(--emerald-700);
}

.card-icon-amber {
  background: var(--amber-soft);
  color: var(--amber-700);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--ink-700);
  font-size: 0.96rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald-700);
  font-weight: 800;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Comparison Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}

.comp-table th,
.comp-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.93rem;
  vertical-align: top;
}

.comp-table thead th {
  background: var(--bg-subtle);
  color: var(--ink-900);
  font-weight: 800;
  font-size: 0.92rem;
}

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

.comp-table .col-highlight {
  background: #f4f8ff;
  border-left: 2px solid var(--brand-blue);
  border-right: 2px solid var(--brand-blue);
}

.comp-table thead .col-highlight {
  background: var(--brand-blue);
  color: #ffffff;
}

/* Pricing Cards */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.pricing-card-featured {
  border: 2px solid var(--brand-blue);
  box-shadow: var(--shadow-md);
  position: relative;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.1;
  margin: 12px 0 6px;
}

.price-tag span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-600);
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--ink-700);
  font-size: 0.96rem;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* AQL Code Cards */
.aql-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}

.aql-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg-dark);
  color: #f8fafc;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin: 12px 0;
  overflow-x: auto;
}

.aql-code-box code {
  font-size: 0.88rem;
  color: #93c5fd;
  white-space: pre-wrap;
  word-break: break-word;
}

.copy-btn {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.copy-btn.is-copied {
  background: var(--emerald-600);
  border-color: var(--emerald-600);
}

/* Legal & Prose Pages */
.prose h2 {
  font-size: 1.45rem;
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-light);
}

.prose h3 {
  font-size: 1.12rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1.1rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* Footer */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  padding: 56px 0 36px;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-900);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: var(--ink-600);
}

.footer-col a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.83rem;
}

/* Utilities */
.hidden {
  display: none !important;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .preview-grid,
  .calc-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .calc-inputs {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-strong);
    padding: 12px 24px 18px;
    box-shadow: var(--shadow-md);
  }

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

  .nav-links li {
    width: 100%;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

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

  .kpi-cards-grid,
  .gadget-kpis,
  .plan-pills {
    grid-template-columns: 1fr;
  }

  .calc-inputs,
  .calc-outputs,
  .card,
  .pricing-card {
    padding: 22px;
  }

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

/* Print Friendly for /security Infosec Sign-Off */
@media print {
  .site-header,
  .site-footer,
  .no-print {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000000;
  }

  .section {
    padding: 20px 0;
  }

  .card,
  .table-wrap {
    box-shadow: none;
    border: 1px solid #94a3b8;
    break-inside: avoid;
  }
}
