/* ==========================================================================
   Bench Press Calculator (benchpresscalculator.online)
   Design System: Athletic Precision — Charcoal, Crisp White & Electric Orange
   ========================================================================== */

:root {
  /* Core Palette */
  --charcoal-950: #0b0d11;
  --charcoal-900: #111318;
  --charcoal-850: #161921;
  --charcoal-800: #1c202a;
  --charcoal-700: #262b38;
  --charcoal-600: #353c4d;
  --charcoal-500: #50596e;

  --slate-100: #f6f7f9;
  --slate-200: #ebedf2;
  --slate-300: #d8dce6;
  --slate-400: #9ca4b5;
  --slate-600: #4b5364;
  --slate-800: #1f2430;

  --white: #ffffff;

  /* Electric Orange Accent */
  --orange-500: #ff5500;
  --orange-400: #ff6e24;
  --orange-600: #e04800;
  --orange-glow: rgba(255, 85, 0, 0.18);
  --orange-soft: #fff2eb;
  --orange-border: rgba(255, 85, 0, 0.35);

  /* Semantic Status Colors */
  --green-500: #16a34a;
  --green-soft: #dcfce7;
  --blue-500: #2563eb;
  --amber-500: #d97706;
  --amber-soft: #fef3c7;
  --red-500: #dc2626;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Barlow Condensed', 'Oswald', Impact, 'Arial Narrow', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  /* Spacing & Sizing */
  --container-max: 1200px;
  --container-narrow: 860px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 13, 17, 0.06);
  --shadow-md: 0 10px 28px rgba(11, 13, 17, 0.09);
  --shadow-lg: 0 20px 48px rgba(11, 13, 17, 0.16);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.42);
  --shadow-orange: 0 8px 24px rgba(255, 85, 0, 0.32);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--slate-100);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--orange-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange-500);
}

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--orange-500);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 19, 24, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--charcoal-700);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--white);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--charcoal-800), var(--charcoal-900));
  border: 1px solid var(--charcoal-600);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.brand-logo:hover .brand-icon {
  border-color: var(--orange-500);
  transform: translateY(-1px);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-400);
  font-weight: 700;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: #d1d6e0;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: var(--charcoal-800);
}

.nav-link.active {
  color: var(--orange-400);
}

.nav-cta {
  background: var(--orange-500);
  color: var(--white) !important;
  padding: 8px 14px;
  margin-left: 6px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--orange-400) !important;
}

.mobile-menu-btn {
  display: none;
  background: var(--charcoal-800);
  border: 1px solid var(--charcoal-600);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-menu-btn:hover {
  border-color: var(--orange-500);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 85, 0, 0.42);
}

.btn-secondary {
  background: var(--charcoal-800);
  color: var(--white);
  border-color: var(--charcoal-600);
}

.btn-secondary:hover {
  background: var(--charcoal-700);
  color: var(--white);
  border-color: var(--slate-400);
}

.btn-outline {
  background: var(--white);
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
  background: var(--orange-soft);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e6ef;
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 85, 0, 0.14);
  color: var(--orange-400);
  border: 1px solid rgba(255, 85, 0, 0.3);
  margin-bottom: 16px;
}

.eyebrow-light {
  background: var(--orange-soft);
  color: var(--orange-600);
  border-color: rgba(255, 85, 0, 0.22);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 85, 0, 0.16), transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(255, 110, 36, 0.08), transparent 38%),
    linear-gradient(180deg, var(--charcoal-950) 0%, var(--charcoal-900) 100%);
  color: var(--white);
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--charcoal-700);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--white);
}

.hero-title .accent {
  color: var(--orange-400);
}

.hero-lead {
  font-size: 1.12rem;
  color: #cfd5e2;
  margin: 0 0 16px;
  max-width: 600px;
}

.hero-intro {
  font-size: 0.95rem;
  color: var(--slate-400);
  margin: 0 0 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-metric {
  display: flex;
  flex-direction: column;
}

.trust-metric strong {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--white);
}

.trust-metric span {
  font-size: 0.8rem;
  color: var(--slate-400);
}

/* Hero Visual Card */
.hero-visual-card {
  background: linear-gradient(160deg, var(--charcoal-800) 0%, var(--charcoal-900) 100%);
  border: 1px solid var(--charcoal-600);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-dark);
  position: relative;
}

.hero-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-400);
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 10px var(--orange-500);
}

.hero-svg-frame {
  background: rgba(11, 13, 17, 0.65);
  border: 1px solid var(--charcoal-700);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.hero-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.telemetry-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.telemetry-pill small {
  display: block;
  font-size: 0.7rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.telemetry-pill strong {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  color: var(--white);
}

/* Quick Jump Tool Strip */
.quick-tools-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px 0;
}

.quick-tools-list {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.quick-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-800);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.quick-tool-chip:hover {
  border-color: var(--orange-500);
  background: var(--orange-soft);
  color: var(--orange-600);
}

/* ==========================================================================
   Section Layout & Headings
   ========================================================================== */
.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-dark {
  background: var(--charcoal-900);
  color: var(--white);
  border-top: 1px solid var(--charcoal-700);
  border-bottom: 1px solid var(--charcoal-700);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: inherit;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--slate-600);
  margin: 0;
}

.section-dark .section-subtitle {
  color: #b4bccb;
}

/* ==========================================================================
   Main 1RM Calculator Studio
   ========================================================================== */
.calc-workbench {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.calc-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.calc-card-dark {
  background: linear-gradient(165deg, var(--charcoal-850) 0%, var(--charcoal-950) 100%);
  color: var(--white);
  border: 1px solid var(--charcoal-700);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.calc-card-dark .card-header-row {
  border-bottom-color: var(--charcoal-700);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.label-hint {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--slate-600);
}

.input-with-unit {
  display: flex;
  gap: 10px;
}

.form-input,
.form-select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  background: var(--slate-100);
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.unit-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  background: var(--slate-200);
  padding: 4px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  min-width: 118px;
}

.unit-btn {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--slate-600);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.unit-btn.active {
  background: var(--charcoal-900);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Quick Rep Pills */
.rep-pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.rep-pill {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.15s ease;
}

.rep-pill:hover {
  border-color: var(--orange-500);
  color: var(--orange-600);
}

.rep-pill.active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}

.optional-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-600);
  margin: 20px 0 14px;
}

.optional-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.calc-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.calc-btn-group .btn-primary {
  flex: 1 1 180px;
}

.input-error {
  color: var(--red-500);
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 8px;
  display: none;
}

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

/* 1RM Result Card */
.rm-hero-box {
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.16) 0%, rgba(255, 85, 0, 0.04) 100%);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
}

.rm-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--orange-400);
  font-weight: 800;
  margin-bottom: 6px;
}

.rm-value {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin: 4px 0 8px;
}

.rm-value .rm-unit {
  font-size: 1.35rem;
  color: var(--orange-400);
  font-weight: 700;
}

.rm-submeta {
  font-size: 0.86rem;
  color: #cfd5e2;
}

.single-rep-badge {
  display: none;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #f3f4f6;
}

.single-rep-badge.visible {
  display: block;
}

/* Formula Breakdown List */
.formula-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.formula-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 11px 14px;
}

.formula-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.formula-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e5e9f2;
}

.formula-eq {
  font-size: 0.73rem;
  color: var(--slate-400);
  font-family: var(--font-mono);
  margin-left: 6px;
}

.formula-val {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
}

.formula-bar-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.formula-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
  border-radius: 999px;
  transition: width 0.35s var(--ease);
}

.result-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--charcoal-700);
}

/* Safety & Reliability Callout */
.safety-notice {
  margin-top: 22px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: #78350f;
  font-size: 0.88rem;
  line-height: 1.55;
}

.safety-notice strong {
  color: #92400e;
}

/* ==========================================================================
   Percentage Calculator Table
   ========================================================================== */
.pct-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  background: var(--charcoal-900);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pct-toolbar-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pct-toolbar-input label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #d1d6e0;
}

.pct-inline-input {
  width: 130px;
  font-family: var(--font-mono);
  font-size: 1.08rem;
  font-weight: 800;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--charcoal-600);
  background: var(--charcoal-800);
  color: var(--white);
}

.pct-inline-input:focus {
  outline: none;
  border-color: var(--orange-500);
}

.table-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-200);
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.94rem;
}

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

.data-table tbody tr:hover {
  background: #fcfcfd;
}

.pct-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--charcoal-900);
}

.pct-badge.top {
  background: var(--orange-soft);
  color: var(--orange-600);
}

.weight-mono {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--charcoal-900);
}

/* ==========================================================================
   Strength Standards Interactive Module
   ========================================================================== */
.standards-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.tier-spectrum {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 20px 0;
}

.tier-card {
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  transition: all 0.25s ease;
}

.tier-card.current {
  background: var(--orange-soft);
  border-color: var(--orange-500);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(255, 85, 0, 0.15);
}

.tier-card-name {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-600);
  margin-bottom: 4px;
}

.tier-card.current .tier-card-name {
  color: var(--orange-600);
}

.tier-card-weight {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--charcoal-900);
}

.tier-card-ratio {
  font-size: 0.72rem;
  color: var(--slate-600);
  margin-top: 2px;
}

.standards-meter-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #94a3b8 0%, #3b82f6 25%, #10b981 50%, #f59e0b 75%, #ff5500 100%);
  margin: 18px 0 10px;
}

.standards-meter-pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--charcoal-900);
  border: 3px solid var(--white);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: left 0.35s var(--ease);
}

.classification-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--charcoal-900);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.classification-level {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--orange-400);
}

.disclaimer-note {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--charcoal-600);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.84rem;
  color: var(--slate-600);
  margin-top: 16px;
}

/* ==========================================================================
   Plate Calculator & Visual Barbell Diagram
   ========================================================================== */
.plate-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plate-check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  border: 1.5px solid var(--slate-300);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.plate-check-label:has(input:checked) {
  background: var(--charcoal-900);
  color: var(--white);
  border-color: var(--charcoal-900);
}

.plate-check-label input {
  accent-color: var(--orange-500);
}

.barbell-stage {
  background: var(--charcoal-950);
  border: 1px solid var(--charcoal-700);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.barbell-Graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  min-width: 300px;
}

.bar-shaft-center {
  width: 110px;
  height: 12px;
  background: linear-gradient(180deg, #e5e7eb, #9ca3af, #d1d5db);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.bar-collar-stop {
  width: 10px;
  height: 30px;
  background: linear-gradient(180deg, #d1d5db, #6b7280);
  border-radius: 2px;
  flex-shrink: 0;
}

.bar-sleeve {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 85px;
  position: relative;
}

.bar-sleeve::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background: linear-gradient(180deg, #cbd5e1, #64748b);
  z-index: 0;
  border-radius: 2px;
}

.bar-sleeve.left {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.bar-sleeve.right {
  flex-direction: row;
  justify-content: flex-start;
}

.visual-plate {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 3px 8px rgba(0,0,0,0.45);
  padding: 4px 2px;
  flex-shrink: 0;
}

/* Calibrated Olympic Plate Colors */
.plate-red { background: #dc2626; height: 132px; width: 22px; }
.plate-blue { background: #2563eb; height: 122px; width: 20px; }
.plate-yellow { background: #eab308; color: #111318; height: 108px; width: 18px; }
.plate-green { background: #16a34a; height: 94px; width: 17px; }
.plate-white { background: #f3f4f6; color: #111318; height: 78px; width: 15px; }
.plate-orange { background: #ff5500; height: 68px; width: 14px; }
.plate-silver { background: #64748b; height: 58px; width: 13px; }

.plate-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.plate-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

/* ==========================================================================
   Additional Tools Suite Grid
   ========================================================================== */
.tools-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.tool-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tool-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Progress Tracker SVG Chart */
.tracker-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  margin-top: 28px;
}

.chart-canvas-box {
  background: var(--charcoal-950);
  border: 1px solid var(--charcoal-700);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 18px;
  color: var(--white);
}

.tracker-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.tracker-stat-card {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.tracker-stat-card small {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
}

.tracker-stat-card strong {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--charcoal-900);
}

/* ==========================================================================
   NutriActive & YouTube Promotional Sections
   ========================================================================== */
.promo-nutriactive {
  background: linear-gradient(135deg, var(--charcoal-900) 0%, #1c222e 100%);
  border: 1px solid var(--charcoal-700);
  border-radius: var(--radius-xl);
  padding: 42px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.promo-nutriactive::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.22), transparent 70%);
  pointer-events: none;
}

.promo-feature-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.promo-pill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e5e9f2;
}

.promo-pill-card span {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--slate-400);
  margin-top: 3px;
}

/* YouTube Promo Card */
.youtube-showcase {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.yt-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.btn-youtube {
  background: #dc2626;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.28);
}

.btn-youtube:hover {
  background: #b91c1c;
  color: var(--white);
  transform: translateY(-2px);
}

.yt-preview-card {
  display: block;
  background: linear-gradient(145deg, #12151c 0%, #1f2430 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  border: 1px solid var(--charcoal-700);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.yt-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.yt-thumb-stage {
  background:
    radial-gradient(circle at 75% 25%, rgba(220, 38, 38, 0.28), transparent 55%),
    linear-gradient(135deg, #0b0d11 0%, #191d26 100%);
  border: 1px solid var(--charcoal-600);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.yt-play-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dc2626;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.5);
  transition: transform 0.2s ease;
}

.yt-preview-card:hover .yt-play-circle {
  transform: scale(1.08);
}

.yt-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yt-topic-tags span {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d1d6e0;
}

/* ==========================================================================
   Educational Guide & SEO Content Layout
   ========================================================================== */
.guide-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 92px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.guide-toc-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--charcoal-900);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-200);
}

.guide-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.guide-toc-list a {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.35;
}

.guide-toc-list a:hover {
  background: var(--orange-soft);
  color: var(--orange-600);
}

.guide-article {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-sm);
}

.guide-block {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--slate-200);
  scroll-margin-top: 92px;
}

.guide-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.guide-block h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--charcoal-900);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.guide-block h3 {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--charcoal-850);
  margin: 22px 0 10px;
}

.guide-block p {
  margin: 0 0 15px;
  color: #343b4a;
}

.guide-block ul,
.guide-block ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #343b4a;
}

.guide-block li {
  margin-bottom: 8px;
}

.formula-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.formula-spec-card {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
}

.formula-spec-card h4 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--charcoal-900);
}

.formula-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--charcoal-900);
  color: var(--orange-400);
  padding: 8px 10px;
  border-radius: 6px;
  margin: 8px 0;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-100);
  overflow: hidden;
}

.faq-item[open] {
  background: var(--white);
  border-color: var(--orange-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--charcoal-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--slate-200);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--orange-500);
  color: var(--white);
}

.faq-answer {
  padding: 0 20px 18px;
  color: #343b4a;
  font-size: 0.95rem;
}

/* ==========================================================================
   Subpages (About, Contact, Legal / Policy Pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--charcoal-950) 0%, var(--charcoal-900) 100%);
  color: var(--white);
  padding: 52px 0;
  border-bottom: 1px solid var(--charcoal-700);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}

.page-hero p {
  color: #c2c9d6;
  font-size: 1.05rem;
  max-width: 660px;
  margin: 0;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 44px;
  margin: 44px 0 64px;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--charcoal-900);
  margin: 28px 0 10px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #343b4a;
}

.contact-email-box {
  background: linear-gradient(135deg, var(--charcoal-900), var(--charcoal-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 26px 0;
  border: 1px solid var(--charcoal-600);
  text-align: center;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(1.02rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: var(--orange-400);
  background: rgba(255, 85, 0, 0.12);
  border: 1.5px solid var(--orange-border);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  margin-top: 12px;
  word-break: break-all;
}

.contact-email-link:hover {
  background: var(--orange-500);
  color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--charcoal-950);
  color: #b4bccb;
  padding: 64px 0 32px;
  border-top: 1px solid var(--charcoal-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--charcoal-800);
}

.footer-heading {
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #b4bccb;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--orange-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.84rem;
  color: var(--slate-400);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--charcoal-900);
  color: var(--white);
  border: 1px solid var(--orange-500);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 2000;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1060px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--charcoal-900);
    border-bottom: 1px solid var(--charcoal-700);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 6px;
    box-shadow: var(--shadow-dark);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 0.96rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
    text-align: center;
  }

  .hero-grid,
  .calc-workbench,
  .standards-grid,
  .tracker-layout,
  .promo-nutriactive,
  .youtube-showcase {
    grid-template-columns: 1fr;
  }

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

  .guide-toc {
    position: static;
  }

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

@media (max-width: 720px) {
  .section {
    padding: 48px 0;
  }

  .hero-section {
    padding: 44px 0 54px;
  }

  .calc-card,
  .calc-card-dark,
  .tool-box,
  .guide-article,
  .legal-card,
  .promo-nutriactive,
  .youtube-showcase {
    padding: 22px 18px;
  }

  .form-row-2,
  .tools-grid-2,
  .promo-feature-pills,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-trust-strip,
  .hero-telemetry-grid,
  .tracker-stats-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Print Stylesheet (Clean Printable Training Sheet)
   ========================================================================== */
.print-summary-sheet {
  display: none;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
  }

  .site-header,
  .quick-tools-bar,
  .hero-section,
  .guide-section,
  .promo-section,
  .site-footer,
  .no-print,
  .btn,
  .toast-msg {
    display: none !important;
  }

  .print-summary-sheet {
    display: block !important;
    padding: 16px 0;
  }

  .print-summary-sheet h1 {
    font-size: 20pt;
    margin: 0 0 6px;
  }

  .print-summary-sheet table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 22px;
  }

  .print-summary-sheet th,
  .print-summary-sheet td {
    border: 1px solid #cbd5e1;
    padding: 7px 10px;
    text-align: left;
  }

  .section {
    display: none !important;
  }
}
