:root {
  color-scheme: light;
  --ink: #17233a;
  --muted: #627087;
  --navy: #1d3152;
  --navy-deep: #152641;
  --blue: #315fa8;
  --blue-soft: #edf3fc;
  --canvas: #f5f7fa;
  --surface: #fff;
  --border: #dbe2ea;
  --success: #17725c;
  --shadow: 0 14px 40px rgb(23 35 58 / 8%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--canvas); color: var(--ink); font: 15px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #78a7ec; outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: white; color: var(--navy); }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; background: var(--navy); }
.topbar, .band, .closing-band, .site-footer { width: min(100% - 36px, 1180px); margin-inline: auto; }
.topbar { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; color: white; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: white; color: var(--navy); font-size: 19px; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; }
.brand small { color: #c7d3e6; font-size: 11px; }
.topbar-links { display: flex; align-items: center; justify-content: flex-end; gap: 22px; color: #dbe5f3; font-size: 13px; font-weight: 650; }
.topbar-links > a:not(.button):hover { color: white; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid transparent; border-radius: 7px; font-weight: 750; }
.button.compact { min-height: 38px; padding-inline: 14px; }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: #285394; }
.button.secondary { border-color: rgb(255 255 255 / 38%); background: transparent; color: white; }
.button.secondary:hover { background: rgb(255 255 255 / 8%); }
.button.inverse { border-color: rgb(255 255 255 / 34%); background: rgb(255 255 255 / 8%); color: white; }
.button.inverse:hover { background: rgb(255 255 255 / 14%); }

.hero { position: relative; min-height: min(760px, calc(100vh - 28px)); overflow: hidden; background: var(--navy); color: white; }
.hero-backdrop { position: absolute; inset: 42px max(-80px, calc((100vw - 1180px) / 2 - 90px)) 0 43%; opacity: .74; transform: perspective(1200px) rotateY(-8deg) rotateX(2deg); transform-origin: center; }
.hero-backdrop img { display: block; width: 100%; min-width: 860px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 11px; box-shadow: 0 40px 100px rgb(4 14 28 / 38%); }
.hero-content { position: relative; z-index: 2; width: min(100% - 36px, 1180px); margin: 0 auto; padding: clamp(78px, 12vh, 132px) 0 94px; }
.hero-content::before { position: absolute; inset: 40px auto 20px -100vw; width: calc(100vw + 680px); background: var(--navy); content: ""; z-index: -1; }
.eyebrow { margin: 0 0 9px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow, .closing-band .eyebrow { color: #a9c9f7; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 20px; font-size: clamp(46px, 6vw, 76px); line-height: 1.02; letter-spacing: 0; }
.summary { max-width: 650px; margin-bottom: 0; color: #d2dced; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-note { margin: 17px 0 0; color: #adbbce; font-size: 12px; }

.band { padding-block: 88px; }
.band + .band { border-top: 1px solid var(--border); }
.band-header { max-width: 760px; margin-bottom: 34px; }
.band-header h2, .closing-band h2 { margin-bottom: 12px; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; letter-spacing: 0; }
.band-header > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.step-grid, .worker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 0; padding: 0; list-style: none; }
.step-grid li, .worker-card { min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.step-grid li { padding: 24px; }
.step-grid li > span { display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.step-grid h3, .worker-card h3, .feature-list h3 { margin-bottom: 7px; font-size: 20px; }
.step-grid p, .worker-card p, .feature-list p { margin-bottom: 0; color: var(--muted); }

.workers-band { width: auto; max-width: none; padding-inline: max(18px, calc((100vw - 1180px) / 2)); background: white; }
.worker-card { padding: 24px; box-shadow: none; }
.worker-card.featured { border-top: 4px solid var(--blue); padding-top: 21px; }
.worker-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.worker-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: var(--navy); color: white; font-size: 12px; font-weight: 850; }
.status { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; border-radius: 999px; background: #e7f5f0; color: var(--success); font-size: 11px; font-weight: 750; }
.status.muted { background: #edf0f4; color: var(--muted); }
.worker-card ul { min-height: 96px; margin: 18px 0 22px; padding-left: 19px; color: var(--muted); }
.worker-card li { margin-block: 6px; }
.worker-card > a, .text-link { color: var(--blue); font-weight: 750; }

.discovery-band { width: auto; max-width: none; padding-inline: max(18px, calc((100vw - 1180px) / 2)); background: var(--blue-soft); }
.discovery-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 70px; align-items: center; }
.discovery-layout .band-header { margin-bottom: 0; }
.discovery-layout .text-link { display: inline-flex; margin-top: 22px; }
.discovery-steps { display: grid; margin: 0; padding: 0; border: 1px solid #c8d7eb; border-radius: 8px; background: white; list-style: none; }
.discovery-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.discovery-steps li:last-child { border-bottom: 0; }
.discovery-steps b { color: var(--blue); font: 800 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.discovery-note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid #c8d7eb; color: var(--muted); font-size: 13px; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.feature-list article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 28px 26px 28px 0; border-bottom: 1px solid var(--border); }
.feature-list article:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--border); }
.feature-list article:nth-child(even) { padding-left: 40px; }
.feature-number { color: var(--blue); font: 800 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }

.developers-band { width: auto; max-width: none; padding-inline: max(18px, calc((100vw - 1180px) / 2)); background: var(--navy); color: white; }
.developer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 70px; align-items: end; }
.developers-band .band-header { margin-bottom: 0; }
.developers-band .eyebrow { color: #a9c9f7; }
.developers-band .band-header > p:last-of-type { color: #c7d3e6; }
.developers-band .text-link { display: inline-flex; margin-top: 22px; color: white; }
.developer-steps { display: grid; border: 1px solid rgb(255 255 255 / 18%); border-radius: 8px; }
.developer-steps span { display: flex; gap: 18px; padding: 18px 21px; border-bottom: 1px solid rgb(255 255 255 / 14%); color: #dbe5f3; font-weight: 700; }
.developer-steps span:last-child { border-bottom: 0; }
.developer-steps b { color: #8fb6ed; font: 800 12px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }

.plan-card { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(280px, 1fr) minmax(230px, .8fr); gap: 34px; align-items: center; padding: 30px; border: 1px solid var(--border); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.plan-label { margin-bottom: 8px; color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 7px; }
.plan-price strong { font-size: 46px; line-height: 1; }
.plan-price span, .plan-summary > p:last-child, .plan-action small { color: var(--muted); }
.plan-summary > p:last-child { margin-bottom: 0; }
.plan-features { margin: 0; padding-left: 20px; line-height: 1.9; }
.plan-action { display: grid; gap: 11px; text-align: center; }

.closing-band { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 34px; padding: 42px; border-radius: 8px; background: var(--navy); color: white; }
.closing-band h2 { max-width: 690px; margin-bottom: 0; }
.closing-band .button { flex: 0 0 auto; }
.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding-block: 28px 40px; color: var(--muted); font-size: 13px; }
.site-footer .brand strong { color: var(--ink); }
.site-footer .brand small { color: var(--muted); }
.site-footer .brand-mark { background: var(--navy); color: white; }
.site-footer p { margin-bottom: 0; }
.site-footer > a:last-child { color: var(--blue); font-weight: 700; }

@media (max-width: 940px) {
  .topbar { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  .topbar-links { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 3px; }
  .hero { min-height: 720px; }
  .hero-backdrop { inset: 185px -260px 0 30%; opacity: .38; }
  .hero-content::before { width: calc(100vw + 520px); }
  .step-grid, .worker-grid, .plan-card { grid-template-columns: 1fr; }
  .worker-card ul { min-height: 0; }
  .developer-layout { grid-template-columns: 1fr; }
  .discovery-layout { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .topbar, .band, .hero-content, .closing-band, .site-footer { width: min(100% - 28px, 1180px); }
  .topbar-links { gap: 16px; }
  .topbar-links a:nth-child(3), .topbar-links a:nth-child(4) { display: none; }
  .hero { min-height: 650px; }
  .hero-backdrop { display: none; }
  .hero-content { padding-block: 72px 74px; }
  .hero-content::before { top: 0; width: calc(100vw + 180px); }
  h1 { font-size: 44px; }
  .summary { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .band { padding-block: 64px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article, .feature-list article:nth-child(odd), .feature-list article:nth-child(even) { padding: 24px 0; border-right: 0; }
  .closing-band { align-items: stretch; flex-direction: column; padding: 28px; }
  .closing-band .button { width: 100%; }
}

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