/* ============================================================
   Polymarket Tax Calculator — Premium Styles
   Standalone page-specific styles
   ============================================================ */

.pm-calculator,
.pm-calculator * {
  box-sizing: border-box;
}

.pm-calculator {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  background: transparent;
}

.pm-phase { display: none; }
.pm-phase.pm-active { display: block; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 82px;
  padding-bottom: 54px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: min(820px, 100%);
  height: 440px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.24) 0%, rgba(99, 102, 241, 0.12) 30%, rgba(99, 102, 241, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: rgba(15, 15, 26, 0.78);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(129, 140, 248, 0.24);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-logo-badge img {
  width: 28px;
  height: 28px;
}

.hero h1 {
  margin: 0;
}

.hero h1 .accent {
  white-space: nowrap;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 1.03rem;
  line-height: 1.72;
  color: rgba(241, 245, 249, 0.82);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 28px;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 15, 26, 0.78);
  border: 1px solid rgba(129, 140, 248, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(16px);
}

.hero-trust-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
  flex-shrink: 0;
}

.calc-wrap {
  max-width: 920px;
  margin-bottom: 0;
}

.pm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  padding: 28px 24px;
  margin-bottom: 14px;
  text-align: left;
}

.pm-flow-shell {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pm-config-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);
  gap: 16px;
}

.pm-config-card,
.pm-premium-input-card {
  position: relative;
  overflow: hidden;
}

.pm-config-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 18, 32, 0.96) 0%, rgba(22, 24, 40, 0.9) 100%);
  border: 1px solid rgba(129, 140, 248, 0.18);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: left;
}

.pm-config-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.42), rgba(129, 140, 248, 0));
}

.pm-config-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.pm-step-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.24);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.pm-config-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-config-copy {
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.72);
  line-height: 1.6;
}

.pm-countries,
.pm-year-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.pm-country-btn,
.pm-year-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  box-shadow: none;
  line-height: 1.4;
}

.pm-country-btn:hover,
.pm-year-btn:hover {
  border-color: rgba(129, 140, 248, 0.34);
  color: var(--text-primary);
}

.pm-country-btn.active,
.pm-year-btn.active {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}

.pm-year-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pm-flag {
  font-size: 17px;
  line-height: 1;
}

.pm-error-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 14px;
  margin-bottom: 0;
}

.pm-input-card {
  max-width: none;
  margin: 0;
  padding: 32px;
  border-radius: 26px;
  text-align: left;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background: linear-gradient(180deg, rgba(16, 18, 34, 0.98) 0%, rgba(12, 14, 28, 0.96) 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pm-premium-input-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.12), rgba(129, 140, 248, 0) 28%, rgba(34, 197, 94, 0.08) 100%);
  opacity: 0.9;
}

.pm-premium-input-card > * {
  position: relative;
  z-index: 1;
}

.pm-card-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: end;
  gap: 20px 28px;
  margin-bottom: 24px;
}

.pm-flow-title {
  margin: 10px 0 6px;
  max-width: 16ch;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.pm-flow-support {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
  max-width: 420px;
}

.pm-flow-copy {
  max-width: 420px;
  font-size: 0.98rem;
  color: rgba(241, 245, 249, 0.8);
  line-height: 1.65;
}

.pm-flow-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-flow-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(129, 140, 248, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pm-flow-bullets span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.88);
  flex-shrink: 0;
}

.pm-step-panel {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(20, 22, 38, 0.72);
  text-align: left;
}

.pm-step-panel-primary {
  border-color: rgba(129, 140, 248, 0.18);
  background: rgba(22, 24, 42, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pm-step-panel-secondary {
  background: rgba(20, 22, 38, 0.64);
}

.pm-step-panel-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.pm-section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.pm-panel-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-panel-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-primary-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-primary-badge-required {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.2);
  color: var(--accent-light);
}

.pm-step-helper {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pm-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pm-input-row {
  display: flex;
  gap: 8px;
}

.pm-input {
  flex: 1;
  min-height: 52px;
  padding: 14px 16px;
  border: 1.5px solid rgba(129, 140, 248, 0.16);
  border-radius: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-primary);
  background: rgba(6, 9, 20, 0.72);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pm-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.pm-input::placeholder {
  color: var(--text-muted);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
}

.pm-input-status {
  margin-top: 8px;
  font-size: 12px;
  min-height: 18px;
  text-align: left;
}

.pm-inline-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pm-inline-trust span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(129, 140, 248, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pm-inline-trust-compact {
  justify-content: center;
  margin-top: 0;
}

.pm-help-details {
  margin-top: 14px;
}

.pm-help-summary {
  font-size: 13px;
  color: var(--accent-light);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 0;
}

.pm-help-summary::-webkit-details-marker {
  display: none;
}

.pm-help-summary::before {
  content: "+ ";
  font-weight: 700;
}

details[open] > .pm-help-summary::before {
  content: "\2212  ";
}

.pm-help-summary:hover {
  color: var(--accent);
}

.pm-help-body {
  margin-top: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(129, 140, 248, 0.1);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.pm-help-body p {
  margin: 0 0 6px;
}

.pm-help-body ol {
  margin: 0;
  padding-left: 20px;
}

.pm-help-body li {
  margin-bottom: 4px;
}

.pm-help-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
}

.pm-flow-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px auto;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.9;
  text-align: center;
}

.pm-flow-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(129, 140, 248, 0.1);
  line-height: 1.4;
}

.pm-flow-divider::before,
.pm-flow-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.16), transparent);
}

.pm-csv-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.pm-csv-upload-area {
  position: relative;
  padding: 30px 22px;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.16);
  background:
    radial-gradient(circle at top, rgba(129, 140, 248, 0.12), rgba(129, 140, 248, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.pm-csv-upload-area::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(129, 140, 248, 0.24);
  border-radius: 14px;
  pointer-events: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pm-csv-upload-area:hover::before,
.pm-csv-upload-area.pm-dragging::before {
  border-color: rgba(129, 140, 248, 0.5);
  transform: scale(0.995);
}

.pm-csv-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  text-align: center;
}

.pm-drop-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(99, 102, 241, 0.13);
  border: 1px solid rgba(129, 140, 248, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.pm-csv-icon {
  font-size: 24px;
  display: block;
  margin: 0;
}

.pm-drop-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-drop-copy {
  max-width: 430px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pm-csv-browse {
  color: var(--accent-light);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
  font-weight: 600;
  font-family: inherit;
}

.pm-csv-loaded {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  font-size: 14px;
  color: var(--green);
}

.pm-csv-check {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}

.pm-csv-remove {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  margin-left: auto;
  padding: 0 4px;
}

.pm-csv-remove:hover {
  color: var(--red);
}

.pm-cta-zone {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(129, 140, 248, 0.12);
}

.pm-btn-primary {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 0;
  padding: 16px;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.24);
  font-family: inherit;
}

.pm-btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  box-shadow: 0 18px 34px rgba(99, 102, 241, 0.28);
  transform: translateY(-1px);
}

.pm-btn-primary:disabled {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(129, 140, 248, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 26px rgba(15, 23, 42, 0.22);
  cursor: not-allowed;
  transform: none;
  color: rgba(241, 245, 249, 0.82);
}

.pm-btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all 0.15s ease;
  font-family: inherit;
}

.pm-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.pm-btn-back {
  font-size: 13px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 500;
}

.pm-btn-back:hover {
  color: var(--accent-light);
}

.pm-cta-helper {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: -2px auto 0;
}

.pm-cta-helper.pm-ready {
  color: rgba(241, 245, 249, 0.72);
}

.pm-country-info {
  display: grid;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-align: left;
}

.pm-country-info-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pm-country-info-text {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.pm-trust {
  display: none;
}

.pm-scan-header {
  text-align: center;
  margin-bottom: 20px;
}

.pm-scan-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.pm-scan-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.pm-scan-card {
  padding: 28px 24px;
}

.pm-progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 18px;
}

.pm-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.pm-scan-steps {
  font-size: 13px;
  color: var(--text-secondary);
}

.pm-step {
  padding: 4px 0;
}

.pm-step-active {
  color: var(--accent-light);
}

.pm-step-done {
  color: var(--green);
  font-weight: 500;
}

.pm-scan-pct {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

.pm-results-header {
  margin-bottom: 14px;
}

.pm-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(16, 18, 34, 0.96) 0%, rgba(11, 13, 24, 0.98) 100%);
  box-shadow:
    0 20px 48px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pm-rh-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-rh-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
  font-size: 24px;
}

.pm-rh-kicker {
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.pm-rh-country {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pm-rh-year {
  font-size: 13px;
  color: var(--text-secondary);
}

.pm-rh-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pm-rh-product {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pm-rh-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #86efac;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.pm-hero-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(16, 18, 34, 0.96) 0%, rgba(12, 14, 28, 0.98) 100%);
  border: 1px solid rgba(129, 140, 248, 0.14);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: left;
  box-shadow:
    0 18px 40px rgba(2, 6, 23, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pm-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 600;
}

.pm-hero-value {
  font-size: 24px;
  font-weight: 800;
}

.pm-pnl-pos { color: var(--green); }
.pm-pnl-neg { color: var(--red); }

.pm-stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.pm-mini-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(18, 20, 36, 0.96) 0%, rgba(15, 18, 32, 0.98) 58%, rgba(8, 25, 18, 0.96) 100%);
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 22px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow:
    0 24px 52px rgba(2, 6, 23, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pm-mini-cta-copy {
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.pm-mini-cta-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.pm-mini-cta-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pm-mini-cta-sub {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.76);
}

.pm-mini-cta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm-mini-cta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(129, 140, 248, 0.14);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.pm-mini-cta-pills span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.pm-mini-cta-action {
  display: grid;
  gap: 10px;
  min-width: 220px;
  margin-left: auto;
  text-align: right;
}

.pm-mini-cta-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.pm-mini-cta-price-note {
  font-size: 12px;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.66);
}

.pm-btn-mini-cta {
  width: 100%;
  min-height: auto;
  padding: 13px 22px;
  font-size: 14px;
}

.pm-activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.pm-stat-card {
  background:
    linear-gradient(180deg, rgba(16, 18, 32, 0.96) 0%, rgba(12, 14, 28, 0.98) 100%);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: left;
  border: 1px solid rgba(129, 140, 248, 0.12);
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.16);
}

.pm-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.pm-section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-align: left;
}

.pm-cov-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pm-cov-score {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
}

.pm-cov-sub {
  font-size: 13px;
  color: var(--green);
  margin-left: 6px;
}

.pm-cov-badge {
  font-size: 12px;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.pm-cov-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.pm-cov-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.pm-complexity-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}

.pm-complexity-low { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.pm-complexity-med { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.pm-complexity-high { background: rgba(239, 68, 68, 0.15); color: var(--red); }

.pm-top-market {
  display: flex;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-align: left;
}

.pm-top-market:last-of-type {
  border-bottom: none;
}

.pm-top-title {
  flex: 1;
  color: var(--text-secondary);
  font-weight: 500;
}

.pm-top-pnl {
  font-weight: 700;
}

.pm-top-outcome {
  margin-left: 14px;
  font-size: 12px;
  font-weight: 500;
}

.pm-status-settled { color: var(--green); }
.pm-status-partial { color: var(--accent-light); }
.pm-status-open { color: var(--text-muted); }

.pm-filing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
}

.pm-tax-note-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}

.pm-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  text-align: left;
}

.pm-feature-item {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm-feature-check {
  color: var(--green);
  font-weight: 600;
}

.pm-cta-box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(18, 20, 36, 0.96) 0%, rgba(11, 13, 24, 0.99) 100%);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 24px;
  padding: 30px 24px;
  margin-bottom: 14px;
  text-align: left;
  box-shadow:
    0 26px 60px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pm-convert-shell {
  display: grid;
  gap: 18px;
}

.pm-convert-head {
  display: grid;
  gap: 10px;
}

.pm-convert-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.16);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.pm-cta-box h3 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.pm-cta-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.pm-cta-box p strong {
  font-weight: 600;
  color: var(--text-primary);
}

.pm-convert-rail {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.4fr);
  gap: 16px;
}

.pm-convert-price-card,
.pm-convert-proof-item {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pm-convert-price-label,
.pm-pricing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pm-convert-price {
  margin-top: 10px;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
}

.pm-convert-price-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

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

.pm-convert-proof-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-convert-proof-copy {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pm-pricing-shell {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(129, 140, 248, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.pm-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.pm-cta-buttons .pm-btn-primary {
  width: auto;
  min-width: min(100%, 340px);
  padding: 15px 32px;
}

.pm-pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.pm-pricing-table td {
  padding: 9px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.1);
}

.pm-pricing-table td:first-child {
  color: var(--text-secondary);
}

.pm-pricing-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
}

.pm-pricing-table tr.pm-tier-active td {
  background: rgba(99, 102, 241, 0.12);
  color: #c7d2fe;
}

.pm-pricing-table tr.pm-tier-active td:last-child {
  color: #e0e7ff;
}

.pm-pricing-table tr.pm-tier-free td {
  color: #86efac;
}

.pm-pricing-table tr.pm-tier-free td:last-child {
  color: #4ade80;
}

.pm-convert-footnote {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.pm-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  margin-top: 10px;
  padding: 0 20px;
}

.features-row {
  align-items: stretch;
  gap: 18px;
  margin-top: 12px;
}

.features-head {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto 6px;
  text-align: center;
}

.features-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.features-head h2 {
  margin-bottom: 10px;
}

.features-head p {
  max-width: 640px;
  margin: 0 auto;
}

.feat {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 15, 26, 0.92), rgba(21, 21, 38, 0.9));
  border: 1px solid rgba(129, 140, 248, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.feat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.5), rgba(129, 140, 248, 0));
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.feat-eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.feat h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.feat p {
  font-size: 0.87rem;
  color: var(--text-secondary);
}

/* ===== Premium Marketing Sections ===== */
.features-row,
.pricing-band {
  position: relative;
}

.features-row {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.features-head {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0 auto 8px;
  text-align: center;
}

.features-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.features-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.features-head h2 {
  max-width: 900px;
  margin: 0 auto 14px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  letter-spacing: -0.04em;
}

.features-head p {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feat,
.price-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.feat::before,
.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(165, 180, 252, 0) 0%, rgba(165, 180, 252, 0.5) 50%, rgba(165, 180, 252, 0) 100%);
  pointer-events: none;
}

.feat,
.price-card {
  background: linear-gradient(180deg, rgba(18, 20, 36, 0.94) 0%, rgba(11, 13, 24, 0.98) 100%);
  border: 1px solid rgba(129, 140, 248, 0.12);
  box-shadow:
    0 18px 40px rgba(3, 7, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feat:hover,
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow:
    0 24px 48px rgba(3, 7, 18, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.feat {
  padding: 30px 28px;
}

.feat-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 1.45rem;
}

.feat-eyebrow {
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.feat h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.feat p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.pricing-band {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  padding: 0 24px;
  text-align: center;
}

.pricing-band h2 {
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.pricing-band .pricing-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.pricing-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.price-card {
  padding: 24px 18px;
}

.price-card .tier {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.price-card .price {
  font-size: clamp(2rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.price-card.popular {
  border-color: rgba(129, 140, 248, 0.42);
  background:
    radial-gradient(circle at top center, rgba(99, 102, 241, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(25, 28, 52, 0.98) 0%, rgba(13, 15, 28, 0.98) 100%);
  box-shadow:
    0 22px 48px rgba(79, 70, 229, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pm-ty-loading,
.pm-ty-banner {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border-radius: 26px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(20, 22, 38, 0.96) 0%, rgba(12, 14, 26, 0.98) 56%, rgba(9, 28, 20, 0.98) 100%);
  box-shadow:
    0 28px 64px rgba(2, 6, 23, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  margin-bottom: 16px;
}

.pm-ty-loading::before,
.pm-ty-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0) 28%, rgba(34, 197, 94, 0.08) 100%);
}

.pm-ty-loading > *,
.pm-ty-banner > * {
  position: relative;
  z-index: 1;
}

.pm-ty-kicker {
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.pm-ty-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(180deg, #5dd67f 0%, #39b96c 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 34px;
  margin-bottom: 16px;
  box-shadow:
    0 18px 36px rgba(34, 197, 94, 0.28),
    0 0 0 10px rgba(34, 197, 94, 0.1);
}

.pm-ty-loading-title,
.pm-ty-title {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.04em;
}

.pm-ty-loading-sub,
.pm-ty-copy,
.pm-ty-meta {
  max-width: 680px;
  margin: 10px auto 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(241, 245, 249, 0.74);
}

.pm-ty-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 6px;
  flex-wrap: wrap;
}

.pm-ty-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 196px;
  padding: 14px 24px;
  font-size: 14px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  font-family: inherit;
}

.pm-ty-dl-btn:hover {
  transform: translateY(-1px);
}

.pm-ty-dl-pdf {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.24);
}

.pm-ty-dl-csv {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(129, 140, 248, 0.16);
  color: var(--text-primary);
}

.pm-ty-dl-csv:hover {
  border-color: rgba(129, 140, 248, 0.28);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.14);
}

.pm-cta-box.pm-ty-guide-shell {
  padding: 30px 24px;
}

.pm-ty-guide {
  display: grid;
  gap: 18px;
}

.pm-ty-guide-head {
  display: grid;
  gap: 0;
}

.pm-ty-guide-title {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.pm-ty-guide-country {
  margin-top: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.16);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pm-ty-guide-surface {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(129, 140, 248, 0.12);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pm-ty-guide-surface-meta {
  display: grid;
  gap: 16px;
}

.pm-ty-steps {
  display: grid;
  gap: 12px;
}

.pm-ty-step {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(129, 140, 248, 0.08);
}

.pm-ty-step:first-child {
  padding-top: 0;
}

.pm-ty-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pm-ty-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.16);
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-ty-step-copy {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.pm-ty-step-copy strong,
.pm-ty-tips strong {
  color: var(--text-primary);
}

.pm-ty-table-title {
  margin: 0 0 14px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pm-ty-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(129, 140, 248, 0.12);
  background: rgba(8, 10, 20, 0.22);
}

.pm-ty-table {
  width: 100%;
  border-collapse: collapse;
}

.pm-ty-table th,
.pm-ty-table td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(129, 140, 248, 0.08);
  text-align: left;
}

.pm-ty-table th {
  background: rgba(129, 140, 248, 0.08);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pm-ty-table tbody tr:last-child td {
  border-bottom: 0;
}

.pm-ty-table td {
  color: var(--text-secondary);
}

.pm-ty-table td:nth-child(2),
.pm-ty-table th:nth-child(2),
.pm-ty-val {
  text-align: right;
}

.pm-ty-val {
  font-weight: 700;
  color: var(--text-primary);
}

.pm-ty-deadline {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  font-size: 14px;
}

.pm-ty-tips {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.pm-ty-tips ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.pm-ty-tips li + li {
  margin-top: 6px;
}

.pm-ty-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  font-size: 14px;
  line-height: 1.6;
}

[data-theme="light"] .hero-sub {
  color: rgba(17, 24, 39, 0.76);
}

[data-theme="light"] .hero-badge,
[data-theme="light"] .hero-trust-pill {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(79, 70, 229, 0.16);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.08);
}

[data-theme="light"] .hero-logo-badge,
[data-theme="light"] .pm-config-card,
[data-theme="light"] .pm-premium-input-card,
[data-theme="light"] .pm-step-panel,
[data-theme="light"] .feat,
[data-theme="light"] .price-card {
  background: rgba(255, 255, 255, 0.99);
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow:
    0 18px 48px rgba(79, 70, 229, 0.08),
    0 2px 10px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .pm-premium-input-card::before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0) 28%, rgba(34, 197, 94, 0.05) 100%);
}

[data-theme="light"] .pm-config-copy,
[data-theme="light"] .pm-flow-copy {
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] .pm-flow-bullets span,
[data-theme="light"] .pm-inline-trust span,
[data-theme="light"] .pm-flow-divider span {
  background: rgba(79, 70, 229, 0.04);
  border-color: rgba(79, 70, 229, 0.1);
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] .pm-csv-upload-area,
[data-theme="light"] .pm-help-body {
  background:
    radial-gradient(circle at top, rgba(99, 102, 241, 0.06), rgba(99, 102, 241, 0) 55%),
    rgba(79, 70, 229, 0.025);
  border-color: rgba(79, 70, 229, 0.1);
}

[data-theme="light"] .pm-input {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(79, 70, 229, 0.14);
  color: var(--text-primary);
}

[data-theme="light"] .pm-csv-upload-area::before {
  border-color: rgba(79, 70, 229, 0.16);
}

[data-theme="light"] .feat p {
  color: rgba(17, 24, 39, 0.66);
}

[data-theme="light"] .features-kicker {
  border-color: #d9ddf5;
  background: rgba(99, 102, 241, 0.08);
  color: #5b5cf0;
}

[data-theme="light"] .hero-logo-badge {
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.12), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fe 100%);
  border-color: #dfe3f4;
  box-shadow:
    0 16px 34px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .feat,
[data-theme="light"] .price-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fe 100%);
  border-color: #e3e6f3;
  box-shadow:
    0 18px 34px rgba(99, 102, 241, 0.07),
    0 10px 22px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

[data-theme="light"] .feat:hover,
[data-theme="light"] .price-card:hover {
  border-color: #cfd5f4;
  box-shadow:
    0 24px 44px rgba(99, 102, 241, 0.1),
    0 14px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .feat-icon {
  background: rgba(99, 102, 241, 0.08);
  border-color: #dfe3f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .price-card.popular {
  border-color: #bfc7f5;
  background:
    radial-gradient(circle at top center, rgba(99, 102, 241, 0.12), transparent 48%),
    linear-gradient(180deg, #fcfcff 0%, #f3f5ff 100%);
  box-shadow:
    0 24px 44px rgba(99, 102, 241, 0.12),
    0 14px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .pm-report-header,
[data-theme="light"] .pm-hero-card,
[data-theme="light"] .pm-stat-card,
[data-theme="light"] .pm-mini-cta,
[data-theme="light"] .pm-cta-box,
[data-theme="light"] .pm-ty-loading,
[data-theme="light"] .pm-ty-banner,
[data-theme="light"] .pm-ty-guide-surface,
[data-theme="light"] .pm-convert-price-card,
[data-theme="light"] .pm-convert-proof-item,
[data-theme="light"] .pm-pricing-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fe 100%);
  border-color: #e1e5f5;
  box-shadow:
    0 20px 42px rgba(99, 102, 241, 0.08),
    0 10px 24px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .pm-mini-cta,
[data-theme="light"] .pm-ty-loading,
[data-theme="light"] .pm-ty-banner {
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #f6f8ff 56%, #f5fbf8 100%);
}

[data-theme="light"] .pm-rh-flag,
[data-theme="light"] .pm-mini-cta-pills span,
[data-theme="light"] .pm-rh-pill,
[data-theme="light"] .pm-ty-dl-csv,
[data-theme="light"] .pm-ty-table th {
  border-color: #dde2f6;
}

[data-theme="light"] .pm-rh-flag,
[data-theme="light"] .pm-mini-cta-pills span,
[data-theme="light"] .pm-ty-dl-csv,
[data-theme="light"] .pm-ty-table th {
  background: rgba(99, 102, 241, 0.06);
}

[data-theme="light"] .pm-rh-kicker,
[data-theme="light"] .pm-mini-cta-kicker,
[data-theme="light"] .pm-convert-kicker,
[data-theme="light"] .pm-ty-kicker,
[data-theme="light"] .pm-ty-step-num {
  color: #5b5cf0;
}

[data-theme="light"] .pm-mini-cta-sub,
[data-theme="light"] .pm-mini-cta-price-note,
[data-theme="light"] .pm-convert-price-note,
[data-theme="light"] .pm-ty-loading-sub,
[data-theme="light"] .pm-ty-copy,
[data-theme="light"] .pm-ty-meta,
[data-theme="light"] .pm-convert-proof-copy {
  color: rgba(17, 24, 39, 0.68);
}

[data-theme="light"] .pm-mini-cta-price,
[data-theme="light"] .pm-convert-price,
[data-theme="light"] .pm-ty-loading-title,
[data-theme="light"] .pm-ty-title {
  color: #111827;
}

[data-theme="light"] .pm-rh-pill {
  background: rgba(34, 197, 94, 0.08);
  color: #15803d;
}

[data-theme="light"] .pm-ty-table-wrap {
  background: rgba(99, 102, 241, 0.02);
  border-color: #e1e5f5;
}

[data-theme="light"] .pm-ty-table td,
[data-theme="light"] .pm-ty-step-copy,
[data-theme="light"] .pm-ty-tips,
[data-theme="light"] .pm-convert-footnote {
  color: rgba(17, 24, 39, 0.72);
}

[data-theme="light"] .pm-ty-guide-country,
[data-theme="light"] .pm-ty-table th,
[data-theme="light"] .pm-ty-table td,
[data-theme="light"] .pm-ty-step,
[data-theme="light"] .pm-pricing-table td {
  border-color: #e8ebf7;
}

@media (max-width: 960px) {
  .features-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .pm-config-strip,
  .pm-card-intro {
    grid-template-columns: 1fr;
  }

  .pm-flow-support {
    justify-self: start;
    max-width: none;
  }

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

@media (max-width: 640px) {
  .features-kicker {
    max-width: 260px;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    margin-bottom: 16px;
    font-size: 0.68rem;
    line-height: 1.25;
    letter-spacing: 0.09em;
    text-align: center;
    white-space: normal;
  }

  .features-kicker::before {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
  }

  .features-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feat,
  .price-card {
    padding: 24px 20px;
  }

  .hero {
    padding-top: 74px;
    padding-bottom: 44px;
  }

  .hero-badge {
    padding: 8px 12px;
    font-size: 10px;
    line-height: 1.35;
  }

  .hero-brand {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }

  .hero-logo-badge {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .hero-logo-badge img {
    width: 26px;
    height: 26px;
  }

  .hero h1 {
    max-width: 330px;
    margin: 0 auto;
    font-size: clamp(2rem, 8.8vw, 2.35rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-align: center;
    text-wrap: balance;
  }

  .hero h1.pm-main-title {
    max-width: 300px;
  }

  .hero h1.pm-main-title .accent {
    display: block;
  }

  .hero-sub {
    margin-bottom: 18px;
    font-size: 0.97rem;
    line-height: 1.62;
  }

  .hero-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .hero-trust-pill {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    font-size: 0.76rem;
  }

  .pm-flow-bullets {
    display: none;
  }

  .pm-input-card {
    padding: 24px 18px;
  }

  .pm-config-card,
  .pm-step-panel {
    padding: 18px;
  }

  .pm-countries,
  .pm-year-buttons {
    gap: 7px;
  }

  .pm-country-btn,
  .pm-year-btn {
    padding: 10px 13px;
  }

  .pm-input-row {
    flex-direction: column;
  }

  .pm-inline-trust {
    gap: 8px;
  }

  .pm-inline-trust span {
    font-size: 11px;
    padding: 7px 9px;
  }

  .pm-flow-divider {
    gap: 10px;
    font-size: 10px;
  }

  .pm-flow-divider span {
    padding: 7px 10px;
    border-color: rgba(129, 140, 248, 0.16);
  }

  .pm-csv-upload-area {
    padding: 24px 16px;
  }

  .pm-drop-visual {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .pm-cta-zone {
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
  }

  .pm-btn-primary {
    min-height: 54px;
  }

  .pm-cta-helper {
    font-size: 0.83rem;
  }

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

  .pm-activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-features-grid {
    grid-template-columns: 1fr;
  }

  .pm-mini-cta {
    flex-direction: column;
    text-align: center;
  }

  .pm-mini-cta-copy,
  .pm-mini-cta-action {
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .pm-mini-cta-action {
    margin-left: 0;
  }

  .pm-mini-cta-pills {
    justify-content: center;
  }

  .pm-btn-mini-cta {
    width: 100%;
  }

  .pm-report-header {
    flex-direction: column;
  }

  .pm-rh-right {
    justify-content: center;
  }

  .pm-convert-rail,
  .pm-convert-proof {
    grid-template-columns: 1fr;
  }

  .pm-cta-buttons .pm-btn-primary {
    width: 100%;
    min-width: 0;
  }

  .pm-ty-guide-surface,
  .pm-cta-box.pm-ty-guide-shell {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .pm-ty-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pm-ty-buttons {
    flex-direction: column;
  }

  .pm-ty-dl-btn {
    width: 100%;
  }
}
