@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque-Latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* mountain.ai */
  --navy: #12233F;
  --blue: #1E4E8C;
  --sky: #8CB8E8;
  --light: #F3F6FA;
  --alt: #E6ECF4;
  --ink: #12233F;
  --muted: #4E5D72;
  --line: #D3DCE8;
  --card: #FFFFFF;
  /* products */
  --agc: #1F7A55;
  --agc-l: #8EDDB6;
  --koe: #FF8E53;
  --koe-d: #E86A2C;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--light); color: var(--ink); font: 400 17px/1.6 "Plus Jakarta Sans", system-ui, sans-serif; }
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* top bar */
.bar { background: var(--navy); color: var(--light); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid rgba(140,184,232,.15); }
.bar .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.bar .logo img { height: 40px; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a, .lang a { color: #C8D4E6; text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover, .lang a:hover { color: #fff; }
.lang { display: flex; gap: 10px; padding-left: 22px; border-left: 1px solid rgba(200,212,230,.25); }
.lang a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }

/* carousel */
.carousel { background: var(--navy); color: var(--light); position: relative; }
.slides { position: relative; min-height: 600px; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; }
.slide .txt { padding: 64px 48px 120px max(24px, calc((100vw - 1180px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; }
.slide .pic { position: relative; overflow: hidden; }
.slide .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide .pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0, rgba(18,35,63,0) 22%); z-index: 1; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.agc .chip { color: var(--agc-l); background: rgba(31,122,85,.28); }
.koe .chip { color: #FFB48C; background: rgba(255,142,83,.18); }
.slide h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; }
.slide p { color: #C8D4E6; font-size: 18px; margin: 18px 0 30px; max-width: 520px; }
.btn { align-self: flex-start; display: inline-block; text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: 999px; color: #fff; background: var(--blue); }
.agc .btn { background: var(--agc); }
.koe .btn { background: var(--koe-d); }
.btn:hover { filter: brightness(1.1); }
.ctrl { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; }
.ctrl .wrap { display: flex; align-items: center; gap: 14px; }
.ctrl button { font: inherit; cursor: pointer; border: 1px solid rgba(200,212,230,.4); background: rgba(18,35,63,.6); color: #fff; border-radius: 999px; height: 36px; min-width: 36px; padding: 0 10px; }
.ctrl button:hover { border-color: #fff; }
.dots { display: flex; gap: 8px; }
.dots button { width: 30px; min-width: 30px; height: 6px; padding: 0; border: 0; background: rgba(200,212,230,.35); }
.dots button[aria-current="true"] { background: var(--sky); }

/* sections */
section { padding: 88px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--blue); margin: 0 0 12px; }
h2.sec { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; max-width: 760px; }
.about { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.about p { color: var(--muted); margin: 20px 0 0; font-size: 18px; }
.facts { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 28px; margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 15px; white-space: nowrap; }
.facts dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }

.alt { background: var(--alt); }
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.prod { background: var(--card); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.prod img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.prod .body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; border-top: 5px solid var(--blue); }
.prod.agc .body { border-top-color: var(--agc); }
.prod.koe .body { border-top-color: var(--koe); }
.prod .who { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.prod.agc .who { color: var(--agc); }
.prod.koe .who { color: var(--koe-d); }
.prod h3 { font-size: 26px; }
.prod p { color: var(--muted); margin: 12px 0 24px; flex: 1; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 40px; }
.points h3 { font-size: 21px; font-weight: 600; }
.points p { color: var(--muted); margin: 10px 0 0; }
.num { font-family: "Bricolage Grotesque", sans-serif; color: var(--blue); font-weight: 700; font-size: 15px; margin: 0 0 8px; }

.contact { background: var(--blue); color: #fff; }
.contact .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact h2 { font-size: clamp(26px, 3vw, 36px); }
.contact p { color: #DCE7F5; margin: 10px 0 0; }
.contact .links { display: flex; gap: 12px; flex-wrap: wrap; }
.contact .btn { background: #fff; color: var(--navy); }
.contact .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.contact p a { color: #fff; }

footer { background: var(--navy); color: #AEBBD0; padding: 48px 0; font-size: 15px; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer img { height: 34px; margin-bottom: 14px; }
footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 6px 0; }
footer a { color: #C8D4E6; text-decoration: none; }
footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(200,212,230,.15); padding-top: 20px; margin: 8px 0 0; }

@media (max-width: 900px) {
  .menu { display: none; }
  .lang { margin-left: auto; border-left: 0; padding-left: 0; }
  .slides { min-height: 0; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .slide .pic { order: -1; aspect-ratio: 16 / 9; position: relative; }
  .slide .pic::before { background: linear-gradient(0deg, var(--navy) 0, rgba(18,35,63,0) 30%); }
  .slide .txt { padding: 28px 16px 88px; justify-content: flex-start; }
  .slide p { font-size: 17px; }
  .about, .prods, .points { grid-template-columns: 1fr; gap: 28px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .bar .wrap { height: 64px; }
  .bar .logo img { height: 34px; }
  section { padding: 60px 0; }
  .prod .body { padding: 22px 20px 26px; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.agc .btn, .prod.agc .btn { background: var(--agc); }
.koe .btn, .prod.koe .btn { background: var(--koe-d); }

/* technology timeline */
.tech { padding-top: 0; }
.tech .lead { color: var(--muted); font-size: 18px; max-width: 760px; margin: 20px 0 0; }
.timeline { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; right: calc((100% - 96px) / 5 - 12px); top: 11px; height: 2px; background: var(--sky); }
.timeline li { position: relative; }
.timeline .dot { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--light); border: 3px solid var(--sky); box-sizing: border-box; position: relative; }
.timeline li.now .dot { background: var(--blue); border-color: var(--blue); }
.timeline .yr { font-family: "Bricolage Grotesque", sans-serif; font-size: 28px; font-weight: 700; color: var(--navy); margin: 16px 0 4px; }
.timeline li.now .yr { color: var(--blue); }
.timeline h3 { font-size: 17px; font-weight: 600; }
.timeline li p:last-child { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 40px; }
  .timeline::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .timeline .dot { position: absolute; left: -40px; top: 6px; }
  .timeline .yr { margin-top: 0; }
}
