@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Blue-collar palette: steel, slate, and safety-orange accents. */
  --background: #f8fafc;
  --foreground: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --ring: rgba(217, 119, 6, 0.3);

  --primary: #b45309;
  --primary-hover: #92400e;
  --primary-foreground: #ffffff;

  --secondary: #f1f5f9;
  --secondary-hover: #e8eef6;
  --secondary-foreground: #0f172a;

  --danger: #b91c1c;

  --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.06);
  --shadow: 0 12px 36px rgba(2, 6, 23, 0.10);

  --radius: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--background);
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--foreground);
  background:
    radial-gradient(900px circle at 16% 12%, rgba(217, 119, 6, 0.12), transparent 62%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f5f7fb 100%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: 16px;
}

.page-gap {
  padding-top: 24px;
  padding-bottom: 40px;
  display: grid;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-bar,
.header-actions {
  display: grid;
  gap: 10px;
}

.brand-bar {
  align-items: center;
}

.brand {
  text-decoration: none;
  font-family: "Sora", "Avenir Next", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup img {
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(2, 6, 23, 0.10));
}

.header-kicker {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42ch;
}

.main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.82);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.main-nav a:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.14);
}

.main-nav a.active {
  background: rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.22);
  color: rgba(11, 84, 80, 0.98);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  justify-self: end;
}

.theme-toggle__option {
  appearance: none;
  border: 0;
  margin: 0;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  color: rgba(15, 23, 42, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.theme-toggle__option:hover {
  background: rgba(15, 118, 110, 0.08);
}

.theme-toggle__option[aria-pressed="true"] {
  background: rgba(15, 118, 110, 0.14);
  color: rgba(11, 84, 80, 0.98);
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.9)),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 45%);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.12);
  padding: clamp(18px, 3.4vw, 32px);
}

.panel.compact {
  padding: clamp(16px, 2.8vw, 24px);
}

.hero-panel {
  padding-bottom: clamp(18px, 4vw, 30px);
  overflow: hidden;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 118, 110, 0.9);
  font-weight: 800;
}

h1 {
  margin: 10px 0 10px;
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 10px;
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  margin: 14px 0 6px;
  font-size: 1rem;
}

p {
  margin: 0;
  line-height: 1.55;
}

.subtext {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.hero-copy,
.hero-aside {
  display: grid;
  gap: 16px;
}

.hero-intro {
  display: grid;
  gap: 10px;
}

.hero-subtext {
  font-size: 1.05rem;
  max-width: 60ch;
}

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

.fact-strip,
.proof-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.fact-card,
.proof-stat,
.signal-card,
.story-card {
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 14px;
  padding: 14px;
  background: rgba(248, 250, 252, 0.84);
}

.fact-card strong,
.proof-stat strong {
  display: block;
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 1.05rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.fact-card span,
.proof-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.section-head.tight {
  margin-bottom: 10px;
}

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

.signal-card,
.story-card {
  display: grid;
  gap: 8px;
}

.feature-card {
  position: relative;
  padding-top: 46px;
}

.signal-index {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 6, 0.28);
  background: rgba(255, 247, 237, 0.88);
  color: rgba(154, 52, 18, 1);
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.signal-card h3,
.story-card h3 {
  margin: 0;
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 1.02rem;
}

.note-block {
  display: grid;
  gap: 8px;
  border-left: 4px solid rgba(234, 88, 12, 0.9);
  background: rgba(15, 23, 42, 0.035);
  border-radius: 12px;
  padding: 14px 16px;
}

.editorial-note {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.95), rgba(247, 250, 252, 0.9)),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.14), transparent 40%);
}

.editorial-note p:last-child {
  color: rgba(15, 23, 42, 0.86);
  font-size: 1rem;
  line-height: 1.6;
}

.chip-strong {
  background: rgba(255, 247, 237, 0.92);
  border-color: rgba(217, 119, 6, 0.22);
  color: rgba(124, 45, 18, 0.96);
}

.process-panel {
  display: grid;
  gap: 16px;
}

.process-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.process-list li {
  display: grid;
  gap: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.process-list strong,
.mini-proof-grid strong {
  font-family: "Sora", "Avenir Next", sans-serif;
  color: var(--foreground);
}

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

.mini-proof-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: rgba(248, 250, 252, 0.84);
}

.mini-proof-grid span {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-intro {
  display: grid;
  gap: 8px;
}

.credibility-grid .signal-card {
  min-height: 100%;
}

.note-block strong {
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 0.98rem;
}

.mini-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  line-height: 1.5;
}

.rank-list {
  display: grid;
  gap: 16px;
}

.rank-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 246, 251, 0.88)),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 48%);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  gap: 14px;
}

.rank-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rank-num {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "Sora", "Avenir Next", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff7ed;
  background: linear-gradient(135deg, #b45309, #ea580c);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.25);
  flex: 0 0 auto;
}

.rank-meta {
  display: grid;
  gap: 6px;
}

.rank-meta h2 {
  margin: 0;
}

.rank-body {
  display: grid;
  gap: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(226, 232, 240, 1);
  background: rgba(241, 245, 249, 0.85);
  color: rgba(15, 23, 42, 0.78);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 7px 12px;
}

.process-steps {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.step-item {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.selection-summary {
  margin-top: 2px;
}

.completion-panel {
  margin-top: 0;
}

.completion-panel h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.completion-panel .fineprint {
  margin-top: 6px;
}

.completion-panel progress {
  width: 100%;
  height: 12px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.completion-panel progress::-webkit-progress-bar {
  background: rgba(148, 163, 184, 0.22);
  border-radius: 999px;
}

.completion-panel progress::-webkit-progress-value {
  background: linear-gradient(90deg, #0f766e, #b45309);
  border-radius: 999px;
}

.completion-panel progress::-moz-progress-bar {
  background: linear-gradient(90deg, #0f766e, #b45309);
  border-radius: 999px;
}

.selection-summary h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.selection-summary .list {
  margin-bottom: 8px;
}

.field-error {
  margin: 6px 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: #b91c1c;
}

.soft-panel {
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.8), rgba(255, 255, 255, 0.92));
  border-color: rgba(15, 118, 110, 0.18);
}

.auth-mode {
  appearance: none;
  border: 1px solid rgba(203, 213, 225, 1);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(15, 23, 42, 0.84);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 13px;
  min-height: 0;
  box-shadow: none;
}

.auth-mode:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.22);
}

.auth-mode.active {
  background: rgba(15, 118, 110, 0.14);
  border-color: rgba(15, 118, 110, 0.30);
  color: rgba(11, 84, 80, 1);
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.choice-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(241, 245, 249, 0.55);
  margin: 0;
}

.choice-group legend {
  padding: 0 6px;
  font-weight: 750;
  color: rgba(15, 23, 42, 0.84);
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
}

.choice:hover {
  background: rgba(15, 118, 110, 0.06);
}

.choice input {
  width: auto;
  padding: 0;
}

label {
  font-weight: 650;
  font-size: 0.95rem;
}

input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input::placeholder {
  color: rgba(100, 116, 139, 0.9);
}

textarea::placeholder {
  color: rgba(100, 116, 139, 0.9);
}

input:focus {
  border-color: rgba(15, 118, 110, 0.35);
  background: #ffffff;
}

select:focus,
textarea:focus {
  border-color: rgba(15, 118, 110, 0.35);
  background: #ffffff;
}

select:disabled,
input:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn,
button,
.cta-link,
.link-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.98rem;
  font-weight: 750;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  transition: transform 0.10s ease, background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
  box-shadow: var(--shadow-sm);
}

.btn:active,
button:active,
.cta-link:active,
.link-btn:active {
  transform: translateY(1px);
}

.btn-primary,
button,
.cta-link {
  background: var(--primary);
  border-color: rgba(15, 118, 110, 0.20);
  color: var(--primary-foreground);
}

.btn-primary:hover,
button:hover,
.cta-link:hover {
  background: var(--primary-hover);
}

.btn-secondary,
button.ghost {
  background: var(--secondary);
  border-color: rgba(226, 232, 240, 1);
  color: var(--secondary-foreground);
}

.btn-secondary:hover,
button.ghost:hover {
  background: var(--secondary-hover);
}

.btn-outline,
.link-btn {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(226, 232, 240, 1);
  color: rgba(15, 23, 42, 0.92);
}

.btn-outline:hover,
.link-btn:hover {
  background: rgba(241, 245, 249, 0.9);
}

.btn-lg {
  padding: 12px 16px;
  min-height: 48px;
  font-size: 1.02rem;
}

button:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.message {
  margin: 0;
  color: var(--danger);
  min-height: 1.4em;
  font-size: 0.95rem;
}

.fineprint {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

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

.row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.list {
  margin: 0;
  padding-left: 20px;
  color: rgba(15, 23, 42, 0.86);
  display: grid;
  gap: 8px;
  line-height: 1.55;
}

.text-link {
  color: rgba(15, 118, 110, 0.98);
  font-weight: 650;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  border-bottom: 1px solid rgba(226, 232, 240, 1);
  padding: 11px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.72);
  font-weight: 750;
}

.price-box {
  margin-top: 16px;
  border: 1px solid rgba(226, 232, 240, 1);
  background: rgba(241, 245, 249, 0.75);
  border-radius: var(--radius);
  padding: 16px;
}

.price-line {
  margin: 0 0 10px;
  font-weight: 700;
}

.price-line span {
  font-size: 1.9rem;
  font-family: "Sora", "Avenir Next", sans-serif;
  line-height: 1;
}

.faq h2,
.faq h3 {
  margin-top: 18px;
}

.qr-wrap {
  margin-top: 18px;
  border: 1px dashed rgba(226, 232, 240, 1);
  border-radius: var(--radius);
  min-height: 240px;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  padding: 18px;
}

#qrOutput canvas,
#qrOutput img {
  max-width: min(320px, 100%);
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  margin-top: 24px;
  background: rgba(248, 250, 252, 0.6);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  color: rgba(71, 85, 105, 1);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(15, 23, 42, 0.74);
  text-decoration: none;
  font-weight: 600;
}

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

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

.blog-card h2 {
  margin-top: 10px;
}

.blog-article {
  display: grid;
  gap: 14px;
}

.blog-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.blog-aside h2 {
  margin-top: 0;
}

.prose {
  color: rgba(15, 23, 42, 0.92);
}

.prose p {
  margin-top: 10px;
}

.prose h2 {
  margin-top: 18px;
}

.prose h3 {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;
  font-size: 0.95em;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 10px;
  padding: 2px 6px;
}

@media (min-width: 761px) {
  .checkout-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
  }

  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    border-color: rgba(226, 232, 240, 1);
    background: rgba(255, 255, 255, 0.55);
  }

  .theme-toggle {
    width: 100%;
    justify-content: stretch;
  }

  .theme-toggle__option {
    flex: 1 1 0;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .fact-strip,
  .proof-strip,
  .hero-signal-grid,
  .mini-proof-grid,
  .editorial-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  table {
    min-width: 520px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  button,
  .cta-link,
  .link-btn,
  .main-nav a,
  input {
    transition: none;
  }
}

:root.force-dark,
html[data-theme="dark"] {
  --background: #0b1220;
  --foreground: #e2e8f0;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --card: #101b2f;
  --border: #1e2a40;
  --ring: rgba(251, 146, 60, 0.38);
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --secondary: #18253d;
  --secondary-hover: #223553;
  --secondary-foreground: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.5);
  --shadow: 0 18px 44px rgba(2, 6, 23, 0.5);
  color-scheme: dark;
}

.force-dark body,
html[data-theme="dark"] body {
  background:
    radial-gradient(960px circle at 18% 10%, rgba(251, 146, 60, 0.2), transparent 60%),
    linear-gradient(180deg, #0b1220 0%, #0a1424 50%, #0c172b 100%);
}

.force-dark .site-header,
.force-dark .site-footer,
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-footer {
  background: rgba(8, 14, 26, 0.78);
  border-color: rgba(30, 42, 64, 0.92);
}

.force-dark .panel,
.force-dark .price-box,
.force-dark .choice-group,
.force-dark .qr-wrap,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .price-box,
html[data-theme="dark"] .choice-group,
html[data-theme="dark"] .qr-wrap {
  background:
    linear-gradient(180deg, rgba(16, 27, 47, 0.94), rgba(14, 24, 42, 0.9)),
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.08), transparent 48%);
  border-color: rgba(30, 42, 64, 1);
  color: var(--foreground);
}

.force-dark .chip,
.force-dark .main-nav a,
.force-dark .btn-outline,
.force-dark .link-btn,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .main-nav a,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .link-btn,
html[data-theme="dark"] .theme-toggle {
  background: rgba(24, 37, 61, 0.76);
  border-color: rgba(30, 42, 64, 1);
  color: rgba(226, 232, 240, 0.94);
}

.force-dark .main-nav a.active,
.force-dark .main-nav a:hover,
html[data-theme="dark"] .main-nav a.active,
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .theme-toggle__option[aria-pressed="true"] {
  background: rgba(234, 88, 12, 0.22);
  border-color: rgba(251, 146, 60, 0.44);
  color: #fff7ed;
}

.force-dark .soft-panel,
html[data-theme="dark"] .soft-panel {
  background: linear-gradient(180deg, rgba(23, 36, 60, 0.86), rgba(16, 27, 47, 0.92));
  border-color: rgba(251, 146, 60, 0.26);
}

.force-dark .fact-card,
.force-dark .proof-stat,
.force-dark .signal-card,
.force-dark .story-card,
.force-dark .rank-card,
html[data-theme="dark"] .fact-card,
html[data-theme="dark"] .proof-stat,
html[data-theme="dark"] .signal-card,
html[data-theme="dark"] .story-card,
html[data-theme="dark"] .rank-card,
html[data-theme="dark"] .mini-proof-grid div {
  background: rgba(13, 22, 38, 0.82);
  border-color: rgba(37, 51, 76, 1);
}

.force-dark .note-block,
html[data-theme="dark"] .note-block,
html[data-theme="dark"] .editorial-note {
  background: rgba(7, 12, 22, 0.55);
  border-left-color: rgba(251, 146, 60, 0.92);
}

.force-dark .subtext,
.force-dark .fineprint,
.force-dark .step-item,
.force-dark .footer-inner,
.force-dark th,
html[data-theme="dark"] .subtext,
html[data-theme="dark"] .fineprint,
html[data-theme="dark"] .step-item,
html[data-theme="dark"] .footer-inner,
html[data-theme="dark"] th,
html[data-theme="dark"] .mini-proof-grid span,
html[data-theme="dark"] .header-kicker {
  color: var(--muted);
}

.force-dark .list,
.force-dark .prose,
html[data-theme="dark"] .list,
html[data-theme="dark"] .prose,
html[data-theme="dark"] .editorial-note p:last-child {
  color: rgba(226, 232, 240, 0.92);
}

.force-dark input,
.force-dark select,
.force-dark textarea,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: rgba(8, 14, 26, 0.85);
  border-color: rgba(30, 42, 64, 1);
  color: var(--foreground);
}

.force-dark input::placeholder,
.force-dark textarea::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(148, 163, 184, 0.84);
}

.force-dark .text-link,
.force-dark .footer-nav a,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .footer-nav a {
  color: #fdba74;
}

.force-dark .prose code,
html[data-theme="dark"] .prose code {
  background: rgba(8, 14, 26, 0.92);
  border-color: rgba(30, 42, 64, 1);
  color: #fde68a;
}

.force-dark .field-error,
html[data-theme="dark"] .field-error {
  color: #fca5a5;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]):not(.force-light) {
    --background: #0b1220;
    --foreground: #e2e8f0;
    --muted: #94a3b8;
    --muted-2: #64748b;
    --card: #101b2f;
    --border: #1e2a40;
    --ring: rgba(251, 146, 60, 0.38);
    --primary: #ea580c;
    --primary-hover: #c2410c;
    --secondary: #18253d;
    --secondary-hover: #223553;
    --secondary-foreground: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.5);
    --shadow: 0 18px 44px rgba(2, 6, 23, 0.5);
    color-scheme: dark;
  }

  html:not([data-theme]):not(.force-light) body {
    background:
      radial-gradient(960px circle at 18% 10%, rgba(251, 146, 60, 0.2), transparent 60%),
      linear-gradient(180deg, #0b1220 0%, #0a1424 50%, #0c172b 100%);
  }

  html:not([data-theme]):not(.force-light) .site-header,
  html:not([data-theme]):not(.force-light) .site-footer {
    background: rgba(8, 14, 26, 0.78);
    border-color: rgba(30, 42, 64, 0.92);
  }

  html:not([data-theme]):not(.force-light) .panel,
  html:not([data-theme]):not(.force-light) .price-box,
  html:not([data-theme]):not(.force-light) .choice-group,
  html:not([data-theme]):not(.force-light) .qr-wrap {
    background: rgba(16, 27, 47, 0.86);
    border-color: rgba(30, 42, 64, 1);
    color: var(--foreground);
  }

  html:not([data-theme]):not(.force-light) .chip,
  html:not([data-theme]):not(.force-light) .main-nav a,
  html:not([data-theme]):not(.force-light) .btn-outline,
  html:not([data-theme]):not(.force-light) .link-btn,
  html:not([data-theme]):not(.force-light) .theme-toggle {
    background: rgba(24, 37, 61, 0.76);
    border-color: rgba(30, 42, 64, 1);
    color: rgba(226, 232, 240, 0.94);
  }

  html:not([data-theme]):not(.force-light) .main-nav a.active,
  html:not([data-theme]):not(.force-light) .main-nav a:hover,
  html:not([data-theme]):not(.force-light) .theme-toggle__option[aria-pressed="true"] {
    background: rgba(234, 88, 12, 0.22);
    border-color: rgba(251, 146, 60, 0.44);
    color: #fff7ed;
  }

  html:not([data-theme]):not(.force-light) .soft-panel {
    background: linear-gradient(180deg, rgba(23, 36, 60, 0.86), rgba(16, 27, 47, 0.92));
    border-color: rgba(251, 146, 60, 0.26);
  }

  html:not([data-theme]):not(.force-light) .subtext,
  html:not([data-theme]):not(.force-light) .fineprint,
  html:not([data-theme]):not(.force-light) .step-item,
  html:not([data-theme]):not(.force-light) .footer-inner,
  html:not([data-theme]):not(.force-light) th,
  html:not([data-theme]):not(.force-light) .mini-proof-grid span,
  html:not([data-theme]):not(.force-light) .header-kicker {
    color: var(--muted);
  }

  html:not([data-theme]):not(.force-light) .list,
  html:not([data-theme]):not(.force-light) .prose,
  html:not([data-theme]):not(.force-light) .editorial-note p:last-child {
    color: rgba(226, 232, 240, 0.92);
  }

  html:not([data-theme]):not(.force-light) input,
  html:not([data-theme]):not(.force-light) select,
  html:not([data-theme]):not(.force-light) textarea {
    background: rgba(8, 14, 26, 0.85);
    border-color: rgba(30, 42, 64, 1);
    color: var(--foreground);
  }

  html:not([data-theme]):not(.force-light) input::placeholder,
  html:not([data-theme]):not(.force-light) textarea::placeholder {
    color: rgba(148, 163, 184, 0.84);
  }

  html:not([data-theme]):not(.force-light) .text-link,
  html:not([data-theme]):not(.force-light) .footer-nav a {
    color: #fdba74;
  }

  html:not([data-theme]):not(.force-light) .prose code {
    background: rgba(8, 14, 26, 0.92);
    border-color: rgba(30, 42, 64, 1);
    color: #fde68a;
  }

  html:not([data-theme]):not(.force-light) .field-error {
    color: #fca5a5;
  }
}
