/* ==========================================================================
   Bottleneck Calculator — Design System
   Step 3: CSS Tokens, Typography, Reusable Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font-Face: Inter (Self-Hosted WOFF2 Latin Subset)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Design Tokens (:root)
   -------------------------------------------------------------------------- */
:root {
  /* Navy / Dark Theme Shades */
  --navy-950: #050E24;
  --navy-900: #071533;
  --navy-800: #0B1F44;
  --navy-700: #12306A;

  /* Blue Accents */
  --blue-600: #1668F0;
  --blue-500: #1A7CFF;
  --cyan-400: #1A7CFF;

  /* Primary Button Gradient (Tuned for WCAG AA contrast >= 4.5:1 with white text) */
  --grad-primary: linear-gradient(90deg, #0A63F0 0%, #1279F5 100%);

  /* Ink / Text on Light Backgrounds */
  --ink-900: #0B1A33;
  /* Headings on light */
  --ink-600: #51617D;
  /* Body on light (contrast > 6:1 on white) */
  --ink-400: #7C8BA5;
  /* Subdued meta/labels */

  /* Light Backgrounds */
  --bg-white: #FFFFFF;
  --bg-soft: #F5F9FF;
  --bg-tint: #EAF3FF;
  --border-soft: #E1EAF7;

  /* Text on Dark Backgrounds */
  --on-dark: #FFFFFF;
  --on-dark-muted: #B8C7E3;
  /* Contrast > 10:1 on navy-900 */

  /* Status Colors (always paired with descriptive labels) */
  --ok: #12A150;
  --info: #1A7CFF;
  --warn: #B7791F;
  /* Dark text on warn backgrounds */
  --warn-bg: #FEF3C7;
  --warn-text: #78350F;
  --danger: #E5484D;
  --danger-bg: #FEE2E2;
  --danger-text: #991B1B;

  /* Radius Scale */
  --radius-input: 10px;
  --radius-card: 14px;
  --radius-panel: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 6px 24px rgba(11, 26, 51, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(11, 26, 51, 0.10);
  --shadow-glow: 0 8px 24px rgba(26, 124, 255, 0.35);

  /* Typography Stacks */
  --font-display: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: Consolas, Monaco, "Courier New", monospace;

  /* Focus Ring */
  --focus-ring-color: var(--blue-500);
  --focus-ring-offset: 2px;
  --focus-ring: 0 0 0 3px var(--focus-ring-color);

  /* Header Height */
  --header-h: 72px;

  /* Backward Compatibility Mapping for Existing Components */
  --brand: var(--blue-500);
  --brand-hover: var(--blue-600);
  --brand-soft: rgba(26, 124, 255, 0.12);
  --brand-glow: rgba(26, 124, 255, 0.28);
}

/* --------------------------------------------------------------------------
   3. Global Resets & Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--blue-500) !important;
  outline-offset: 2px !important;
}

html,
body {
  overflow-x: clip;
}

@supports not (overflow-x: clip) {

  html,
  body {
    overflow-x: hidden;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink-900);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   4. Typography Scale & Heading Hierarchy
   -------------------------------------------------------------------------- */
h1,
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

h2,
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

h3,
.h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

p {
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink-600);
}

small,
.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Accent highlight */
.accent {
  color: var(--blue-500, #1A7CFF);
}

.section--dark .accent,
[data-theme="dark"] .accent {
  color: var(--blue-500, #1A7CFF);
}

/* Eyebrow Label */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-500, #1A7CFF);
  margin-bottom: 0.65rem;
}

.section--dark .eyebrow,
[data-theme="dark"] .eyebrow {
  color: var(--blue-500, #1A7CFF);
}

/* --------------------------------------------------------------------------
   5. Layout Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 24px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 32px;
  }
}

/* Headings balanced wrap and safe line wrapping */
h1, h2, h3, .section-title, .hero-h1, .calc-main-title {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

p, li, a, span, .callout {
  overflow-wrap: anywhere;
}

/* Visible focus outline on keyboard navigation */
:focus-visible {
  outline: 2px solid var(--blue-500, #1A7CFF) !important;
  outline-offset: 2px !important;
}

/* Prevent auto-zoom on iOS Safari for form inputs */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
  position: relative;
}

.section--dark {
  background-color: var(--navy-900);
  color: var(--on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--on-dark);
}

.section--dark p {
  color: var(--on-dark-muted);
}

.section--soft {
  background-color: var(--bg-soft);
  color: var(--ink-900);
}

.section--tint {
  background-color: var(--bg-tint);
  color: var(--ink-900);
}

.section--white {
  background-color: var(--bg-white);
  color: var(--ink-900);
}

/* --------------------------------------------------------------------------
   6. Reusable Component Classes
   -------------------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  user-select: none;
}

.btn:active {
  transform: translateY(0);
}

.btn--primary,
.btn-primary {
  background: var(--grad-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 124, 255, 0.45);
  color: #ffffff !important;
}

.btn--outline {
  background: transparent;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  color: var(--ink-900);
}

.btn--outline:hover {
  transform: translateY(-2px);
  border-color: var(--blue-500);
  color: var(--blue-600);
  background: var(--bg-tint);
}

.section--dark .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--on-dark);
}

.section--dark .btn--outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(26, 124, 255, 0.08);
  border: 1px solid rgba(26, 124, 255, 0.25);
  color: var(--blue-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section--dark .badge {
  background: rgba(26, 124, 255, 0.12);
  border-color: rgba(26, 124, 255, 0.30);
  color: var(--blue-500, #1A7CFF);
}

/* Card */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(26, 124, 255, 0.25);
}

/* Icon Box */
.icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.section--dark .icon-box {
  background: rgba(26, 124, 255, 0.14);
  color: var(--blue-500, #1A7CFF);
}

/* Callout */
.callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--blue-500);
  padding: 1.15rem 1.35rem;
  border-radius: 0 var(--radius-input) var(--radius-input) 0;
  margin: 1.25rem 0;
  color: var(--ink-600);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.callout strong {
  color: var(--ink-900);
}

/* Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  background: var(--bg-white);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
  background: var(--bg-white);
}

.table thead th {
  background-color: var(--navy-800);
  color: var(--on-dark);
  font-weight: 700;
  padding: 0.85rem 1.15rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--navy-700);
}

.table tbody tr {
  transition: background-color 0.15s ease;
}

.table tbody tr:nth-child(even) {
  background-color: var(--bg-soft);
}

.table tbody tr:hover {
  background-color: var(--bg-tint);
}

.table tbody td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--ink-900);
  vertical-align: middle;
}

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

/* Responsive Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* Spacing Utilities */
.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 2.5rem;
}

.mt-6 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 2.5rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--ink-600);
}

/* Anchor Targets Scroll Margin Offset */
:target,
[id],
section[id],
div[id],
article[id],
h1[id],
h2[id],
h3[id],
#main {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  background: var(--blue-600);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-input);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

/* Header Navigation Links (top-level bar links only) */
.site-header .nav>a,
.site-header .nav-link {
  color: #ffffff !important;
  background: transparent !important;
}

.site-header .nav>a:hover,
.site-header .nav-link:hover {
  color: var(--blue-500, #1A7CFF) !important;
  background: transparent !important;
}

.site-header .nav>a[aria-current="page"],
.site-header .nav-link[aria-current="page"] {
  color: #ffffff !important;
  background: transparent !important;
}

/* ==========================================================================
   7. Hero Component (Step 5)
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(52px, 7vw, 92px);
  background-color: var(--navy-900);
  overflow: hidden;
}

/* Radial Blue Glow at top right + Faint Grid Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(26, 124, 255, 0.24), transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 10%, rgba(26, 124, 255, 0.08), transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 3.25rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 1. Badge */
.hero-badge {
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.95rem;
  user-select: none;
}

/* 2. Single H1 */
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 1.2rem;
}

/* 3. Subheading */
.hero-subheading {
  max-width: 560px;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--on-dark-muted);
  margin: 0 0 1.75rem;
}

/* 4. Button Row */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-btn-primary {
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
}

.hero-btn-primary .btn-arrow {
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.hero-btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.hero-btn-outline {
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

/* 5. 3 Feature Items with Thin Vertical Dividers */
.hero-features {
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.35rem;
  gap: 0.75rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 0;
  min-width: 0;
}

.hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26, 124, 255, 0.15);
  color: var(--blue-500, #1A7CFF);
  flex-shrink: 0;
}

.hero-feature-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-feature-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.hero-feature-desc {
  font-size: 0.75rem;
  color: var(--on-dark-muted);
  line-height: 1.3;
}

.hero-feature-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* 6. Trust Line */
.hero-trust {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(184, 199, 227, 0.82);
  margin: 0;
}

/* Right Column: Hero Image Frame & Overlays */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px -10px rgba(26, 124, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: var(--navy-950);
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

/* Light Edge Gradient Blend Overlay (softly merges into navy background) */
.hero-frame-blend {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, rgba(7, 21, 51, 0.45) 0%, transparent 20%);
}

/* Decorative Floating "Sample view" Glass Card */
.hero-sample-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  padding: 16px 18px;
  min-width: 230px;
  background: rgba(7, 21, 51, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(26, 124, 255, 0.18);
}

.sample-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.sample-card-badge {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500, #1A7CFF);
  box-shadow: 0 0 6px var(--blue-500, #1A7CFF);
}

.sample-card-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted, #B8C7E3);
}

.sample-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sample-gauge-wrap {
  flex-shrink: 0;
}

.sample-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sample-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sample-bar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ffffff;
  width: 26px;
}

.sample-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.sample-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.sample-bar-cpu {
  width: 65%;
  background: linear-gradient(90deg, #1A7CFF, #1A7CFF);
}

.sample-bar-gpu {
  width: 88%;
  background: linear-gradient(90deg, #12A150, #34D399);
}

/* Decorative Keyword Glass Chips inside Hero Frame */
.hero-image-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-100, #F1F5F9);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 10px rgba(26, 124, 255, 0.15);
  pointer-events: auto;
  user-select: none;
}

.hero-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400, #60A5FA);
  flex-shrink: 0;
}

.hero-chip--cpu {
  top: 18px;
  left: 20px;
}

.hero-chip--upgrade {
  top: 18px;
  right: 20px;
}

.hero-chip--gpu {
  top: 48%;
  right: 20px;
}

.hero-chip--fps {
  bottom: 22px;
  right: 20px;
}

/* Subtle Floating Motion (only when reduced motion is not preferred and on tablet/desktop) */
@keyframes heroChipFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes heroChipFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes heroChipFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes heroChipFloat4 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .hero-chip--cpu {
    animation: heroChipFloat1 5s ease-in-out infinite;
  }
  .hero-chip--upgrade {
    animation: heroChipFloat2 6.2s ease-in-out infinite 0.5s;
  }
  .hero-chip--gpu {
    animation: heroChipFloat3 7.1s ease-in-out infinite 1s;
  }
  .hero-chip--fps {
    animation: heroChipFloat4 5.8s ease-in-out infinite 1.5s;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-media {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }

  .hero-frame-blend {
    background: linear-gradient(to top, rgba(7, 21, 51, 0.35) 0%, transparent 18%);
  }

  .hero-features {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-feature-item {
    flex: 1 1 45%;
  }

  .hero-feature-divider {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-block: clamp(32px, 6vw, 48px);
  }

  .hero-h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-subheading {
    font-size: 0.98rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-btn-primary,
  .hero-btn-outline {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-features {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding-block: 1rem;
  }

  .hero-feature-item {
    flex: 1 1 100%;
  }

  .hero-feature-desc {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-trust {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .hero-sample-card {
    display: none !important;
  }

  .hero-image-chips {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px 14px;
    background: rgba(7, 21, 51, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-chip {
    position: static !important;
    animation: none !important;
    transform: none !important;
    padding: 6px 14px;
    font-size: 0.75rem;
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-btn-primary .btn-arrow,
  .hero-btn-primary,
  .hero-btn-outline {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   8. Calculator Section & Table of Contents (Step 6)
   ========================================================================== */

/* Clean Light Theme Background & Clear Contrast from Hero */
.calculator-section {
  position: relative;
  background: linear-gradient(180deg, #EDF2F9 0%, #F4F7FB 100%);
  border-top: 1px solid var(--border-soft, #E1EAF7);
  box-shadow: none;
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(72px, 8vw, 104px);
  color: var(--ink-900, #0B1A33);
}

/* Centered Header Above Tool */
.calc-header-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  position: relative;
  z-index: 2;
}

.calc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(26, 124, 255, 0.08);
  border: 1px solid rgba(26, 124, 255, 0.24);
  color: var(--blue-600, #1A7CFF);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(26, 124, 255, 0.08);
}

.calc-main-title {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-900, #0B1A33);
  margin: 0 0 1rem;
}

.calc-intro-copy {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink-600, #475569) !important;
  margin: 0 auto;
}

/* Calculator Card Shell */
.calculator-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: start;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-panel, 20px) !important;
  padding: clamp(20px, 3.2vw, 36px) !important;
  box-shadow: 0 24px 64px -12px rgba(5, 14, 36, 0.6), 0 0 1px rgba(255, 255, 255, 0.12) !important;
  position: relative;
  overflow: hidden;
  min-height: auto !important;
}

.calculator-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-500, #1A7CFF) 50%, transparent 100%);
  opacity: 0.8;
}

.calc-panel {
  display: flex;
  flex-direction: column;
}

/* Language selector in toolbar */
.calculator-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 1.15rem;
}

.calculator-language {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}

.calculator-language select {
  background: var(--navy-900, #071533) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0.8125rem !important;
  padding: 0.35rem 1.8rem 0.35rem 0.7rem !important;
  min-height: 36px !important;
  cursor: pointer;
}

/* Fields & Labels */
.field-grid {
  display: grid;
  gap: 1.15rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.field .field-label-text {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-dark-muted, #B8C7E3) !important;
}

.field-hint {
  font-size: 0.8125rem;
  color: rgba(184, 199, 227, 0.72) !important;
  line-height: 1.45;
}

/* Inputs & Selects Restyling */
.calculator-section .combobox input,
.calculator-section .field select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--navy-900, #071533) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--radius-input, 10px) !important;
  color: #ffffff !important;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.9375rem;
  line-height: 1.3;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.calculator-section .combobox input::placeholder {
  color: rgba(184, 199, 227, 0.5) !important;
}

.calculator-section .combobox input:focus,
.calculator-section .field select:focus {
  outline: none !important;
  border-color: var(--blue-500, #1A7CFF) !important;
  box-shadow: 0 0 0 3px rgba(26, 124, 255, 0.35) !important;
}

/* Combobox Autocomplete Dropdown List */
.combobox {
  position: relative;
}

.combobox-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  background: var(--navy-950, #050E24) !important;
  border: 1px solid rgba(26, 124, 255, 0.28) !important;
  border-radius: var(--radius-input, 10px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
}

.combobox-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  padding: 0.75rem 1rem;
  color: #ffffff !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.combobox-option:last-child {
  border-bottom: none !important;
}

.option-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff !important;
}

.option-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-500, #1A7CFF) !important;
  text-transform: uppercase;
}

.combobox-option:hover,
.combobox-option[aria-selected="true"] {
  background: rgba(26, 124, 255, 0.22) !important;
  color: #ffffff !important;
}

.combobox-empty {
  padding: 1rem;
  color: var(--on-dark-muted) !important;
  font-size: 0.9rem;
  text-align: center;
}

/* Brand Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
}

.chip {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--on-dark-muted, #B8C7E3) !important;
  border-radius: 999px !important;
  padding: 0.32rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.chip:hover {
  background: rgba(26, 124, 255, 0.2) !important;
  border-color: var(--blue-500, #1A7CFF) !important;
  color: #ffffff !important;
}

.chip.active {
  background: var(--blue-500, #1A7CFF) !important;
  border-color: var(--blue-500, #1A7CFF) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(26, 124, 255, 0.4);
}

/* Resolution Segmented Buttons */
.res-primary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.segmented {
  background: var(--navy-900, #071533) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-input, 10px) !important;
  padding: 4px !important;
}

.segmented button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent !important;
  color: var(--on-dark-muted, #B8C7E3) !important;
  border: 1px solid transparent !important;
  cursor: pointer;
  transition: all 0.18s ease;
}

.segmented button:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.segmented button[aria-pressed="true"] {
  background: var(--blue-500, #1A7CFF) !important;
  border-color: var(--blue-500, #1A7CFF) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(26, 124, 255, 0.35) !important;
}

/* More Resolutions Expandable Block */
.more-res-details {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-input, 10px) !important;
  background: var(--navy-900, #071533) !important;
  margin-top: 0.45rem;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.more-res-details[open] {
  border-color: rgba(26, 124, 255, 0.35) !important;
}

.more-res-summary {
  cursor: pointer;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--on-dark-muted) !important;
  user-select: none;
}

.more-res-summary:hover {
  color: #ffffff !important;
}

.more-res-icon {
  color: var(--blue-500, #1A7CFF) !important;
  transition: transform 0.2s ease;
}

.more-res-details[open] .more-res-icon {
  transform: rotate(180deg);
}

.more-res-body {
  padding: 0.6rem 0.75rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.more-res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

/* Advanced Options Toggle */
.advanced-toggle {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 44px;
  border-radius: var(--radius-input, 10px);
  border: 1px dashed rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--blue-500, #1A7CFF) !important;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.advanced-toggle:hover {
  background: rgba(26, 124, 255, 0.12) !important;
  border-color: var(--blue-500, #1A7CFF) !important;
  color: #ffffff !important;
}

.advanced-panel {
  display: none;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.advanced-panel.open {
  display: block;
  animation: calcRise 0.22s ease;
}

/* Calculator Action Buttons */
.calc-actions {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

#analyzeBtn {
  background: var(--grad-primary) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  min-height: 50px !important;
  border: none !important;
  box-shadow: var(--shadow-glow) !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#analyzeBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 124, 255, 0.5) !important;
}

#resetBtn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--on-dark-muted) !important;
  border-radius: 999px !important;
  min-height: 44px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.18s ease;
}

#resetBtn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

.calc-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--on-dark-muted) !important;
  margin-top: 0.25rem;
}

/* Results Panel Styling */
.results-panel {
  background: var(--navy-900, #071533) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: clamp(18px, 2.5vw, 24px) !important;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.results-empty {
  margin: auto;
  text-align: center;
  max-width: 20rem;
  color: var(--on-dark-muted) !important;
}

.results-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: rgba(26, 124, 255, 0.15) !important;
  color: var(--blue-500, #1A7CFF) !important;
  display: grid;
  place-items: center;
}

.results-empty h3 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  color: #ffffff !important;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.results-empty p {
  color: var(--on-dark-muted) !important;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.results-content {
  display: none;
  flex-direction: column;
  gap: 1.15rem;
  animation: calcRise 0.28s ease;
}

.results-content.active {
  display: flex;
}

/* Metric Row & Cards */
.metric-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.metric-card {
  background: var(--navy-950, #050E24) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 1.15rem !important;
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-muted) !important;
  margin-bottom: 0.45rem;
}

.metric-value {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff !important;
}

/* Severity Chips with Status Colors */
.severity-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 0.65rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.severity-balanced {
  background: rgba(18, 161, 80, 0.2) !important;
  color: #34D399 !important;
  border: 1px solid rgba(18, 161, 80, 0.4) !important;
}

.severity-mild {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #FBBF24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

.severity-moderate {
  background: rgba(249, 115, 22, 0.2) !important;
  color: #FB923C !important;
  border: 1px solid rgba(249, 115, 22, 0.4) !important;
}

.severity-severe {
  background: rgba(229, 72, 77, 0.2) !important;
  color: #F87171 !important;
  border: 1px solid rgba(229, 72, 77, 0.4) !important;
}

.limit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0.2rem 0;
}

.limit-card p {
  color: var(--on-dark-muted) !important;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  line-height: 1.45;
}

/* Result Pill Tabs */
.result-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  background: var(--navy-950, #050E24) !important;
  padding: 4px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.result-tabs button {
  min-height: 38px;
  border-radius: 999px !important;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--on-dark-muted) !important;
  border: none;
  background: transparent !important;
  cursor: pointer;
  transition: all 0.18s ease;
}

.result-tabs button:hover {
  color: #ffffff !important;
}

.result-tabs button[aria-selected="true"] {
  background: var(--blue-500, #1A7CFF) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(26, 124, 255, 0.35) !important;
}

/* Utilization Progress Bars */
.bar-group {
  display: grid;
  gap: 1rem;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
  margin-top: 0.35rem;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1A7CFF 0%, #1A7CFF 100%) !important;
  transition: width 0.5s ease;
}

.bar-fill.gpu {
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%) !important;
}

/* FPS Estimate Boxes */
.fps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.fps-box {
  background: var(--navy-950, #050E24) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 1rem;
}

.fps-box span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-dark-muted) !important;
}

.fps-box strong {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff !important;
  display: block;
  margin-top: 0.25rem;
}

/* Recommendation List */
.rec-list {
  display: grid;
  gap: 0.75rem;
}

.rec-item {
  background: var(--navy-950, #050E24) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 0.95rem 1.05rem !important;
}

.rec-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 0.25rem;
}

.rec-item p {
  color: var(--on-dark-muted) !important;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
}

/* Disclaimer Note Under Result */
.results-disclaimer {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: var(--on-dark-muted) !important;
  opacity: 0.85;
  line-height: 1.5;
}

/* Table of Contents Floating Dark Navy Command Dock Directly Under Calculator */
.toc-bar {
  background: linear-gradient(180deg, #071533 0%, #0A1B3F 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(5, 14, 36, 0.4);
  padding: 1.15rem 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px -5px rgba(5, 14, 36, 0.25);
}

.toc-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  position: relative;
}

@media (min-width: 1024px) {
  .toc-dock {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .toc-dock {
    flex-wrap: nowrap;
    overflow: hidden;
    justify-content: flex-start;
  }

  .toc-dock::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent 0%, #0A1B3F 100%);
    pointer-events: none;
    z-index: 2;
  }
}

.toc-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-500, #1A7CFF);
  background: rgba(26, 124, 255, 0.14);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 124, 255, 0.32);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(26, 124, 255, 0.18);
}

.toc-label svg {
  color: var(--blue-500, #1A7CFF);
}

.toc-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 1024px) {
  .toc-links {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
}

@media (max-width: 1023px) {
  .toc-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 40px;
    width: 100%;
  }

  .toc-links::-webkit-scrollbar {
    display: none;
  }

  .toc-links li {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

.toc-link,
.toc-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill, 999px) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E2E8F0 !important;
  font-size: 0.835rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.toc-link svg {
  color: #94A3B8;
  transition: all 0.2s ease;
}

.toc-link:hover,
.toc-links a:hover {
  background: rgba(26, 124, 255, 0.25) !important;
  border-color: var(--blue-500, #1A7CFF) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -2px rgba(26, 124, 255, 0.35);
}

.toc-link:hover svg {
  color: var(--blue-500, #1A7CFF);
  transform: scale(1.15);
}

/* Scroll Offset for In-Page Anchor Links */
[id] {
  scroll-margin-top: calc(var(--header-h, 72px) + 20px);
}

@keyframes calcRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .calculator-shell {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .results-panel {
    min-height: auto !important;
  }
}

@media (max-width: 767px) {
  .calculator-shell {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

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

  .metric-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .fps-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

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

  .chip-row {
    gap: 8px;
  }

  .chip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
  }

  .res-primary-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .res-primary-grid button {
    min-height: 44px;
    font-size: 0.84rem;
    padding: 0.4rem 0.25rem;
  }

  .advanced-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .more-res-summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .more-res-grid button {
    min-height: 44px;
  }

  .calc-actions button {
    width: 100%;
    min-height: 48px;
  }

  .result-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    gap: 0.35rem;
    border-radius: 999px;
  }

  .result-tabs::-webkit-scrollbar {
    display: none;
  }

  .result-tabs button {
    flex: 1 0 auto;
    min-height: 44px;
    padding: 0.4rem 1.1rem;
  }
}

/* ==========================================================================
   Section 9: Step 7 — Content Sections 3 to 9 Styles
   ========================================================================== */

/* Section Headers */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.section-head .eyebrow {
  margin-bottom: 0.5rem;
}

.section-head .section-title {
  margin-bottom: 0.75rem;
}

.section-head .section-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-600);
}

@media (max-width: 640px) {
  .section-head .section-lead {
    text-align: left;
  }
}

.section--dark .section-head .section-lead {
  color: var(--on-dark-muted);
}

/* S3: Severity Tier Cards (Dark Navy Console Style) */
#result-guide .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  #result-guide .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  #result-guide .grid-4 {
    grid-template-columns: 1fr;
  }
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 22px 22px !important;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  overflow: hidden;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.tier-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(26, 124, 255, 0.4) !important;
  box-shadow: 0 20px 44px -8px rgba(5, 14, 36, 0.6), 0 0 18px rgba(26, 124, 255, 0.2) !important;
}

.tier-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.tier-bar--ok {
  background: #10B981 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.tier-bar--info {
  background: #3B82F6 !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

.tier-bar--warn {
  background: #F59E0B !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

.tier-bar--danger {
  background: #EF4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

.tier-card h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-top: 0 !important;
  margin-bottom: 0.65rem !important;
}

.tier-card p {
  color: #CBD5E1 !important;
  font-size: 0.9375rem !important;
  line-height: 1.55 !important;
  margin-bottom: 1.25rem !important;
}

.what-to-do-box {
  margin-top: auto;
  padding: 0.85rem 1rem !important;
  background: #071533 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 3px solid var(--blue-500, #1A7CFF) !important;
  border-radius: 0 var(--radius-input) var(--radius-input) 0 !important;
  font-size: 0.88rem !important;
  color: #CBD5E1 !important;
  line-height: 1.5 !important;
}

.what-to-do-box strong {
  color: var(--blue-500, #1A7CFF) !important;
}

#result-guide .callout {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 4px solid var(--blue-500, #1A7CFF) !important;
  border-radius: 0 var(--radius-input) var(--radius-input) 0 !important;
  color: #CBD5E1 !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
}

#result-guide .callout p {
  color: #CBD5E1 !important;
  margin: 0 !important;
  line-height: 1.55 !important;
}

#result-guide .callout strong {
  color: var(--blue-500, #1A7CFF) !important;
}

/* S4: Quick Check Two-Column Layout */
.s4-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}

.s4-layout > * {
  min-width: 0;
}

@media (max-width: 1080px) {
  .s4-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.s4-intro {
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.s4-closing {
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0;
}

.link-primary {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.link-primary:hover {
  color: var(--blue-500);
}

/* S4: Quick Check Table & Status Badges (Dark Navy Console Style matching Calculator) */
.s4-table-card {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  box-shadow: 0 24px 60px -12px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.12) !important;
  position: relative;
  overflow: hidden;
}

.s4-table-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-500, #1A7CFF) 50%, transparent 100%);
  opacity: 0.9;
}

.s4-table-card .table-wrap {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.s4-table {
  background: transparent !important;
  color: #F1F5F9 !important;
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}

.s4-table thead th {
  background: #071533 !important;
  color: #FFFFFF !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 18px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: none !important;
}

.s4-table thead th:nth-child(1) { width: 18% !important; }
.s4-table thead th:nth-child(2) { width: 14% !important; }
.s4-table thead th:nth-child(3) { width: 38% !important; }
.s4-table thead th:nth-child(4) { width: 30% !important; }

.s4-table tbody tr {
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

.s4-table tbody tr:nth-child(even) {
  background-color: rgba(7, 21, 51, 0.35) !important;
}

.s4-table tbody tr:hover {
  background-color: rgba(26, 124, 255, 0.08) !important;
}

.s4-table tbody tr:last-child {
  border-bottom: none !important;
}

.s4-table tbody td {
  padding: 18px 16px !important;
  vertical-align: top !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #FFFFFF !important;
  background: transparent !important;
}

.s4-table tbody tr:last-child td {
  border-bottom: none !important;
}

.s4-usage-high {
  display: block;
  font-weight: 800;
  color: #FB7185 !important;
  font-size: 1.05rem;
  line-height: 1.25;
}

.s4-usage-high.s4-usage-gpu {
  color: #34D399 !important;
}

.s4-usage-mid {
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #FFFFFF !important;
}

.s4-usage-low {
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #FFFFFF !important;
}

.s4-usage-sub {
  display: block;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  color: #94A3B8 !important;
  margin-top: 3px;
  font-weight: 500 !important;
}

.s4-status-cell {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: flex-start !important;
}

.s4-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 4px 10px !important;
  width: fit-content !important;
  max-width: 100% !important;
  white-space: normal !important;
  border-radius: 8px !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.25 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.s4-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.s4-badge--cpu {
  background: rgba(244, 63, 94, 0.16) !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
  color: #FDA4AF !important;
}

.s4-badge--cpu .s4-status-dot {
  background: #F43F5E !important;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.7) !important;
}

.s4-badge--gpu {
  background: rgba(16, 185, 129, 0.16) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #6EE7B7 !important;
}

.s4-badge--gpu .s4-status-dot {
  background: #10B981 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7) !important;
}

.s4-badge--balanced {
  background: rgba(59, 130, 246, 0.16) !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  color: #93C5FD !important;
}

.s4-badge--balanced .s4-status-dot {
  background: #3B82F6 !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7) !important;
}

.s4-badge--other {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #FFFFFF !important;
}

.s4-badge--other .s4-status-dot {
  background: #E2E8F0 !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7) !important;
}

.s4-status-desc {
  display: block !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #CBD5E1 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.s4-action-text {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #FFFFFF !important;
  font-weight: 500 !important;
}

@media (max-width: 767px) {
  .s4-table,
  .s4-table tbody,
  .s4-table tr,
  .s4-table td {
    display: block !important;
    width: 100% !important;
  }

  .s4-table thead {
    display: none !important;
  }

  .s4-table tbody tr {
    padding: 16px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
  }

  .s4-table tbody tr:nth-child(even) {
    background-color: rgba(7, 21, 51, 0.4) !important;
  }

  .s4-table tbody td {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 8px 0 !important;
    border: none !important;
    font-size: 0.875rem !important;
  }

  .s4-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--on-dark-muted, #94A3B8);
    margin-bottom: 4px;
  }

  .s4-table tbody td:first-child {
    padding-top: 0 !important;
  }

  .s4-table tbody td:last-child {
    padding-bottom: 0 !important;
  }
}

/* S5: How It Works Steps with Connector & Rich Animations */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .steps-row::before {
    content: "";
    position: absolute;
    top: 58px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: repeating-linear-gradient(90deg, rgba(26, 124, 255, 0.35) 0, rgba(26, 124, 255, 0.35) 8px, transparent 8px, transparent 16px);
    z-index: 0;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .step-card {
    padding: 24px 18px !important;
  }
}

@media (max-width: 767px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
  }

  .steps-row::before {
    content: "";
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 54px;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(26, 124, 255, 0.45) 0, rgba(26, 124, 255, 0.45) 8px, transparent 8px, transparent 16px);
    z-index: 0;
  }
}

.step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--navy-800, #0B1F44) !important;
  border-radius: var(--radius-card, 16px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.step-card--1::before {
  background: linear-gradient(90deg, #1A7CFF, #1A7CFF);
}

.step-card--2::before {
  background: linear-gradient(90deg, #6366F1, #8B5CF6);
}

.step-card--3::before {
  background: linear-gradient(90deg, #059669, #10B981);
}

.step-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 44px -8px rgba(5, 14, 36, 0.6), 0 0 18px rgba(26, 124, 255, 0.3) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

.step-num-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-num-circle {
  transform: scale(1.08) rotate(3deg);
}

.step-num--1 {
  background: linear-gradient(135deg, #1A7CFF 0%, #1A7CFF 100%);
  box-shadow: 0 8px 20px rgba(26, 124, 255, 0.38);
}

.step-num--2 {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.38);
}

.step-num--3 {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.38);
}

.step-card h3 {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 0.65rem !important;
}

.step-card p {
  color: #CBD5E1 !important;
  font-size: 0.9375rem !important;
  line-height: 1.62 !important;
  margin: 0 !important;
}

.step-card p code {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--blue-500, #1A7CFF) !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-size: 0.875em !important;
}

.callout-compares {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 5px solid var(--blue-500, #1A7CFF) !important;
  border-radius: var(--radius-card, 16px) !important;
  padding: 22px 26px !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .callout-compares {
    flex-direction: column;
    padding: 20px 18px !important;
    gap: 0.85rem;
  }
}

.callout-compares-body {
  min-width: 0;
  overflow-wrap: anywhere;
}

.callout-compares-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 124, 255, 0.2) !important;
  color: var(--blue-500, #1A7CFF) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#how-it-works .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  #how-it-works .grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.cannot-do-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  transition: all 0.25s ease;
}

.cannot-do-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 36px -8px rgba(5, 14, 36, 0.55) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}

.cannot-do-card p {
  margin: 0 !important;
  color: #CBD5E1 !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.cannot-do-card:hover .icon-box {
  transform: scale(1.1);
}

.icon-box--amber {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #FBBF24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

.icon-box--blue {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #60A5FA !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
}

.icon-box--purple {
  background: rgba(139, 92, 246, 0.18) !important;
  color: #A78BFA !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
}

/* S6: What Is a PC Bottleneck */
.s6-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 1023px) {
  .s6-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .s6-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.s6-text {
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.s6-text p {
  margin-bottom: 1rem;
}

/* S6: Right Column Visual & Cards (Dark Navy Console Style) */
.s6-visual-card {
  position: relative;
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
  background: var(--navy-800, #0B1F44);
  border: 1px solid rgba(26, 124, 255, 0.28);
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 0 24px -6px rgba(26, 124, 255, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 1.25rem;
}

.s6-visual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -8px rgba(5, 14, 36, 0.55), 0 0 30px -4px rgba(26, 124, 255, 0.32);
}

.s6-visual-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.s6-cards-grid {
  gap: 1.25rem;
}

.s6-card {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  padding: 24px 22px !important;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.1) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.s6-card:hover {
  transform: translateY(-3px) !important;
}

.s6-card--cpu {
  border-top: 3px solid #3B82F6 !important;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 -2px 10px rgba(59, 130, 246, 0.35) !important;
}

.s6-card--cpu:hover {
  border-color: rgba(59, 130, 246, 0.45) !important;
  border-top-color: #60A5FA !important;
  box-shadow: 0 20px 44px -8px rgba(5, 14, 36, 0.6), 0 0 18px rgba(59, 130, 246, 0.3) !important;
}

.s6-card--cpu .badge--info {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #60A5FA !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  padding: 4px 12px !important;
}

.s6-card--gpu {
  border-top: 3px solid #10B981 !important;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 -2px 10px rgba(16, 185, 129, 0.35) !important;
}

.s6-card--gpu:hover {
  border-color: rgba(16, 185, 129, 0.45) !important;
  border-top-color: #34D399 !important;
  box-shadow: 0 20px 44px -8px rgba(5, 14, 36, 0.6), 0 0 18px rgba(16, 185, 129, 0.3) !important;
}

.s6-card--gpu .badge--ok {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #34D399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  padding: 4px 12px !important;
}

.s6-card h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 0.65rem 0 0.5rem 0 !important;
}

.s6-card p {
  font-size: 0.92rem !important;
  color: #CBD5E1 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.simple-rule-callout {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 4px solid var(--blue-500, #1A7CFF) !important;
  border-radius: 14px !important;
  padding: 1.15rem 1.4rem !important;
  color: #E2E8F0 !important;
  font-size: 0.9375rem !important;
  line-height: 1.55 !important;
  margin-top: 1.25rem !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
}

.simple-rule-callout strong {
  color: var(--blue-500, #1A7CFF) !important;
  font-weight: 800 !important;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 1.5rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .types-grid {
    grid-template-columns: 1fr;
  }
}

.type-card {
  padding: 16px 18px;
  min-height: 52px;
  border-radius: var(--radius-card, 14px);
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #F1F5F9 !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4), 0 0 1px rgba(255, 255, 255, 0.08) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.type-card-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.type-card-main span {
  font-size: 0.875rem;
  line-height: 1.35;
  color: #F1F5F9 !important;
  font-weight: 600;
}

.type-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.type-icon--cpu {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #60A5FA !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
}

.type-icon--gpu {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #34D399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.type-icon--ram {
  background: rgba(168, 85, 247, 0.18) !important;
  color: #C084FC !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
}

.type-icon--muted {
  background: rgba(148, 163, 184, 0.14) !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
}

.type-card-arrow {
  color: #94A3B8 !important;
  transition: transform 0.25s ease, color 0.25s ease;
}

a.type-card--active:hover {
  background: linear-gradient(135deg, #0d2250 0%, #12306A 100%) !important;
  border-color: rgba(26, 124, 255, 0.5) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -6px rgba(5, 14, 36, 0.5), 0 0 16px rgba(26, 124, 255, 0.35) !important;
}

a.type-card--active:hover .type-card-arrow {
  transform: translateX(4px);
  color: var(--blue-500, #1A7CFF) !important;
}

a.type-card--active:hover .type-card-icon {
  transform: scale(1.08);
}

.type-card--disabled {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px dashed rgba(255, 255, 255, 0.2) !important;
  cursor: default;
  box-shadow: 0 8px 20px -4px rgba(5, 14, 36, 0.35) !important;
}

.type-card--disabled .type-card-main span {
  color: #CBD5E1 !important;
}

.type-card--disabled .type-icon--muted {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.badge-coming-soon {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #94A3B8 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  white-space: nowrap;
}

.btn-guide-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-pill, 999px);
  background: linear-gradient(135deg, #1A7CFF 0%, #0d5bc7 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(26, 124, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-guide-cta:hover {
  background: linear-gradient(135deg, #2b87ff 0%, #1668f0 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(26, 124, 255, 0.55);
  color: #ffffff !important;
}

.btn-guide-cta .cta-arrow {
  transition: transform 0.25s ease;
}

.btn-guide-cta:hover .cta-arrow {
  transform: translateX(5px);
}

/* S7: Combos Table & Instant Test Buttons (Dark Navy Console Style) */
.combos-table-wrap {
  border-radius: var(--radius-card, 16px);
  box-shadow: 0 24px 60px -12px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
  background: var(--navy-800, #0B1F44) !important;
  position: relative;
}

.combos-table-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-500, #1A7CFF) 50%, transparent 100%);
  opacity: 0.9;
}

.combos-table {
  background: transparent !important;
  color: #FFFFFF !important;
  width: 100% !important;
  border-collapse: collapse !important;
}

.combos-table thead th {
  background: #071533 !important;
  color: #FFFFFF !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: none !important;
  white-space: nowrap !important;
}

.combo-row {
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

.combo-row:nth-child(even) {
  background-color: rgba(7, 21, 51, 0.35) !important;
}

.combo-row:hover {
  background-color: rgba(26, 124, 255, 0.08) !important;
}

.combo-row:last-child {
  border-bottom: none !important;
}

.combo-row td {
  padding: 16px 22px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.92rem !important;
  color: #FFFFFF !important;
  background: transparent !important;
}

.combo-row td:last-child {
  border-bottom: none !important;
}

.combo-row td strong {
  color: #FFFFFF !important;
  font-weight: 700;
}

.combo-best-for {
  color: #E2E8F0 !important;
}

.res-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.res-pill--1080p {
  background: rgba(56, 189, 248, 0.16) !important;
  color: var(--blue-500, #1A7CFF) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

.res-pill--1440p {
  background: rgba(168, 85, 247, 0.18) !important;
  color: #C084FC !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
}

.res-pill--4k {
  background: rgba(251, 146, 60, 0.18) !important;
  color: #FB923C !important;
  border: 1px solid rgba(251, 146, 60, 0.35) !important;
}

.btn-test-combo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(26, 124, 255, 0.18) 0%, rgba(26, 124, 255, 0.1) 100%) !important;
  border: 1px solid rgba(26, 124, 255, 0.45) !important;
  color: #FFFFFF !important;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(5, 14, 36, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  white-space: nowrap;
}

.btn-test-combo svg {
  color: var(--blue-500, #1A7CFF) !important;
  transition: transform 0.2s ease, color 0.2s ease;
}

.btn-test-combo:hover {
  background: linear-gradient(135deg, #1A7CFF 0%, #1A7CFF 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 124, 255, 0.5), 0 0 14px rgba(26, 124, 255, 0.4) !important;
}

.btn-test-combo:hover svg {
  color: #FFFFFF !important;
  transform: scale(1.15) translateX(1px);
}

.btn-test-combo:active {
  transform: translateY(0);
}

.btn-test-combo.is-loading {
  opacity: 0.8;
  cursor: wait;
}

.combo-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--blue-500, #1A7CFF);
  border-radius: 50%;
  animation: comboSpin 0.7s linear infinite;
  display: inline-block;
}

@keyframes comboSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Stacked Card View for S7 Table */
@media (max-width: 768px) {
  .combos-table thead {
    display: none;
  }

  .combos-table,
  .combos-table tbody,
  .combos-table tr,
  .combos-table td {
    display: block;
    width: 100%;
  }

  .combos-table tr {
    background: var(--navy-800, #0B1F44) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-card);
    margin-bottom: 1rem;
    padding: 1.15rem;
    box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  }

  .combos-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: right;
    color: #FFFFFF !important;
  }

  .combos-table td:last-child {
    border-bottom: none;
    padding-top: 0.85rem;
    justify-content: stretch;
    width: 100%;
  }

  .combos-table td:last-child .btn-test-combo {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .combos-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.8125rem;
    color: #94A3B8 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
    margin-right: 1rem;
  }
}

/* S7: Combos Callout Banner (Matching Context matters style) */
.combos-callout {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 4px solid var(--blue-500, #1A7CFF) !important;
  border-radius: 0 var(--radius-input, 10px) var(--radius-input, 10px) 0 !important;
  color: #CBD5E1 !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  padding: 1.15rem 1.35rem !important;
  margin-top: 1.5rem !important;
  text-align: left !important;
}

.combos-callout p {
  color: #CBD5E1 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
  font-size: 0.9375rem !important;
}

.combos-callout strong {
  color: var(--blue-500, #1A7CFF) !important;
  font-weight: 700 !important;
}

.combos-callout a {
  color: var(--blue-500, #1A7CFF) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.15s ease !important;
}

.combos-callout a:hover,
.combos-callout a:focus-visible {
  color: #7DD3FC !important;
  text-decoration: underline !important;
}

/* S8: Example Results (Dark Navy Console Style) */
#examples .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  #examples .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  #examples .example-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  #examples .grid-3 {
    grid-template-columns: 1fr;
  }

  #examples .example-card:nth-child(3) {
    grid-column: auto;
  }
}

.example-card {
  display: flex;
  flex-direction: column;
  padding: 26px !important;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.example-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(26, 124, 255, 0.8) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.example-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(26, 124, 255, 0.4) !important;
  box-shadow: 0 20px 44px -8px rgba(5, 14, 36, 0.6), 0 0 18px rgba(26, 124, 255, 0.25) !important;
}

.example-card:hover::before {
  opacity: 1;
}

.example-card .tier-badge {
  align-self: flex-start;
  margin-bottom: 1.15rem;
  background: rgba(26, 124, 255, 0.16) !important;
  color: var(--blue-500, #1A7CFF) !important;
  border: 1px solid rgba(26, 124, 255, 0.35) !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.example-card h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 0.75rem !important;
}

.example-build {
  font-size: 0.9375rem !important;
  color: #CBD5E1 !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.85rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  line-height: 1.55 !important;
}

.example-build strong {
  color: #FFFFFF !important;
  font-weight: 700;
}

.example-result-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-input);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue-500, #1A7CFF) !important;
  margin-bottom: 0.95rem;
}

.example-result-pill strong {
  color: #FFFFFF !important;
}

.example-read {
  font-size: 0.92rem !important;
  color: #CBD5E1 !important;
  line-height: 1.65 !important;
  margin: 0;
}

.example-read strong {
  color: #FFFFFF !important;
  font-weight: 700;
}

/* S9: Ray Tracing & Upscaling Layout & Table */
.s9-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.35fr;
  gap: 2.25rem;
  align-items: start;
}

@media (max-width: 1023px) {
  .s9-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* S9: Ray Tracing & Upscaling Layout & Table (Dark Navy Console Style) */
.s9-table-card {
  border-radius: var(--radius-card, 16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 24px 60px -12px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.12) !important;
  background: var(--navy-800, #0B1F44) !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
}

.s9-table-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue-500, #1A7CFF) 50%, transparent 100%);
  opacity: 0.9;
}

.s9-table-wrap {
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

.s9-table {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
  color: #FFFFFF !important;
}

.s9-table thead th {
  background: #071533 !important;
  color: #FFFFFF !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: none !important;
  white-space: nowrap !important;
}

.s9-table tbody tr {
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

.s9-table tbody tr:nth-child(even) {
  background-color: rgba(7, 21, 51, 0.35) !important;
}

.s9-table tbody tr:hover {
  background-color: rgba(26, 124, 255, 0.08) !important;
}

.s9-table tbody tr:last-child {
  border-bottom: none !important;
}

.s9-table tbody td {
  padding: 16px 20px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.92rem !important;
  color: #E2E8F0 !important;
  background: transparent !important;
}

.s9-table tbody td strong {
  color: #FFFFFF !important;
  font-weight: 700;
}

.s9-table tbody tr:last-child td {
  border-bottom: none !important;
}

.s9-table .badge--warn {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #FCD34D !important;
  border: 1px solid rgba(245, 158, 11, 0.38) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  white-space: nowrap !important;
}

.s9-table .badge--info {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #93C5FD !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  white-space: nowrap !important;
}

.s9-table .badge--ok {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #6EE7B7 !important;
  border: 1px solid rgba(16, 185, 129, 0.38) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  white-space: nowrap !important;
}

.feature-point {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-point:last-child {
  margin-bottom: 0;
}

.feature-point h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.35rem;
}

.feature-point p {
  font-size: 0.9375rem;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0;
}

.btn-sm {
  min-height: 36px;
  padding: 0.4rem 0.95rem;
  font-size: 0.84rem;
}

/* ==========================================================================
   Section 10: Fix a Bottleneck Without Buying Parts
   ========================================================================== */
.s10-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .s10-grid {
    grid-template-columns: 1fr;
  }
}

.s10-card {
  padding: 2rem;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.s10-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 36px -6px rgba(5, 14, 36, 0.55), 0 0 16px rgba(26, 124, 255, 0.2) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

.s10-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.s10-card-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0;
  letter-spacing: -0.015em;
}

.s10-card-head .icon-box {
  background: rgba(26, 124, 255, 0.15) !important;
  border: 1px solid rgba(26, 124, 255, 0.3) !important;
  color: var(--blue-500, #1A7CFF) !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.s10-card:hover .icon-box {
  transform: scale(1.05);
  background: rgba(26, 124, 255, 0.25) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}

.s10-badge {
  margin-left: auto;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem !important;
  border-radius: 999px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: var(--blue-500, #1A7CFF) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .s10-card-head {
    flex-wrap: wrap;
  }

  .s10-badge {
    margin-left: 0;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9375rem;
  color: #CBD5E1 !important;
  line-height: 1.6;
}

.check-bullet {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.check-bullet svg {
  width: 13px !important;
  height: 13px !important;
  display: block;
}

.check-list a {
  color: var(--blue-500, #1A7CFF) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 600 !important;
  transition: color 0.15s ease;
}

.check-list a:hover,
.check-list a:focus-visible {
  color: #7DD3FC !important;
}

.s10-upgrade-card a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.15s ease;
}

.s10-upgrade-card a:hover {
  color: var(--blue-800);
}

.s10-upgrade-card {
  padding: 2.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  margin-top: 2rem;
}

.s10-upgrade-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.s10-upgrade-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.015em;
}

.s10-upgrade-card p {
  color: var(--ink-700);
  font-size: 0.96875rem;
  line-height: 1.65;
  margin: 0;
}

.s10-upgrade-card p+p {
  margin-top: 0.85rem;
}

/* 4-Segment Scale Strip & Cards */
.s10-scale-wrap {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.s10-scale-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500, #1A7CFF) !important;
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s10-scale-title svg {
  color: var(--blue-500, #1A7CFF) !important;
}

.s10-scale-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .s10-scale-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .s10-scale-track {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.s10-scale-segment {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: var(--navy-800, #0B1F44) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.s10-scale-segment:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 36px -6px rgba(5, 14, 36, 0.55), 0 0 16px rgba(26, 124, 255, 0.2) !important;
}

.s10-scale-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.s10-scale--balanced .s10-scale-bar {
  background: #10B981 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.s10-scale--mild .s10-scale-bar {
  background: #3B82F6 !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

.s10-scale--moderate .s10-scale-bar {
  background: #F59E0B !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

.s10-scale--severe .s10-scale-bar {
  background: #EF4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

.s10-scale-pill {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}

.s10-scale--balanced .s10-scale-pill {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #34D399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.s10-scale--mild .s10-scale-pill {
  background: rgba(59, 130, 246, 0.18) !important;
  color: #60A5FA !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
}

.s10-scale--moderate .s10-scale-pill {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #FBBF24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

.s10-scale--severe .s10-scale-pill {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #F87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

.s10-scale-name {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 0.25rem;
}

.s10-scale-desc {
  font-size: 0.84rem !important;
  color: #CBD5E1 !important;
  line-height: 1.45;
}

/* ==========================================================================
   Section 11: Why This Calculator Is Different
   ========================================================================== */
.why-different-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .why-different-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .why-different-grid {
    grid-template-columns: 1fr;
  }
}

.why-different-card {
  padding: 1.5rem;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4), 0 0 1px rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.why-different-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(26, 124, 255, 0.7) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.why-different-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(26, 124, 255, 0.4) !important;
  box-shadow: 0 16px 36px -6px rgba(5, 14, 36, 0.55), 0 0 16px rgba(26, 124, 255, 0.25) !important;
}

.why-different-card:hover::before {
  opacity: 1;
}

.why-different-card .icon-box {
  background: rgba(26, 124, 255, 0.16) !important;
  color: var(--blue-500, #1A7CFF) !important;
  border: 1px solid rgba(26, 124, 255, 0.35) !important;
  border-radius: 12px !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.why-different-card .icon-box svg {
  color: var(--blue-500, #1A7CFF) !important;
}

.why-different-card:hover .icon-box {
  background: rgba(26, 124, 255, 0.28) !important;
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(26, 124, 255, 0.4) !important;
}

.why-different-card h3 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 1rem 0 0.45rem 0;
}

.why-different-card p {
  font-size: 0.92rem !important;
  color: #CBD5E1 !important;
  line-height: 1.55 !important;
  margin: 0;
}

.why-different-card--highlight {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #0d2250 0%, #12306A 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.5), 0 0 20px rgba(26, 124, 255, 0.25) !important;
}

.why-different-card--highlight::before {
  opacity: 1 !important;
  background: linear-gradient(90deg, transparent 0%, var(--blue-500, #1A7CFF) 50%, transparent 100%) !important;
}

.why-different-card--highlight .icon-box {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(56, 189, 248, 0.2) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  color: var(--blue-500, #1A7CFF) !important;
}

.why-different-card--highlight h3 {
  color: #FFFFFF !important;
  margin: 0 0 0.25rem 0;
}

.why-different-card--highlight p {
  color: #E2E8F0 !important;
}

@media (max-width: 768px) {
  .why-different-card--highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ==========================================================================
   Stats Band (Compact Dark Strip Directly After S11)
   ========================================================================== */
.stats-band-section {
  padding: 2.25rem 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-band-wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-band-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 170px;
}

.stat-band-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 124, 255, 0.16);
  color: var(--blue-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-band-text {
  display: flex;
  flex-direction: column;
}

.stat-band-value {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.stat-band-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.stat-band-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .stat-band-divider {
    display: none !important;
  }

  .stat-band-item {
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 180px;
  }
}

@media (max-width: 767px) {
  .stat-band-divider {
    display: none !important;
  }

  .stat-band-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 140px;
  }
}

@media (max-width: 480px) {
  .stat-band-item {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Section 12: Popular Bottleneck Guides
   ========================================================================== */
.featured-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .featured-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-guides-grid .guide-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .featured-guides-grid {
    grid-template-columns: 1fr;
  }

  .featured-guides-grid .guide-card:nth-child(3) {
    grid-column: auto;
  }
}

.guide-card {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 32px -6px rgba(5, 14, 36, 0.45), 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.guide-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 44px -8px rgba(5, 14, 36, 0.6), 0 0 18px rgba(26, 124, 255, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}

.guide-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
  overflow: hidden;
  position: relative;
}

.guide-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.guide-card:hover .guide-card-img {
  transform: scale(1.03);
}

.guide-card-thumb--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--blue-400);
}

.guide-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-card-body h3 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0.65rem 0 0.5rem 0 !important;
}

.guide-card-body h3 a {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.guide-card-body h3 a:hover {
  color: var(--blue-500, #1A7CFF) !important;
}

.guide-card-excerpt {
  font-size: 0.875rem !important;
  color: #CBD5E1 !important;
  line-height: 1.55 !important;
  margin-bottom: 1.25rem !important;
  flex-grow: 1;
}

.guide-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: var(--blue-500, #1A7CFF) !important;
  text-decoration: none !important;
}

.guide-read-link:hover {
  color: #7DD3FC !important;
}

.guide-read-link .btn-arrow {
  transition: transform 0.15s ease;
}

.guide-read-link:hover .btn-arrow {
  transform: translateX(4px);
}

.guides-grouped-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .guides-grouped-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .guides-grouped-grid {
    grid-template-columns: 1fr;
  }
}

.guide-category-card {
  padding: 1.25rem !important;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
}

.guide-category-title {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-500, #1A7CFF) !important;
  border-bottom: 2px solid rgba(56, 189, 248, 0.4) !important;
  padding-bottom: 0.5rem !important;
  margin: 0 0 0.85rem 0 !important;
}

.guide-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guide-link {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem !important;
  min-height: 44px;
  border-radius: 6px;
  font-size: 0.875rem !important;
  color: #CBD5E1 !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
  line-height: 1.4 !important;
}

.guide-link span {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.guide-link:hover,
.guide-link:focus-visible {
  color: var(--blue-500, #1A7CFF) !important;
  background: rgba(56, 189, 248, 0.08) !important;
}

.guide-link-icon {
  color: var(--blue-500, #1A7CFF) !important;
  flex-shrink: 0;
}

/* "View all guides" Pill Button matching primary blue theme */
.btn-view-all-guides {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  background: #0B64F0 !important;
  background: linear-gradient(90deg, #0A63F0 0%, #1279F5 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: -0.01em !important;
  padding: 0.75rem 2rem !important;
  min-height: 46px !important;
  border-radius: 9999px !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(11, 100, 240, 0.35) !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-view-all-guides:hover,
.btn-view-all-guides:focus-visible {
  background: #0957D4 !important;
  background: linear-gradient(90deg, #0957D4 0%, #0F6CE0 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(11, 100, 240, 0.5) !important;
}

.btn-view-all-guides:active {
  transform: translateY(0) !important;
}

.btn-view-all-guides .btn-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn-view-all-guides:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Section 13: Frequently Asked Questions
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1023px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.faq-sticky-col {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

@media (max-width: 1023px) {
  .faq-sticky-col {
    position: static;
  }
}

/* S13: Still have a question Contact Card (Styled like S11 Dark Navy Card) */
.faq-contact-card {
  padding: 1.5rem;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4), 0 0 1px rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.faq-contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 124, 255, 0.4) !important;
  box-shadow: 0 16px 36px -6px rgba(5, 14, 36, 0.55), 0 0 16px rgba(26, 124, 255, 0.25) !important;
}

.faq-contact-card h4 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 0.45rem 0;
}

.faq-contact-desc {
  font-size: 0.92rem;
  color: #CBD5E1 !important;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* S13: Accordion Cards (Dark Navy Console Style matching S11) */
.faq-accordion-wrap {
  display: grid;
  gap: 0.85rem;
}

.faq-details {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  overflow: hidden;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4), 0 0 1px rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.faq-details:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 124, 255, 0.4) !important;
  box-shadow: 0 16px 36px -6px rgba(5, 14, 36, 0.55), 0 0 16px rgba(26, 124, 255, 0.25) !important;
}

.faq-details[open] {
  background: var(--navy-800, #0B1F44) !important;
  border-color: rgba(26, 124, 255, 0.45) !important;
  box-shadow: 0 16px 36px -6px rgba(5, 14, 36, 0.55), 0 0 20px rgba(26, 124, 255, 0.2) !important;
}

.faq-summary {
  width: 100%;
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

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

.faq-question-text {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.45;
  transition: color 0.15s ease;
  overflow-wrap: anywhere;
}

.faq-chevron {
  color: var(--blue-500, #1A7CFF) !important;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 124, 255, 0.16);
}

.faq-details[open] .faq-chevron {
  transform: rotate(180deg);
  background: rgba(26, 124, 255, 0.32);
  color: #FFFFFF !important;
}

@media (prefers-reduced-motion: reduce) {
  .faq-chevron {
    transition: none;
  }
}

.faq-answer-content {
  padding: 0 1.35rem 1.35rem 1.35rem;
  color: #CBD5E1 !important;
  font-size: 0.94rem;
  line-height: 1.68;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 1.05rem;
}

.faq-answer-content p {
  color: #CBD5E1 !important;
  margin: 0;
  line-height: 1.68;
}

.faq-answer-content a {
  color: var(--blue-500, #1A7CFF) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.faq-answer-content a:hover {
  color: #FFFFFF !important;
}

/* ==========================================================================
   Author Box
   ========================================================================== */
.author-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 0.35rem 0;
}

.author-bio {
  color: var(--ink-600);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 0.75rem 0;
}

.author-links {
  display: flex;
  gap: 1.25rem;
}

.author-links a {
  color: var(--blue-600);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.author-links a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .author-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
  }

  .author-avatar {
    align-self: flex-start;
  }

  .author-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .author-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(26, 124, 255, 0.28) 0%, transparent 70%), var(--navy-900);
  position: relative;
  overflow: hidden;
}

.final-cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.final-cta-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-300);
  margin: 0 auto;
}

.final-cta-action {
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .final-cta-action .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* ==========================================================================
   Resolution Control (Used by calculator in home.blade.php)
   ========================================================================== */
.res-primary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.more-res-details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-input);
  background: rgba(255, 255, 255, 0.04);
  margin-top: 0.45rem;
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.more-res-details[open] {
  border-color: rgba(26, 124, 255, 0.45);
  background: rgba(26, 124, 255, 0.08);
}

.more-res-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  user-select: none;
  transition: color 0.15s ease;
}

.more-res-summary::-webkit-details-marker {
  display: none;
}

.more-res-summary:hover,
.more-res-summary:focus-visible {
  color: #ffffff;
}

.more-res-summary:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: -2px;
}

.more-res-icon {
  color: var(--blue-400);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.more-res-details[open] .more-res-icon {
  transform: rotate(180deg);
}

.more-res-body {
  padding: 0.55rem 0.65rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.more-res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

@media (max-width: 640px) {
  .more-res-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Section: Step 9 — Footer (Design System)
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(184, 199, 227, 0.12);
  background: var(--navy-950, #050E24);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  color: var(--on-dark-muted, #B8C7E3);
  font-family: var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.65fr 1fr 1fr;
  gap: 2.5rem 1.75rem;
  margin-bottom: 3.25rem;
  align-items: start;
}

.site-footer .footer-col {
  display: flex;
  flex-direction: column;
}

.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.site-footer .footer-logo:hover {
  opacity: 0.95;
}

.site-footer .footer-logo:focus-visible {
  outline: 2px solid var(--blue-500, #1A7CFF);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-footer .footer-logo-img {
  height: 40px;
  width: auto;
  max-width: 186px;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-footer .footer-logo:hover .footer-logo-img {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 14px rgba(26, 124, 255, 0.35));
}

.site-footer .footer-desc {
  color: var(--on-dark-muted, #B8C7E3);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  max-width: 22rem;
}

.site-footer .footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Outline Circular Social Buttons */
.site-footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(184, 199, 227, 0.22);
  color: var(--on-dark-muted, #B8C7E3);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.site-footer .footer-social-link svg {
  display: block;
}

.site-footer .footer-social-link:hover {
  color: var(--blue-500, #1A7CFF);
  border-color: var(--blue-500, #1A7CFF);
  background: rgba(26, 124, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 124, 255, 0.3);
}

.site-footer .footer-social-link:focus-visible {
  outline: 2px solid var(--blue-500, #1A7CFF);
  outline-offset: 3px;
  color: var(--blue-500, #1A7CFF);
  border-color: var(--blue-500, #1A7CFF);
}

.site-footer .footer-heading {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin: 0 0 1.15rem 0;
  line-height: 1.2;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer .footer-links li {
  margin: 0;
  padding: 0;
}

.site-footer .footer-links a {
  display: inline-block;
  color: var(--on-dark-muted, #B8C7E3);
  text-decoration: none;
  font-size: 0.90625rem;
  line-height: 1.5;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
}

.site-footer .footer-links a:hover {
  color: var(--blue-500, #1A7CFF);
  transform: translateX(2px);
}

.site-footer .footer-links a:focus-visible {
  outline: 2px solid var(--blue-500, #1A7CFF);
  outline-offset: 3px;
  border-radius: 4px;
  color: var(--blue-500, #1A7CFF);
}

/* Thin Divider & Bottom Bar */
.site-footer .footer-bottom {
  border-top: 1px solid rgba(184, 199, 227, 0.12);
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--on-dark-muted, #B8C7E3);
}

.site-footer .footer-copyright {
  color: var(--on-dark-muted, #B8C7E3);
}

.site-footer .footer-disclaimer {
  color: rgba(184, 199, 227, 0.72);
}

/* Tablet (2 columns): <= 992px */
@media (max-width: 992px) {
  .site-footer {
    padding: 3.5rem 0 1.75rem;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.25rem 2rem;
    margin-bottom: 2.5rem;
  }

  .site-footer .footer-col-brand {
    grid-column: 1 / -1;
  }

  .site-footer .footer-desc {
    max-width: 100%;
  }
}

/* Mobile (1 column & 44px tap targets): <= 560px */
@media (max-width: 560px) {
  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .site-footer .footer-col-brand {
    grid-column: auto;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
}

/* 44px Tap Targets on Touch/Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .site-footer .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-footer .footer-social-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

/* ==========================================================================
   Static Pages Shared System (.page-hero, .page-section, .doc-card, etc.)
   ========================================================================== */

/* Page Hero: Always dark navy band with radial blue glow and faint grid */
.page-hero,
.section--dark.page-hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px);
  background-color: var(--navy-900, #071533) !important;
  color: var(--on-dark, #FFFFFF) !important;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(26, 124, 255, 0.24), transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 10%, rgba(26, 124, 255, 0.08), transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.page-hero-container {
  position: relative;
  z-index: 1;
  width: min(100% - 4rem, 1100px);
  margin-inline: auto;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .page-hero-container {
    width: min(100% - 3rem, 1100px);
  }
}

@media (max-width: 767px) {
  .page-hero-container {
    width: min(100% - 2rem, 1100px);
  }
}

/* Breadcrumbs */
.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.page-breadcrumbs a {
  color: var(--on-dark-muted, #B8C7E3) !important;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.page-breadcrumbs a:hover,
.page-breadcrumbs a:focus-visible {
  color: var(--blue-500, #1A7CFF) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-breadcrumbs .crumb-sep {
  color: rgba(184, 199, 227, 0.5) !important;
  font-size: 0.9375rem;
  user-select: none;
}

.page-breadcrumbs .crumb-current {
  color: #FFFFFF !important;
  font-weight: 600;
}

/* Eyebrow Pill / Badge: Guaranteed AA contrast with cyan text on translucent blue */
.page-hero p.page-hero-badge,
.page-hero .page-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill, 999px);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(26, 124, 255, 0.14) !important;
  border: 1px solid rgba(26, 124, 255, 0.35) !important;
  color: var(--blue-500, #1A7CFF) !important;
  opacity: 1 !important;
  margin-bottom: 1.15rem;
  user-select: none;
}

/* H1 */
.page-hero-h1 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #FFFFFF !important;
  margin: 0 0 1.25rem;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: normal;
}

.page-hero-h1 .accent {
  color: var(--blue-500, #1A7CFF) !important;
}

/* Intro Lead: Guaranteed AA contrast (> 10:1) with on-dark-muted */
.page-hero p.page-hero-lead,
.page-hero .page-hero-lead {
  max-width: 720px;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.65;
  color: var(--on-dark-muted, #B8C7E3) !important;
  opacity: 1 !important;
  margin: 0 0 1.75rem;
}

/* Hero Action Buttons */
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 479px) {
  .page-hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 0.75rem;
  }
}

.page-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  height: 48px;
  padding: 0 1.6rem;
  border-radius: var(--radius-pill, 999px);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 479px) {
  .page-hero-btn {
    width: 100% !important;
    justify-content: center;
  }
}

@media (min-width: 480px) {
  .page-hero-btn {
    width: auto;
  }
}

.page-hero-btn .btn-arrow {
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.page-hero-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.page-hero-btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}

.page-hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Hero Chips Row */
.page-hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.5rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  min-height: 38px;
  border-radius: var(--radius-pill, 999px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  user-select: none;
}

.hero-chip .chip-check {
  color: var(--blue-500, #1A7CFF);
  flex-shrink: 0;
}

/* ==========================================================================
   About Page Sections & Homepage Matching Styles
   ========================================================================== */

/* Page Section & Container */
.page-container--1100 {
  position: relative;
  width: min(100% - 4rem, 1100px);
  margin-inline: auto;
  box-sizing: border-box;
}

.page-container--1000 {
  position: relative;
  width: min(100% - 4rem, 1000px);
  margin-inline: auto;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .page-container--1100 {
    width: min(100% - 3rem, 1100px);
  }
  .page-container--1000 {
    width: min(100% - 3rem, 1000px);
  }
}

@media (max-width: 767px) {
  .page-container--1100 {
    width: min(100% - 2rem, 1100px);
  }
  .page-container--1000 {
    width: min(100% - 2rem, 1000px);
  }
}

/* Anchored Headings Sticky Header Offset */
#mission,
#how-it-works,
#what-it-checks,
#honest-estimates,
#who-its-for,
#creator,
#data-updates,
#get-in-touch {
  scroll-margin-top: calc(var(--header-height, 72px) + 16px);
}

@media (max-width: 767px) {
  #mission,
  #how-it-works,
  #what-it-checks,
  #honest-estimates,
  #who-its-for,
  #creator,
  #data-updates,
  #get-in-touch {
    scroll-margin-top: calc(var(--header-height, 60px) + 16px);
  }
}

/* Dark Theme Section Alternating Backgrounds */
[data-theme="dark"] .section--soft,
[data-theme="dark"] .section--tint {
  background-color: var(--navy-950, #050E24);
  color: var(--on-dark, #FFFFFF);
}

[data-theme="dark"] .section--soft .section-title,
[data-theme="dark"] .section--soft h2,
[data-theme="dark"] .section--soft h3,
[data-theme="dark"] .section--tint .section-title,
[data-theme="dark"] .section--tint h2,
[data-theme="dark"] .section--tint h3 {
  color: #FFFFFF !important;
}

[data-theme="dark"] .section--soft .section-lead,
[data-theme="dark"] .section--soft p,
[data-theme="dark"] .section--tint .section-lead,
[data-theme="dark"] .section--tint .lead,
[data-theme="dark"] .section--tint p {
  color: var(--on-dark-muted, #B8C7E3) !important;
}

[data-theme="dark"] .section--white {
  background-color: var(--navy-900, #071533);
  color: var(--on-dark, #FFFFFF);
}

[data-theme="dark"] .section--white .section-title,
[data-theme="dark"] .section--white h2,
[data-theme="dark"] .section--white h3 {
  color: #FFFFFF;
}

[data-theme="dark"] .section--white .section-lead,
[data-theme="dark"] .section--white p {
  color: var(--on-dark-muted, #B8C7E3);
}

/* S1: Mission Section Layout */
.mission-columns {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 820px;
  margin-inline: auto;
  text-align: left;
}

.mission-columns p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-600, #51617D);
  margin: 0;
  text-align: left !important;
  overflow-wrap: anywhere;
}

[data-theme="dark"] .mission-columns p {
  color: var(--on-dark-muted, #B8C7E3) !important;
}

/* S3: What Our Calculator Takes Into Account Cards */
#what-it-checks .why-different-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Equal Height Cards Utility & S4 / S5 Grids */
.cards-equal-height,
.cannot-do-wrapper .cards-equal-height,
#who-its-for .cards-equal-height {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .cannot-do-wrapper .cards-equal-height,
  #who-its-for .cards-equal-height {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: clamp(1rem, 2vw, 1.5rem);
  }
}

@media (max-width: 767px) {
  .cards-equal-height,
  .cannot-do-wrapper .cards-equal-height,
  #who-its-for .cards-equal-height {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
}

/* S4: Honest Estimates */
#honest-estimates .section-lead {
  max-width: 720px !important;
  margin-inline: auto;
  text-align: left;
  overflow-wrap: anywhere;
}

.cannot-do-wrapper {
  margin-top: 2.25rem;
}

.cannot-do-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-align: center;
}

.cannot-do-card--stacked {
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  height: 100%;
  min-width: 0;
}

.cannot-do-card--stacked h3 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin: 1rem 0 0.45rem 0 !important;
}

.cannot-do-card--stacked p {
  color: #CBD5E1 !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

/* S5: Who It's For */
#who-its-for .section-lead {
  max-width: 720px !important;
  margin-inline: auto;
  text-align: left;
  overflow-wrap: anywhere;
}

#who-its-for .why-different-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* S6: Creator Profile Card */
.creator-profile-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  padding: clamp(24px, 3.5vw, 36px) !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .creator-profile-card {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 24px 18px !important;
  }
}

.creator-profile-avatar {
  flex-shrink: 0;
}

.creator-avatar-img,
.creator-avatar-initials {
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}

.creator-avatar-initials {
  background: linear-gradient(135deg, var(--blue-500, #1A7CFF) 0%, var(--blue-500, #1A7CFF) 100%);
  color: #FFFFFF;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(26, 124, 255, 0.35);
}

.creator-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.creator-profile-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .creator-profile-header {
    justify-content: center;
  }
}

.creator-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.creator-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-500, #1A7CFF);
  background: rgba(26, 124, 255, 0.12);
  border: 1px solid rgba(26, 124, 255, 0.28);
  border-radius: var(--radius-pill, 999px);
  padding: 0.25rem 0.75rem;
}

.creator-bio {
  color: #CBD5E1 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

.creator-action {
  margin-top: 0.5rem;
}

.creator-action .btn {
  min-height: 44px;
}

/* S7: Data, Updates and Corrections */
.data-updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .data-updates-grid {
    grid-template-columns: 1.4fr 1fr;
    justify-content: space-between;
    gap: 2.5rem;
  }
}

.data-updates-text {
  min-width: 0;
}

.data-updates-text p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-600, #51617D);
  margin: 0;
  max-width: 70ch;
  overflow-wrap: anywhere;
}

[data-theme="dark"] .data-updates-text p {
  color: var(--on-dark-muted, #B8C7E3);
}

.data-updates-card {
  background: var(--navy-800, #0B1F44) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-card, 16px) !important;
  padding: 1.5rem !important;
  box-shadow: 0 10px 24px -4px rgba(5, 14, 36, 0.4) !important;
  min-width: 0;
  overflow-wrap: anywhere;
}

.doc-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.doc-meta-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.doc-meta-item dt {
  font-weight: 700;
  color: #FFFFFF !important;
}

.doc-meta-item dd {
  margin: 0;
  color: #CBD5E1 !important;
  overflow-wrap: anywhere;
}

/* S8: Get in Touch Card */
.get-in-touch-section {
  padding-block: clamp(56px, 8vw, 96px);
}

.get-in-touch-card {
  background: radial-gradient(circle at 50% 50%, rgba(26, 124, 255, 0.24) 0%, transparent 70%), var(--navy-900, #071533) !important;
  border: 1px solid rgba(26, 124, 255, 0.28) !important;
  border-radius: 20px !important;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px) !important;
  box-shadow: 0 16px 40px rgba(5, 14, 36, 0.4), 0 0 35px -10px rgba(26, 124, 255, 0.25) !important;
  position: relative;
  overflow: hidden;
}

.get-in-touch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
}

.get-in-touch-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.get-in-touch-content .section-title {
  margin-bottom: 0.85rem;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.get-in-touch-lead {
  font-size: clamp(1.03125rem, 1.8vw, 1.125rem) !important;
  line-height: 1.65 !important;
  color: var(--on-dark-muted, #B8C7E3) !important;
  margin: 0 auto 2rem !important;
  overflow-wrap: anywhere;
}

.get-in-touch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .get-in-touch-actions {
    flex-direction: row;
    width: auto;
  }
  .get-in-touch-actions .btn {
    width: auto;
  }
}

@media (max-width: 767px) {
  .get-in-touch-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .get-in-touch-actions .btn {
    width: 100% !important;
    justify-content: center;
    min-height: 48px;
  }
}

.get-in-touch-actions .btn {
  min-height: 48px;
  height: 48px;
  padding: 0 1.6rem;
  font-weight: 700;
}

.get-in-touch-actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.get-in-touch-actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* ==========================================================================
   Contact Page Sections & Homepage Matching Styles
   ========================================================================== */

/* S1: Contact Layout Grid (Desktop: Form ~58%, Info ~42%, Gap: 32px) */
.contact-layout-grid {
  display: grid;
  grid-template-columns: calc((100% - 32px) * 0.58) calc((100% - 32px) * 0.42);
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-layout-grid {
    grid-template-columns: 58% calc(42% - 32px);
    justify-content: space-between;
    gap: 32px;
    align-items: start;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-col {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Anchored Headings Sticky Header Offset */
#contact-form-section,
#what-to-contact,
#faster-reply {
  scroll-margin-top: calc(var(--header-height, 72px) + 16px);
}

@media (max-width: 767px) {
  #contact-form-section,
  #what-to-contact,
  #faster-reply {
    scroll-margin-top: calc(var(--header-height, 60px) + 16px);
  }
}

/* Contact Form Card */
.contact-form-card {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-card, 14px);
  background: var(--bg-white, #FFFFFF);
  border: 1px solid var(--border-soft, #E1EAF7);
  box-shadow: var(--shadow-card, 0 6px 24px rgba(11, 26, 51, 0.06));
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: auto;
  box-sizing: border-box;
}

[data-theme="dark"] .contact-form-card {
  background: var(--navy-800, #0B1F44);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
  .contact-form-card {
    padding: 20px !important;
  }
}

.contact-card-title {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900, #0B1A33);
  margin: 0 0 1.5rem 0;
  /* At least 24px margin to first field */
  line-height: 1.35;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

[data-theme="dark"] .contact-card-title {
  color: #FFFFFF;
}

/* Contact Alerts (Success & Error Summaries) */
.contact-alert {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-input, 10px);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-alert .alert-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  stroke-width: 2;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-alert strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
  overflow-wrap: anywhere;
}

.contact-alert p {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-alert ul {
  margin: 0.35rem 0 0 1.2rem;
  padding: 0;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-alert li+li {
  margin-top: 0.25rem;
}

.contact-alert--success {
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.40);
  color: #065F46;
}

.contact-alert--success .alert-icon {
  color: #059669;
}

[data-theme="dark"] .contact-alert--success {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.45);
  color: #A7F3D0;
}

[data-theme="dark"] .contact-alert--success .alert-icon {
  color: #34D399;
}

.contact-alert--error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991B1B;
}

.contact-alert--error .alert-icon {
  color: #DC2626;
}

[data-theme="dark"] .contact-alert--error {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(248, 113, 113, 0.45);
  color: #FECACA;
}

[data-theme="dark"] .contact-alert--error .alert-icon {
  color: #F87171;
}

/* Contact Form Fields */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
  min-width: 0;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.contact-form .field label {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--ink-900, #0B1A33) !important;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

[data-theme="dark"] .contact-form .field label {
  color: #FFFFFF !important;
}

.contact-form .req-star {
  color: var(--blue-500, #1A7CFF);
  font-weight: 700;
}

[data-theme="dark"] .contact-form .req-star {
  color: var(--blue-500, #1A7CFF);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100% !important;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif) !important;
  font-size: 1rem !important;
  min-height: 48px !important;
  padding: 0.75rem 1rem !important;
  border-radius: var(--radius-input, 10px) !important;
  line-height: 1.5 !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
  background-color: var(--bg-white, #FFFFFF) !important;
  border: 1px solid #CBD5E1 !important;
  color: var(--ink-900, #0B1A33) !important;
  box-sizing: border-box !important;
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .contact-form select {
  background-color: var(--navy-900, #071533) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ink-400, #7C8BA5);
  opacity: 1;
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
  color: rgba(184, 199, 227, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none !important;
  border-color: var(--blue-500, #1A7CFF) !important;
  box-shadow: 0 0 0 3px rgba(26, 124, 255, 0.25) !important;
}

[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus,
[data-theme="dark"] .contact-form select:focus {
  border-color: var(--blue-500, #1A7CFF) !important;
  box-shadow: 0 0 0 3px rgba(26, 124, 255, 0.35) !important;
}

.contact-form textarea {
  min-height: 140px !important;
  resize: vertical;
  line-height: 1.6 !important;
}

/* Custom Select Dropdown with Chevron */
.contact-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2351617D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.75rem !important;
  cursor: pointer;
  max-width: 100%;
}

[data-theme="dark"] .contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23B8C7E3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Invalid Field States */
.contact-form [aria-invalid="true"] {
  border-color: #DC2626 !important;
}

[data-theme="dark"] .contact-form [aria-invalid="true"] {
  border-color: #F87171 !important;
}

.contact-form [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

[data-theme="dark"] .contact-form [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.35) !important;
}

.field-error {
  color: #DC2626;
  font-size: 0.84375rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

[data-theme="dark"] .field-error {
  color: #FCA5A5;
}

/* Submit Button & Actions */
.contact-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 1.75rem !important;
  border-radius: var(--radius-pill, 999px) !important;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  border: none !important;
  cursor: pointer !important;
  background-color: var(--blue-600, #1668F0) !important;
  background: var(--grad-primary) !important;
  box-shadow: 0 6px 20px rgba(10, 99, 240, 0.32) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
  min-width: 220px;
  align-self: flex-start;
  width: auto;
}

.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(10, 99, 240, 0.45) !important;
}

.contact-submit-btn:active:not(:disabled) {
  transform: translateY(0) !important;
}

.contact-submit-btn .btn-arrow {
  margin-left: 0.35rem !important;
  transition: transform 0.2s ease !important;
  flex-shrink: 0 !important;
}

.contact-submit-btn:hover:not(:disabled) .btn-arrow {
  transform: translateX(4px) !important;
}

.contact-submit-btn:disabled,
.contact-submit-btn.btn--loading {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .contact-submit-btn {
    width: 100% !important;
    align-self: stretch !important;
  }
}

@media (min-width: 768px) {
  .contact-submit-btn {
    width: auto !important;
    min-width: 220px;
    align-self: flex-start;
  }
}

.form-privacy-note {
  font-size: 0.84375rem;
  line-height: 1.5;
  color: var(--ink-600, #51617D);
  margin: 0;
  overflow-wrap: anywhere;
}

[data-theme="dark"] .form-privacy-note {
  color: var(--on-dark-muted, #B8C7E3);
}

.privacy-link {
  color: var(--blue-600, #1668F0);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: var(--blue-500, #1A7CFF);
}

[data-theme="dark"] .privacy-link {
  color: var(--blue-500, #1A7CFF);
}

[data-theme="dark"] .privacy-link:hover,
[data-theme="dark"] .privacy-link:focus-visible {
  color: #FFFFFF;
}

/* S1: Right Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-height, 72px) + 24px);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .contact-info-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: static;
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }

  .contact-info-card--dark {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: static;
    width: 100%;
  }
}

.contact-info-card {
  padding: clamp(20px, 2.5vw, 24px);
  border-radius: 16px !important;
  background: var(--navy-900, #071533) !important;
  border: 1px solid rgba(26, 124, 255, 0.24) !important;
  box-shadow: 0 10px 30px rgba(5, 14, 36, 0.35), 0 0 24px -8px rgba(26, 124, 255, 0.22) !important;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

[data-theme="dark"] .contact-info-card {
  background: var(--navy-800, #0B1F44) !important;
  border-color: rgba(26, 124, 255, 0.28) !important;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 124, 255, 0.42) !important;
  box-shadow: 0 16px 36px rgba(5, 14, 36, 0.45), 0 0 28px -6px rgba(26, 124, 255, 0.35) !important;
}

.contact-info-card--dark {
  flex-grow: 0;
}

.contact-info-card .icon-box {
  margin-bottom: 1rem;
  background: rgba(26, 124, 255, 0.16) !important;
  color: var(--blue-500, #1A7CFF) !important;
}

.contact-info-title {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 0.45rem 0;
  line-height: 1.35;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.contact-direct-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-500, #1A7CFF) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-bottom: 0.45rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
}

.contact-direct-link:hover,
.contact-direct-link:focus-visible {
  color: #FFFFFF !important;
}

.contact-info-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--on-dark-muted, #B8C7E3) !important;
  margin: 0;
  overflow-wrap: anywhere;
}

/* S2: What You Can Contact Us About (4 Cards) */
.contact-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .contact-topics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .contact-topics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.contact-topic-card {
  padding: clamp(22px, 3vw, 28px);
  border-radius: 16px !important;
  background: var(--navy-900, #071533) !important;
  border: 1px solid rgba(26, 124, 255, 0.24) !important;
  box-shadow: 0 10px 30px rgba(5, 14, 36, 0.35), 0 0 24px -8px rgba(26, 124, 255, 0.22) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

[data-theme="dark"] .contact-topic-card {
  background: var(--navy-800, #0B1F44) !important;
  border-color: rgba(26, 124, 255, 0.28) !important;
}

.contact-topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 124, 255, 0.45) !important;
  box-shadow: 0 16px 36px rgba(5, 14, 36, 0.45), 0 0 28px -6px rgba(26, 124, 255, 0.35) !important;
}

.contact-topic-card .icon-box {
  margin-bottom: 1rem;
  background: rgba(26, 124, 255, 0.16) !important;
  color: var(--blue-500, #1A7CFF) !important;
}

.contact-topic-card h3 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.contact-topic-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-dark-muted, #B8C7E3) !important;
  margin: 0;
  overflow-wrap: anywhere;
}

/* S3: Faster Reply Card (Inset rounded dark navy card inside section--soft) */
.faster-reply-card {
  background: radial-gradient(circle at 50% 50%, rgba(26, 124, 255, 0.20) 0%, transparent 70%), var(--navy-900, #071533) !important;
  border: 1px solid rgba(26, 124, 255, 0.28) !important;
  border-radius: 20px !important;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px) !important;
  box-shadow: 0 16px 40px rgba(5, 14, 36, 0.4), 0 0 35px -10px rgba(26, 124, 255, 0.25) !important;
  position: relative;
  overflow: hidden;
}

.faster-reply-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
}

.faster-reply-content {
  position: relative;
  z-index: 1;
}

.faster-reply-content .section-title {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.faster-reply-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  margin-top: 2rem;
  text-align: left;
}

@media (max-width: 767px) {
  .faster-reply-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 1.5rem;
    text-align: left;
  }
}

.faster-reply-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  min-width: 0;
}

.faster-reply-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  background: rgba(26, 124, 255, 0.18);
  color: var(--blue-500, #1A7CFF);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.faster-reply-text {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: clamp(0.9375rem, 1.5vw, 1.03125rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Privacy Policy Page Sections & Document Styles
   ========================================================================== */

/* S1: At a Glance Cards Grid */
.privacy-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1023px) {
  .privacy-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .privacy-cards-grid {
    grid-template-columns: 1fr;
  }
}

.privacy-card {
  padding: clamp(22px, 3vw, 28px);
  border-radius: 16px !important;
  background: var(--navy-900, #071533) !important;
  border: 1px solid rgba(26, 124, 255, 0.24) !important;
  box-shadow: 0 10px 30px rgba(5, 14, 36, 0.35), 0 0 24px -8px rgba(26, 124, 255, 0.22) !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .privacy-card {
  background: var(--navy-800, #0B1F44) !important;
  border-color: rgba(26, 124, 255, 0.28) !important;
}

.privacy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 124, 255, 0.45) !important;
  box-shadow: 0 16px 36px rgba(5, 14, 36, 0.45), 0 0 28px -6px rgba(26, 124, 255, 0.35) !important;
}

.privacy-card .icon-box {
  margin-bottom: 1rem;
  background: rgba(26, 124, 255, 0.16) !important;
  color: var(--blue-500, #1A7CFF) !important;
}

.privacy-card h3 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.privacy-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-dark-muted, #B8C7E3) !important;
  margin: 0;
}

/* S2: Policy Document Layout (Desktop: 2 columns with sticky TOC) */
.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 780px);
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 1023px) {
  .policy-layout {
    display: block;
  }
}

/* Sticky TOC Card (Desktop) */
.policy-toc-desktop {
  position: sticky;
  top: calc(var(--header-height, var(--header-h, 72px)) + 16px);
  max-height: calc(100dvh - var(--header-height, var(--header-h, 72px)) - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  -ms-overflow-style: none;
  border-radius: var(--radius-card, 14px);
  background: var(--bg-white, #FFFFFF);
  border: 1px solid var(--border-soft, #E1EAF7);
  box-shadow: var(--shadow-card, 0 6px 24px rgba(11, 26, 51, 0.06));
  padding: 20px 16px;
}

.policy-toc-desktop::-webkit-scrollbar {
  display: none;
}

[data-theme="dark"] .policy-toc-desktop {
  background: var(--navy-800, #0B1F44);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1023px) {
  .policy-toc-desktop {
    display: none !important;
  }
}

.policy-toc-title {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600, #1668F0);
  margin: 0 0 0.75rem 0.5rem;
}

[data-theme="dark"] .policy-toc-title {
  color: var(--blue-500, #1A7CFF);
}

.policy-toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.policy-toc-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-600, #51617D);
  border-left: 2px solid transparent;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

[data-theme="dark"] .policy-toc-link {
  color: var(--on-dark-muted, #B8C7E3);
}

.policy-toc-link:hover,
.policy-toc-link:focus-visible {
  color: var(--blue-600, #1668F0);
  background: var(--bg-tint, #EAF3FF);
}

[data-theme="dark"] .policy-toc-link:hover,
[data-theme="dark"] .policy-toc-link:focus-visible {
  color: #FFFFFF;
  background: rgba(26, 124, 255, 0.12);
}

.policy-toc-link.is-active {
  color: var(--blue-600, #1668F0);
  font-weight: 700;
  border-left-color: var(--blue-500, #1A7CFF);
  background: var(--bg-tint, #EAF3FF);
}

[data-theme="dark"] .policy-toc-link.is-active {
  color: #FFFFFF;
  border-left-color: var(--blue-500, #1A7CFF);
  background: rgba(26, 124, 255, 0.16);
}

/* Mobile & Tablet Collapsible TOC */
.policy-toc-mobile {
  display: none;
}

@media (max-width: 1023px) {
  .policy-toc-mobile {
    display: block;
    margin-bottom: 24px;
  }
}

.policy-toc-details {
  border-radius: var(--radius-card, 14px);
  background: var(--bg-white, #FFFFFF);
  border: 1px solid var(--border-soft, #E1EAF7);
  box-shadow: var(--shadow-card, 0 6px 24px rgba(11, 26, 51, 0.06));
  overflow: hidden;
}

[data-theme="dark"] .policy-toc-details {
  background: var(--navy-800, #0B1F44);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.policy-toc-summary {
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900, #0B1A33);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.policy-toc-summary::-webkit-details-marker {
  display: none;
}

[data-theme="dark"] .policy-toc-summary {
  color: #FFFFFF;
}

.policy-toc-summary .details-chevron {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.2s ease;
}

.policy-toc-details[open] .policy-toc-summary .details-chevron {
  transform: rotate(180deg);
}

.policy-toc-details-content {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border-soft, #E1EAF7);
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}

[data-theme="dark"] .policy-toc-details-content {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* Document Card & Content */
.policy-doc-card {
  max-width: 780px;
  padding: 40px;
  border-radius: var(--radius-card, 14px);
  background: var(--bg-white, #FFFFFF);
  border: 1px solid var(--border-soft, #E1EAF7);
  box-shadow: var(--shadow-card, 0 6px 24px rgba(11, 26, 51, 0.06));
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1023px) {
  .policy-doc-card {
    padding: 28px;
  }
}

[data-theme="dark"] .policy-doc-card {
  background: var(--navy-800, #0B1F44);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
  .policy-doc-card {
    padding: 20px;
  }
}

.policy-doc-card h2 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--ink-900, #0B1A33);
  margin-top: 40px;
  margin-bottom: 12px;
  line-height: 1.3;
  scroll-margin-top: calc(var(--header-height, var(--header-h, 72px)) + 16px);
}

@media (max-width: 767px) {
  .policy-doc-card h2 {
    margin-top: 32px;
    scroll-margin-top: calc(var(--header-height, var(--header-h, 60px)) + 16px);
  }
}

[data-theme="dark"] .policy-doc-card h2 {
  color: #FFFFFF;
}

.policy-doc-card > h2:first-of-type {
  margin-top: 0 !important;
}

.policy-doc-card h3 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900, #0B1A33);
  margin-top: 24px;
  margin-bottom: 8px;
  line-height: 1.4;
}

[data-theme="dark"] .policy-doc-card h3 {
  color: #FFFFFF;
}

.policy-doc-card p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-600, #51617D);
  margin: 0 0 16px 0;
}

[data-theme="dark"] .policy-doc-card p {
  color: #CBD5E1;
}

@media (max-width: 767px) {
  .policy-doc-card p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

.policy-doc-card p:last-child {
  margin-bottom: 0;
}

/* Document Lists with Accent Bullets */
.policy-doc-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px 0;
}

.policy-doc-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 10px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-600, #51617D);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.policy-doc-card li:last-child {
  margin-bottom: 0;
}

.policy-doc-card li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--blue-500, #1A7CFF);
}

[data-theme="dark"] .policy-doc-card li {
  color: #CBD5E1;
}

[data-theme="dark"] .policy-doc-card li::before {
  background-color: var(--blue-500, #1A7CFF);
}

@media (max-width: 767px) {
  .policy-doc-card li {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* S1: Terms & At-a-Glance Cards */
.terms-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1023px) {
  .terms-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .terms-cards-grid {
    grid-template-columns: 1fr;
  }
}

.terms-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(20px, 2.5vw, 24px);
  border-radius: var(--radius-card, 14px);
  background: var(--bg-white, #FFFFFF);
  border: 1px solid var(--border-soft, #E1EAF7);
  box-shadow: var(--shadow-card, 0 6px 24px rgba(11, 26, 51, 0.06));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .terms-card {
  background: var(--navy-800, #0B1F44);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.terms-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 124, 255, 0.35);
  box-shadow: var(--shadow-card-hover, 0 12px 32px rgba(11, 26, 51, 0.12));
}

[data-theme="dark"] .terms-card:hover {
  border-color: rgba(26, 124, 255, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.terms-card .icon-box {
  margin-bottom: 1rem;
}

.terms-card h3 {
  font-family: var(--font-display, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-900, #0B1A33);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .terms-card h3 {
  color: #FFFFFF;
}

.terms-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-600, #51617D);
  margin-bottom: 0;
}

[data-theme="dark"] .terms-card p {
  color: var(--on-dark-muted, #B8C7E3);
}

.policy-link {
  color: var(--blue-600, #1668F0);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline;
  line-height: inherit;
  padding: 0;
  margin: 0;
  transition: color 0.15s ease;
}

.policy-link:hover,
.policy-link:focus-visible {
  color: var(--blue-500, #1A7CFF);
}

[data-theme="dark"] .policy-link {
  color: var(--blue-500, #1A7CFF);
}

[data-theme="dark"] .policy-link:hover,
[data-theme="dark"] .policy-link:focus-visible {
  color: #FFFFFF;
}

/* S3: Questions Card */
.privacy-questions-card,
.terms-questions-card,
.legal-questions-card {
  background: radial-gradient(circle at 50% 50%, rgba(26, 124, 255, 0.24) 0%, transparent 70%), var(--navy-900, #071533) !important;
  border: 1px solid rgba(26, 124, 255, 0.28) !important;
  border-radius: 20px !important;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px) !important;
  box-shadow: 0 16px 40px rgba(5, 14, 36, 0.4), 0 0 35px -10px rgba(26, 124, 255, 0.25) !important;
  position: relative;
  overflow: hidden;
}

.privacy-questions-card::before,
.terms-questions-card::before,
.legal-questions-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
}

.privacy-questions-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.privacy-questions-content .section-title {
  margin-bottom: 0.85rem;
}

.privacy-questions-lead {
  font-size: clamp(1.03125rem, 1.8vw, 1.125rem) !important;
  line-height: 1.65 !important;
  color: var(--on-dark-muted, #B8C7E3) !important;
  margin: 0 auto 2rem !important;
}

.privacy-questions-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy-questions-actions .btn {
  min-height: 48px;
  height: 48px;
  padding: 0 1.75rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .privacy-questions-actions .btn {
    width: 100% !important;
    justify-content: center;
  }
}
