:root {
  --bg-start: #07111f;
  --bg-end: #0d1b2a;
  --panel: rgba(8, 15, 26, 0.7);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text-main: #f6f8fb;
  --text-muted: #9cb0c9;
  --accent: #6ee7b7;
  --accent-strong: #34d399;
  --accent-soft: rgba(110, 231, 183, 0.14);
  --money-link: #85bb65;
  --danger: #fda4af;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.22), transparent 35%),
    radial-gradient(circle at right, rgba(59, 130, 246, 0.2), transparent 25%),
    linear-gradient(145deg, var(--bg-start), var(--bg-end));
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  overflow-x: hidden;
}

body.methodology-page {
  align-items: flex-start;
  padding-bottom: 56px;
}

.auth-shell {
  position: relative;
  width: min(1120px, 100%);
}

.auth-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
  pointer-events: none;
}

.auth-glow.one {
  width: 240px;
  height: 240px;
  top: -50px;
  left: -30px;
  background: rgba(52, 211, 153, 0.22);
}

.auth-glow.two {
  width: 200px;
  height: 200px;
  right: -10px;
  bottom: -30px;
  background: rgba(59, 130, 246, 0.2);
}

.auth-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: rgba(7, 13, 23, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-feature {
  min-width: 0;
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    linear-gradient(135deg, rgba(52, 211, 153, 0.16), rgba(59, 130, 246, 0.08));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-feature h1 {
  margin: 24px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.auth-feature p {
  margin: 0;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.feature-item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.feature-item span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-form-panel {
  min-width: 0;
  padding: 40px 32px;
  background: var(--panel);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.back-link:hover {
  color: var(--text-main);
  transform: translateX(-1px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 40px;
}

.brand-logo {
  border-radius: 12px;
  object-fit: cover;
}

.form-copy h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.form-copy p {
  margin: 0 0 28px;
  color: var(--text-muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

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

.access-gate {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.signup-plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.signup-plan-tab {
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.signup-plan-tab:hover {
  transform: translateY(-1px);
  color: var(--text-main);
  border-color: rgba(110, 231, 183, 0.4);
}

.signup-plan-tab.is-active {
  color: #04110d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(52, 211, 153, 0.18);
}

.gate-header {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.gate-header strong {
  font-size: 0.98rem;
}

.gate-header span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

label {
  font-size: 0.92rem;
  color: #dbe7f5;
}

input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
  resize: vertical;
}

input::placeholder {
  color: #7f93ac;
}

textarea::placeholder,
select::placeholder {
  color: #7f93ac;
}

input:focus {
  border-color: rgba(110, 231, 183, 0.75);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

textarea:focus,
select:focus {
  border-color: rgba(110, 231, 183, 0.75);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.helper-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.status-message {
  min-height: 24px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.status-message.error {
  color: var(--danger);
}

.status-message.success {
  color: var(--accent);
}

.status-message.warning {
  color: #f2b24f;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04110d;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  box-shadow: 0 18px 34px rgba(52, 211, 153, 0.24);
  text-decoration: none;
  text-align: center;
}

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

.primary-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.subtle-card {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: var(--accent-soft);
}

.subtle-card strong {
  display: block;
  margin-bottom: 6px;
}

.subtle-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.billing-stack {
  display: grid;
  gap: 16px;
}

.switch-link {
  margin-top: 18px;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.92rem;
}

.switch-link a,
.inline-link {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  text-align: center;
}

.secondary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(110, 231, 183, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.secondary-button:disabled,
.primary-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.switch-link a:hover,
.inline-link:hover {
  border-bottom-color: rgba(110, 231, 183, 0.8);
}

.landing-shell {
  position: relative;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.public-ad-rail {
  position: fixed;
  top: 96px;
  bottom: 32px;
  z-index: 0;
  display: flex;
  width: 160px;
  pointer-events: none;
}

.public-ad-rail-left {
  left: max(18px, calc((100vw - 1180px) / 2 - 196px));
}

.public-ad-rail-right {
  right: max(18px, calc((100vw - 1180px) / 2 - 196px));
}

.public-ad {
  display: block;
  width: 160px;
  min-height: 600px;
  pointer-events: auto;
}

.policy-shell {
  width: min(900px, 100%);
}

.landing-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(860px, 100%);
  margin-inline: auto;
  border: 1px solid var(--panel-border);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(7, 13, 23, 0.88), rgba(9, 20, 34, 0.8)),
    rgba(7, 13, 23, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 46rem;
  margin-inline: auto;
  gap: 18px;
  padding: 24px 30px 0;
}

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

.landing-topbar .brand {
  margin-bottom: 0;
}

.landing-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 30px 38px;
}

.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 46rem;
  padding: 28px 6px 18px;
  margin-inline: auto;
  text-align: center;
}

.landing-hero h1 {
  margin: 18px auto 14px;
  max-width: 11ch;
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.landing-hero p {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.landing-confidence-note {
  margin: 16px 0 0;
  padding: 13px 18px;
  border: 1px solid rgba(110, 231, 183, 0.24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.14), rgba(96, 165, 250, 0.08));
  color: var(--text-main) !important;
  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.5 !important;
  max-width: 38rem;
}

.landing-example-note {
  margin: 20px 0 0;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-built-note {
  width: min(100%, 34rem);
  margin-top: 20px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  text-align: left;
}

.landing-built-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 0.96rem;
}

.landing-built-note p {
  margin: 0;
  max-width: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.landing-built-note ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.landing-built-note li + li {
  margin-top: 1px;
}

.landing-report-example {
  width: min(100%, 34rem);
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.landing-report-example .panel-label {
  margin-bottom: 10px;
}

.landing-report-example h2 {
  margin: 0 0 16px;
  font-size: 1.34rem;
}

.landing-report-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(5, 11, 20, 0.52);
}

.landing-report-table th,
.landing-report-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  text-align: center;
}

.landing-report-table th {
  color: var(--text-main);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-report-table td {
  color: #d7e3f1;
}

.landing-report-table tbody tr:last-child td {
  border-bottom: 0;
}

.landing-report-example-link {
  margin: 16px 0 0;
  font-size: 0.95rem;
  text-align: center;
}

.landing-demo-card {
  width: min(100%, 34rem);
  margin-top: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(110, 231, 183, 0.12), rgba(96, 165, 250, 0.08)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.landing-demo-card .panel-label {
  margin-bottom: 10px;
}

.landing-demo-card h2 {
  margin: 0 0 12px;
  font-size: 1.34rem;
}

.landing-demo-card p {
  margin: 0 auto;
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.landing-demo-button {
  margin-top: 18px;
  min-width: 180px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.landing-hero .cta-row .primary-button {
  min-width: 168px;
  padding: 16px 24px;
  font-size: 1rem;
  box-shadow: 0 22px 40px rgba(52, 211, 153, 0.3);
}

.landing-hero .cta-row .secondary-button {
  min-width: 168px;
}

.house-report-summary {
  max-width: 46rem;
  margin-top: 34px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(110, 231, 183, 0.14), rgba(96, 165, 250, 0.09)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.report-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.report-summary-head .panel-label {
  margin-bottom: 8px;
}

.report-summary-head > div {
  display: grid;
  justify-items: center;
  width: 100%;
  text-align: center;
}

.report-summary-head h2 {
  margin: 0;
  font-size: 1.34rem;
  letter-spacing: 0;
}

.report-summary-refresh {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  width: 100%;
  max-width: none;
  text-align: center;
}

.report-summary-grid {
  display: grid;
  gap: 10px;
}

.report-summary-loading {
  margin: 0;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(5, 11, 20, 0.45);
  color: var(--text-main);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.report-summary-loading[hidden],
.report-summary-grid[hidden] {
  display: none;
}

.report-summary-row {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(6.5rem, auto) auto minmax(5.25rem, auto);
  align-items: center;
  justify-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(5, 11, 20, 0.5);
  color: var(--text-main);
}

.report-summary-row strong,
.report-summary-row b,
.report-summary-row em {
  font-style: normal;
  letter-spacing: 0;
  text-align: center;
}

.report-summary-row span {
  color: var(--text-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.08em;
}

.report-summary-row b {
  font-size: 0.95rem;
}

.report-summary-row em {
  color: #22ff88;
  font-size: 1.35rem;
  font-weight: 800;
}

.report-summary-row strong {
  justify-self: center;
  font-size: 1.08rem;
}

.report-summary-row b,
.report-summary-row em {
  justify-self: center;
}

.report-summary-row em {
  letter-spacing: -0.03em;
  text-shadow: 0 0 18px rgba(34, 255, 136, 0.16);
  font-size: 1.7rem;
}

.report-summary-note {
  margin: 16px 0 0;
  margin-inline: auto;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.report-summary-note span {
  display: block;
  margin-top: 3px;
  opacity: 0.72;
  text-align: center;
}

.report-preview-card {
  max-width: 46rem;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.96);
  color: #0f172a;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.report-preview-note {
  margin: 0 0 14px;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.report-preview-head div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.report-preview-head strong {
  color: #0f4c81;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.report-preview-head span {
  color: #0f766e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.report-preview-head p {
  margin: 0;
  color: #1f2937;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: right;
}

.report-preview-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 8px;
}

.report-preview-metrics div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  background: #ffffff;
}

.report-preview-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: #334155;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
}

.report-preview-metrics span {
  color: #020617;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.report-preview-metrics .gain-metric {
  border-color: rgba(34, 255, 136, 0.75);
  background: linear-gradient(135deg, #dcffe9 0%, #ffffff 52%, #e0f2fe 100%);
  box-shadow: 0 10px 24px rgba(34, 255, 136, 0.22);
}

.report-preview-metrics .gain-metric strong {
  color: #047857;
}

.report-preview-metrics .gain-metric span {
  color: #00b84f;
  font-size: 1.45rem;
  font-weight: 800;
}

.report-preview-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}

.report-preview-chart line {
  stroke: #d8e0ea;
  stroke-width: 1;
}

.report-preview-chart polyline {
  fill: none;
  stroke: #111827;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-preview-chart circle {
  fill: #1d4ed8;
}

.report-preview-chart .chart-start {
  fill: #0f766e;
}

.report-preview-chart text {
  fill: #1f2937;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.report-preview-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid #dbe4ee;
}

.report-preview-cta span {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.45;
}

.report-preview-cta .primary-button {
  min-width: 120px;
  padding: 11px 16px;
  border-radius: 10px;
}

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

.signal-pill {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.signal-pill strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.signal-pill span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.subscription-note {
  max-width: 34rem;
  margin-top: 28px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.subscription-note p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.subscription-note p:last-child {
  margin-bottom: 0;
}

.methodology-shell {
  align-self: flex-start;
  align-items: flex-start;
  padding-bottom: 40px;
}

.methodology-card {
  display: block;
  margin-bottom: 32px;
  padding-bottom: 32px;
}

.methodology-hero {
  max-width: 760px;
  padding: 26px 30px 0;
}

.methodology-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.methodology-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.trust-line {
  display: inline-flex;
  margin-top: 18px !important;
  padding: 14px 16px;
  border: 1px solid rgba(110, 231, 183, 0.3);
  border-radius: 14px;
  background: rgba(110, 231, 183, 0.1);
  color: var(--text-main) !important;
  font-weight: 800;
}

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

.methodology-stat,
.methodology-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.methodology-stat {
  padding: 18px;
}

.methodology-stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.methodology-stat span {
  color: var(--text-muted);
  line-height: 1.45;
}

.methodology-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  padding: 18px 30px 0;
}

.methodology-panel {
  margin: 18px 30px 0;
  padding: 22px;
}

.methodology-layout .methodology-panel {
  margin: 0;
}

.methodology-list {
  display: grid;
  gap: 14px;
}

.methodology-list div {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.methodology-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.methodology-list strong {
  color: var(--text-main);
}

.methodology-list span {
  color: var(--text-muted);
  line-height: 1.65;
}

.methodology-list code {
  color: var(--accent);
  font-size: 0.95em;
}

.methodology-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.methodology-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  color: var(--text-main);
}

.methodology-table th,
.methodology-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  white-space: nowrap;
}

.methodology-table th {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.methodology-table td {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.methodology-table td:first-child {
  color: var(--text-main);
  font-weight: 700;
}

.methodology-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.landing-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  padding-inline: 6px;
  text-align: center;
}

.page-bottom-gap {
  height: 40px;
  flex: 0 0 auto;
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.legal-links a,
.legal-links a:visited,
.site-footer a:visited,
.site-footer a {
  color: var(--money-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
  font-weight: 600;
}

.legal-links a:hover,
.site-footer a:hover {
  border-bottom-color: rgba(110, 231, 183, 0.8);
  color: var(--accent);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: center;
}

.discord-emblem {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.footer-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.insight-card,
.tier-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.insight-card {
  background:
    linear-gradient(180deg, rgba(52, 211, 153, 0.1), rgba(59, 130, 246, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-card h2,
.tier-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.insight-card p,
.tier-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.horizon-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.horizon-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(5, 11, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.horizon-item strong {
  font-size: 0.98rem;
}

.horizon-item span,
.tier-card ul {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.tier-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.policy-card {
  padding-bottom: 6px;
}

.policy-content {
  padding: 12px 30px 30px;
}

.policy-content h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.policy-content h2 {
  margin: 26px 0 10px;
  font-size: 1.2rem;
}

.policy-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.policy-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-muted);
  line-height: 1.75;
}

.not-found-card {
  min-height: 520px;
}

.not-found-content {
  display: grid;
  gap: 18px;
  padding-bottom: 42px;
}

.not-found-content h1 {
  margin-bottom: 0;
  max-width: 10ch;
}

.not-found-content p {
  max-width: 44rem;
}

.not-found-content a:not(.primary-button):not(.secondary-button) {
  color: var(--money-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.not-found-content a:not(.primary-button):not(.secondary-button):hover {
  color: var(--accent);
  border-bottom-color: rgba(110, 231, 183, 0.8);
}

.not-found-actions,
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.not-found-links {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.hub-shell {
  position: relative;
  width: min(1200px, 100%);
}

.auth-shell,
.landing-shell,
.hub-shell,
.auth-card,
.landing-card,
.hub-card,
.landing-content,
.hub-layout,
.landing-hero,
.hub-hero,
.landing-panel,
.hub-side,
.spotlight-grid,
.leaderboard-card,
.leaderboard-table,
.leaderboard-row,
.timeline-grid,
.compare-grid,
.field-row,
.feature-grid,
.signal-strip,
.hub-stat-grid {
  min-width: 0;
}

.hub-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(6, 12, 22, 0.9), rgba(10, 18, 31, 0.86));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hub-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 30px 0;
}

.hub-topbar .brand {
  margin-bottom: 0;
}

.hub-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  padding: 26px 30px 30px;
}

.hub-hero {
  padding: 10px 6px 8px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-hero h1 {
  margin: 22px 0 14px;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.3rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hub-hero p {
  margin: 0;
  max-width: 43rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hub-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hub-stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.hub-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.55rem;
  overflow-wrap: anywhere;
}

.hub-stat span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hub-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.report-link-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.report-link-card h2 {
  margin: 0;
  font-size: 1.3rem;
}

.report-link-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8e5f4;
  font-size: 0.82rem;
}

.mini-picks {
  display: grid;
  gap: 10px;
}

.mini-picks div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(4, 10, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-picks strong {
  font-size: 0.96rem;
}

.mini-picks span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hub-side {
  display: grid;
  gap: 10px;
  align-content: start;
  align-items: start;
  grid-auto-rows: max-content;
}

.hub-panel {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.overview-panel {
  width: fit-content;
  max-width: 100%;
  justify-self: start;
  align-self: start;
}

.overview-panel p {
  max-width: 34ch;
}

.overview-panel .insight-stack,
.overview-panel .compare-grid {
  width: fit-content;
  max-width: 100%;
}

.overview-panel .insight-item,
.overview-panel .compare-row {
  width: fit-content;
  max-width: 100%;
}

.overview-panel .compare-row {
  grid-template-columns: auto;
  justify-items: start;
}

.hub-panel h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.hub-panel p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.compare-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(4, 10, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-row strong {
  font-size: 0.95rem;
}

.compare-row span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.tier-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.14);
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ghost-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 26px;
}

.spotlight-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.spotlight-card h2 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.spotlight-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.signal-bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.signal-bar {
  display: grid;
  gap: 8px;
}

.signal-bar header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.signal-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.signal-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
}

.timeline-card {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.custom-builder-card {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(59, 130, 246, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.custom-builder-card h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.custom-builder-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.custom-dialog {
  width: min(860px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(6, 12, 22, 0.96), rgba(10, 18, 31, 0.94));
  color: var(--text-main);
  box-shadow: var(--shadow);
}

.custom-dialog::backdrop {
  background: rgba(1, 5, 12, 0.72);
  backdrop-filter: blur(8px);
}

.custom-dialog-panel {
  padding: 24px;
}

.report-dialog {
  width: 75vw;
  max-width: 75vw;
  height: 100vh;
  max-height: 100vh;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(6, 12, 22, 0.98), rgba(10, 18, 31, 0.96));
  color: var(--text-main);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateX(12.5vw);
}

.report-dialog::backdrop {
  background: rgba(1, 5, 12, 0.78);
  backdrop-filter: blur(8px);
}

.report-dialog-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  padding: 10px 10px 0;
  box-sizing: border-box;
}

.report-dialog-head {
  margin-bottom: 0;
  align-items: center;
  padding-bottom: 2px;
}

.report-dialog-close {
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.report-frame-shell {
  min-height: 0;
  height: 100%;
  width: 100%;
  border: 0;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: rgba(4, 10, 18, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.report-popup-frame {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 64px);
  border: 0;
  background: transparent;
  display: block;
}

.signup-success-dialog {
  width: min(520px, calc(100vw - 24px));
}

.signup-success-panel {
  display: grid;
  gap: 18px;
}

.signup-success-head {
  margin-bottom: 0;
}

.signup-success-copy {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.dialog-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.dialog-close {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font: inherit;
  cursor: pointer;
}

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

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(4, 10, 18, 0.42);
}

.checkbox-field input {
  width: auto;
  margin: 0;
}

.dialog-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.signup-access-actions {
  margin-top: 18px;
}

.signup-access-actions > * {
  min-height: 52px;
}

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

.symbol-chip {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font: inherit;
  cursor: pointer;
}

.compact-table {
  margin-top: 8px;
}

.preview-exclude-button {
  padding: 10px 12px;
}

.timeline-card h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.timeline-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.timeline-block {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(4, 10, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-block strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.stock-list-preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-block span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.leaderboard-card {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.leaderboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.leaderboard-head h2 {
  margin: 0 0 6px;
  font-size: 1.24rem;
}

.leaderboard-head p {
  margin: 0;
  color: var(--text-muted);
}

.run-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.run-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font: inherit;
  cursor: pointer;
}

.run-tab.active {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(110, 231, 183, 0.12);
}

.leaderboard-table {
  display: grid;
  gap: 10px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 84px 1fr 100px 120px 120px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(4, 10, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.leaderboard-row.header {
  background: transparent;
  border: 0;
  padding: 0 4px 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.leaderboard-main {
  display: grid;
  gap: 4px;
}

.leaderboard-main strong {
  font-size: 1rem;
}

.leaderboard-main span,
.leaderboard-row small {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.leaderboard-cell-label {
  display: none;
}

.rank-badge {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(110, 231, 183, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.score-pill {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(96, 165, 250, 0.12);
}

.hub-side .hub-panel + .hub-panel {
  margin-top: 0;
}

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

.insight-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(4, 10, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.insight-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.mobile-optional {
  display: block;
}

.mobile-custom-results {
  display: none;
  margin: 0 30px 30px;
}

.mobile-create-action {
  display: none;
}

@media (max-width: 920px) {
  .public-ad-rail {
    display: none;
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .landing-content {
    grid-template-columns: 1fr;
  }

  .landing-meta {
    flex-direction: column;
    align-items: center;
  }

  .site-footer {
    text-align: center;
  }

  .hub-layout {
    grid-template-columns: 1fr;
  }

  .methodology-layout {
    grid-template-columns: 1fr;
  }

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

  .signal-strip,
  .methodology-grid,
  .hub-stat-grid,
  .timeline-grid,
  .checkbox-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-topbar {
    padding: 20px 22px 0;
  }

  .hub-layout {
    padding: 20px 22px 24px;
  }

  .landing-topbar {
    padding: 20px 22px 0;
  }

  .landing-content {
    padding: 20px 22px 24px;
  }

  .methodology-hero,
  .methodology-grid,
  .methodology-layout {
    padding-left: 22px;
    padding-right: 22px;
  }

  .methodology-panel {
    margin-left: 22px;
    margin-right: 22px;
  }

  .auth-feature,
  .auth-form-panel {
    padding: 28px 22px;
  }

  .landing-topbar,
  .hub-topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .landing-hero,
  .hub-hero {
    padding-inline: 0;
  }

  .landing-hero {
    display: flex;
    flex-direction: column;
  }

  .landing-hero .eyebrow {
    order: 2;
    width: fit-content;
    margin-top: 24px;
  }

  .landing-hero h1 {
    order: 3;
  }

  .landing-hero > p {
    order: 4;
  }

  .house-report-summary {
    order: 7;
  }

  .report-preview-card {
    order: 1;
  }

  .signal-strip {
    order: 8;
  }

  .subscription-note {
    order: 9;
  }

  .landing-hero h1,
  .hub-hero h1 {
    max-width: 100%;
  }

  .house-report-summary {
    max-width: none;
  }

  .report-preview-card {
    max-width: none;
  }

  .leaderboard-row {
    grid-template-columns: 72px minmax(0, 1fr) 88px 104px 112px;
  }

  .hub-card.mobile-report-hub .hub-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hub-card.mobile-report-hub .hub-hero {
    display: block;
  }

  .hub-card.mobile-report-hub .hub-side {
    display: grid;
    gap: 18px;
  }

  .hub-card.mobile-report-hub .hub-side .mobile-optional {
    display: block;
  }
}

@media (max-width: 1420px), (max-height: 700px) {
  .public-ad-rail {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    padding: 14px;
  }

  .auth-card,
  .landing-card,
  .hub-card,
  .methodology-card {
    border-radius: 24px;
  }

  .signup-plan-tabs,
  .field-row,
  .feature-grid,
  .signal-strip,
  .methodology-grid,
  .hub-stat-grid,
  .hub-links,
  .timeline-grid,
  .checkbox-row {
    grid-template-columns: 1fr;
  }

  .methodology-hero,
  .methodology-grid,
  .methodology-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .methodology-panel {
    margin-left: 18px;
    margin-right: 18px;
    padding: 18px;
  }

  .methodology-table th,
  .methodology-table td {
    padding: 10px 12px;
  }

  .auth-feature h1 {
    font-size: 2.5rem;
  }

  .landing-topbar,
  .landing-nav,
  .cta-row,
  .hub-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-topbar {
    gap: 14px;
    padding: 16px 16px 0;
  }

  .hub-topbar {
    gap: 14px;
    padding: 16px 16px 0;
  }

  .landing-nav {
    gap: 10px;
  }

  .landing-nav,
  .cta-row,
  .hub-actions,
  .legal-links,
  .site-footer {
    width: 100%;
  }

  .landing-nav > *,
  .cta-row > *,
  .hub-actions > * {
    width: 100%;
  }

  .landing-nav .secondary-button,
  .landing-nav .primary-button {
    min-height: 40px;
    padding: 10px 12px;
    white-space: normal;
  }

  .landing-content {
    padding: 18px 16px 22px;
  }

  .legal-links,
  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .auth-feature,
  .auth-form-panel,
  .spotlight-card,
  .timeline-card,
  .custom-builder-card,
  .leaderboard-card,
  .hub-panel,
  .insight-card,
  .tier-card,
  .landing-report-example,
  .house-report-summary,
  .report-preview-card,
  .subscription-note,
  .policy-content,
  .custom-dialog-panel {
    padding: 20px 18px;
  }

  .report-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    transform: none;
  }

  .report-dialog-panel {
    padding: 8px 8px 0;
    min-height: 100vh;
  }

  .report-dialog-close {
    width: 40px;
    height: 40px;
  }

  .stock-list-preview-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .report-popup-frame {
    min-height: calc(100vh - 56px);
  }

  .landing-hero h1 {
    font-size: 2.6rem;
  }

  .hub-hero h1 {
    font-size: 2.55rem;
  }

  .hub-hero p,
  .landing-hero p,
  .auth-feature p,
  .form-copy p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .report-summary-head,
  .report-summary-row {
    grid-template-columns: 1fr;
  }

  .report-summary-head {
    display: grid;
  }

  .report-summary-row {
    gap: 6px;
    justify-items: center;
  }

  .report-summary-row em {
    justify-self: center;
  }

  .landing-report-table,
  .landing-report-table thead,
  .landing-report-table tbody,
  .landing-report-table tr,
  .landing-report-table th,
  .landing-report-table td {
    display: block;
  }

  .landing-report-table thead {
    display: none;
  }

  .landing-report-table tr {
    padding: 4px 0;
  }

  .landing-report-table td {
    padding: 8px 14px;
    border-bottom: 0;
  }

  .report-preview-card {
    margin-top: 0;
  }

  .report-preview-head {
    display: grid;
    gap: 8px;
  }

  .report-preview-head div {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .report-preview-head p {
    text-align: left;
  }

  .report-preview-metrics {
    grid-template-columns: 1fr;
  }

  .report-preview-chart {
    min-height: 150px;
    margin-top: 18px;
  }

  .report-preview-chart text {
    font-size: 13px;
  }

  .report-preview-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .report-preview-cta .primary-button {
    width: 100%;
  }

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

  .dialog-head {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-access-actions {
    gap: 14px;
  }

  .signup-access-actions > * {
    width: 100%;
  }

  .signal-bar header {
    flex-direction: column;
    align-items: flex-start;
  }

  .leaderboard-row.header {
    display: none;
  }

  .leaderboard-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .leaderboard-row > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .leaderboard-main {
    align-items: flex-end;
    text-align: right;
  }

  .leaderboard-cell-label {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .run-tabs {
    width: 100%;
  }

  .run-tab {
    flex: 1 1 0;
  }

  .brand {
    margin-bottom: 20px;
  }

  .auth-glow {
    opacity: 0.35;
  }

  .mobile-optional {
    display: none;
  }

  .mobile-custom-results {
    display: block;
    margin: 0 18px 20px;
  }
}
