@font-face {
  font-family: "Geist";
  src: url("../vendor/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #0070cc;
  --bright: #008cfe;
  --navy: #002441;
  --ink: #16344f;
  --muted: #566b7f;
  --pale: #eef6fd;
  --paler: #f6fafe;
  --line: #d9e7f3;
  --gutter: 16px;
  --radius: 18px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible, .menu-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); }
.accent {
  background: linear-gradient(100deg, var(--bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0063b5; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: #b4cfe6; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--pale); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 231, 243, .7);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.header-inner > a:first-child { display: block; padding: 5px 0; }
.logo { height: 38px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--blue); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .header-inner { gap: 10px; height: 62px; }
  .logo { height: 34px; }
  .header-inner > a:first-child { margin-right: auto; }
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    flex: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
  }
  .menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    padding: 6px var(--gutter) 14px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(0, 50, 95, .45);
  }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; }
  .nav a + a { border-top: 1px solid var(--line); }
}

/* Hero */
.hero {
  position: relative; padding-top: 128px; text-align: center; overflow: hidden;
  background:
    radial-gradient(60% 46% at 50% 62%, rgba(0, 140, 254, .16), transparent 72%),
    linear-gradient(180deg, #fff 0%, var(--paler) 40%, var(--pale) 66%, #fff 100%);
}
.hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 900px; margin: 0 auto 20px; }
.hero .lead { max-width: 640px; margin: 0 auto 28px; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.stage { position: relative; height: clamp(380px, 42vw, 580px); margin-top: 16px; }
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s;
  -webkit-mask-image: radial-gradient(56% 58% at 50% 44%, #000 42%, transparent 100%);
  mask-image: radial-gradient(56% 58% at 50% 44%, #000 42%, transparent 100%);
}
#hero-canvas.is-ready { opacity: 1; }
.stage-lines { position: absolute; left: 50%; top: 0; width: min(1180px, 100%); height: 100%; transform: translateX(-50%); pointer-events: none; overflow: visible; }
.stage-lines path {
  fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round;
  vector-effect: non-scaling-stroke; opacity: .6; animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -20; } }
.stage-labels { position: absolute; left: 50%; top: 0; width: min(1180px, 100%); height: 100%; transform: translateX(-50%); }
.stage-labels li {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 9px; padding: 10px 15px; white-space: nowrap;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 11px;
  box-shadow: 0 12px 28px -14px rgba(0, 60, 110, .4);
  color: var(--navy); font-size: 14px; font-weight: 500;
}
.stage-labels li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bright); box-shadow: 0 0 0 3px rgba(0, 140, 254, .18); }
@media (max-width: 760px) {
  .hero { padding-top: 100px; }
  .stage { height: auto; margin-top: 26px; display: flex; flex-direction: column; }
  .stage-lines { display: none; }
  .stage-labels {
    position: relative; order: -1; left: auto; top: auto; width: auto; height: auto; transform: none;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 var(--gutter); z-index: 1;
  }
  .stage-labels li { position: static; transform: none; padding: 8px 12px; }
  #hero-canvas { position: relative; inset: auto; height: 320px; }
  .cta .btn { flex: 1 1 0; padding: 13px 10px; font-size: 15px; }
  .cta { flex-wrap: nowrap; padding: 0; }
}
@media (max-width: 359px) {
  .cta { flex-direction: column; }
  .cta .btn { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-lines path { animation: none; }
}

/* Sections */
.section { padding: clamp(68px, 9vw, 112px) 0; }
.head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.head h2, .section-who h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 16px; }
.head-left { margin-left: 0; text-align: left; }

/* Solutions */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solution {
  display: flex; flex-direction: column; padding: 14px 20px 26px;
  background: linear-gradient(180deg, var(--pale), var(--paler));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.solution:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(0, 70, 130, .5); }
.solution img { width: 100%; margin-bottom: 4px; }
.solution h3 { font-size: 21px; margin-bottom: 8px; }
.solution p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .solutions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .solutions { grid-template-columns: 1fr; }
  .solution { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; padding: 14px 16px 14px 10px; align-items: center; }
  .solution img { grid-row: span 2; margin: 0; }
  .solution h3 { align-self: end; font-size: 19px; margin-bottom: 4px; }
  .solution p { align-self: start; }
}

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 34px; margin-top: clamp(40px, 5vw, 60px); }
.benefits li { display: flex; gap: 14px; }
.benefits svg {
  flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--pale);
  fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.benefits strong { display: block; color: var(--navy); font-weight: 500; font-size: 17px; }
.benefits span { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; gap: 20px; } }

/* Who */
.section-who { padding-top: 0; }
.section-who h2 { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.reveal span { transition: opacity .25s; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who-card {
  display: grid; grid-template-columns: 1fr 44%; align-items: center; gap: 8px;
  min-height: 300px; padding: 30px 14px 30px 34px; border-radius: var(--radius); overflow: hidden;
}
.who-card h3 { font-size: 28px; margin-bottom: 10px; }
.who-light { background: var(--pale); border: 1px solid var(--line); }
.who-light p { color: var(--muted); }
.who-blue { background: linear-gradient(135deg, #1a9bff, var(--blue)); color: #fff; }
.who-blue h3 { color: #fff; }
.who-blue p { color: #e4f3ff; }
@media (max-width: 860px) {
  .who { grid-template-columns: 1fr; }
  .who-card { grid-template-columns: 1fr 36%; min-height: 0; padding: 24px 8px 24px 24px; }
  .who-card h3 { font-size: 24px; }
}

/* Digital */
.section-digital { background: var(--paler); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.digital { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.digital li { padding: 16px 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .2s, box-shadow .2s; }
.digital li:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(0, 70, 130, .5); }
.digital img { width: 100%; max-width: 190px; margin: 0 auto 14px; }
.digital strong { display: block; margin-bottom: 6px; color: var(--navy); font-weight: 500; font-size: 17px; }
.digital span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .digital { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .digital { grid-template-columns: 1fr; }
  .digital li { display: grid; grid-template-columns: 92px 1fr; column-gap: 14px; align-items: center; padding: 12px 16px 12px 10px; }
  .digital img { grid-row: span 2; margin: 0; }
  .digital strong { align-self: end; margin-bottom: 2px; }
  .digital span { align-self: start; }
}

/* Contact */
.contact {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(32px, 5vw, 60px); border-radius: 24px; color: #e4f3ff;
  background:
    radial-gradient(70% 130% at 100% 100%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(120deg, #1a9bff, var(--blue));
}
.contact h2 { max-width: 640px; margin-bottom: 12px; color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.contact a:not(.btn) { display: inline-block; color: #fff; font-weight: 500; white-space: nowrap; }
@media (max-width: 760px) {
  .contact { flex-direction: column; align-items: stretch; }
}

/* Footer */
.footer { padding: 34px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer p { flex: 1 1 280px; color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { display: inline-block; padding: 11px 0; color: var(--ink); font-size: 14px; }
@media (max-width: 359px) {
  .contact { padding: 28px 18px; }
  .contact a:not(.btn) { font-size: 14px; }
}
