@charset "UTF-8";

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --gray: #8a8a86;
  --gray-d: #4c4c48;
  --hair: rgba(250, 250, 250, .14);
  --hair-b: rgba(10, 10, 10, .16);
  --accent: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--white); color: var(--black); }

#progress {
  position: fixed; top: 0; left: 0; height: 2px;
  width: 0; background: var(--white); z-index: 99;
}

/* ── Navbar ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 10vw; transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10, 10, 10, .9); backdrop-filter: blur(10px);
  border-bottom-color: var(--hair); padding: 16px 10vw;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--white); }
.mark {
  width: 34px; height: 34px; background: var(--white); color: var(--black);
  display: grid; place-items: center;
  font-family: 'Noto Serif SC', serif; font-weight: 900; font-size: 19px;
}
.brand b { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12.5px; letter-spacing: .3em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: var(--white); text-decoration: none; font-size: 13px;
  letter-spacing: .18em; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--white); transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--white); padding: 9px 20px; font-size: 12px;
  letter-spacing: .22em; text-decoration: none; color: var(--white);
  transition: all .25s; font-family: 'Space Mono', monospace;
}
.nav-cta:hover { background: var(--white); color: var(--black); }

/* ── Hero ── */
header {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding: 0 10vw;
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.kicker {
  font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .34em;
  color: var(--gray); display: flex; align-items: center; gap: 14px; margin-bottom: 3.4vh; justify-content: center;
}
.kicker::before { content: ""; width: 44px; height: 1px; background: var(--white); }

.hero-title {
  font-family: 'Noto Serif SC', serif; font-weight: 900;
  font-size: clamp(52px, 9vw, 120px); line-height: 1.02; letter-spacing: .04em;
  display: flex; align-items: flex-start; gap: .1em; flex-wrap: wrap; justify-content: center;
}
.hero-title .char { display: inline-block; animation: assemble 1.3s cubic-bezier(.16, .84, .28, 1) both; }
.hero-title .char:nth-child(2) { animation-delay: .12s; }
.hero-title .char:nth-child(3) { animation-delay: .24s; }
.hero-title .char:nth-child(4) { animation-delay: .36s; }
@keyframes assemble {
  from { opacity: 0; transform: translateY(60px) translateX(30px); filter: blur(16px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.hero-title .ruby {
  writing-mode: vertical-rl; font-family: 'Space Mono', monospace; font-weight: 400;
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .44em; color: var(--gray);
  margin-top: .6em; animation: assemble 1.3s .5s cubic-bezier(.16, .84, .28, 1) both;
}

.hero-sub {
  margin: 3.4vh auto 0; max-width: 600px;
  font-size: clamp(14px, 1.35vw, 16.5px); line-height: 2.15; color: #b8b8b2;
  animation: rise .9s .6s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-sub em { font-style: normal; color: var(--white); font-weight: 400; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-cta { display: flex; gap: 16px; margin-top: 4.4vh; flex-wrap: wrap; justify-content: center; animation: rise .9s .75s cubic-bezier(.2, .7, .2, 1) both; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 32px;
  border: 1px solid var(--white); font-family: 'Space Mono', monospace;
  font-size: 12.5px; letter-spacing: .22em; color: var(--white); text-decoration: none;
  background: transparent; cursor: pointer; transition: all .25s; justify-content: center;
}
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: transparent; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-full { width: 100%; margin-top: 2rem; }

/* ── Ticker ── */
.ticker {
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  overflow: hidden; white-space: nowrap; padding: 14px 0; background: var(--black);
}
.ticker-track { display: inline-block; animation: tick 26s linear infinite; }
.ticker span {
  font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .42em;
  color: var(--gray); margin-right: 3.6em;
}
.ticker span i { font-style: normal; color: var(--white); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── Common Sections ── */
.sec { padding: calc(6vw + 8vh) 10vw; }
.sec-head { max-width: 1080px; margin: 0 auto 7vh; }
.sec-tag {
  font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .34em;
  color: var(--gray); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; text-transform: uppercase;
}
.sec-tag::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.sec-title { font-family: 'Noto Serif SC', serif; font-weight: 900; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.32; }
.sec-desc { margin-top: 22px; max-width: 560px; font-size: 14.5px; line-height: 2.1; color: var(--gray); }

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── Features (Capabilities) ── */
.cap-list { max-width: 1080px; margin: 0 auto; }
.cap-row {
  display: flex; align-items: baseline; gap: 4vw;
  padding: 5.5vh 0; border-bottom: 1px solid var(--hair);
}
.cap-row:first-child { border-top: 1px solid var(--hair); }
.cap-row:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.cap-word {
  font-family: 'Noto Serif SC', serif; font-weight: 900;
  font-size: clamp(42px, 6.5vw, 84px); line-height: 1; letter-spacing: .05em;
  transition: color .3s; cursor: default; white-space: nowrap;
}
.cap-row:hover .cap-word { color: var(--gray); }
.cap-idx { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--gray-d); letter-spacing: .24em; }
.cap-note { font-size: 14px; line-height: 2.15; color: #a9a9a3; max-width: 360px; transition: transform .4s; }
.cap-row:hover .cap-note { transform: translateX(8px); }
.cap-row:nth-child(even):hover .cap-note { transform: translateX(-8px); }

/* ── Stats / Pricing / Platforms Grid ── */
.stats { max-width: 1080px; margin: 0 auto; display: grid; border-top: 1px solid var(--hair); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 5vh 3vw; border-left: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; }
.stat:first-child, .stat:nth-child(4n+1) { border-left: none; padding-left: 0; }
.stat .num {
  font-family: 'Space Mono', monospace; font-weight: 700;
  font-size: clamp(36px, 4vw, 64px); line-height: 1; letter-spacing: -.02em;
}
.stat .num sub { font-size: .38em; letter-spacing: .1em; vertical-align: baseline; color: var(--gray); font-weight: 400; }
.stat .lbl { margin-top: 18px; font-size: 16px; font-weight: 500; letter-spacing: .1em; color: var(--white); }
.stat .lbl i { font-style: normal; font-family: 'Space Mono', monospace; font-size: 10.5px; display: block; margin-top: 6px; letter-spacing: .3em; color: var(--gray-d); }
.stat .desc-list { margin-top: 1rem; flex-grow: 1; list-style: none; font-size: 13px; color: var(--gray); line-height: 2; }
.stat .desc-list li::before { content: "— "; color: var(--gray-d); }
.stat.recommended { background: rgba(250,250,250,.03); border-top: 1px solid var(--white); margin-top: -1px; }

/* ── Light Section (Manifesto) ── */
.light-sec { background: var(--white); color: var(--black); }
.light-sec .sec-tag { color: #8a8a86; }
.light-sec .sec-desc { color: #5c5c58; }
.mani-body { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.mani-big { font-family: 'Noto Serif SC', serif; font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.6; }
.mani-big u { text-decoration: none; position: relative; white-space: nowrap; }
.mani-big u::after { content: ""; position: absolute; left: 0; bottom: .08em; width: 100%; height: 1px; background: var(--black); }
.mani-side { font-size: 14.5px; line-height: 2.15; color: #5c5c58; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mani-box h3 { font-family: 'Noto Serif SC', serif; font-size: 18px; margin-bottom: 0.5rem; color: var(--black); }
.mani-box p { font-size: 13.5px; color: #666; }

/* ── FAQ Accordion ── */
.faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary {
  padding: 24px 0; font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 600;
  cursor: pointer; list-style: none; position: relative; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: 'Space Mono', monospace; color: var(--gray); font-weight: 300; font-size: 24px; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content { padding-bottom: 24px; color: var(--gray); font-size: 14px; line-height: 2.1; max-width: 680px; }

/* ── Footer ── */
#cta { text-align: center; border-top: 1px solid var(--hair); }
#cta .sec-title { font-size: clamp(34px, 5.4vw, 68px); }
#cta .sec-desc { margin-left: auto; margin-right: auto; }
#cta .btn { margin-top: 5vh; }

footer {
  border-top: 1px solid var(--hair);
  padding: 34px 10vw; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; letter-spacing: .12em; color: var(--gray);
}
footer b { color: var(--white); font-weight: 400; }
footer .mono { font-family: 'Space Mono', monospace; letter-spacing: .28em; font-size: 11px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ── Mobile ── */
@media (max-width: 860px) {
  nav { padding: 18px 6vw; }
  nav.scrolled { padding: 12px 6vw; }
  header { padding: 0 6vw; }
  .sec { padding: calc(6vw + 6vh) 6vw; }
  footer { padding: 34px 6vw; }
  
  .nav-links a:not(.nav-cta) { display: none; }
  .mani-body { grid-template-columns: 1fr; gap: 4vh; }
  .mani-side { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { border-left: none; padding-left: 0; padding-right: 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .cap-row, .cap-row:nth-child(even) { flex-direction: column; align-items: flex-start; text-align: left; gap: 12px; }
}
