:root {
  --bg: #0b0f17;
  --bg-2: #111827;
  --card: #151d2c;
  --line: #243049;
  --text: #e6ebf5;
  --muted: #9aa6bd;
  --accent: #f5b544;
  --accent-2: #6cc4ff;
  --radius: 14px;
  --max: 1080px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(11, 15, 23, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px;
  letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
nav.main { display: flex; gap: 26px; }
nav.main a { color: var(--muted); font-size: 15px; }
nav.main a:hover, nav.main a.active { color: var(--text); text-decoration: none; }

/* hero */
.hero { padding: 96px 0 80px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(108, 196, 255, 0.16), transparent 60%),
  radial-gradient(700px 360px at 0% 10%, rgba(245, 181, 68, 0.12), transparent 60%); }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.08; margin: 14px 0 20px; letter-spacing: -0.02em; }
h1 .hl { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 20px; max-width: 720px; margin: 0 0 32px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); color: var(--text); }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1a1205; }
.btn.primary:hover { filter: brightness(1.08); }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--bg-2); }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 14px; letter-spacing: -0.01em; }
.sub { color: var(--muted); max-width: 760px; margin: 0 0 36px; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 6px 0 10px; font-size: 19px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card ul { color: var(--muted); margin: 10px 0 0; padding-left: 20px; font-size: 16px; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(245, 181, 68, 0.12); color: var(--accent); font-weight: 700; }

/* pipeline */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.flow .card { position: relative; }
.flow .card::before { counter-increment: step; content: "0" counter(step); color: var(--accent-2);
  font-weight: 700; font-size: 14px; letter-spacing: 0.1em; }

/* example */
pre.example { background: #0a0e15; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  overflow-x: auto; font-size: 14px; line-height: 1.55; color: #cfd8ea; margin: 0; }
pre.example .k { color: var(--accent-2); }
pre.example .s { color: #a5e3a5; }

/* jobs */
.job { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.job h3 { margin: 0 0 6px; }
.meta { color: var(--muted); font-size: 15px; display: flex; gap: 16px; flex-wrap: wrap; }
.meta span::before { content: "•"; margin-right: 8px; color: var(--line); }
.meta span:first-child::before { content: none; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(108, 196, 255, 0.1);
  color: var(--accent-2); border: 1px solid rgba(108, 196, 255, 0.25); }

article.posting { max-width: 780px; padding: 64px 0 80px; }
article.posting h1 { font-size: clamp(32px, 4.4vw, 46px); }
article.posting h2 { font-size: 22px; margin-top: 40px; }
article.posting ul { padding-left: 22px; color: var(--text); }
article.posting li { margin: 6px 0; }
article.posting p { color: var(--text); }
.back { font-size: 15px; color: var(--muted); }
.note { color: var(--muted); font-size: 15px; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 860px) {
  .grid.three, .grid.two, .flow { grid-template-columns: 1fr; }
  nav.main { gap: 16px; }
  .job { flex-direction: column; align-items: flex-start; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 520px) {
  nav.main a.hide-sm { display: none; }
}

/* ===== v2: event sky, products, product pages ===== */
body { background:
  radial-gradient(1200px 600px at 80% -200px, rgba(108,196,255,.10), transparent 60%),
  radial-gradient(900px 500px at -10% 0%, rgba(245,181,68,.07), transparent 60%), var(--bg); }
.hero.sky-hero { padding: 72px 0 72px; background: none; }
.hero-head { max-width: 860px; }
.hero-head h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }

.sky-stage { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; margin-top: 40px; }
.sky-canvas-wrap { position: relative; height: 560px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 40%, #121b2e 0%, #070a12 75%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 0 80px rgba(108,196,255,.05); }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sky-legend { position: absolute; left: 14px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted);
  background: rgba(7,10,18,.7); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); backdrop-filter: blur(6px); }
.sky-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.lg.mol { background: transparent; border: 1.5px solid var(--accent-2); }
.lg.star { background: #eaf6ff; box-shadow: 0 0 8px var(--accent-2); }
.lg.merge { background: transparent; border: 1.5px solid var(--accent); }
.lg.sig { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sky-note { position: absolute; right: 14px; top: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6b7891; }

.sky-panel { display: flex; flex-direction: column; gap: 10px; height: 560px; overflow: hidden; }
.pstep { background: linear-gradient(180deg, rgba(21,29,44,.9), rgba(17,24,39,.9)); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; opacity: .38; transition: opacity .5s, border-color .5s, box-shadow .5s; }
.pstep.on { opacity: 1; border-color: rgba(108,196,255,.35); }
.pstep[data-step="signal"].on, .pstep[data-step="actions"].on { border-color: rgba(245,181,68,.5); box-shadow: 0 0 30px -10px rgba(245,181,68,.45); }
.pstep h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.pstep.on h4 { color: var(--text); }
.pstep .n { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; background: rgba(108,196,255,.15); color: var(--accent-2); letter-spacing: 0; }
.pstep p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.5; min-height: 1.5em; }
.pstep[data-step="articles"] { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.sp-articles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sp-articles li { animation: rise .5s ease both; }
.sp-articles .t { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.chip { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: rgba(108,196,255,.1); color: var(--accent-2); border: 1px solid rgba(108,196,255,.25); }
.chip.merged { background: rgba(245,181,68,.1); color: var(--accent); border-color: rgba(245,181,68,.35); }
.meter { height: 6px; border-radius: 999px; background: #0b1220; margin-top: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width 1.4s ease; }
.sp-actions { margin: 0; padding-left: 18px; font-size: 13.5px; }
.sp-actions li { animation: rise .45s ease both; margin: 2px 0; }
.sp-actions li:nth-child(2) { animation-delay: .25s; } .sp-actions li:nth-child(3) { animation-delay: .5s; }
.dots::after { content: ''; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: stg; }
.stage { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s, border-color .25s; }
.stage:hover { transform: translateY(-3px); border-color: rgba(108,196,255,.4); }
.stage::after { counter-increment: stg; content: "0" counter(stg); position: absolute; right: 18px; top: 16px; font-size: 13px; font-weight: 700; color: #3a4762; }
.stage h3 { margin: 14px 0 8px; font-size: 18px; }
.stage p { margin: 0; color: var(--muted); font-size: 15px; }
.st-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(108,196,255,.08); border: 1px solid rgba(108,196,255,.2); }
.st-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--accent-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-ico svg circle { fill: rgba(108,196,255,.18); }
.st-ico svg .ring { fill: none; stroke-dasharray: 3 3; }
.st-ico.gold { background: rgba(245,181,68,.1); border-color: rgba(245,181,68,.3); }
.st-ico.gold svg { stroke: var(--accent); } .st-ico.gold svg circle { fill: rgba(245,181,68,.3); }

.products .product { display: block; color: var(--text); padding: 34px; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(500px 220px at 100% 0%, rgba(108,196,255,.14), transparent 70%), var(--card); transition: transform .25s, border-color .25s; }
.products .product.biz { background: radial-gradient(500px 220px at 100% 0%, rgba(245,181,68,.13), transparent 70%), var(--card); }
.products .product:hover { text-decoration: none; transform: translateY(-4px); border-color: rgba(108,196,255,.45); }
.products .product h3 { font-size: 24px; margin: 10px 0 12px; line-height: 1.25; }
.products .product p { color: var(--muted); margin: 0 0 18px; }
.p-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.biz .p-tag { color: var(--accent); }
.more { font-weight: 600; color: var(--text); }
.join { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

footer.site .f-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
footer.site .f-brand span { color: var(--muted); font-weight: 400; margin-left: 6px; }
footer.site .f-links { display: flex; gap: 22px; }

/* product pages */
.p-hero { padding: 80px 0 40px; }
.p-hero .split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.p-hero h1 { font-weight: 800; }
.mock { position: relative; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #121a2b, #0c121e);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; font-size: 14px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3550; display: inline-block; }
.mock-bar b { margin-left: 10px; font-weight: 600; color: var(--text); }
.mock-bar .il { margin-left: auto; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #6b7891; }
.mock-body { padding: 14px; }
.wl { width: 100%; border-collapse: collapse; }
.wl th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b7891; padding: 6px 8px; }
.wl td { padding: 10px 8px; border-top: 1px solid rgba(36,48,73,.7); vertical-align: middle; }
.tk { font-weight: 700; } .tk small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; }
.up { color: #5fd38d; } .down { color: #ff7a7a; }
.band { position: relative; height: 8px; width: 110px; border-radius: 999px; background: #1a2338; }
.band span { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(108,196,255,.4), var(--accent-2)); }
.band.hot span { background: linear-gradient(90deg, rgba(245,181,68,.4), var(--accent)); }
.badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(245,181,68,.12); color: var(--accent); border: 1px solid rgba(245,181,68,.35); }
.badge.b { background: rgba(108,196,255,.1); color: var(--accent-2); border-color: rgba(108,196,255,.3); }
.feed { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.feed .it { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: start; font-size: 13px; }
.feed .tm { color: #6b7891; font-variant-numeric: tabular-nums; }
.feed .it b { color: var(--text); }
.feed .it p { margin: 2px 0 0; color: var(--muted); }
.spark { width: 70px; height: 22px; }
.spark path { fill: none; stroke-width: 1.8; }

.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat .card { transition: transform .25s, border-color .25s; }
.feat .card:hover { transform: translateY(-3px); border-color: rgba(108,196,255,.4); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 .card b { display: block; font-size: 34px; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.disclaimer { font-size: 13px; color: #6b7891; max-width: 820px; }
.soon { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(245,181,68,.4); color: var(--accent); font-weight: 600; font-size: 14px; background: rgba(245,181,68,.06); }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.tl { position: relative; margin: 4px 0 0; padding-left: 18px; }
.tl::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent-2), var(--accent)); opacity: .5; }
.tl .e { position: relative; padding: 6px 0 8px 10px; }
.tl .e::before { content: ''; position: absolute; left: -17px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: #0c121e; border: 2px solid var(--accent-2); }
.tl .e.hot::before { border-color: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tl .d { font-size: 11.5px; color: #6b7891; } .tl .x { font-weight: 600; font-size: 13.5px; } .tl .s { font-size: 12px; color: var(--muted); }
.risk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.risk div { background: #0f1626; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 11.5px; color: var(--muted); }
.risk b { display: block; font-size: 16px; color: var(--text); }
.risk .hi b { color: var(--accent); }
.deliver { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.code2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }

@media (max-width: 960px) {
  .sky-stage { grid-template-columns: 1fr; }
  .sky-canvas-wrap { height: 440px; }
  .sky-panel { height: auto; }
  .pstep[data-step="articles"] { max-height: 230px; }
  .p-hero .split, .code2 { grid-template-columns: 1fr; }
  .stages, .feat, .steps3 { grid-template-columns: 1fr 1fr; }
  .deliver { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .stages, .feat, .steps3, .deliver { grid-template-columns: 1fr; }
  .sky-canvas-wrap { height: 380px; }
  .sky-legend { font-size: 11px; gap: 4px 10px; right: 10px; border-radius: 12px; }
  .wl .hide-xs { display: none; }
  .hero.sky-hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 420px) { nav.main { gap: 12px; } nav.main a { font-size: 14px; } .brand { font-size: 18px; } }
