:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --ink: #07111f;
  --muted: #5d6b7a;
  --brand-blue: #0a58a8;
  --blue: #0016ec;
  --blue-soft: #d9e8ff;
  --line: rgba(7, 17, 31, 0.13);
  --line-strong: rgba(7, 17, 31, 0.22);
  --pad: max(5vw, 40px);
  --gap: 2vw;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--brand-blue); color: #ffffff; }

.skip-link { position: fixed; left: -999px; top: 12px; z-index: 10000; background: var(--blue); color: #ffffff; padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { left: 12px; }
.mono-label { font-family: "IBM Plex Mono", monospace; font-size: clamp(10px, 0.78vw, 13px); letter-spacing: 0.16em; text-transform: uppercase; }
.accent, .accent-dark { color: var(--brand-blue); }
.muted { color: var(--muted); }
.display { margin: 0; font-size: clamp(56px, 10vw, 180px); line-height: 0.92; letter-spacing: -0.045em; font-weight: 500; }
.display span { display: block; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--bg);
  color: var(--ink);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-top { position: absolute; top: var(--pad); left: var(--pad); right: var(--pad); display: flex; align-items: center; justify-content: space-between; }
.preloader-top img { width: clamp(90px, 10vw, 150px); }
.preloader-top .mono-label { color: var(--brand-blue); }
.preloader-count { display: flex; align-items: flex-start; font-size: clamp(90px, 17vw, 280px); line-height: 0.8; letter-spacing: -0.07em; font-weight: 500; }
.preloader-percent { font-size: 0.28em; letter-spacing: 0; margin-top: 0.2em; color: var(--brand-blue); }
.preloader-bar { width: min(640px, 80vw); height: 2px; margin-top: 46px; background: var(--line-strong); }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--blue); }
.preloader-foot { position: absolute; bottom: var(--pad); color: var(--muted); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ink); transition: color 0.3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(18px, 2vw, 30px) var(--pad); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: clamp(52px, 5.5vw, 75px); width: auto; max-height: 80px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 99px; padding: 12px 22px; font-size: clamp(12px, 0.85vw, 14px); font-weight: 600; transition: transform 0.2s, background 0.2s, color 0.2s; }
.pill:hover { transform: translateY(-2px); }
.pill span { transition: transform 0.2s; }
.pill:hover span { transform: translate(3px, -3px); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: none !important; }
.pill-blue, .pill-green { background: var(--blue); color: #ffffff; }
.pill-dark { background: var(--ink); color: #ffffff; }
.menu-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line-strong); border-radius: 99px; padding: 12px 20px; background: transparent; color: var(--ink); font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.menu-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-blue); }
.menu-toggle[aria-expanded="true"] .menu-label { font-size: 0; }
.menu-toggle[aria-expanded="true"] .menu-label::after { content: "Close"; font-size: 12px; }

.primary-nav { position: fixed; top: 0; right: 0; z-index: -1; width: min(420px, 100vw); height: 100vh; padding: 120px 30px 30px; background: var(--surface); color: var(--ink); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(105%); transition: transform 0.45s cubic-bezier(0.4,0,0.1,1); }
.primary-nav.open { transform: none; }
.primary-nav a { padding: 0.65em 0; border-bottom: 1px solid var(--line); font-size: clamp(26px, 3vw, 40px); font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; }
.primary-nav a:hover { color: var(--blue); }
.primary-nav .nav-mono { margin-top: auto; border: 0; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0; text-transform: none; }

.section { position: relative; padding: clamp(60px, 7vw, 110px) var(--pad); }
.cross { position: absolute; width: 16px; height: 16px; opacity: 0.55; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.cross::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.cross-tl { top: 105px; left: var(--pad); }
.cross-tr { top: 105px; right: var(--pad); }

.hero { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; padding-top: 145px; padding-bottom: 28px; background: radial-gradient(circle at 50% 60%, rgba(10,88,168,0.1), transparent 45%), var(--bg); }
.hero-title { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; text-align: center; }
.hero-title .mono-label { color: var(--brand-blue); }
.hero-title h1 { margin: 18px auto 0; max-width: 1050px; font-size: clamp(26px, 2.5vw, 50px); line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; }
.hero-video-wrap { position: relative; width: min(100%, 1180px); height: min(56vh, 620px); margin: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--surface-soft); box-shadow: 0 30px 80px -50px rgba(10,88,168,0.6); }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-line { position: absolute; width: 14px; height: 14px; }
.video-line::before, .video-line::after { content: ""; position: absolute; background: var(--brand-blue); }
.video-line::before { left: 50%; top: 0; width: 1px; height: 100%; }
.video-line::after { top: 50%; left: 0; height: 1px; width: 100%; }
.video-line-a { top: 18px; left: 18px; }
.video-line-b { bottom: 18px; right: 18px; }
.hero-foot { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 20px; }
.scroll-cue { display: flex; align-items: center; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cross-mini { color: var(--brand-blue); font-size: 16px; }
.hero-progress { height: 1px; background: var(--line-strong); }
.hero-progress span { display: block; width: 34%; height: 100%; background: var(--blue); }
.hero-foot .mono-label { text-align: right; }

.statement { padding-top: clamp(100px, 12vw, 180px); padding-bottom: 30px; background: var(--surface); }
.statement .display { margin-bottom: 64px; }
.statement-body { display: grid; grid-template-columns: 7fr 3fr; gap: var(--gap); align-items: end; padding-top: 28px; border-top: 1px solid var(--line); }
.statement-body p { margin: 0; max-width: 900px; font-size: clamp(17px, 1.7vw, 30px); line-height: 1.4; }
.statement-body .pill { justify-self: end; }
.ticker { margin-top: clamp(70px, 9vw, 140px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 24s linear infinite; }
.ticker-track span { padding-right: 40px; font-family: "IBM Plex Mono", monospace; font-size: clamp(14px, 1.3vw, 22px); letter-spacing: 0.18em; white-space: nowrap; color: var(--muted); }
@keyframes ticker { to { transform: translateX(-50%); } }

.featured { background: var(--bg); }
.featured-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 64px; }
.featured-head .mono-label { display: block; margin-bottom: 20px; }
.featured-head h2 { max-width: 850px; }
.featured-head > p { max-width: 360px; margin: 0 0 6px; font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 1.7; text-transform: uppercase; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: var(--gap); }
.platform-card { grid-column: span 6; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s, box-shadow 0.3s; }
.platform-card:nth-child(even) { margin-top: 4em; }
.platform-card:nth-child(3) { background: var(--blue-soft); border-color: transparent; }
.platform-card:nth-child(8) { background: var(--blue); color: #ffffff; border-color: transparent; }
.platform-card:nth-child(10) { background: #e7effa; }
.platform-card:hover { transform: translateY(-7px); box-shadow: 0 30px 60px -40px rgba(10,88,168,0.6); }
.card-media { height: 320px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.card-meta { padding: 20px 4px 6px; }
.card-meta > span { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.card-meta h3 { margin: 10px 0 8px; font-size: clamp(26px, 2.6vw, 46px); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
.card-meta em { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.12em; font-style: normal; color: var(--brand-blue); }
.card-meta em:empty { display: none; }
.featured-foot { display: flex; justify-content: center; padding-top: 56px; }

.about { background: var(--surface); padding-top: clamp(100px, 12vw, 180px); }
.about > .mono-label { display: block; margin-bottom: 24px; }
.about > .display { max-width: 1200px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; margin-top: 70px; }
.about-copy p { margin: 0 0 22px; font-size: clamp(17px, 1.5vw, 25px); line-height: 1.45; color: var(--muted); }
.about-copy p:first-child { color: var(--ink); }
.text-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue); }
.about-media-wrap { position: relative; min-height: 560px; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-soft); }
.about-media img { width: 100%; height: 520px; object-fit: cover; }
.about-media-b { position: absolute; right: -5%; bottom: 0; width: 54%; height: 300px; border: 6px solid var(--surface); box-shadow: 0 30px 70px -40px rgba(10,88,168,0.65); }
.about-media-b img { height: 100%; }
.about-frame-label { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,0.92); border: 1px solid var(--line); color: var(--brand-blue); }

.end { min-height: 82svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; background: var(--bg); color: var(--ink); overflow: hidden; }
.end-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.24; filter: saturate(1.15); }
.end > *:not(.end-video):not(.cross) { position: relative; z-index: 1; }
.end .display { max-width: 1100px; }
.end .display span:last-child { color: var(--blue); }
.roll-pill { display: inline-flex; align-items: center; gap: 20px; margin-top: 14px; padding: 10px 12px 10px 26px; border-radius: 99px; background: var(--blue); color: #ffffff; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.25s; }
.roll-pill:hover { background: var(--brand-blue); }
.roll-arrow { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #ffffff; color: var(--blue); font-size: 17px; }
.end-bottom { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 28px; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.18em; white-space: nowrap; color: var(--muted); }

.site-footer { background: var(--surface); color: var(--ink); padding: 80px var(--pad) 24px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.2fr 2fr; gap: var(--gap); padding-bottom: 60px; }
.footer-top .mono-label { display: block; margin-bottom: 18px; }
.footer-address p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.footer-links, .footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 14px; }
.footer-links a:hover, .footer-social a:hover { color: var(--blue); }
.footer-form { display: grid; gap: 10px; align-content: start; }
.footer-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-form input, .footer-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg); padding: 11px 12px; font-size: 13px; outline: none; resize: vertical; color: var(--ink); }
.footer-form input:focus, .footer-form textarea:focus { border-color: var(--blue); }
.footer-form button { justify-self: start; border: 0; border-radius: 99px; background: var(--blue); color: #ffffff; padding: 10px 20px; font-size: 13px; }
.form-note { margin: 0; min-height: 18px; font-size: 12px; color: var(--brand-blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --pad: 25px; --gap: 3vw; --radius: 12px; }
  .display { font-size: clamp(46px, 10vw, 90px); }
  .hero { padding-top: 125px; }
  .hero-title h1 { font-size: clamp(24px, 4.2vw, 38px); }
  .hero-video-wrap { height: 44vh; }
  .hero-foot { grid-template-columns: 1fr; gap: 10px; }
  .hero-foot .mono-label { text-align: left; }
  .statement-body { grid-template-columns: 1fr; gap: 24px; }
  .statement-body .pill { justify-self: start; }
  .featured-head { flex-direction: column; align-items: flex-start; }
  .card-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .platform-card { grid-column: span 3; }
  .card-media { height: 250px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-media-wrap { min-height: 460px; }
  .about-media img { height: 360px; }
  .about-media-b { width: 58%; height: 230px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .brand img { height: 58px; }
  .header-actions .pill { display: none; }
  .hero-title h1 { font-size: 6.4vw; }
  .hero-video-wrap { height: 38vh; }
  .card-grid { grid-template-columns: 1fr; }
  .platform-card { grid-column: span 1; }
  .platform-card:nth-child(even) { margin-top: 0; }
  .card-media { height: 210px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-form-row { grid-template-columns: 1fr; }
  .primary-nav { padding-top: 95px; }
  .preloader-top .mono-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
}
