/* ============================================================
   Obed Industries — The Smart Factory Signal
   Shared Stylesheet — Aurora Theme
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  /* ── Aurora Deep Space Palette ── */
  --navy:        #0f172a;   /* deep space — primary background */
  --navy-dark:   #020617;   /* deepest void — footer, deepest sections */
  --navy-mid:    #1e293b;   /* slate — cards, section fills */
  --navy-light:  #334155;   /* mid slate — elevated panels, forms */

  /* ── Aurora Teal Accent ── */
  --amber:       #2dd4bf;   /* aurora teal — primary CTA */
  --amber-light: #5eead4;   /* bright teal — hover states, text on dark bg */
  --amber-dark:  #14b8a6;   /* deep teal — active / pressed */
  --accent:      #a78bfa;   /* aurora violet — text accent on dark backgrounds */

  /* ── Light Text ── */
  --white:       #e2e8f0;   /* soft glow — primary text */
  --off-white:   #cbd5e1;   /* muted glow — secondary text */

  /* ── Muted Slates ── */
  --text-muted:  #94a3b8;   /* cool slate — supporting text */
  --text-dim:    #64748b;   /* dim slate — metadata, fine print */

  /* ── Borders & Structure ── */
  --border:       rgba(45, 212, 191, 0.2);    /* teal — focal element borders */
  --border-light: rgba(45, 212, 191, 0.1);    /* subtle teal — structural dividers */

  /* ── Shadows (deeper for dark theme) ── */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg:   0 16px 64px rgba(0, 0, 0, 0.55);

  /* ── Geometry — sharper for precision feel ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;

  --transition:  0.2s ease;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --max-width:   1100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-light); }
ul { list-style: none; }

/* ── Typography Scale ── */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1, .h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2, .h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3, .h3 { font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4, .h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
p { line-height: 1.7; }
small, .small { font-size: 0.875rem; }

/* ── Layout Utilities ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn--primary {
  background: var(--amber);
  color: #ffffff;
  border-color: var(--amber);
}

.btn--primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166, 62, 27, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}

.btn--secondary:hover {
  background: rgba(166, 62, 27, 0.08);
  color: var(--amber-dark);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn--full { width: 100%; justify-content: center; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(26, 39, 48, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
}

.nav__brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav__brand-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ── */
.nav__mobile {
  display: none;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid var(--border-light);
  margin-top: 1rem;
  gap: 1rem;
  flex-direction: column;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color var(--transition);
}

.nav__mobile a:hover { color: var(--white); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% -10%, rgba(167, 139, 250, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at -10% 80%, rgba(45, 212, 191, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, #0f172a 0%, #020617 50%, #0f172a 100%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(166, 62, 27, 0.08);
  border: 1px solid rgba(166, 62, 27, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero__headline {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero__headline em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}

.hero__subhead {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.hero__proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* ── Benefits Strip ── */
.benefits {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.benefits__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border-light);
  position: relative;
}

.benefits__item:last-child { border-right: none; }

.benefits__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.benefits__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.benefits__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Bullets / Value Section ── */
.value {
  background: var(--navy);
}

.value__header {
  max-width: 680px;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.value__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.value__card {
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}

.value__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.value__card:hover {
  border-color: rgba(166, 62, 27, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value__card:hover::before { opacity: 1; }

.value__card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.value__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.value__card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Testimonial ── */
.testimonial {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.testimonial__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial__quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  font-size: 5rem;
  color: var(--amber);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial__attr {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ── Assessment CTA Section ── */
.assessment-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
}

.assessment-cta__bg-accent {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.assessment-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.assessment-cta__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(166, 62, 27, 0.1);
  border: 1px solid rgba(166, 62, 27, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.assessment-cta__what-you-get {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.assessment-cta__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.assessment-cta__item-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(166, 62, 27, 0.1);
  border: 1px solid rgba(166, 62, 27, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.65rem;
  color: var(--amber);
}

.assessment-cta__disclaimer {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1.25rem;
  font-style: italic;
}

/* ── Form Panel ── */
.form-panel {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-light));
}

.form-panel__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.form-panel__subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group .optional {
  font-weight: 400;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.75rem;
  margin-left: 0.3rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(69, 88, 108, 0.4);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-group input::placeholder { color: var(--text-dim); }

.form-group input:focus {
  border-color: var(--amber);
  background: rgba(166, 62, 27, 0.04);
}

.form-submit-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.5;
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin: 1.25rem 0;
}

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===============================================
   ASSESSMENT PAGE STYLES
=============================================== */

.assessment-hero {
  padding-top: 7rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border-light);
}

.assessment-hero__content {
  max-width: 720px;
}

.assessment-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.assessment-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* ── Progress Bar ── */
.assessment-progress {
  position: sticky;
  top: 62px;
  z-index: 50;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.assessment-progress__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.assessment-progress__bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.assessment-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  border-radius: 3px;
  transition: width 0.5s ease;
  width: 0%;
}

.assessment-progress__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.assessment-progress__score {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
}

/* ── Assessment Body ── */
.assessment-body {
  background: var(--navy);
  padding-bottom: 5rem;
}

.assessment-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  padding-top: 3rem;
}

/* ── Assessment Sections ── */
.assessment-section {
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.75rem;
  transition: border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.assessment-section:hover {
  border-color: rgba(166, 62, 27, 0.2);
}

.assessment-section__header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.15);
}

.assessment-section__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.assessment-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.assessment-section__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.assessment-section__score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.assessment-section__score-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.assessment-section__score-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber);
  min-width: 2.5rem;
  text-align: right;
}

.section-score-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  max-width: 120px;
}

.section-score-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}

/* ── Questions ── */
.assessment-questions {
  padding: 0.5rem 2rem 1.5rem;
}

.assessment-question {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.assessment-question:last-child { border-bottom: none; }

.assessment-question__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.assessment-question__text {
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.55;
}

.assessment-question__buttons {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.q-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--white);
}

.q-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 0, 0, 0.2);
  transform: scale(1.08);
}

.q-btn.active--yes {
  background: rgba(52, 199, 89, 0.15);
  border-color: rgba(52, 199, 89, 0.5);
  color: #5cd88a;
}

.q-btn.active--partial {
  background: rgba(233, 93, 44, 0.12);
  border-color: rgba(233, 93, 44, 0.4);
  color: var(--amber-light);
}

.q-btn.active--no {
  background: rgba(220, 50, 40, 0.12);
  border-color: rgba(220, 50, 40, 0.4);
  color: #e85d4a;
}

/* ── Quick Win Block ── */
.quick-win {
  margin: 0 2rem 2rem;
  padding: 1.1rem 1.25rem;
  background: rgba(166, 62, 27, 0.05);
  border: 1px solid rgba(166, 62, 27, 0.15);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quick-win__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.quick-win__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Sidebar Score Card ── */
.score-card {
  position: sticky;
  top: 110px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.score-card__top {
  background: rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.score-card__total-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.score-card__total {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.score-card__total span {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dim);
}

.score-card__body {
  padding: 1.25rem 1.5rem;
}

.score-card__sections {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.score-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.score-card__row-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  flex: 1;
}

.score-card__row-score {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  min-width: 2.5rem;
  text-align: right;
}

.score-card__interpretation {
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-top: 0.5rem;
  min-height: 60px;
}

.score-card__interpretation-level {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.score-card__interpretation-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Results Section ── */
.assessment-results {
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.assessment-results__header {
  background: rgba(0, 0, 0, 0.15);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.assessment-results__header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

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

.results-table th {
  padding: 0.85rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-light);
}

.results-table td {
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
  color: var(--off-white);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

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

.results-table .total-row td {
  font-weight: 700;
  color: var(--white);
  background: rgba(166, 62, 27, 0.05);
  border-top: 1px solid var(--border);
}

.score-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(166, 62, 27, 0.1);
  color: var(--amber);
  border: 1px solid rgba(166, 62, 27, 0.25);
}

/* ── Interpretation Block ── */
.interpretation-block {
  margin: 0 2rem 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(166, 62, 27, 0.05);
  border: 1px solid rgba(166, 62, 27, 0.15);
}

.interpretation-block.level--ready {
  background: rgba(52, 199, 89, 0.06);
  border-color: rgba(52, 199, 89, 0.25);
}

.interpretation-block.level--almost {
  background: rgba(180, 140, 40, 0.06);
  border-color: rgba(180, 140, 40, 0.25);
}

.interpretation-block.level--foundation {
  background: rgba(200, 120, 0, 0.06);
  border-color: rgba(200, 120, 0, 0.2);
}

.interpretation-block.level--basics {
  background: rgba(220, 50, 40, 0.05);
  border-color: rgba(220, 50, 40, 0.2);
}

.interpretation-block__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.interpretation-block__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Upgrade CTA ── */
.upgrade-cta {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-dark) 100%);
  border-top: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.upgrade-cta__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.upgrade-cta__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 1.25rem 0;
}

.upgrade-cta__price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--amber);
}

.upgrade-cta__price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.upgrade-cta__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  text-align: left;
  margin: 1.75rem auto;
  max-width: 560px;
}

.upgrade-cta__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.upgrade-cta__feature-icon {
  color: var(--amber);
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.05rem;
}

/* ===============================================
   RESPONSIVE
=============================================== */

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

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

  .score-card {
    position: static;
    order: -1;
  }

  .upgrade-cta__features {
    grid-template-columns: 1fr;
  }
}

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

  .assessment-cta__grid {
    grid-template-columns: 1fr;
  }

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

  .benefits__item:nth-child(2) { border-right: none; }
  .benefits__item:nth-child(3) { border-top: 1px solid var(--border-light); }
  .benefits__item:nth-child(5) { border-right: none; }
}

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

  .benefits__item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .benefits__item:last-child { border-bottom: none; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

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

  .assessment-question__buttons {
    justify-content: flex-start;
  }

  .q-btn { width: 46px; height: 46px; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── About Page ── */
.hero--short { min-height: 40vh; }
.hero--short .hero__content { padding-top: 6rem; }

.about-content { padding-bottom: 4rem; }

.about-block { margin-bottom: 2.5rem; }

.about-lead {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--off-white);
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.about-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===============================================
   PLAYBOOK PAGE STYLES
=============================================== */

/* ── Playbook Hero ── */
.playbook-hero .hero__content {
  max-width: 860px;
}

.playbook-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.playbook-meta__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.playbook-meta__icon {
  font-size: 1rem;
  line-height: 1;
}

.playbook-meta__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* ── Nav Active State ── */
.nav__links .nav__link--active {
  color: var(--amber) !important;
  font-weight: 600;
}

/* ── Table of Contents ── */
.playbook-toc {
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.playbook-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.playbook-toc__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 2rem;
}

.playbook-toc__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  padding: 0.2rem 0;
  line-height: 1.4;
}

.playbook-toc__links a:hover {
  color: var(--amber-dark);
}

/* ── Chapter Cards ── */
.playbook-body {
  background: var(--navy);
}

.playbook-chapter {
  background: var(--navy-mid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.playbook-chapter:hover {
  border-color: rgba(166, 62, 27, 0.2);
}

.playbook-chapter--safety {
  border-color: rgba(166, 62, 27, 0.25);
}

.playbook-chapter--safety:hover {
  border-color: rgba(166, 62, 27, 0.4);
}

/* ── Details / Summary (accordion) ── */
.chapter-details {
  width: 100%;
}

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

.chapter-details[open] .chapter-summary {
  border-bottom: 1px solid var(--border-light);
}

.chapter-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.15);
  transition: background var(--transition);
  user-select: none;
}

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

.chapter-summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.chapter-summary__left {
  flex: 1;
  min-width: 0;
}

.chapter-summary__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.chapter-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
  display: block;
}

.chapter-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chapter-title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.chapter-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 520px;
  margin: 0;
}

.chapter-toggle-icon {
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* ── Chapter Pills ── */
.chapter-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chapter-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-dim);
}

.chapter-pill--amber {
  background: rgba(166, 62, 27, 0.08);
  border-color: rgba(166, 62, 27, 0.25);
  color: var(--amber);
}

/* ── Chapter Badge ── */
.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.chapter-badge--warning {
  background: rgba(166, 62, 27, 0.1);
  border: 1px solid rgba(166, 62, 27, 0.3);
  color: var(--amber);
}

/* ── Chapter Body ── */
.chapter-body {
  padding: 0;
}

.chapter-keypoints {
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--border-light);
}

.chapter-keypoints__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.chapter-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chapter-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.55;
}

.chapter-bullets li::before {
  content: '\2192';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
  font-size: 0.85rem;
}

.chapter-bullets code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82em;
  background: rgba(166, 62, 27, 0.08);
  border: 1px solid rgba(166, 62, 27, 0.15);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  color: var(--amber-dark);
}

/* ── Chapter Content (expanded prose) ── */
.chapter-content {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chapter-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.chapter-content h3:first-child {
  margin-top: 0;
}

.chapter-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.chapter-content code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82em;
  background: rgba(166, 62, 27, 0.08);
  border: 1px solid rgba(166, 62, 27, 0.15);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  color: var(--amber-dark);
}

/* ── Callout Block ── */
.chapter-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
  margin-bottom: 0.5rem;
}

.chapter-callout--warning {
  background: rgba(166, 62, 27, 0.05);
  border-color: var(--amber);
  border: 1px solid rgba(166, 62, 27, 0.15);
  border-left: 3px solid var(--amber);
}

.chapter-callout__icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.chapter-callout__text {
  font-size: 0.875rem;
  color: var(--off-white);
  line-height: 1.6;
  font-weight: 500;
}

/* ── Setup Checklist ── */
.chapter-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.checklist-item:hover .checklist-item__text {
  color: var(--white);
}

.checklist-item__check {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--amber);
  cursor: pointer;
}

.checklist-item__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color var(--transition);
}

.checklist-item__text code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82em;
  background: rgba(166, 62, 27, 0.08);
  border: 1px solid rgba(166, 62, 27, 0.15);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  color: var(--amber-dark);
}

/* ── Callout Tip Variant ── */
.chapter-callout--tip {
  background: rgba(80, 130, 165, 0.06);
  border: 1px solid rgba(80, 130, 165, 0.15);
  border-left: 3px solid rgba(80, 130, 165, 0.5);
}

.chapter-callout--tip .chapter-callout__text {
  color: var(--text-muted);
}

/* ── Code Blocks ── */
.chapter-content pre {
  background: var(--navy-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  margin: 0.25rem 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.chapter-content pre code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--off-white);
  background: none;
  border: none;
  padding: 0;
  white-space: pre;
}

/* ── Playbook Tables ── */
.playbook-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.25rem 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.playbook-table th {
  background: rgba(166, 62, 27, 0.06);
  color: var(--amber-dark);
  font-weight: 600;
  text-align: left;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.playbook-table td {
  padding: 0.6rem 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.5;
}

.playbook-table td strong {
  color: var(--off-white);
}

.playbook-table td code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.79em;
  background: rgba(166, 62, 27, 0.08);
  border: 1px solid rgba(166, 62, 27, 0.15);
  border-radius: 3px;
  padding: 0.1em 0.35em;
  color: var(--amber-dark);
}

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

.playbook-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ── Playbook CTA Section ── */
.playbook-cta {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.playbook-cta__bg-accent {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.playbook-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.playbook-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.playbook-cta__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

/* ── Responsive: Playbook ── */
@media (max-width: 768px) {
  .playbook-cta__grid {
    grid-template-columns: 1fr;
  }

  .chapter-summary {
    flex-direction: column;
    gap: 1rem;
  }

  .chapter-summary__right {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .playbook-toc__links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .chapter-summary {
    padding: 1.25rem 1.25rem;
  }

  .chapter-body .chapter-keypoints,
  .chapter-body .chapter-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .playbook-meta {
    gap: 0.5rem;
  }

  .playbook-cta__actions {
    flex-direction: column;
  }

  .playbook-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .chapter-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
