:root {
  --bg: #060b1a;
  --bg2: #0b1430;
  --fg: #e8eefc;
  --muted: #93a3c7;
  --blue: #1d5bd8;
  --sky: #7aa2f7;
  --cyan: #5ee0ff;
  --line: rgba(122, 162, 247, .18);
  --card: rgba(16, 28, 64, .55);
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 75% -10%, #13306f 0%, transparent 60%), var(--bg);
  color: var(--fg);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#grid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 750; margin-bottom: 1.6rem; }
h3 { font-size: 1.1rem; font-weight: 650; margin-bottom: .4rem; }
p { margin: 0; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(90deg, var(--sky), var(--cyan) 50%, var(--sky));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 11, 26, .6); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.2rem; font-weight: 650; }
.brand b { color: var(--sky); font-weight: 650; }
.brand img { border-radius: 8px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .2s; }
.links a:hover { color: var(--fg); }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--blue), #3d7cf5);
  box-shadow: 0 0 0 1px rgba(122,162,247,.4), 0 8px 30px rgba(29,91,216,.45);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(122,162,247,.7), 0 12px 40px rgba(29,91,216,.65); }
.btn-sm { padding: 8px 16px; font-size: .9rem; display: inline-flex; align-items: center; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-ghost { background: transparent; box-shadow: 0 0 0 1px var(--line); }

/* layout */
main > section { max-width: 1160px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 48px); }
.eyebrow { color: var(--sky); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 650; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(94,224,255,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(94,224,255,0); } 100% { box-shadow: 0 0 0 0 rgba(94,224,255,0); } }

/* hero */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; min-height: calc(100vh - 70px); padding-top: 48px !important; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); margin: 1.6rem 0 2rem; max-width: 34em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* headline in/out icons */
.nw { white-space: nowrap; }
.io {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: .78em; height: .78em; margin-left: .22em; border-radius: .2em; position: relative; top: -.04em;
  border: 2px solid rgba(122,162,247,.45); background: rgba(29,91,216,.18);
  box-shadow: 0 0 24px rgba(29,91,216,.45), inset 0 0 14px rgba(94,224,255,.12);
}
.io svg { width: 62%; height: 62%; overflow: visible; }
.io-in { color: var(--sky); }
.io-out { color: var(--cyan); border-color: rgba(94,224,255,.5); box-shadow: 0 0 28px rgba(94,224,255,.35), inset 0 0 14px rgba(94,224,255,.15); }
.io .tray { opacity: .9; }
.io-in .arrow { animation: slide-in 2.8s cubic-bezier(.5,0,.2,1) infinite; }
.io-out .arrow { animation: slide-out 2.8s 1.4s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes slide-in { 0% { transform: translateX(-9px); opacity: 0; } 25%, 70% { transform: none; opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes slide-out { 0%, 30% { transform: none; opacity: 1; } 75% { transform: translateX(8px); opacity: 0; } 100% { transform: none; opacity: 0; } }

/* plan illustration */
.plan { margin: 0; position: relative; }
.plan svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(29,91,216,.35)); }
.plan figcaption { color: var(--muted); font-size: .8rem; margin-top: .6rem; text-align: center; }
.sheet { fill: rgba(11, 22, 52, .85); stroke: var(--line); }
.ln { fill: none; stroke: var(--sky); stroke-width: 2.4; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s ease forwards; }
.ln.thin { stroke-width: 1.3; stroke-opacity: .7; animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fill { fill: url(#hatch); opacity: 0; animation: fadein 1s 2.6s forwards; }
.dim { fill: none; stroke: var(--cyan); stroke-width: 1.2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s 2.2s ease forwards; }
.beam { animation: scan 4.5s 1s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(660px); } }
.tag { opacity: 0; transform-box: fill-box; transform-origin: left center; animation: pop .6s cubic-bezier(.2,1.4,.4,1) forwards; }
.tag rect { fill: rgba(6, 11, 26, .92); stroke: var(--cyan); stroke-opacity: .7; }
.tag text { fill: var(--fg); font: 600 12px ui-sans-serif, system-ui, sans-serif; }
.tag .src { fill: var(--cyan); font-weight: 500; font-size: 10.5px; }
.t1 { animation-delay: 3.2s; } .t2 { animation-delay: 3.8s; } .t3 { animation-delay: 4.4s; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes fadein { to { opacity: 1; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .3s, border-color .3s;
}
.card p { color: var(--muted); }
.card:hover { transform: translateY(-4px); border-color: rgba(122,162,247,.5); }
.card .num { display: block; font: 700 .85rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--cyan); margin-bottom: .8rem; }
.glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(94,224,255,.7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s;
}
.glow:hover::before { opacity: 1; }
.band h2 { text-align: center; }

/* pipeline */
.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.pipeline::before { content: ""; position: absolute; top: 9px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s ease; }
.pipeline.in::before { transform: scaleX(1); }
.pipeline li { text-align: center; padding-top: 34px; position: relative; }
.pipeline p { color: var(--muted); font-size: .92rem; }
.dot { position: absolute; top: 0; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--sky); box-shadow: 0 0 18px rgba(122,162,247,.6); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 550; transition: all .25s; }
.chips span:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 22px rgba(94,224,255,.25); }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.step p { color: var(--muted); }
.step h3 { color: var(--muted); }
.step.done { border-color: rgba(94,224,255,.5); box-shadow: inset 0 0 40px rgba(94,224,255,.08); }
.step.done h3 { color: var(--cyan); }

/* contact */
.contact { text-align: center; }
.contact p { color: var(--muted); font-size: 1.15rem; margin: -.6rem 0 2rem; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; max-width: 1160px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 48px) 40px; border-top: 1px solid var(--line); font-size: .9rem; }


/* header menus (native <details>) */
.nav { flex-wrap: nowrap; }
.brand { white-space: nowrap; flex-shrink: 0; }
.menu { position: relative; flex-shrink: 0; }
.menu summary { list-style: none; cursor: pointer; white-space: nowrap; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.lang summary {
  display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font: 650 .8rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .06em;
  transition: color .2s, border-color .2s;
}
.lang summary:hover, .lang[open] summary { color: var(--fg); border-color: rgba(122,162,247,.6); }
.globe { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.caret { display: inline-block; font-size: .75em; margin-left: 2px; transition: transform .2s; }
.touch[open] .caret { transform: rotate(180deg); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 190px; padding: 6px; z-index: 20;
  display: flex; flex-direction: column; gap: 2px; border-radius: 14px;
  background: rgba(11, 20, 48, .97); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 30px rgba(29,91,216,.25);
  animation: menu-in .18s ease-out;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.menu-panel a, .menu-panel button {
  display: block; text-align: left; text-decoration: none; color: var(--fg); background: transparent; border: 0;
  font: 550 .95rem ui-sans-serif, system-ui, sans-serif; padding: 10px 12px; border-radius: 9px; cursor: pointer; white-space: nowrap;
}
.menu-panel a:hover, .menu-panel button:hover, .menu-panel a:focus-visible, .menu-panel button:focus-visible { background: rgba(29,91,216,.35); outline: none; }
.menu-panel button[aria-pressed="true"] { color: var(--cyan); }
.menu-panel button[aria-pressed="true"]::after { content: " ✓"; }
.contact-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.mail-note { margin-top: 1.4rem !important; font-size: .95rem !important; }

/* world map */
.map-wrap { position: relative; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 35% 50%, rgba(29,91,216,.22), transparent 70%), rgba(8, 16, 40, .6);
  padding: clamp(8px, 2vw, 24px); overflow: hidden; }
.world { width: 100%; height: auto; display: block; }
.world .land { fill: none; stroke: #4f7fe0; stroke-width: 3.4; stroke-linecap: round; opacity: .55; }
.world .arc { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; filter: drop-shadow(0 0 4px rgba(94,224,255,.8)); }
.reach.in .world .arc { animation: arc-draw 2.4s cubic-bezier(.6,.05,.3,1) forwards, arc-glow 3s 2.6s ease-in-out infinite alternate; }
.world .a1 { animation-delay: .3s, 2.9s !important; } .world .a2 { animation-delay: .6s, 3.2s !important; }
.world .a3 { animation-delay: .9s, 3.5s !important; } .world .a4 { animation-delay: 1.2s, 3.8s !important; }
.world .a5 { animation-delay: 1.5s, 4.1s !important; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes arc-glow { from { opacity: .95; } to { opacity: .45; } }
.world .node { transform-box: fill-box; transform-origin: center; }
.world .home { fill: var(--sky); filter: drop-shadow(0 0 6px rgba(122,162,247,.9)); }
.world .far { fill: var(--cyan); filter: drop-shadow(0 0 8px rgba(94,224,255,1)); animation: node-pulse 2.2s ease-in-out infinite; }
@keyframes node-pulse { 50% { transform: scale(1.6); opacity: .6; } }
.world .map-label { fill: var(--fg); font: 700 15px ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  paint-order: stroke; stroke: rgba(6,11,26,.85); stroke-width: 4px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .cards, .timeline { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .pipeline::before { display: none; }
  .links { display: none; }
  .lang { margin-left: auto; }
  .nav { gap: 10px; }
  .world .map-label { font-size: 22px; }
}
@media (max-width: 420px) {
  .pipeline { grid-template-columns: 1fr; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .nav .btn-sm { padding: 8px 13px; font-size: .85rem; }
  .lang summary { padding: 7px 9px; }
}
@media (max-width: 350px) { .lang .code { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .beam { display: none; }
  .reveal { opacity: 1; transform: none; }
}
