:root {
  --navy-950: #06111f;
  --navy-900: #081b2f;
  --navy-800: #0c2741;
  --navy-700: #123a5d;
  --orange: #f5682d;
  --orange-dark: #d94f1f;
  --orange-accessible: #a33a16;
  --blue: #63b3e6;
  --blue-strong: #2a88c7;
  --blue-accessible: #17608f;
  --white: #ffffff;
  --ink: #10243a;
  --muted: #d6e2ee;
  --soft: #f3f6fb;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 30px 90px rgba(8, 27, 47, .25);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 27, 47, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: 168px;
  height: auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d8e7f7;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.nav-action {
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-action {
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  font-weight: 800;
}

.nav-action:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(22px, 5vw, 64px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 5vw, 58px);
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 18%, rgba(42, 136, 199, .32), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(245, 104, 45, .24), transparent 28%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 58%, var(--navy-900) 100%);
}

.hero-content {
  align-self: center;
  max-width: 690px;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 16px 0 0;
  max-width: 700px;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: .96;
  font-weight: 900;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 610px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.58;
  margin: 24px 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 900;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: var(--navy-950);
  box-shadow: 0 18px 45px rgba(245, 104, 45, .3);
}

.button-primary:hover {
  background: #ff7a3d;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, .22);
  color: #eaf4ff;
  background: rgba(255, 255, 255, .07);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  align-self: center;
}

.glass-cube {
  position: absolute;
  right: clamp(38px, 8vw, 86px);
  top: 20px;
  width: clamp(210px, 24vw, 284px);
  aspect-ratio: 1;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(42, 136, 199, .52), rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .18);
  transform: rotate(12deg);
  box-shadow: 0 34px 90px rgba(42, 136, 199, .26);
  transition: transform .18s ease-out;
}

.glass-cube::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
}

.flow-path {
  position: absolute;
  right: clamp(88px, 12vw, 156px);
  top: 104px;
  width: 276px;
  height: 176px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 42px 0 0;
}

.node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(245, 104, 45, .12);
}

.node-one { right: 354px; top: 118px; }
.node-two { right: 244px; top: 232px; background: var(--blue); box-shadow: 0 0 0 8px rgba(99, 179, 230, .12); }
.node-three { right: 130px; top: 88px; }

.opportunity-card {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: min(310px, 92%);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.opportunity-card span,
.price-card span {
  color: var(--orange-accessible);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.opportunity-card strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
  line-height: 1.08;
}

.services-section,
.use-cases-section,
.academy-section {
  background: var(--white);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.services-section .eyebrow,
.use-cases-section .eyebrow,
.academy-section .eyebrow,
.problems-section .eyebrow,
.diagnostic-section .eyebrow,
.contact-section .eyebrow {
  color: var(--blue-accessible);
}

.service-grid,
.problem-grid,
.use-case-list {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.problem-grid article,
.use-case-list article {
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #dbe5ef;
  background: #f8fafc;
}

.service-card {
  min-height: 188px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 136, 199, .35);
  box-shadow: 0 20px 55px rgba(16, 36, 58, .1);
}

.card-line {
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.card-line-orange { background: var(--orange); }
.card-line-blue { background: var(--blue); }
.card-line-light { background: var(--navy-700); }

.service-card p,
.problem-grid p,
.use-case-list p,
.diagnostic-panel p,
.academy-content p {
  color: #4b6078;
  line-height: 1.55;
}

.problems-section,
.diagnostic-section,
.contact-section {
  background: #edf3f9;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-list span {
  display: inline-flex;
  color: var(--orange-accessible);
  font-weight: 900;
  margin-bottom: 16px;
}

.diagnostic-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow);
}

.diagnostic-panel h2 {
  max-width: 720px;
}

.diagnostic-panel p {
  color: var(--muted);
  max-width: 680px;
}

.price-card {
  border-radius: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
}

.price-card strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 48px;
  line-height: 1;
}

.diagnostic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.diagnostic-list li {
  border-radius: 12px;
  background: var(--white);
  border: 1px solid #dbe5ef;
  padding: 16px;
  font-weight: 800;
  font-size: 14px;
}

.academy-section {
  position: relative;
  overflow: hidden;
}

.academy-section::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  width: 220px;
  height: 220px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(99, 179, 230, .24), rgba(245, 104, 45, .12));
  transform: rotate(12deg);
}

.academy-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.academy-actions {
  margin-top: 22px;
}

.contact-section {
  text-align: center;
}

.contact-section > div {
  max-width: 820px;
  margin: 0 auto;
}

.contact-actions {
  justify-content: center;
}

.schedule-card {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin: 28px auto 0;
  padding: 20px;
  max-width: 900px;
  border: 1px solid #cbd8e6;
  border-radius: 16px;
  background: var(--white);
  text-align: left;
  box-shadow: 0 18px 45px rgba(16, 36, 58, .08);
}

.schedule-card > div {
  grid-column: 1 / -1;
  max-width: 680px;
}

.schedule-card span {
  display: block;
  color: var(--orange-accessible);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.schedule-card strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.18;
}

.schedule-card p {
  margin: 8px 0 0;
  color: #4b6078;
  line-height: 1.45;
}

.schedule-card label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.schedule-card input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b8c8d8;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: #f8fafc;
}

.schedule-card input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.contact-section .button-secondary {
  color: var(--ink);
  border-color: #cbd8e6;
  background: var(--white);
}

.site-footer {
  padding: clamp(34px, 5vw, 58px) clamp(22px, 5vw, 64px) 24px;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 104, 45, .16), transparent 28%),
    linear-gradient(135deg, var(--navy-950), #03101d);
  color: #d8e7f7;
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) minmax(150px, .7fr) minmax(190px, .9fr) minmax(220px, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.footer-brand img {
  width: 176px;
  height: auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
}

.footer-brand p,
.footer-cta p {
  max-width: 330px;
  margin: 18px 0 0;
  color: #b9cce0;
  line-height: 1.55;
}

.footer-links,
.footer-contact,
.footer-cta {
  display: grid;
  gap: 10px;
}

.site-footer h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: #b9cce0;
  line-height: 1.45;
}

.footer-links a,
.footer-contact a {
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue);
  transform: translateX(2px);
}

.footer-cta .button {
  width: fit-content;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(28px, 5vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9fb6cb;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: thin;
    white-space: nowrap;
  }

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

  .hero-visual {
    min-height: 360px;
  }

  .service-grid,
  .problem-grid,
  .use-case-list,
  .diagnostic-list {
    grid-template-columns: 1fr 1fr;
  }

  .diagnostic-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    align-items: flex-start;
  }

  .brand img {
    width: 142px;
  }

  .nav-action {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .section {
    padding: 56px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1;
  }

  h2 {
    font-size: 34px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .schedule-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    min-height: 320px;
  }

  .glass-cube {
    right: 28px;
    width: 210px;
  }

  .flow-path {
    right: 80px;
    width: 210px;
  }

  .node-one { right: 278px; }
  .node-two { right: 188px; }
  .node-three { right: 88px; }

  .opportunity-card {
    left: 0;
    right: 0;
    width: auto;
  }

  .service-grid,
  .problem-grid,
  .use-case-list,
  .diagnostic-list {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
