:root {
  --ink: #07111f;
  --ink-soft: #0b1b31;
  --ink-card: #10243e;
  --cobalt: #2764ff;
  --cobalt-dark: #1647c9;
  --turquoise: #24d9c6;
  --sky: #7ea8ff;
  --white: #f8fbff;
  --paper: #f3f7fb;
  --text: #142338;
  --muted: #607087;
  --line: #d9e2ec;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(7, 17, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--cobalt);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--turquoise); }
h1, h2, h3 { font-family: "Space Grotesk", "Manrope", sans-serif; line-height: 1.05; letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(3.25rem, 7.1vw, 6.8rem); margin-bottom: 26px; max-width: 850px; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.25rem); margin-bottom: 24px; max-width: 780px; }
h3 { font-size: 1.45rem; letter-spacing: -.025em; }
p { margin-top: 0; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(7,17,31,.82);
  backdrop-filter: blur(18px);
  color: white;
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: white; }
.brand img { width: 184px; height: auto; filter: brightness(0) invert(1); }
.brand-lockup { display: flex; align-items: center; gap: 16px; }
.brand-company { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.25); color: #aebed2; font-size: .72rem; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 650; }
.nav-links a:not(.button) { color: #d6e0ec; transition: color .2s ease; }
.nav-links a:not(.button):hover { color: white; }
.menu-toggle { display: none; background: transparent; border: 0; color: white; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 24px;
  border: 1px solid transparent;
  background: var(--cobalt);
  color: white;
  font-weight: 750;
  font-size: .91rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: #3972ff; }
.button.small { min-height: 42px; padding: 0 19px; font-size: .84rem; }
.button.ghost { background: transparent; border-color: rgba(255,255,255,.32); }
.button.ghost:hover { background: rgba(255,255,255,.08); border-color: white; }
.button.light { background: white; color: var(--ink); }
.button.light:hover { background: var(--turquoise); }
.arrow { font-size: 1.15em; }

.hero {
  min-height: 900px;
  padding: 190px 0 90px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,17,31,1) 0%, rgba(7,17,31,.98) 33%, rgba(7,17,31,.54) 58%, rgba(7,17,31,.12) 100%),
    linear-gradient(0deg, rgba(7,17,31,.94) 0%, transparent 38%),
    url("assets/open-world-hero.webp") 72% center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
  opacity: .55;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 span { color: var(--turquoise); }
.hero-copy { max-width: 690px; color: #c8d5e4; font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.hero-foot { margin-top: 78px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 38px; color: #92a8bf; font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-foot strong { color: white; }
.hero-foot i { width: 4px; height: 4px; border-radius: 50%; background: var(--turquoise); }

.marquee { border-bottom: 1px solid var(--line); background: white; }
.marquee .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.marquee-item { min-height: 98px; display: flex; align-items: center; gap: 13px; padding: 20px 28px; border-right: 1px solid var(--line); font-weight: 750; }
.marquee-item:first-child { border-left: 1px solid var(--line); }
.marquee-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: var(--cobalt); background: #edf3ff; font-size: .9rem; }

.section { padding: 126px 0; }
.section-intro { display: grid; grid-template-columns: 1.1fr .7fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.section-intro p { font-size: 1.08rem; color: var(--muted); max-width: 500px; }
.solutions { background: var(--paper); }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.solution-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #b5c8e1; }
.card-no { color: var(--cobalt); font-weight: 800; font-size: .78rem; letter-spacing: .12em; }
.solution-card h3 { margin: 62px 0 16px; font-size: 1.72rem; }
.solution-card p { color: var(--muted); max-width: 480px; }
.card-line { position: absolute; left: 38px; bottom: 34px; width: 58px; height: 3px; background: linear-gradient(90deg, var(--turquoise), var(--cobalt)); }

.open-world { position: relative; overflow: hidden; color: white; background: var(--ink); }
.open-world .container { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.open-world h2 span { color: var(--turquoise); }
.open-world-copy > p { color: #b9c9da; max-width: 520px; }
.world-system { position: relative; min-height: 570px; display: grid; place-items: center; }
.world-system::before, .world-system::after { content: ""; position: absolute; border: 1px solid rgba(126,168,255,.25); border-radius: 50%; }
.world-system::before { width: 500px; height: 500px; }
.world-system::after { width: 350px; height: 350px; border-color: rgba(36,217,198,.26); }
.world-core {
  width: 190px; height: 190px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #2c74ff, #102b63 62%, #0a1d37);
  border: 1px solid rgba(255,255,255,.3); box-shadow: 0 0 90px rgba(39,100,255,.36);
}
.world-core strong { font-family: "Space Grotesk", sans-serif; font-size: 1.55rem; letter-spacing: -.03em; }
.world-node { position: absolute; z-index: 3; min-width: 115px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(16,36,62,.82); backdrop-filter: blur(10px); color: #dce8f5; font-size: .78rem; font-weight: 750; text-align: center; }
.node-1 { top: 50px; left: 42%; }
.node-2 { top: 30%; right: 0; }
.node-3 { bottom: 100px; right: 8%; }
.node-4 { bottom: 55px; left: 23%; }
.node-5 { top: 34%; left: 0; }
.world-node::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 14px var(--turquoise); }
.principles { display: grid; gap: 1px; margin-top: 38px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.principle { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 18px; background: var(--ink); }
.principle b { color: var(--turquoise); }
.principle span { color: #b9c9da; font-size: .9rem; }

.process { background: white; }
.process-head { max-width: 800px; margin-bottom: 70px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { position: relative; padding: 42px 28px 10px 0; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); }
.step-no { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.step h3 { margin: 34px 0 14px; }
.step p { color: var(--muted); font-size: .94rem; padding-right: 25px; }

.ecosystem { background: var(--paper); }
.ecosystem-grid { display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); gap: 16px; }
.eco-lead, .eco-card { border-radius: var(--radius); min-height: 315px; padding: 34px; }
.eco-lead { display: flex; flex-direction: column; justify-content: space-between; background: var(--cobalt); color: white; }
.eco-lead p { color: #dbe6ff; }
.eco-card { background: white; border: 1px solid var(--line); }
.eco-card .label { color: var(--cobalt); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eco-card h3 { margin: 85px 0 16px; }
.eco-card p { color: var(--muted); font-size: .92rem; }

.manifesto { color: white; background: linear-gradient(135deg, #07111f 0%, #0c2850 100%); }
.manifesto-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.manifesto-quote { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.3rem, 4.8vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; }
.manifesto-quote span { color: var(--turquoise); }
.manifesto-copy { padding-top: 16px; color: #c0cfdf; max-width: 500px; }

.contact { background: var(--turquoise); color: var(--ink); }
.contact-wrap { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.contact h2 { margin-bottom: 0; max-width: 780px; }
.contact .button { flex: 0 0 auto; background: var(--ink); }
.contact .button:hover { background: var(--cobalt); }

.site-footer { padding: 60px 0 35px; color: white; background: var(--ink); }
.footer-top { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-brand img { width: 190px; filter: brightness(0) invert(1); }
.footer-brand p { margin: 18px 0 0; color: #879db4; font-size: .88rem; }
.footer-links { display: flex; gap: 55px; }
.footer-links div { display: grid; gap: 8px; align-content: start; }
.footer-links strong { color: #8096ad; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
.footer-links a { color: #d5dfeb; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 28px; color: #71879e; font-size: .75rem; }

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

@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 28px 20px 34px; background: rgba(7,17,31,.98); flex-direction: column; align-items: stretch; text-align: center; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: 820px; }
  .hero::before { background: linear-gradient(90deg, rgba(7,17,31,.98) 0%, rgba(7,17,31,.9) 60%, rgba(7,17,31,.45)), linear-gradient(0deg, rgba(7,17,31,.95), transparent 50%), url("assets/open-world-hero.webp") 68% center / cover; }
  .section-intro, .open-world .container, .manifesto-wrap { grid-template-columns: 1fr; gap: 35px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 35px; }
  .ecosystem-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-company { display: none; }
  .site-header .brand img { width: 158px; }
  .nav { min-height: 72px; }
  .nav-links { top: 72px; }
  .hero { min-height: 760px; padding: 142px 0 70px; }
  .hero::before { background: linear-gradient(0deg, rgba(7,17,31,1) 0%, rgba(7,17,31,.84) 72%, rgba(7,17,31,.58)), url("assets/open-world-hero.webp") 67% center / cover; opacity: .86; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-foot { margin-top: 52px; gap: 11px 18px; font-size: .68rem; }
  .marquee .container { grid-template-columns: 1fr 1fr; width: 100%; }
  .marquee-item { min-height: 78px; padding: 14px 16px; font-size: .85rem; }
  .section { padding: 88px 0; }
  .section-intro { margin-bottom: 46px; }
  .solution-grid, .steps, .ecosystem-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 300px; padding: 28px; }
  .solution-card h3 { margin-top: 50px; }
  .open-world .container { gap: 15px; }
  .world-system { min-height: 440px; transform: scale(.85); margin: -35px -45px; }
  .world-system::before { width: 390px; height: 390px; }
  .world-system::after { width: 285px; height: 285px; }
  .world-core { width: 155px; height: 155px; }
  .world-node { min-width: 100px; padding: 10px 12px; font-size: .7rem; }
  .steps { border-top: 0; }
  .step { border-top: 1px solid var(--line); }
  .eco-lead, .eco-card { min-height: 270px; }
  .eco-card h3 { margin-top: 60px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 35px; }
}

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