:root {
  --blue: #0877f9;
  --blue-hover: #0068df;
  --ink: #16191f;
  --muted: #606975;
  --line: #e4e7eb;
  --soft: #f7f8fa;
  --white: #fff;
  --radius: 16px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo img { width: 148px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a:not(.button) { color: #3e4650; }
.nav-links a:not(.button):hover, .nav-links a.active { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 25px; cursor: pointer; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
  font-size: 15px;
  line-height: 1.2;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-hover); }
.button-ghost { border-color: var(--line); background: #fff; }
.button-ghost:hover { border-color: #c7ccd3; background: var(--soft); }
.button-light { border-color: var(--line); background: #fff; color: var(--ink); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero { padding: 118px 0 126px; }
.hero-copy { max-width: 960px; text-align: center; }
.hero h1, .page-hero h1 {
  max-width: 950px;
  margin: 16px auto 0;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero h1 span { color: inherit; }
.hero .lead { max-width: 720px; margin: 24px auto 0; }
.lead { color: var(--muted); font-size: 21px; line-height: 1.55; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

.page-hero { padding: 100px 0 108px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .container { max-width: 1040px; }
.page-hero .lead { max-width: 760px; margin: 24px auto 0; }
.page-hero .anchor-nav { justify-content: center; }

.section { padding: 112px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-soft { background: #fff; }
.section-dark { background: var(--soft); color: var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin: 16px 0 40px; }
.section-head > div { max-width: 760px; }
.section-head > p { max-width: 440px; margin: 0; color: var(--muted); }
h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); font-weight: 650; line-height: 1.18; letter-spacing: -.035em; }
h3 { margin: 0; font-size: 23px; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }
p { margin: 12px 0 0; }
.muted { color: var(--muted); }

.logo-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech-mark { min-height: 124px; display: flex; flex-direction: column; justify-content: center; padding: 24px; font-size: 24px; font-weight: 650; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech-mark:hover { background: #fbfdff; color: var(--blue); }
.tech-mark:nth-child(3n) { border-right: 0; }
.tech-mark:nth-last-child(-n+3) { border-bottom: 0; }
.tech-mark small { margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

.grid-2, .grid-3 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
a.card { transition: border-color .18s ease, background .18s ease; }
a.card:hover { border-color: #b7c4d4; background: #fbfdff; }
.card p { color: var(--muted); }
.card-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue); background: #eaf3ff; border-radius: 10px; font-size: 12px; font-weight: 750; }
.card-link { margin-top: auto; color: var(--blue); font-weight: 650; }
.card-link::after { content: " →"; }

.outcomes { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.outcomes .eyebrow { color: var(--blue); }
.outcome-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.outcome { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 25px; border-bottom: 1px solid var(--line); }
.outcome:last-child { border-bottom: 0; }
.outcome .num { color: var(--blue); font-size: 13px; font-weight: 750; }
.outcome p { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; counter-reset: step; }
.step { min-height: 180px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-increment: step; }
.step:nth-child(3n) { border-right: 0; }
.step:nth-last-child(-n+3) { border-bottom: 0; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 28px; color: var(--blue); font-size: 13px; font-weight: 750; }
.step p { color: var(--muted); }

.training-highlight { display: grid; grid-template-columns: .95fr 1.05fr; padding: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.training-copy { padding: 48px; }
.training-copy p { color: var(--muted); }
.training-copy .button { margin-top: 28px; border-color: var(--line); }
.training-panel { border-left: 1px solid var(--line); }
.course-mini { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.course-mini:last-child { border-bottom: 0; }
.course-mini span { margin-top: 4px; color: var(--muted); }

.article-card { padding: 0; overflow: hidden; }
.article-cover { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: #eef5ff; border-bottom: 1px solid var(--line); }
.article-cover.alt { background: #f3f1ff; }
.article-cover.warm { background: #eff8f3; }
.article-cover b { font-size: 22px; line-height: 1.28; }
.tag { align-self: flex-start; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.article-body { padding: 24px; }
.article-meta { color: var(--muted); font-size: 13px; }

.cta-band { padding: 112px 0; border-top: 1px solid var(--line); background: var(--soft); }
.cta-inner { max-width: 900px; text-align: center; }
.cta-inner .button { margin-top: 28px; background: var(--blue); color: #fff; border-color: var(--blue); }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.anchor-nav a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 650; }
.service-row { position: relative; display: block; min-width: 0; margin: 24px 0; padding: 40px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.service-row:first-of-type { margin-top: 0; }
.service-row::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg,var(--blue) 0 22%,#81bdff 22% 38%,#eaf3ff 38% 100%); }
.service-code { color: var(--blue); font-size: 13px; font-weight: 750; }
.service-name { min-width: 0; margin: 0 0 34px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 650; overflow-wrap: anywhere; }
.service-name h2 { max-width: 100%; margin-top: 8px; font-size: clamp(34px, 4vw, 52px); overflow-wrap: anywhere; word-break: normal; }
.service-name p { max-width: 720px; }
.service-row > div:last-child { min-width: 0; }
.service-row .card-link { display: inline-block; margin-top: 26px; }
.deliverables { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px; }
.deliverable { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: #404852; }
.checklist { margin: 18px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filter { padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 650; }
.filter.active, .filter:hover { border-color: var(--blue); color: var(--blue); }
.course-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.course-card { display: grid; grid-template-columns: 1fr 220px; gap: 32px; padding: 28px; border-bottom: 1px solid var(--line); }
.course-card:last-child { border-bottom: 0; }
.course-card p { color: var(--muted); }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.course-tag { color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.course-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 16px; }
.course-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 30px; }
.detail-box { padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.detail-box small, .detail-box strong { display: block; }
.detail-box small { margin-bottom: 7px; color: var(--muted); }

.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.featured-article { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.featured-visual { background: linear-gradient(135deg,#eaf3ff,#f8fbff); border-right: 1px solid var(--line); }
.featured-content { display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.sidebar-box { padding: 24px 0; border-top: 1px solid var(--line); }
.sidebar-box:first-child { padding-top: 0; border-top: 0; }
.sidebar-box ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); }
.sidebar-box li { padding: 8px 0; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-points { margin-top: 32px; border-top: 1px solid var(--line); }
.contact-point { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-point strong, .contact-point span { display: block; }
.contact-point span { margin-top: 4px; color: var(--muted); }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #ccd2d9; border-radius: 8px; outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,119,249,.1); }
.consent { color: var(--muted); font-size: 12px; }
.form-card > .button { margin-top: 18px; }
.form-note { display: none; margin-top: 16px; color: #08734c; }

/* Individual course and service landing pages */
.landing-hero { padding: 96px 0 88px; border-bottom: 1px solid var(--line); }
.landing-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 72px; align-items: center; }
.landing-hero h1 { max-width: 820px; margin: 14px 0 0; font-size: clamp(44px, 5.8vw, 72px); font-weight: 650; line-height: 1.07; letter-spacing: -.045em; overflow-wrap: anywhere; }
.landing-hero .lead { max-width: 760px; }
.landing-hero .actions { justify-content: flex-start; }
.landing-side { min-width: 0; display: grid; gap: 16px; }
.landing-facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.landing-fact { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.landing-fact:last-child { border-bottom: 0; }
.landing-fact span { color: var(--muted); font-size: 13px; }
.landing-fact strong { max-width: 60%; text-align: right; overflow-wrap: anywhere; }
.landing-intro { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(0,1.3fr); gap: 72px; }
.landing-intro > div { min-width: 0; }
.landing-intro .lead { margin-top: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 36px; }
.feature-card { position: relative; min-width: 0; min-height: 250px; padding: 112px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.feature-card::before { content: ""; position: absolute; top: 24px; left: 24px; width: 88px; height: 64px; border: 1px solid #a9d0ff; border-radius: 14px; background: radial-gradient(circle at 24px 20px,var(--blue) 0 5px,transparent 6px), radial-gradient(circle at 64px 42px,#7cbcff 0 5px,transparent 6px), linear-gradient(145deg,transparent 47%,#9dcaff 48% 51%,transparent 52%); }
.feature-card::after { content: ""; position: absolute; top: 38px; right: 24px; width: 72px; height: 36px; background: repeating-linear-gradient(90deg,#cfe5ff 0 6px,transparent 6px 12px); opacity: .9; }
.feature-card span { position: absolute; top: 26px; right: 28px; display: block; color: var(--blue); font-size: 12px; font-weight: 750; }
.feature-card p { color: var(--muted); overflow-wrap: anywhere; }
.program-days { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 36px; }
.program-day { position: relative; min-width: 0; padding: 130px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.program-day::before { content: ""; position: absolute; inset: 0 0 auto; height: 100px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#f7fbff,#eef6ff), repeating-linear-gradient(90deg,transparent 0 31px,rgba(8,119,249,.08) 32px), repeating-linear-gradient(0deg,transparent 0 31px,rgba(8,119,249,.08) 32px); }
.program-day::after { content: ""; position: absolute; top: 26px; left: 26px; width: 150px; height: 48px; background: linear-gradient(160deg,transparent 0 12%,#83bfff 13% 16%,transparent 17% 32%,#0877f9 33% 37%,transparent 38% 54%,#64aefb 55% 59%,transparent 60%); }
.program-day > span { display: block; margin-bottom: 8px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.program-day h3 { min-height: 60px; }
.program-day ul { margin: 18px 0 0; padding: 0; list-style: none; }
.program-day li { padding: 9px 0; border-top: 1px solid var(--line); color: #444c56; overflow-wrap: anywhere; }
.program-day li:first-child { border-top: 0; }
.program-days.single { grid-template-columns: 1fr; }
.program-days.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.program-days.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
.program-days.five { grid-template-columns: repeat(3,minmax(0,1fr)); }
.program-days.five .program-day:nth-child(n+4) { grid-column: span 1; }
.landing-band { padding: 36px 0; border-bottom: 1px solid var(--line); background: var(--soft); }
.landing-band-inner { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.landing-band-item { min-width: 0; }
.landing-band-item span { display: block; color: var(--muted); font-size: 12px; }
.landing-band-item strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.service-scope { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 36px; }
.scope-card { position: relative; min-width: 0; min-height: 260px; padding: 94px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.scope-card::before { content: ""; position: absolute; top: 24px; left: 26px; width: 42px; height: 42px; border: 1px solid #8fc3ff; border-radius: 50%; box-shadow: 18px 0 0 -9px #0877f9, 40px 0 0 -14px #a8d2ff; }
.scope-card::after { content: ""; position: absolute; top: 44px; right: 26px; width: 90px; height: 1px; background: #a8d2ff; box-shadow: 0 12px 0 #d4e7ff,0 24px 0 #e7f1ff; }
.scope-card p { color: var(--muted); }
.scope-card ul { margin: 18px 0 0; padding-left: 20px; color: #444c56; }
.scope-card li { margin: 8px 0; overflow-wrap: anywhere; }
.faq-list { border-top: 1px solid var(--line); margin-top: 34px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-size: 18px; font-weight: 650; }
.faq-item p { max-width: 820px; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 32px; }
.related-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.related-card small { color: var(--blue); font-weight: 750; }
.related-card h3 { margin-top: 10px; overflow-wrap: anywhere; }
.related-card p { color: var(--muted); }

.geo-art { position: relative; min-height: 270px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: linear-gradient(145deg,#fbfdff,#eef6ff); }
.geo-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(8,119,249,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(8,119,249,.07) 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom,#000,transparent 92%); }
.geo-orbit { position: absolute; top: 50%; left: 50%; width: 164px; height: 164px; transform: translate(-50%,-50%); border: 1px solid #8fc3ff; border-radius: 50%; box-shadow: 0 0 0 34px rgba(8,119,249,.045),0 0 0 68px rgba(8,119,249,.025); }
.geo-core { position: absolute; top: 50%; left: 50%; width: 94px; height: 94px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 22px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.geo-node { position: absolute; width: 14px; height: 14px; border: 4px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #86bdff; }
.geo-node.n1 { top: 42px; left: 48px; }
.geo-node.n2 { top: 66px; right: 44px; background: #71b3ff; }
.geo-node.n3 { bottom: 38px; left: 82px; background: #9bcaff; }
.geo-node.n4 { right: 78px; bottom: 46px; }
.geo-bars { position: absolute; right: 22px; bottom: 20px; left: 22px; height: 44px; display: flex; align-items: end; gap: 7px; }
.geo-bars i { flex: 1; border-radius: 4px 4px 0 0; background: #b9d9ff; }
.geo-bars i:nth-child(1) { height: 28%; }.geo-bars i:nth-child(2) { height: 64%; }.geo-bars i:nth-child(3) { height: 42%; }.geo-bars i:nth-child(4) { height: 86%; background: var(--blue); }.geo-bars i:nth-child(5) { height: 56%; }.geo-bars i:nth-child(6) { height: 72%; }
.geo-label { position: absolute; top: 18px; left: 20px; color: #60758c; font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.geo-course .geo-core { border-radius: 50%; background: #fff; color: var(--blue); border: 1px solid #8fc3ff; }
.geo-course .geo-orbit { border-style: dashed; }
.geo-course .geo-node.n2, .geo-course .geo-node.n3 { border-radius: 4px; }

.footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 48px; }
.footer img { width: 150px; }
.footer p { max-width: 320px; color: var(--muted); }
.footer-title { margin-bottom: 14px; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 9px; color: var(--muted); }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 980px) {
  .container { width: min(100% - 40px, var(--max)); }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 20px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .grid-3, .logo-row { grid-template-columns: repeat(2,1fr); }
  .tech-mark:nth-child(3n) { border-right: 1px solid var(--line); }
  .tech-mark:nth-child(2n) { border-right: 0; }
  .tech-mark:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .tech-mark:nth-last-child(-n+2) { border-bottom: 0; }
  .outcomes, .training-highlight, .contact-layout, .blog-layout { grid-template-columns: 1fr; gap: 48px; }
  .landing-hero-grid, .landing-intro { grid-template-columns: 1fr; gap: 44px; }
  .landing-band-inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-grid, .program-days, .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .program-days.five { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .training-panel { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(3n) { border-right: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, var(--max)); }
  .logo img { width: 128px; }
  .hero { padding: 76px 0 84px; }
  .hero h1, .page-hero h1 { font-size: 42px; line-height: 1.1; }
  .lead { font-size: 18px; }
  .page-hero { padding: 72px 0 78px; }
  .section { padding: 72px 0; }
  .section-head { display: block; }
  .section-head > p { margin-top: 14px; }
  h2 { font-size: 34px; }
  .grid-2, .grid-3, .logo-row, .course-details, .form-grid { grid-template-columns: 1fr; }
  .tech-mark, .tech-mark:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .tech-mark:last-child { border-bottom: 0; }
  .card { min-height: 0; }
  .steps { display: block; }
  .step, .step:nth-child(n) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .training-copy { padding: 30px; }
  .service-row { padding: 28px; border-radius: 18px; }
  .deliverables { grid-template-columns: 1fr; }
  .course-card { grid-template-columns: 1fr; }
  .course-side { align-items: flex-start; }
  .featured-article { grid-template-columns: 1fr; }
  .landing-hero { padding: 70px 0 64px; }
  .landing-hero h1 { font-size: 42px; }
  .landing-fact { align-items: flex-start; flex-direction: column; gap: 5px; }
  .landing-fact strong { max-width: 100%; text-align: left; }
  .landing-band-inner, .feature-grid, .program-days, .program-days.two, .program-days.four, .program-days.five, .service-scope, .related-grid { grid-template-columns: 1fr; }
  .featured-visual { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}
