@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,600;6..96,700;6..96,800&family=Space+Grotesk:wght@300;400;500;700&display=swap');

:root {
  --color-bg: #050505;
  --color-surface: #0f1217;
  --color-brand: #1a1f27;
  --color-accent: #f43f5e;
  --color-text: #F0F4F8;
  --color-muted: #97a4b8;
  --color-border: #232933;
  --font-main: 'Space Grotesk', sans-serif;
  --font-display: 'Bodoni Moda', serif;
  --radius: 4px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(244, 63, 94, 0.07), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.03), transparent 20%),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-lockup img {
  width: 230px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--color-accent);
  border-color: rgba(244, 63, 94, 0.4);
  color: #050505;
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--color-border);
  color: var(--color-text);
}

.button-ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-muted);
}

.button-block {
  width: 100%;
}

.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(circle at top right, rgba(232, 48, 74, 0.24), transparent 28%),
    radial-gradient(circle at top left, rgba(30, 58, 95, 0.4), transparent 35%);
}

.hero-stack {
  display: grid;
  gap: 26px;
  max-width: 980px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 760px;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(240, 244, 248, 0.08);
  border: 1px solid rgba(240, 244, 248, 0.1);
  border-radius: 999px;
  color: #d7e5fb;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #60A5FA;
  box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.12);
}

.accent-text {
  color: #60A5FA;
}

.hero-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-panel,
.surface-card,
.pricing-card,
.leaderboard-card,
.stat-card,
.detail-panel,
.login-card,
.quote-strip,
.framework-card,
.tier-badge,
.filter-bar,
.empty-state,
.coaching-card,
.book-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.hero-panel {
  padding: 28px;
}

.hero-converter,
.hero-results {
  background: linear-gradient(180deg, rgba(240, 244, 248, 0.97), rgba(226, 232, 240, 0.95));
  border: 1px solid rgba(240, 244, 248, 0.5);
  border-radius: 24px;
  padding: 18px;
  color: #132b56;
  box-shadow: 0 22px 60px rgba(8, 15, 28, 0.28);
}

.hero-converter-shell {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 43, 86, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.hero-converter-subject {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(19, 43, 86, 0.1);
}

.hero-converter-subject label {
  color: #9aa9c5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-converter-subject input,
.hero-converter-body textarea {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #132b56;
  padding: 0;
}

.hero-converter-subject input {
  min-height: 48px;
  padding: 0 16px;
  background: #1f2430;
  color: #f8fafc;
}

.hero-converter-subject input::placeholder {
  color: rgba(248, 250, 252, 0.72);
}

.hero-converter-body {
  padding: 18px;
  border-bottom: 1px solid rgba(19, 43, 86, 0.1);
}

.hero-converter-body textarea {
  min-height: 180px;
  color: #5e7397;
}

.hero-converter-body textarea::placeholder {
  color: #b7c4d8;
}

.hero-converter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.hero-mode-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(30, 58, 95, 0.16);
  border-radius: 16px;
  background: rgba(208, 220, 241, 0.7);
}

.hero-mode {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #7f8fb1;
  font-weight: 700;
}

.hero-mode.is-active {
  background: #edf4ff;
  color: #3560d3;
  box-shadow: inset 0 0 0 1px rgba(53, 96, 211, 0.12);
}

.hero-score-button {
  min-width: 174px;
  background: linear-gradient(180deg, #f9fbff, #edf3ff);
  border-color: rgba(53, 96, 211, 0.16);
  color: #3560d3;
}

.hero-score-button:hover,
.hero-score-button:focus-visible {
  background: linear-gradient(180deg, #ffffff, #edf3ff);
}

.hero-meta {
  margin-top: 14px;
  color: rgba(19, 43, 86, 0.56);
  font-size: 0.94rem;
  text-align: center;
}

.hero-meta span {
  margin: 0 8px;
}

.hero-results {
  display: grid;
  gap: 18px;
}

.hero-results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-results-header h2 {
  margin: 6px 0 0;
  color: #132b56;
  font-size: 1.9rem;
  line-height: 1.1;
}

.hero-results-total {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #132b56;
}

.hero-results-total strong {
  font-size: 3.2rem;
  line-height: 1;
}

.hero-results-total span {
  color: #90a0bb;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.gmail-preview-card {
  overflow: hidden;
  border: 1px solid rgba(19, 43, 86, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 248, 0.96));
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.gmail-preview-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(240, 244, 248, 0.95), rgba(229, 236, 246, 0.95));
  border-bottom: 1px solid rgba(19, 43, 86, 0.08);
}

.gmail-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 1.2rem;
  font-weight: 700;
}

.gmail-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ea4335, #fbbc05 50%, #34a853);
  color: #ffffff;
  font-weight: 800;
}

.gmail-search {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #6b7280;
  font-size: 0.95rem;
}

.gmail-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
}

.gmail-status::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.gmail-preview-body {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: 430px;
}

.gmail-sidebar {
  padding: 18px 16px;
  background: rgba(236, 242, 250, 0.82);
  border-right: 1px solid rgba(19, 43, 86, 0.08);
}

.gmail-compose {
  width: 100%;
  min-height: 52px;
  margin-bottom: 18px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.gmail-nav-item {
  padding: 12px 14px;
  border-radius: 999px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
}

.gmail-nav-item.is-active {
  background: rgba(51, 65, 85, 0.1);
  color: #1e293b;
}

.gmail-main {
  padding: 16px 18px 18px;
  background: rgba(255, 255, 255, 0.68);
}

.gmail-banner {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  margin-bottom: 12px;
  border: 1px solid rgba(19, 43, 86, 0.08);
}

.gmail-banner span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.gmail-list {
  overflow: hidden;
  border: 1px solid rgba(19, 43, 86, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.gmail-row {
  display: grid;
  grid-template-columns: 28px 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 14px;
  color: #475569;
  border-bottom: 1px solid rgba(19, 43, 86, 0.06);
}

.gmail-row:last-child {
  border-bottom: 0;
}

.gmail-row-preview {
  background: rgba(59, 130, 246, 0.08);
}

.gmail-cell {
  min-width: 0;
}

.gmail-icon-cell {
  color: #94a3b8;
  font-size: 1rem;
}

.gmail-sender {
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gmail-line {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
}

.gmail-line strong {
  color: #0f172a;
  font-weight: 700;
}

.gmail-line span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.gmail-time {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-metric-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(19, 43, 86, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-metric-label {
  color: #7185a7;
  font-size: 0.86rem;
  line-height: 1.45;
}

.hero-metric-card strong {
  color: #132b56;
  font-size: 1.5rem;
}

.hero-metric-locked {
  display: inline-block;
  color: #3560d3 !important;
  font-size: 1rem !important;
  line-height: 1.45;
}

.hero-results .section-copy {
  color: #50698f;
}

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

.hero-highlight {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(208, 220, 241, 0.35);
  color: #40577b;
}

.hero-panel .score-wall {
  display: grid;
  gap: 14px;
}

.framework-shell {
  display: grid;
  gap: 34px;
}

.framework-shell .section-intro {
  max-width: 720px;
  margin-bottom: 0;
}

.framework-shell .section-copy {
  max-width: 560px;
  color: #9aa7bb;
  font-size: 1.06rem;
  line-height: 1.7;
}

.framework-intro-card {
  width: fit-content;
  max-width: min(100%, 620px);
  margin-top: 8px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.framework-intro-card .section-copy {
  margin: 0;
}

.framework-experience {
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(320px, 1fr);
  gap: 96px;
  align-items: start;
}

.framework-wheel-wrap {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.framework-wheel {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.framework-wheel-path {
  stroke: #0A0B0D;
  stroke-width: 0.5;
  fill-opacity: 0.18;
  transition: fill-opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  transform-origin: 50px 50px;
}

.framework-wheel-segment.is-active .framework-wheel-path,
.framework-wheel-segment:hover .framework-wheel-path,
.framework-wheel-segment:focus .framework-wheel-path {
  fill-opacity: 0.82;
}

.framework-wheel-label {
  font-size: 2.35px;
  font-weight: 800;
  letter-spacing: 0.06em;
  pointer-events: none;
  opacity: 0.9;
}

.framework-wheel-segment.is-active .framework-wheel-label,
.framework-wheel-segment:hover .framework-wheel-label,
.framework-wheel-segment:focus .framework-wheel-label {
  opacity: 1;
}

.framework-wheel-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.framework-wheel-center strong {
  font-size: 3rem;
  line-height: 1;
}

.framework-wheel-center span {
  margin-top: 6px;
  color: #8E9299;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.framework-panel {
  min-height: 340px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 28px;
  padding-top: 44px;
}

.framework-panel-default,
.framework-panel-active {
  width: min(100%, 420px);
  display: grid;
  gap: 14px;
}

.framework-panel-kicker {
  color: #FF3B30;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.framework-panel-default h3 {
  margin: 0;
  max-width: 210px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 0.96;
}

.framework-panel-active h3 {
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.1rem);
  line-height: 0.98;
  color: var(--framework-active-color, #ffffff);
}

.framework-panel-description {
  margin: 0;
  color: #9aa7bb;
  font-size: 1.12rem;
  line-height: 1.72;
  max-width: 360px;
}

.framework-description-card {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 30px rgba(0, 0, 0, 0.08);
}

.framework-description-copy {
  margin: 0;
}

.framework-description-list {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.9rem;
}

.framework-description-list li {
  color: #d5dbe4;
  line-height: 1.6;
}

.framework-description-list li::marker {
  color: var(--framework-active-color, #ffffff);
  font-weight: 800;
}

.framework-panel-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.framework-panel-points {
  color: var(--framework-active-color, #FF3B30);
  font-size: 1.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.score-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(30, 58, 95, 0.35);
  border: 1px solid rgba(136, 153, 170, 0.16);
  border-radius: var(--radius);
}

.score-chip strong {
  font-size: 1.5rem;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(30, 58, 95, 0.5);
}

.section-intro {
  max-width: 680px;
  margin-bottom: 28px;
}

.quote-strip {
  padding: 22px 24px;
  font-size: 1.1rem;
  color: var(--color-text);
  box-shadow: inset 4px 0 0 var(--color-accent);
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

.pricing-solo {
  width: min(100%, 1200px);
}

.pricing-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.surface-card,
.framework-card,
.pricing-card,
.leaderboard-card,
.stat-card,
.coaching-card,
.book-card {
  padding: 22px;
}

.step-number,
.framework-points,
.pricing-price,
.tier-score {
  color: var(--color-accent);
  font-weight: 800;
}

.framework-card p,
.surface-card p,
.pricing-card p,
.leaderboard-card p,
.coaching-card p,
.book-card p {
  color: var(--color-muted);
}

.framework-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

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

.tier-badge {
  padding: 18px;
  text-align: center;
}

.tier-badge h3,
.surface-card h3,
.framework-card h3,
.pricing-card h3,
.leaderboard-card h3,
.coaching-card h3,
.book-card h3,
.stat-card h3 {
  margin: 0 0 8px;
}

.tier-badge p,
.pricing-card ul,
.coaching-card ul,
.book-card ul {
  margin: 0;
  color: var(--color-muted);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  padding: 26px 32px 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.025), transparent 38%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.98), rgba(9, 11, 15, 0.98));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 42px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at bottom center, var(--pricing-glow, transparent), transparent 42%);
  opacity: 0.65;
  pointer-events: none;
}

.pricing-live {
  --pricing-accent: #4F9DFF;
  --pricing-glow: rgba(37, 99, 235, 0.14);
  border-color: rgba(79, 157, 255, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(79, 157, 255, 0.18),
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 0 60px rgba(37, 99, 235, 0.08);
}

.pricing-pro {
  --pricing-accent: #f97316;
  --pricing-glow: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(249, 115, 22, 0.16),
    0 0 0 1px rgba(249, 115, 22, 0.16),
    0 0 44px rgba(249, 115, 22, 0.08);
}

.pricing-plus {
  --pricing-accent: #FF315D;
  --pricing-glow: rgba(225, 29, 72, 0.18);
  border-color: rgba(255, 49, 93, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(255, 49, 93, 0.16),
    0 0 0 1px rgba(255, 49, 93, 0.18),
    0 0 56px rgba(225, 29, 72, 0.14);
}

.pricing-review {
  --pricing-accent: #eab308;
  --pricing-glow: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(234, 179, 8, 0.12),
    0 0 0 1px rgba(234, 179, 8, 0.14),
    0 0 44px rgba(234, 179, 8, 0.07);
}

.pricing-card.featured {
  border-color: rgba(255, 49, 93, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(255, 49, 93, 0.16),
    0 0 0 1px rgba(255, 49, 93, 0.28),
    0 28px 52px rgba(36, 8, 16, 0.32);
}

.pricing-badge,
.pricing-badge-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-badge-chip {
  background: rgba(255, 255, 255, 0.05);
  color: #dbe6f7;
}

.pricing-live .pricing-badge-chip {
  background: rgba(37, 99, 235, 0.18);
  color: #60a5fa;
}

.pricing-pro .pricing-badge-chip {
  background: rgba(249, 115, 22, 0.18);
  color: #fb923c;
}

.pricing-plus .pricing-badge-chip {
  background: rgba(225, 29, 72, 0.18);
  color: #fb7185;
}

.pricing-review .pricing-badge-chip {
  background: rgba(68, 64, 60, 0.32);
  color: #d6d3d1;
}

.pricing-badge {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.pricing-card-top {
  display: grid;
  gap: 18px;
  min-height: 170px;
  align-content: start;
  margin-bottom: 0;
}

.pricing-card-label-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.pricing-card h3 {
  max-width: 240px;
  color: var(--color-text);
  margin: 0;
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: none;
}

.pricing-card-description {
  margin: 0;
  color: #a8adb7;
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 54px;
}

.pricing-card-divider {
  height: 1px;
  margin: 0 -32px 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.7;
}

.pricing-price {
  color: #dbe8f6;
  margin: 0;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pricing-price-suffix {
  color: #7f838c;
  font-size: 1.1rem;
  font-weight: 500;
}

.pricing-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 28px;
  padding-top: 34px;
}

.pricing-card ul,
.coaching-card ul,
.book-card ul {
  padding-left: 18px;
}

.pricing-card ul {
  display: grid;
  gap: 18px;
  flex: 1 1 auto;
  padding-left: 0;
  list-style: none;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #d7d8dc;
  line-height: 1.45;
  font-size: 0.92rem;
}

.pricing-card li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  flex: 0 0 22px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-live li::before {
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.16);
}

.pricing-pro li::before {
  color: #fb923c;
  background: rgba(249, 115, 22, 0.14);
}

.pricing-plus li::before {
  color: #fb7185;
  background: rgba(225, 29, 72, 0.16);
}

.pricing-review li::before {
  color: #d6d3d1;
  background: rgba(68, 64, 60, 0.28);
}

.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  margin-top: auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pricing-cta:hover,
.pricing-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-cta-featured {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 20px 44px rgba(255, 255, 255, 0.1);
}

.pricing-cta-featured:hover,
.pricing-cta-featured:focus-visible {
  background: #f5f5f5;
}

.leaderboard-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.leaderboard-card.featured {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.18);
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
}

.rank-pill.rank-s {
  background: #1A3A1A;
  color: #4ADE80;
}

.rank-pill.rank-a {
  background: #1A2E3A;
  color: #60A5FA;
}

.rank-pill.rank-b {
  background: #2A2A1A;
  color: #FACC15;
}

.rank-pill.rank-c {
  background: #2A1A1A;
  color: #FB923C;
}

.rank-pill.rank-d {
  background: #2A1A1A;
  color: #F87171;
}

.leaderboard-score {
  margin: 16px 0 8px;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.muted {
  color: var(--color-muted);
}

.submit-shell,
.admin-shell {
  display: grid;
  gap: 24px;
}

.submit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.stack-form {
  display: grid;
  gap: 14px;
}

.field-row,
.radio-row,
.score-grid,
.admin-stats,
.filter-grid {
  display: grid;
  gap: 14px;
}

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

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

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

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

label,
.field-label {
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.75);
  color: var(--color-text);
  padding: 12px 14px;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(17, 24, 39, 0.75);
}

.form-feedback,
.form-error,
.form-success {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
}

.form-feedback,
.form-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #fca5a5;
}

.form-success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #86efac;
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  color: var(--color-muted);
}

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

.leaderboard-hero {
  padding: 88px 0 46px;
  background:
    linear-gradient(180deg, rgba(30, 58, 95, 0.24), transparent),
    radial-gradient(circle at top center, rgba(232, 48, 74, 0.14), transparent 36%);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tab-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
}

.tab-button.is-active {
  background: var(--color-brand);
  color: var(--color-text);
}

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

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--color-muted);
}

.book-layout,
.coaching-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.calendly-frame {
  width: 100%;
  min-height: 760px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.admin-login-page,
.admin-page {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.2), transparent 35%), var(--color-bg);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 460px);
  padding: 30px;
}

.admin-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.admin-brand img {
  width: 220px;
}

.admin-meta {
  margin-top: 8px;
  color: var(--color-muted);
}

.admin-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 24px 0;
}

.stat-card .label {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-card .value {
  margin-top: 10px;
  font-size: 1.9rem;
  font-weight: 800;
}

.filter-bar {
  padding: 18px;
  margin: 28px 0 18px;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(30, 58, 95, 0.55);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--color-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-row {
  cursor: pointer;
}

.data-row:hover {
  background: rgba(30, 58, 95, 0.16);
}

.status-badge,
.mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pending {
  background: rgba(250, 204, 21, 0.14);
  color: #fde68a;
}

.status-paid {
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

.status-in-review {
  background: rgba(251, 146, 60, 0.14);
  color: #fdba74;
}

.status-delivered {
  background: rgba(74, 222, 128, 0.14);
  color: #86efac;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-pill {
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
}

.detail-row td {
  background: rgba(10, 14, 20, 0.95);
}

.detail-panel {
  padding: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

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

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.score-summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: var(--color-muted);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(13, 17, 23, 0.82);
}

.modal-card {
  width: min(100%, 460px);
  padding: 26px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}

@media (max-width: 960px) {
  .gmail-preview-body {
    grid-template-columns: 1fr;
  }

  .gmail-sidebar {
    display: none;
  }

  .framework-experience {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .framework-panel {
    min-height: 0;
    padding-left: 0;
    padding-top: 0;
  }

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

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

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

  .hero-grid,
  .submit-grid,
  .book-layout,
  .coaching-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .leaderboard-preview,
  .leaderboard-grid,
  .admin-stats,
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .gmail-preview-topbar,
  .gmail-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .gmail-search,
  .gmail-status {
    width: 100%;
  }

  .gmail-row {
    gap: 4px;
    padding: 12px 14px;
  }

  .gmail-icon-cell {
    display: none;
  }

  .gmail-line {
    display: block;
    white-space: normal;
  }

  .pricing-card-top {
    min-height: 0;
  }

  .pricing-card-label-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card h3 {
    font-size: 2.6rem;
  }

  .pricing-price {
    font-size: 3.8rem;
  }

  .framework-panel-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .framework-panel-description {
    font-size: 1.08rem;
  }

  .hero-converter-subject,
  .hero-converter-actions,
  .hero-results-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-converter-subject {
    display: grid;
  }

  .hero-converter-subject input {
    min-height: 44px;
  }

  .hero-mode-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .hero-mode {
    flex: 1 1 0;
  }

  .hero-score-button {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13, 17, 23, 0.98);
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .button {
    padding: 16px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.45);
  }

  .grid-3,
  .grid-4,
  .pricing-showcase,
  .leaderboard-preview,
  .leaderboard-grid,
  .hero-results-grid,
  .field-row,
  .radio-row,
  .score-grid,
  .admin-stats,
  .filter-grid,
  .tier-row {
    grid-template-columns: 1fr;
  }

  .hero,
  .leaderboard-hero,
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero h1,
  .section-heading {
    font-size: 2.35rem;
  }

  .footer-row,
  .admin-header-row {
    flex-direction: column;
  }
}
