@font-face {
  font-family: "Barlow Condensed";
  src: url("../BarlowCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #12263f;
  --navy-2: #1c3a5e;
  --blue: #245b96;
  --gold: #d9a441;
  --gold-dark: #8a641e;
  --paper: #fbf8f1;
  --cream: #f1e8d8;
  --white: #ffffff;
  --ink: #1d2b3f;
  --muted: #596577;
  --line: #ddd4c4;
  --green: #23723c;
  --shadow: 0 18px 48px rgba(18, 38, 63, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.62 Arial, Helvetica, sans-serif;
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 38, 63, 0.985);
  border-bottom: 2px solid var(--gold);
  color: #fff;
  box-shadow: 0 5px 18px rgba(4, 15, 29, 0.17);
}
.site-header .wrap { min-height: 66px; display: flex; align-items: center; gap: 12px; }
.site-header img { width: 42px; height: 42px; }
.brand { color: var(--gold); font-weight: 900; letter-spacing: 1.35px; white-space: nowrap; text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 18px; margin-left: 28px; }
.main-nav a { color: #dbe5f0; text-decoration: none; font-size: 13px; font-weight: 800; }
.main-nav a:hover { color: #fff; }
.header-actions { margin-left: auto; display: flex; gap: 9px; align-items: center; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translateY(-1px); background: #e6b24b; }
.button.secondary { background: var(--navy); color: #fff; }
.button.outline { border: 1px solid var(--gold); background: transparent; color: #fff; }
.button.large { min-height: 54px; padding: 15px 25px; font-size: 17px; }
.text-link { color: var(--blue); font-weight: 900; text-underline-offset: 4px; }

.breadcrumbs { padding: 18px 0 0; color: #687487; font-size: 13px; }
.breadcrumbs ol { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #a59c8e; }
.breadcrumbs a { color: var(--navy); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 70px;
  background: var(--navy);
  color: #fff;
}
.page-hero::after {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  top: -240px;
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.018), 0 0 0 130px rgba(217, 164, 65, 0.025);
  content: "";
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); }
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font: 600 clamp(44px, 6vw, 68px) / 0.99 "Barlow Condensed", Arial, sans-serif;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.page-hero .lede { max-width: 700px; margin: 20px 0 0; color: #e8eff7; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; margin-top: 27px; }
.hero-actions .quiet { color: #fff; font-weight: 800; text-underline-offset: 4px; }
.mini-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mini-proof span { border: 1px solid rgba(217, 164, 65, 0.38); border-radius: 99px; background: rgba(255,255,255,0.055); padding: 7px 11px; color: #dce6f1; font-size: 12px; font-weight: 800; }

.hero-panel { border: 1px solid rgba(255,255,255,0.22); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 28px 65px rgba(0,0,0,0.3); overflow: hidden; }
.hero-panel-bar { display: flex; justify-content: space-between; gap: 14px; padding: 14px 17px; background: #0d1d31; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.hero-panel-bar span:first-child { color: var(--gold); }
.hero-panel-body { padding: 24px; }
.hero-panel h2 { margin: 0; font-size: 26px; line-height: 1.08; }
.hero-panel p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.panel-steps { display: grid; gap: 8px; margin-top: 18px; }
.panel-step { display: grid; grid-template-columns: 31px 1fr; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 10px; background: var(--paper); }
.panel-step b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 12px; }
.panel-step span { color: #33445b; font-size: 13px; font-weight: 800; }

main section { padding: 74px 0; }
.soft { background: var(--cream); }
.white { background: #fff; }
.dark { background: var(--navy); color: #fff; }
.section-heading { max-width: 790px; margin-bottom: 34px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { margin: 0; font: 600 clamp(34px, 4.8vw, 50px) / 1.03 "Barlow Condensed", Arial, sans-serif; text-wrap: balance; }
.dark .section-heading h2 { color: #fff; }
.section-heading p { margin: 13px 0 0; color: var(--muted); font-size: 18px; }
.dark .section-heading p { color: #c9d5e4; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 25px; }
.feature-card .number { color: var(--gold-dark); font: 600 31px/1 "Barlow Condensed", Arial, sans-serif; }
.feature-card h3 { margin: 14px 0 0; font-size: 21px; line-height: 1.13; }
.feature-card p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.feature-card ul { margin: 13px 0 0; padding-left: 20px; color: #435168; }
.feature-card li { margin: 6px 0; }

.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.copy h2 { margin: 0; font: 600 clamp(34px, 4.6vw, 50px) / 1.04 "Barlow Condensed", Arial, sans-serif; }
.copy h3 { margin: 25px 0 0; font-size: 21px; }
.copy p { margin: 14px 0 0; color: var(--muted); }
.copy ul, .copy ol { margin: 17px 0 0; padding-left: 22px; }
.copy li { margin: 8px 0; }
.copy .button { margin-top: 23px; }

.demo-card { border: 1px solid #c9c1b3; border-radius: 17px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.demo-band { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 19px; border-bottom: 4px solid var(--gold); background: var(--blue); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: 0.9px; }
.demo-card-body { min-height: 280px; display: grid; place-items: center; padding: 36px; text-align: center; }
.demo-card-body .kicker { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: 1.8px; }
.demo-card-body h3 { max-width: 600px; margin: 16px 0 0; font: 600 clamp(29px, 4vw, 40px) / 1.1 "Barlow Condensed", Arial, sans-serif; }
.demo-answer { display: none; border-top: 1px solid var(--line); padding: 24px; background: #f4f1e9; color: #34445a; }
.demo-answer.visible { display: block; }
.demo-answer strong { color: var(--navy); }
.demo-controls { display: flex; justify-content: center; padding: 0 24px 24px; }

.assignment { border: 1px solid #c9c1b3; border-radius: 17px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.assignment header { padding: 21px 24px; border-bottom: 4px solid var(--gold); background: var(--navy); color: #fff; }
.assignment header span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: 1.4px; }
.assignment header h3 { margin: 7px 0 0; color: #fff; font-size: 25px; line-height: 1.1; }
.assignment-body { padding: 26px; }
.assignment-brief { margin: 0; border-left: 4px solid var(--blue); background: #edf4fb; padding: 18px; color: #263e59; font-family: Georgia, serif; font-size: 17px; line-height: 1.55; }
.followups { margin-top: 18px; border: 1px dashed #c7a45d; border-radius: 9px; padding: 15px; background: #fff9ec; color: #6e541f; font-weight: 800; }
.debrief { display: none; margin-top: 18px; }
.debrief.visible { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.debrief div { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 11px; }
.debrief b { display: block; color: var(--blue); font-size: 10px; letter-spacing: 0.8px; }
.debrief span { display: block; margin-top: 4px; color: #586577; font-size: 11px; }
.assignment .demo-controls { padding-top: 20px; padding-bottom: 0; }

.workflow { counter-reset: workflow; display: grid; gap: 11px; }
.workflow article { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 17px; align-items: start; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 21px; }
.workflow article::before { counter-increment: workflow; content: counter(workflow); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold); font-weight: 900; }
.workflow h3 { margin: 0; font-size: 21px; }
.workflow p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats div { border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 11px; background: #fff; padding: 20px; }
.stats strong { display: block; color: var(--navy); font: 600 42px/1 "Barlow Condensed", Arial, sans-serif; }
.stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; }

.code-example { border: 1px solid #ccd5de; border-radius: 12px; background: #fff; padding: 18px; }
.code-example + .code-example { margin-top: 10px; }
.code-example header { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; }
.code-stack { display: flex; flex-wrap: wrap; gap: 5px; }
.code-chip { border-radius: 99px; background: #e7f0fa; color: #1a528a; padding: 7px 10px; font: 800 12px/1 ui-monospace, Consolas, monospace; }
.code-example h3 { margin: 0; font-size: 18px; }
.code-example p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.source-strip { border-left: 5px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff; padding: 20px 23px; }
.source-strip h3 { margin: 0; }
.source-strip p { margin: 7px 0 0; color: var(--muted); }
.source-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.source-links a { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 8px 10px; color: var(--blue); font-size: 13px; font-weight: 800; }

.schedule-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.schedule-tabs button { border: 1px solid #9eafc1; border-radius: 8px; background: #fff; color: var(--navy); padding: 10px 14px; font-weight: 900; cursor: pointer; }
.schedule-tabs button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.schedule-panel { display: none; border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 24px; }
.schedule-panel.active { display: block; }
.schedule-panel h3 { margin: 0; }
.schedule-panel ol { margin: 13px 0 0; padding-left: 21px; }
.schedule-panel li { margin: 8px 0; }

.rating-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.rating-grid article { border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; background: rgba(255,255,255,0.055); padding: 21px; }
.rating-grid h3 { margin: 0; color: var(--gold); font-size: 22px; }
.rating-grid p { margin: 8px 0 0; color: #cbd7e5; font-size: 14px; }

.faq { max-width: 830px; margin: 0 auto; }
.faq details { margin-bottom: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 17px 19px; }
.faq summary { color: var(--navy); font-weight: 900; cursor: pointer; }
.faq p { margin: 9px 0 0; color: var(--muted); }

.final-cta { text-align: center; }
.final-cta h2 { margin: 0; color: #fff; font: 600 clamp(38px, 5vw, 54px)/1.02 "Barlow Condensed", Arial, sans-serif; }
.final-cta p { max-width: 700px; margin: 14px auto 0; color: #ccd7e5; font-size: 17px; }
.final-cta .hero-actions { justify-content: center; }

.site-footer { padding: 40px 0 95px; background: #0d1d31; color: #9dabbc; text-align: center; font-size: 13px; }
.site-footer img { width: 52px; height: 52px; }
.site-footer b { display: block; margin-top: 5px; color: var(--gold); letter-spacing: 1px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 15px; margin-top: 18px; }
.footer-links a { color: #e2e9f1; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; }
  .hero-grid { text-align: center; }
  .page-hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .mini-proof { justify-content: center; }
  .hero-panel { width: min(640px, 100%); margin: 0 auto; text-align: left; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .site-header .wrap { min-height: 62px; }
  .site-header img { width: 38px; height: 38px; }
  .brand { font-size: 13px; }
  .header-actions .button.secondary { display: none; }
  .button.outline { min-height: 42px; padding: 10px 13px; font-size: 13px; }
  .breadcrumbs { padding-top: 13px; }
  .page-hero { padding: 43px 0 52px; }
  .page-hero h1 { font-size: clamp(39px, 12vw, 51px); }
  .page-hero .lede { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .button, .hero-actions .quiet { width: 100%; }
  .hero-actions .quiet { padding: 8px; }
  .hero-panel-body { padding: 19px; }
  main section { padding: 55px 0; }
  .section-heading p { font-size: 16px; }
  .feature-grid, .stats, .rating-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 21px; }
  .demo-card-body { min-height: 300px; padding: 28px 20px; }
  .debrief.visible { grid-template-columns: 1fr 1fr; }
  .workflow article { grid-template-columns: 45px 1fr; padding: 17px; }
  .workflow article::before { width: 39px; height: 39px; }
  .source-links { display: grid; }
  .site-footer { padding-bottom: 55px; }
}

@media (max-width: 390px) {
  .brand { font-size: 11px; letter-spacing: 0.8px; }
  .header-actions .button.outline { padding: 9px 10px; }
  .debrief.visible { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
