:root {
  --obsidian: #050807;
  --obsidian-2: #0b120f;
  --obsidian-card: #0e1713;
  --forest: #10291f;
  --forest-2: #173a2b;
  --green: #b9f071;
  --gold: #e0bd6b;
  --gold-soft: #f4dca0;
  --silver: #d9e2ec;
  --paper: #f8faf6;
  --ink: #15251f;
  --muted: #55665c;
  --line: #dbe7d8;
  --card: #ffffff;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

button {
  font: inherit;
  cursor: pointer;
}

p, h1, h2, h3, h4, li, td, th, code {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -70px;
  background: var(--green);
  color: var(--forest);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 60;
}

.skip:focus {
  top: 10px;
}

.frame {
  width: min(1220px, calc(100% - 44px));
  margin-inline: auto;
}

/* ============================================================
   CINEMATIC OBSIDIAN HERO + 3D SILVER & GOLD MÖBIUS STAGE
   ============================================================ */
.mast {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 60% at 72% 46%, rgba(224, 189, 107, 0.11), transparent 65%),
    radial-gradient(ellipse 58% 62% at 22% 18%, rgba(16, 41, 31, 0.72), transparent 62%),
    linear-gradient(160deg, var(--obsidian) 0%, #070d0b 52%, #0c1712 100%);
  color: #f6faf7;
  border-bottom: 1px solid rgba(224, 189, 107, 0.22);
}

#mobius-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* Subtle directional obsidian vignette so typography stays AAA contrast over bright rotating metal */
.mast-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.74) 0%, rgba(5, 8, 7, 0.42) 38%, rgba(5, 8, 7, 0.04) 64%, rgba(5, 8, 7, 0.20) 100%),
    linear-gradient(180deg, rgba(5, 8, 7, 0.44) 0%, transparent 18%, transparent 84%, rgba(5, 8, 7, 0.70) 100%);
}

.header-bar {
  position: relative;
  z-index: 20;
  background: rgba(5, 8, 7, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 226, 236, 0.12);
}

.header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green) 0%, #dcf8ad 55%, var(--gold) 100%);
  color: var(--obsidian);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(185, 240, 113, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: rgba(217, 226, 236, 0.84);
  transition: color 0.16s ease;
}

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

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 226, 236, 0.2);
  border-radius: 999px;
  padding: 3px;
  font-size: 0.75rem;
}

.lang-switch a {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  color: rgba(217, 226, 236, 0.85);
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch a:hover {
  color: #fff;
}

.lang-switch a.active {
  background: linear-gradient(135deg, var(--green), #d7f79b);
  color: var(--obsidian);
  font-weight: 800;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--green) 0%, #ccf68b 100%);
  color: var(--obsidian);
  box-shadow: 0 10px 28px rgba(185, 240, 113, 0.22);
}

.button.primary:hover {
  background: linear-gradient(135deg, #cbf88a 0%, #e4fbaa 100%);
  box-shadow: 0 14px 32px rgba(185, 240, 113, 0.34);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(217, 226, 236, 0.28);
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(224, 189, 107, 0.65);
}

.button.outline-dark {
  background: #fff;
  color: var(--forest);
  border-color: #c2d4be;
}

.button.outline-dark:hover {
  background: #eff6e8;
  border-color: var(--forest);
}

.button.compact {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 0.82rem;
}

/* Hero Stage */
.hero {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 44px;
  align-items: center;
  padding: 64px 0 78px;
  min-height: 600px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(224, 189, 107, 0.38);
  background: rgba(14, 23, 19, 0.72);
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.71rem;
  font-weight: 800;
  margin: 0 0 18px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.032em;
  font-weight: 760;
  margin: 0 0 20px;
  color: #ffffff;
}

h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--green) 0%, #e7f9b9 48%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: rgba(217, 226, 236, 0.88);
  font-size: 1.06rem;
  line-height: 1.68;
  max-width: 600px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(217, 226, 236, 0.14);
  font-size: 0.82rem;
  color: rgba(217, 226, 236, 0.78);
}

.hero-metrics strong {
  color: var(--green);
  font-weight: 700;
}

/* Floating Obsidian-Glass Telemetry HUD over the Möbius canvas */
.showcase-card {
  background: rgba(8, 13, 11, 0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f3f7f4;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(224, 189, 107, 0.28);
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}

.showcase-title {
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--gold-soft);
  font-weight: 800;
  margin: 0;
}

.showcase-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(185, 240, 113, 0.14);
  color: var(--green);
  border: 1px solid rgba(185, 240, 113, 0.3);
}

.signal-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(217, 226, 236, 0.14);
  border-left: 3px solid #e06a56;
  border-radius: 14px;
  padding: 13px 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.signal-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(224, 189, 107, 0.45);
  transform: translateY(-1px);
}

.signal-item.signal-ok {
  border-left-color: var(--green);
  background: rgba(185, 240, 113, 0.05);
}

.signal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.86rem;
  color: #ffffff;
}

.signal-item p {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: rgba(217, 226, 236, 0.78);
  line-height: 1.48;
}

.signal-code {
  display: block;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(217, 226, 236, 0.12);
  color: var(--silver);
  padding: 7px 9px;
  border-radius: 8px;
}

.showcase-footnote {
  margin: 12px 0 0;
  font-size: 0.75rem;
  color: rgba(217, 226, 236, 0.65);
}

.pill-alert,
.pill-ok,
.pill-warn {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-alert {
  background: rgba(224, 106, 86, 0.18);
  color: #ffafa0;
  border: 1px solid rgba(224, 106, 86, 0.35);
}

.pill-ok {
  background: rgba(185, 240, 113, 0.16);
  color: #d7fa9f;
  border: 1px solid rgba(185, 240, 113, 0.34);
}

.pill-warn {
  background: rgba(224, 189, 107, 0.18);
  color: var(--gold-soft);
  border: 1px solid rgba(224, 189, 107, 0.38);
}

/* Light-surface pill variants */
.section .pill-alert {
  background: #fdecea;
  color: #8c2a1d;
  border-color: #f3c4bd;
}

.section .pill-ok {
  background: #e8f4da;
  color: #274c1d;
  border-color: #c5e2ac;
}

.section .pill-warn {
  background: #fef4e4;
  color: #825314;
  border-color: #ebd0a3;
}

/* Keep dark pills crisp inside the dark X-Ray workbench */
.xray-shell .pill-alert {
  background: rgba(224, 106, 86, 0.18);
  color: #ffb1a3;
  border-color: rgba(224, 106, 86, 0.4);
}

.xray-shell .pill-ok {
  background: rgba(185, 240, 113, 0.16);
  color: #d6fb9c;
  border-color: rgba(185, 240, 113, 0.38);
}

.xray-shell .pill-warn {
  background: rgba(224, 189, 107, 0.18);
  color: var(--gold-soft);
  border-color: rgba(224, 189, 107, 0.42);
}

/* ============================================================
   VERIFIABLE GLOBAL TRUST & COMPLIANCE RIBBON (EU · US · CN)
   ============================================================ */
.trust-ribbon {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

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

.trust-badge {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f5f9f2;
  border: 1px solid var(--line);
  min-width: 0;
}

.trust-badge strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: 0.01em;
}

.trust-badge span {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   SECTIONS & BENTO ARCHITECTURE
   ============================================================ */
.section {
  padding: 72px 0 18px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  font-weight: 800;
  color: #365931;
  margin: 0 0 10px;
}

h2 {
  font-size: clamp(1.78rem, 3.1vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
  margin: 0 0 14px;
  color: var(--ink);
}

.section-lead {
  color: var(--muted);
  max-width: 720px;
  font-size: 1.02rem;
  margin: 0 0 32px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(16, 41, 31, 0.04);
}

.bento-span-4 {
  grid-column: span 4;
}

.bento-span-12 {
  grid-column: span 12;
}

.bento-card.obsidian-bento {
  background:
    radial-gradient(ellipse at 92% 20%, rgba(224, 189, 107, 0.14), transparent 55%),
    linear-gradient(135deg, var(--obsidian) 0%, var(--forest) 100%);
  color: #f4f8f5;
  border-color: rgba(224, 189, 107, 0.28);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.bento-card h3 {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--forest);
}

.bento-card.obsidian-bento h3 {
  color: #fff;
  font-size: 1.28rem;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.bento-card.obsidian-bento p {
  color: rgba(217, 226, 236, 0.84);
}

.bento-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #365931;
  background: #edf5e7;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.obsidian-bento .bento-kicker {
  color: var(--gold-soft);
  background: rgba(224, 189, 107, 0.15);
  border: 1px solid rgba(224, 189, 107, 0.34);
}

.loop-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.loop-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 226, 236, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.82rem;
}

.loop-step strong {
  display: block;
  color: var(--green);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.loop-step span {
  color: rgba(240, 246, 242, 0.9);
}

/* Inline clean code chips */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: #ecf2e8;
  color: var(--forest);
  padding: 1px 6px;
  border-radius: 6px;
}

.mast code,
.xray-shell code,
.obsidian-bento code,
.pricing-card.featured code {
  background: rgba(255, 255, 255, 0.09);
  color: var(--silver);
}

/* ============================================================
   INTERACTIVE STOREFRONT X-RAY WORKBENCH
   ============================================================ */
.xray-shell {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(224, 189, 107, 0.1), transparent 52%),
    linear-gradient(155deg, #070b0a 0%, #0d1612 100%);
  color: #f4f8f5;
  border: 1px solid rgba(224, 189, 107, 0.25);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 24px 60px rgba(8, 16, 12, 0.18);
}

.xray-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(217, 226, 236, 0.14);
}

.xray-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xray-tab {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(217, 226, 236, 0.85);
  border: 1px solid rgba(217, 226, 236, 0.18);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.xray-tab:hover {
  border-color: rgba(224, 189, 107, 0.5);
  color: #fff;
}

.xray-tab.is-active {
  background: linear-gradient(135deg, var(--green), #d4f89a);
  color: var(--obsidian);
  border-color: transparent;
}

.xray-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(224, 189, 107, 0.34);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.xray-toggle button {
  border: 0;
  background: transparent;
  color: rgba(217, 226, 236, 0.82);
  font-size: 0.8rem;
  font-weight: 750;
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
}

.xray-toggle button.is-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--obsidian);
}

.xray-statusbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin: 16px 0;
}

.xray-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.xray-status.is-alert {
  background: rgba(224, 106, 86, 0.18);
  color: #ffb1a3;
  border: 1px solid rgba(224, 106, 86, 0.4);
}

.xray-status.is-ok {
  background: rgba(185, 240, 113, 0.16);
  color: #d6fb9c;
  border: 1px solid rgba(185, 240, 113, 0.4);
}

.xray-status.is-warn {
  background: rgba(224, 189, 107, 0.2);
  color: var(--gold-soft);
  border: 1px solid rgba(224, 189, 107, 0.45);
}

.xray-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: rgba(217, 226, 236, 0.72);
  word-break: break-all;
}

.xray-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.xray-pane {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(217, 226, 236, 0.12);
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
}

.xray-pane h3 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
  margin: 0 0 12px;
}

.dom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dom-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(217, 226, 236, 0.1);
  background: rgba(0, 0, 0, 0.34);
}

.dom-row.dom-alert {
  border-left: 3px solid #e06a56;
  background: rgba(224, 106, 86, 0.1);
}

.dom-row.dom-ok {
  border-left: 3px solid var(--green);
  background: rgba(185, 240, 113, 0.08);
}

.dom-row.dom-warn {
  border-left: 3px solid var(--gold);
  background: rgba(224, 189, 107, 0.1);
}

.dom-tag {
  background: transparent;
  padding: 0;
  color: #fff;
  font-size: 0.78rem;
  white-space: pre-wrap;
}

.dom-note {
  font-size: 0.74rem;
  color: rgba(217, 226, 236, 0.74);
}

.xray-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.matrix-preview {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.matrix-preview th,
.matrix-preview td {
  text-align: left;
  padding: 9px 7px;
  border-bottom: 1px solid rgba(217, 226, 236, 0.12);
}

.matrix-preview th {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(217, 226, 236, 0.65);
}

.xray-var-cell {
  font-weight: 700;
  color: #fff;
}

.patch-list {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.65;
  display: grid;
  gap: 4px;
}

.patch-line {
  padding: 4px 8px;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.patch-meta {
  color: rgba(217, 226, 236, 0.56);
}

.patch-del {
  background: rgba(224, 106, 86, 0.16);
  color: #ffb4a7;
}

.patch-add {
  background: rgba(185, 240, 113, 0.14);
  color: #d6fb9c;
}

.xray-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 226, 236, 0.12);
  font-size: 0.8rem;
  color: rgba(217, 226, 236, 0.75);
}

.xray-foot a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.xray-foot a:hover {
  text-decoration: underline;
}

/* ============================================================
   PRICING SECTION (ALABASTER + OBSIDIAN GOLD FEATURED TIER)
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(16, 41, 31, 0.04);
}

.pricing-card.featured {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(224, 189, 107, 0.18), transparent 56%),
    linear-gradient(155deg, var(--obsidian) 0%, var(--forest) 100%);
  color: #fff;
  border: 1px solid rgba(224, 189, 107, 0.55);
  box-shadow: 0 24px 60px rgba(8, 16, 12, 0.24);
}

.price-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #365931;
}

.pricing-card.featured .price-tag {
  color: var(--gold-soft);
}

.price-value {
  font-size: 2.25rem;
  font-weight: 820;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  margin: 12px 0 4px;
  color: var(--obsidian);
}

.pricing-card.featured .price-value {
  color: #ffffff;
}

.price-sub {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.pricing-card.featured .price-sub {
  color: rgba(217, 226, 236, 0.78);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}

.feature-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px solid #eef4ea;
}

.pricing-card.featured .feature-list li {
  border-bottom-color: rgba(217, 226, 236, 0.12);
  color: rgba(242, 248, 244, 0.92);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2f6c27;
  font-weight: 900;
}

.pricing-card.featured .feature-list li::before {
  color: var(--green);
}

.billing-note {
  margin: 22px 0 0;
  background: #edf4e7;
  border: 1px solid #d4e4c7;
  color: #2d4924;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.85rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}

details summary {
  font-weight: 750;
  cursor: pointer;
  color: var(--forest);
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Closing Obsidian CTA Band */
.cta-band {
  margin: 68px 0 42px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(224, 189, 107, 0.18), transparent 55%),
    linear-gradient(135deg, var(--obsidian) 0%, var(--forest) 100%);
  color: #fff;
  border: 1px solid rgba(224, 189, 107, 0.3);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(217, 226, 236, 0.82);
  margin: 0;
  max-width: 560px;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
}

.foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mast-scrim {
    background:
      linear-gradient(180deg, rgba(5, 8, 7, 0.68) 0%, rgba(5, 8, 7, 0.52) 45%, rgba(5, 8, 7, 0.74) 100%);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 0 48px;
    min-height: auto;
    gap: 28px;
  }
  .bento-span-4 {
    grid-column: span 12;
  }
  .bento-card.obsidian-bento,
  .xray-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .frame {
    width: calc(100% - 28px);
  }
  .header {
    gap: 10px 14px;
  }
  .nav-links {
    gap: 12px;
    font-size: 0.82rem;
  }
  h1 {
    font-size: 2.02rem;
  }
  .loop-steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .button {
    width: 100%;
  }
  .xray-toggle {
    width: 100%;
  }
  .xray-toggle button {
    flex: 1;
    padding: 8px 10px;
  }
  .section {
    padding-top: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .signal-item,
  .xray-tab {
    transition: none;
  }
}
