/* Public landing-page default; does not overwrite signed-in theme preferences. */
:root {
  color-scheme: light;
  --navy: #172544;
  --blue: #4264ff;
  --muted: #526079;
  --public-panel: #fff;
  --public-border: #dce3ee;
  --public-text: #172544;
}
body.theme-light { color: var(--public-text); background: #fff; }
body.theme-light::before, body.theme-light::after { display: none; }
.theme-light .landing-nav,
.theme-light .landing-preview,
.theme-light .landing-steps article,
.theme-light .landing-features article,
.theme-light .capability-grid article,
.theme-light .testimonial-card {
  background: #fff;
  border-color: #dce3ee;
  box-shadow: 0 10px 30px rgba(23, 37, 68, .07);
}
.theme-light .landing-hero { background: linear-gradient(135deg, #fff, #f5f8ff); color: #172544; border-color: #e5eaf2; }
.theme-light .landing-hero::before { display: none; }
.theme-light .landing-feature-band { background: #f6f8fc; }
.theme-light .landing-cta { background: linear-gradient(115deg, #f1f5ff, #fffbec); border-color: #e5dfc8; }
.theme-light .landing-footer { background: #f6f8fc; color: #526079; border-top: 1px solid #dce3ee; }
.theme-light .landing-brand,
.theme-light .landing-brand-copy strong,
.theme-light .landing-hero h1,
.theme-light .feature-checklist-title,
.theme-light .landing-section h2,
.theme-light .landing-feature-band h2,
.theme-light .landing-cta h2,
.theme-light article h3,
.theme-light .testimonial-card strong { color: #172544; }
.theme-light .landing-brand small,
.theme-light .landing-nav nav > a:not(.btn),
.theme-light .landing-hero p,
.theme-light .preview-top,
.theme-light .landing-section-copy,
.theme-light article p,
.theme-light .landing-cta p,
.theme-light .landing-footer-links a,
.theme-light .landing-hero .ai-agent-check-title { color: #526079; }
.theme-light .landing-disclaimer { color: #526079 !important; }
.theme-light .landing-kicker,
.theme-light .landing-flag-badge,
.theme-light .landing-preview::before,
.theme-light .landing-feature-checklist .toolkit-heading { color: #795900; background: #fff9e6; border-color: #e9d69e; }
.theme-light .section-eyebrow,
.theme-light .landing-steps span,
.theme-light .landing-features i,
.theme-light .capability-grid i,
.theme-light .landing-ai-points i,
.theme-light .feature-checklist li > i,
.theme-light .toolkit-heading > span > i,
.theme-light .landing-hero .ai-agent-metric .ai-agent-word,
.theme-light .landing-hero .ai-agent-metric::before { color: #806000; }
.theme-light .landing-ai-points span,
.theme-light .feature-checklist li { color: #243454; background: #f7f9fc; border-color: #dce3ee; }
.theme-light .ai-agent-metric { border-bottom-color: #dce3ee; }
.theme-light .btn-outline-light { color: #243454; border-color: #aab7cc; background: #fff; }
.theme-light .btn-outline-light:hover,
.theme-light .btn-outline-light:focus-visible { color: #172544; background: #eaf0fc; border-color: #4264ff; }
.theme-light .landing-steps article:hover,
.theme-light .landing-features article:hover,
.theme-light .capability-grid article:hover,
.theme-light .testimonial-card:hover { background: #fffdf5; border-color: #c8a33b; box-shadow: 0 14px 32px rgba(23, 37, 68, .1); }
.theme-light article:hover h3,
.theme-light .testimonial-card:hover strong { color: #172544; }
.theme-light .capability-status.live { color: #287d4c; }
.theme-light .capability-status.planned { color: #795900; }
.theme-light a:focus-visible { outline: 3px solid #4264ff; outline-offset: 3px; }

/* Consistent content gutters and a more prominent, responsive brand header. */
.theme-light .landing-nav {
  max-width: 1440px;
  padding: 14px 24px;
  border-top: 3px solid #cfad48;
  gap: 20px;
}
.theme-light .landing-ai4ops-logo {
  display: block;
  width: 124px;
  height: 52px;
  padding: 5px 8px;
  border-color: #e5d7ad;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(23, 37, 68, .08);
}
.theme-light .landing-brand { gap: 12px; }
.theme-light .landing-brand-copy strong { letter-spacing: -.035em; }
.theme-light .landing-nav nav { flex-shrink: 0; flex-wrap: wrap; }
.theme-light .landing-nav nav > a:not(.btn):hover { color: #795900; background: #fff9e6; }
.theme-light .landing-hero { padding: clamp(40px, 5vw, 72px) 0; }
/* Let Bootstrap's shared .container set the responsive width for every
   main content section; use the same gutter for their visible edges. */
.theme-light .landing-hero-grid,
.theme-light .landing-section,
.theme-light .landing-feature-band > .container { padding-inline: 1rem; }
.theme-light .landing-hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
}
.theme-light .landing-hero-grid > div { min-width: 0; }
.theme-light .landing-hero h1 {
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  font-style: normal;
  line-height: 1.3;
  text-align: left;
  text-wrap: balance;
  max-width: 100%;
  margin: 18px 0 10px;
  padding: 0;
}
.theme-light .landing-hero h1 span { color: #315b9d; }
.theme-light .landing-hero p.landing-hero-subtitle {
  color: #315b9d;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 18px;
}
.theme-light .landing-hero p.landing-hero-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 60ch;
}
.theme-light .landing-hero p {
  max-width: 65ch;
  margin-inline: 0;
  padding: 0;
  text-align: left;
  text-indent: 0;
  line-height: 1.75;
}
.theme-light .landing-hero .ai-agent-check {
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 22px 0;
  padding: 12px 16px;
  border-left: 3px solid #cfad48;
  border-radius: 0 10px 10px 0;
  background: #faf8f0;
}
.theme-light .landing-hero .ai-agent-check-title { white-space: normal; font-size: .92rem; line-height: 1.5; }
.theme-light .landing-hero .ai-agent-check-title i { font-size: 1.1em; color: #806000; }
.theme-light .landing-hero .ai-agent-metric { min-width: 0; max-width: 100%; flex: 0 0 180px; height: 28px; border: 0; }
.theme-light .landing-hero .ai-agent-metric .ai-agent-word,
.theme-light .landing-hero .ai-agent-metric::before { font-size: 1.05rem; line-height: 1.5; }
.theme-light .landing-hero .ai-agent-metric::after { display: none; }
.theme-light .landing-actions { margin: 24px 0 14px; gap: 10px; }
.theme-light .feature-checklist-title { font-style: normal; max-width: 100%; margin: 24px 0 20px; }
.theme-light .landing-feature-checklist::before { display: none; }
@media (max-width: 1200px) {
  .theme-light .landing-flag-badge { display: none; }
}
@media (max-width: 900px) {
  .theme-light .landing-nav { flex-wrap: wrap; padding: 12px 20px; gap: 12px; }
  .theme-light .landing-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 576px) {
  .theme-light .landing-nav { position: relative; }
  .theme-light .landing-ai4ops-logo { width: 96px; height: 42px; }
  .theme-light .landing-brand { gap: 8px; }
  .theme-light .landing-nav nav { width: 100%; justify-content: flex-end; }
  .theme-light .landing-hero .ai-agent-metric { flex-basis: 180px; }
  .theme-light .landing-kicker { flex-wrap: wrap; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-light .landing-hero .ai-agent-word,
  .theme-light .landing-hero .ai-agent-metric::before { animation: none; display: none; }
  .theme-light .landing-hero .ai-agent-word.word-accuracy { display: flex; opacity: 1; width: 100%; }
}

/* Landing-page interview preview: a compact, animated example of the real
   question → spoken answer → speaking-feedback experience. */
.theme-light .landing-interview-demo {
  min-height: 0;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  border-color: #dfe6f1;
  background: #fff;
  color: #172544;
}

.landing-interview-demo::before { display: none; }

.interview-demo-top,
.interview-demo-feedback-head,
.interview-demo-question,
.interview-demo-answer,
.interview-demo-speaking { display: flex; align-items: center; }

.interview-demo-top {
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5ebf4;
  color: #53627d;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.interview-demo-top > span:first-child { color: #795900; }
.interview-demo-top i { margin-right: .38rem; }
.interview-demo-live { color: #26794a; }
.interview-demo-live i { color: #48bb6c; font-size: .55rem; animation: demoLivePulse 1.5s ease-in-out infinite; }

.interview-demo-question,
.interview-demo-answer { align-items: flex-start; gap: .7rem; padding: 1rem 0; }
.interview-demo-question { border-bottom: 1px solid #e8edf5; }
.interview-demo-answer { padding-bottom: .9rem; }

@media (prefers-reduced-motion: no-preference) {
  .landing-interview-demo { overflow: hidden; }
  .landing-interview-demo::after { content: ""; position: absolute; width: 13rem; height: 13rem; right: -6rem; bottom: -7rem; border-radius: 50%; background: radial-gradient(circle, rgba(76, 157, 225, .13), transparent 68%); pointer-events: none; animation: demoGlow 5s ease-in-out infinite; }
  .interview-demo-question,
  .interview-demo-answer,
  .interview-demo-feedback { animation: demoStep 6.4s ease-in-out infinite; }
  .interview-demo-question { animation-delay: 0s; }
  .interview-demo-answer { animation-delay: .7s; }
  .interview-demo-feedback { animation-delay: 1.35s; }
}

.interview-demo-avatar { display: grid; width: 2.2rem; height: 2.2rem; flex: 0 0 2.2rem; place-items: center; border-radius: .72rem; font-size: .95rem; }
.interview-demo-avatar.officer { color: #3457a6; background: #e9efff; }
.interview-demo-avatar.learner { color: #18734b; background: #e5f7ec; }
.interview-demo-role { display: block; margin-bottom: .25rem; color: #6a7891; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.interview-demo-question p,
.interview-demo-answer p { margin: 0; color: #1d2a45; font-size: clamp(.86rem, 1.1vw, .98rem); font-weight: 750; line-height: 1.42; }
.interview-demo-answer p { color: #256342; }

.interview-demo-speaking { gap: .42rem; margin-top: .5rem; color: #54708a; font-size: .68rem; font-weight: 700; }
.interview-demo-speaking > i { color: #43a967; }
.interview-demo-wave { display: inline-flex; height: .9rem; align-items: center; gap: 2px; }
.interview-demo-wave b { width: 3px; height: 35%; border-radius: 999px; background: #4ead71; animation: demoWave .72s ease-in-out infinite alternate; }
.interview-demo-wave b:nth-child(2) { animation-delay: .12s; }.interview-demo-wave b:nth-child(3) { animation-delay: .24s; }.interview-demo-wave b:nth-child(4) { animation-delay: .36s; }.interview-demo-wave b:nth-child(5) { animation-delay: .48s; }

.interview-demo-feedback { padding: .9rem; border: 1px solid #dce8dc; border-radius: .85rem; background: linear-gradient(135deg, #f7fcf8, #f3f8ff); }
.interview-demo-feedback-head { justify-content: space-between; gap: .5rem; margin-bottom: .75rem; color: #315068; font-size: .72rem; font-weight: 850; }
.interview-demo-feedback-head > span i { margin-right: .38rem; color: #b08312; }
.interview-demo-feedback-head strong { color: #257345; font-size: .66rem; white-space: nowrap; }
.interview-demo-feedback-head strong i { margin-right: .25rem; }
.interview-demo-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .8rem; }
.interview-demo-metric { display: grid; grid-template-columns: 1fr auto; gap: .22rem .4rem; align-items: center; min-width: 0; }
.interview-demo-metric > span { color: #66758d; font-size: .67rem; font-weight: 750; }.interview-demo-metric > strong { color: #172544; font-size: .76rem; }
.interview-demo-metric > i { grid-column: 1 / -1; display: block; height: .32rem; overflow: hidden; border-radius: 99px; background: #dce5f0; }.interview-demo-metric > i > b { display: block; width: var(--metric-fill); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4770e8, #56ba77); transform-origin: left; animation: demoMetricLoad 3.6s ease-in-out infinite; }

@keyframes demoWave { to { height: 100%; }}
@keyframes demoLivePulse { 50% { opacity: .3; transform: scale(.75); }}
@keyframes demoMetricLoad { 0%, 14% { transform: scaleX(0); } 36%, 78% { transform: scaleX(1); } 100% { transform: scaleX(.84); }}
@keyframes demoStep { 0%, 8% { opacity: .38; transform: translateY(5px); } 18%, 82% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: .58; transform: translateY(2px); }}
@keyframes demoGlow { 50% { transform: scale(1.18); opacity: .6; }}

@media (max-width: 576px) {
  .interview-demo-metrics { grid-template-columns: 1fr; }
  .interview-demo-feedback-head { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .interview-demo-live i, .interview-demo-wave b, .interview-demo-metric > i > b { animation: none; }
  .interview-demo-metric > i > b { transform: scaleX(1); }
}

/* Keep wide-screen introduction text aligned with its content frame. */
@media (min-width: 901px) {
  .theme-light .landing-hero-grid > div:first-child { text-align: left; }

  .theme-light .landing-hero h1,
  .theme-light .landing-hero p,
  .theme-light .landing-hero-description { text-align: left; }

  .theme-light .landing-hero .ai-agent-check { justify-content: flex-start; }
}
