/* MailPack HTML — Linear/Stripe Dark Slate, Emerald & Violet Stylesheet */
:root {
  --bg: #070c17;
  --bg-elev: #0f172a;
  --bg-soft: #162033;
  --bg-alt: #0a1020;
  --border: #1e293b;
  --border-strong: #334155;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --green: #10b981;
  --green-bright: #34d399;
  --green-bg: rgba(16, 185, 129, 0.12);
  --green-border: rgba(16, 185, 129, 0.36);
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --violet-bg: rgba(139, 92, 246, 0.13);
  --violet-border: rgba(139, 92, 246, 0.38);
  --cyan: #38bdf8;
  --cyan-bg: rgba(56, 189, 248, 0.1);
  --cyan-border: rgba(56, 189, 248, 0.3);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.36);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.12);
  --red-border: rgba(239, 68, 68, 0.36);
  --radius: 12px;
  --radius-sm: 8px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(148, 163, 184, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  color: #e2e8f0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Promo Top Bar */
.promo-bar {
  background: linear-gradient(90deg, #0b241d 0%, #13152c 50%, #1d170d 100%);
  border-bottom: 1px solid var(--green-border);
  padding: 10px 16px;
  font-size: 13px;
  color: #e2e8f0;
}

.promo-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.promo-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
  border: 1px dashed var(--amber);
  border-radius: 6px;
  padding: 3px 9px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.promo-code-btn:hover {
  background: rgba(245, 158, 11, 0.28);
}

/* Header Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 12, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  border-left: 1px solid var(--border);
  padding-left: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green);
  color: #041d15;
}

.btn-primary:hover {
  background: var(--green-bright);
}

.btn-violet {
  background: var(--violet);
  color: #ffffff;
}

.btn-violet:hover {
  background: var(--violet-bright);
  color: #0b081a;
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: #1e2a42;
  border-color: #475569;
}

.btn-amber {
  background: var(--amber);
  color: #1c1202;
}

.btn-amber:hover {
  background: #fbbf24;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 13px;
}

.btn-xs {
  padding: 5px 10px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 60px 0 44px;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.12), transparent 44%),
    radial-gradient(circle at 18% 8%, rgba(16, 185, 129, 0.1), transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--green-bright);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}

.eyebrow-violet {
  color: var(--violet-bright);
  background: var(--violet-bg);
  border-color: var(--violet-border);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.3vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 940px;
}

.hero h1 .strike-tax {
  color: #f87171;
}

.hero h1 .accent-emerald {
  color: var(--green-bright);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 820px;
}

.hero-lead strong {
  color: var(--text);
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.dot-violet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  display: inline-block;
}

/* Sections */
.section {
  padding: 58px 0;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 28px;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-bright);
  margin-bottom: 8px;
}

.section-kicker.violet {
  color: var(--violet-bright);
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-sub {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 780px;
}

/* Validator Workbench */
.validator-shell {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.esp-bar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.esp-bar-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.network-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.network-tab {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.network-tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.network-tab.active {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--text);
}

.tab-cap {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
}

.network-tab.active .tab-cap {
  color: var(--green-bright);
}

.spec-banner {
  font-size: 13px;
  color: #cbd5e1;
  background: var(--cyan-bg);
  border: 1px solid var(--cyan-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin-bottom: 18px;
}

/* Input Mode Tabs (Drop File vs Paste Raw HTML) */
.input-mode-tabs {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 14px;
}

.mode-tab {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.mode-tab.active {
  background: var(--violet-bg);
  color: var(--violet-bright);
  box-shadow: inset 0 0 0 1px var(--violet-border);
}

.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(22, 32, 51, 0.52);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dropzone.drag-over {
  border-color: var(--green);
  background: var(--green-bg);
}

.dropzone-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.dropzone-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.dropzone-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.paste-panel {
  display: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 16px;
}

.paste-panel.visible {
  display: block;
}

.html-textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  background: #050912;
  color: #e2e8f0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

.html-textarea:focus {
  outline: 2px solid var(--violet);
  outline-offset: 1px;
}

.paste-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.error-banner {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  color: #fecaca;
  font-size: 14px;
  display: none;
}

.error-banner.visible {
  display: block;
}

/* Validation Results Area */
.results-panel {
  margin-top: 22px;
  display: none;
}

.results-panel.visible {
  display: block;
}

.verdict-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.verdict-header.status-pass {
  background: var(--green-bg);
  border-color: var(--green-border);
}

.verdict-header.status-warn {
  background: var(--amber-bg);
  border-color: var(--amber-border);
}

.verdict-header.status-fail {
  background: var(--red-bg);
  border-color: var(--red-border);
}

.verdict-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.verdict-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Gmail 102 KB Clipping Meter */
.budget-meter {
  min-width: 260px;
  flex: 0 1 320px;
}

.budget-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 6px;
}

.budget-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.budget-warn-marker {
  position: absolute;
  left: 90.2%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(245, 158, 11, 0.75);
  z-index: 2;
}

.budget-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.25s ease;
}

.budget-fill.warn {
  background: var(--amber);
}

.budget-fill.over {
  background: var(--red);
}

.budget-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 5px;
}

/* 4-ESP Compatibility Matrix Strip */
.matrix-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.matrix-pill {
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--sans);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.matrix-pill:hover {
  border-color: var(--border-strong);
}

.matrix-pill.selected {
  border-color: var(--cyan);
  background: #132238;
}

.matrix-pill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.matrix-pill-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
}

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

.badge-pass {
  background: var(--green-bg);
  color: var(--green-bright);
  border: 1px solid var(--green-border);
}

.badge-warn {
  background: var(--amber-bg);
  color: #fcd34d;
  border: 1px solid var(--amber-border);
}

.badge-fail {
  background: var(--red-bg);
  color: #fca5a5;
  border: 1px solid var(--red-border);
}

.badge-violet {
  background: var(--violet-bg);
  color: var(--violet-bright);
  border: 1px solid var(--violet-border);
}

/* 2-Column Split inside Validator */
.results-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.panel-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.panel-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

.check-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--bg-elev);
}

.check-item.status-fail {
  border-color: var(--red-border);
}

.check-item.status-warn {
  border-color: var(--amber-border);
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.check-name {
  font-size: 13px;
  font-weight: 700;
}

.check-actual {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  margin-top: 4px;
}

.check-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Live Sandboxed Preview (600px / 375px + Simulated Dark Mode) */
.preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.preview-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-toggle {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preview-toggle:hover {
  color: var(--text);
  border-color: #64748b;
}

.preview-toggle.active {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--green-bright);
}

.preview-toggle.dark-active {
  background: var(--violet-bg);
  border-color: var(--violet);
  color: var(--violet-bright);
}

.preview-stage {
  background: repeating-conic-gradient(#131b2d 0% 25%, #0c1220 0% 50%) 50% / 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 460px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
}

.preview-stage.dark-canvas {
  background: #05070e;
}

.preview-iframe {
  border: 1px solid #334155;
  border-radius: 8px;
  background: #ffffff;
  display: block;
  max-width: 100%;
  height: 520px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: width 0.2s ease;
}

.preview-caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.preview-caption.dark-note {
  border-color: var(--violet-border);
  background: var(--violet-bg);
  color: #ddd6fe;
}

/* File Manifest Table */
.manifest-wrap {
  margin-top: 16px;
  overflow-x: auto;
}

.manifest-wrap.hidden {
  display: none;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 9px 11px;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  background: var(--bg-soft);
}

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

/* Feature Grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.card-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 10px;
}

.card-tag.violet {
  color: var(--violet-bright);
}

/* Comparison Table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 740px;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

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

.compare-table th.col-mailpack,
.compare-table td.col-mailpack {
  background: rgba(16, 185, 129, 0.08);
  border-left: 1px solid var(--green-border);
}

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

.price-red {
  color: #f87171;
  font-weight: 700;
}

.price-amber {
  color: #fcd34d;
  font-weight: 700;
}

.price-green {
  color: var(--green-bright);
  font-weight: 800;
}

/* Radical Honesty Box */
.honesty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.honesty-card {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
}

.honesty-card.skip {
  border-color: var(--amber-border);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06), var(--bg-elev));
}

.honesty-card.buy {
  border-color: var(--green-border);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.07), var(--bg-elev));
}

.honesty-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.honesty-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.honesty-card li {
  margin-bottom: 9px;
}

/* Pricing Cards */
.free-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green-border), 0 18px 40px rgba(0, 0, 0, 0.38);
}

.plan-pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green-bright);
  border: 1px solid var(--green-border);
  margin-bottom: 12px;
}

.plan-pill.amber {
  background: var(--amber-bg);
  color: #fcd34d;
  border-color: var(--amber-border);
}

.plan-pill.violet {
  background: var(--violet-bg);
  color: var(--violet-bright);
  border-color: var(--violet-border);
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 4px;
}

.price-strike {
  font-size: 16px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-main {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-unit {
  font-size: 14px;
  color: var(--text-muted);
}

.price-promo-note {
  font-family: var(--mono);
  font-size: 12px;
  color: #fcd34d;
  margin-bottom: 16px;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.plan-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-list li::before {
  content: "+ ";
  color: var(--green-bright);
  font-family: var(--mono);
  font-weight: 700;
}

.guarantee-box {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

/* Callout Notice */
.callout-box {
  border-radius: var(--radius);
  border: 1px solid var(--violet-border);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(15, 23, 42, 0.92));
  padding: 20px 22px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.callout-box strong {
  color: var(--text);
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 36px 0 48px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-links a {
  color: var(--text-muted);
}

/* Modal (Early-Access Reservation / Dodo Checkout Bridge) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px;
}

.field-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

.field-input:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.modal-status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--green-bright);
}

/* Legal & Article Pages */
.prose {
  padding: 48px 0 64px;
}

.prose h1 {
  font-size: 32px;
  margin: 12px 0 8px;
  letter-spacing: -0.025em;
}

.prose h2 {
  font-size: 19px;
  margin: 30px 0 10px;
  color: var(--cyan);
}

.prose p,
.prose li {
  font-size: 15px;
  color: var(--text-muted);
}

.prose-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

@media (max-width: 920px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .brand-sub {
    display: none;
  }
}
