:root {
  color-scheme: dark;
  --ink: #080b1c;
  --ink-soft: #111631;
  --paper: #f7f8ff;
  --muted: #aeb7d8;
  --line: rgba(178, 207, 255, 0.2);
  --blue: #3dc7ff;
  --violet: #9b6cff;
  --pink: #ff72dc;
  --content: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-nene main { padding-top: var(--site-header-height); }
.nene-chapters { position: sticky; top: var(--site-header-height); z-index: 50; display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); padding: 14px 20px; background: #080b1cef; border-bottom: 1px solid #ffffff24; font-size: .75rem; white-space: nowrap; }
.site-nene main [id] { scroll-margin-top: calc(var(--site-header-height) + 80px); }
.nene-guide-link { display: inline-block; margin-top: 20px; text-decoration: underline; text-underline-offset: 5px; }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

main [id] { scroll-margin-top: 88px; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(61, 199, 255, .11), transparent 31rem),
    radial-gradient(circle at 12% 34%, rgba(155, 108, 255, .1), transparent 28rem),
    var(--ink);
  color: var(--paper);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.nene-skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: #fff;
  color: #080b1c;
  transform: translateY(-160%);
}
.nene-skip:focus { transform: none; }

.nene-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 28, .82);
  backdrop-filter: blur(18px);
}

.nene-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nene-brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(61,199,255,.6);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.nene-brand strong { font-size: .9rem; letter-spacing: .06em; }

.nene-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 42px);
}
.nene-header nav a,
.nene-header__cta {
  color: rgba(247,248,255,.72);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-decoration: none;
}
.nene-header nav a:hover,
.nene-header nav a:focus-visible { color: #fff; }
.nene-header__cta {
  padding: 10px 13px;
  border: 1px solid rgba(61,199,255,.42);
  color: #fff;
}

.nene-hero {
  position: relative;
  display: grid;
  width: var(--content);
  min-height: calc(100svh - 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
  margin-inline: auto;
  padding: clamp(68px, 10vw, 132px) 0;
}
.nene-hero::before {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--line) 22%, var(--line) 78%, transparent);
  content: "";
}
.nene-hero__glow {
  position: absolute;
  top: 16%;
  right: 0;
  width: 42vw;
  max-width: 600px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,199,255,.2), rgba(155,108,255,.08) 40%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.nene-hero__copy { position: relative; z-index: 2; }
.nene-kicker,
.nene-index {
  margin: 0;
  color: var(--blue);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .15em;
}
.nene-hero h1 {
  margin: 20px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.065em;
}
.nene-hero h1 span { display: block; }
.nene-hero h1 span:last-child {
  margin-left: clamp(28px, 6vw, 90px);
  background: linear-gradient(100deg, #fff 5%, var(--blue) 58%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nene-hero__lead {
  max-width: 610px;
  margin: 0;
  color: rgba(247,248,255,.72);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  line-height: 2;
}
.nene-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.nene-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(174,183,216,.38);
  background: rgba(255,255,255,.025);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.nene-button--primary {
  border-color: transparent;
  background: linear-gradient(100deg, #215de8, #6948d9 55%, #b739b7);
}
.nene-button:hover,
.nene-button:focus-visible {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.nene-button:focus-visible,
.nene-video__poster:focus-visible,
.nene-products__grid a:focus-visible,
.nene-header a:focus-visible,
.nene-footer a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.nene-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  margin: 50px 0 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}
.nene-facts li {
  display: grid;
  gap: 7px;
  padding: 16px;
  background: var(--ink);
}
.nene-facts span { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.nene-facts strong { font-size: .78rem; }

.nene-hero__visual {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(61,199,255,.35);
  background: rgba(6,10,30,.72);
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
}
.nene-hero__visual::before,
.nene-hero__visual::after {
  position: absolute;
  width: 42%;
  height: 42%;
  border-color: var(--blue);
  border-style: solid;
  content: "";
  pointer-events: none;
}
.nene-hero__visual::before { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.nene-hero__visual::after { right: -8px; bottom: -8px; border-width: 0 2px 2px 0; }
.nene-hero__visual img { display: block; width: 100%; height: auto; }
.nene-hero__visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 2px;
  font-size: .66rem;
  letter-spacing: .08em;
}
.nene-hero__visual figcaption span { color: #7cf1c1; font-weight: 900; }

.nene-section {
  width: var(--content);
  margin-inline: auto;
  padding: clamp(88px, 12vw, 170px) 0;
  border-top: 1px solid var(--line);
}
.nene-intro {
  display: grid;
  grid-template-columns: .58fr 1.42fr;
  gap: 50px;
}
.nene-intro h2,
.nene-section__head h2,
.nene-products h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5.5vw, 5.8rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}
.nene-intro div > p {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(247,248,255,.7);
  line-height: 2;
}
.nene-section__head {
  display: grid;
  grid-template-columns: .48fr 1fr .66fr;
  align-items: end;
  gap: 42px;
  margin-bottom: clamp(44px, 7vw, 80px);
}
.nene-section__head > p:last-child { margin: 0; color: rgba(247,248,255,.62); line-height: 1.8; }

.nene-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.nene-path {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.nene-path--rvc { background: linear-gradient(140deg, rgba(32,93,232,.2), rgba(183,57,183,.08) 60%, rgba(255,255,255,.02)); }
.nene-path__number {
  position: absolute;
  top: 10px;
  right: 24px;
  color: rgba(255,255,255,.04);
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 1;
}
.nene-path h3 { margin: 13px 0 18px; font-size: clamp(1.65rem, 3vw, 2.8rem); }
.nene-path > p:not(.nene-kicker) { min-height: 5.5em; margin: 0; color: rgba(247,248,255,.68); line-height: 1.8; }
.nene-path dl { margin: 34px 0; }
.nene-path dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.nene-path dt { color: var(--blue); font-size: .64rem; font-weight: 900; letter-spacing: .1em; }
.nene-path dd { margin: 0; color: rgba(247,248,255,.78); font-size: .83rem; }

.nene-video {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(61,199,255,.35);
  background: #03040c;
}
.nene-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #03040c;
  color: #fff;
  cursor: pointer;
}
.nene-video__poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,4,12,.78), rgba(3,4,12,.05) 48%, rgba(3,4,12,.28));
  content: "";
}
.nene-video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 39%;
  transform: scale(1.01);
  transition: transform 500ms cubic-bezier(.2,.8,.2,1), filter 500ms ease;
}
.nene-video__poster:hover img { transform: scale(1.035); filter: saturate(1.08); }
.nene-video__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 86px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(8,11,28,.62);
  transform: translate(-50%,-50%);
  backdrop-filter: blur(12px);
}
.nene-video__play i {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
}
.nene-video__label {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 24px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.nene-video iframe { width: 100%; height: 100%; border: 0; }

.nene-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
}
.nene-spec-grid article { padding: 30px; background: var(--ink); }
.nene-spec-grid article > span { color: var(--blue); font: 1.8rem Georgia, serif; }
.nene-spec-grid h3 { margin: 40px 0 12px; font-size: 1rem; }
.nene-spec-grid p { margin: 0; color: rgba(247,248,255,.62); font-size: .86rem; line-height: 1.85; }
.nene-package {
  display: grid;
  grid-template-columns: .7fr 1fr .8fr;
  gap: 40px;
  margin-top: 16px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(155,108,255,.35);
  background: linear-gradient(120deg, rgba(155,108,255,.12), rgba(61,199,255,.04));
}
.nene-package h3 { margin: 12px 0 0; font-size: 1.5rem; }
.nene-package ul { margin: 0; padding: 0; list-style: none; }
.nene-package li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.nene-package li span { color: var(--muted); }
.nene-package > p { margin: 0; color: rgba(247,248,255,.62); font-size: .8rem; line-height: 1.8; }

.nene-products {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: clamp(44px, 7vw, 100px);
  width: var(--content);
  margin-inline: auto;
  padding: clamp(88px, 12vw, 170px) 0;
  border-top: 1px solid var(--line);
}
.nene-products__copy > p:last-child { margin-top: 28px; color: rgba(247,248,255,.64); line-height: 1.9; }
.nene-products__copy h2 { margin-top: 18px; }
.nene-products__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.nene-products__grid a {
  display: grid;
  align-content: start;
  padding: 12px 12px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}
.nene-products__grid a:hover { border-color: var(--blue); transform: translateY(-4px); }
.nene-products__grid img { display: block; width: 100%; height: auto; }
.nene-products__grid span { margin: 18px 8px 0; color: var(--blue); font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.nene-products__grid strong { margin: 7px 8px 0; font-size: 1rem; }
.nene-products__grid small { margin: 18px 8px 0; color: rgba(247,248,255,.56); font-weight: 800; }

.nene-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 48px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}
.nene-footer > a { font-size: 1.15rem; font-weight: 900; text-decoration: none; }
.nene-footer p { margin: 0; color: var(--muted); font-size: .73rem; }
.nene-footer div { display: flex; gap: 20px; }
.nene-footer div a { color: var(--muted); font-size: .65rem; font-weight: 900; text-decoration: none; }

@supports (animation-timeline: scroll()) {
  .nene-hero__visual {
    animation: nene-drift linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 75vh;
  }
  @keyframes nene-drift { to { transform: translateY(34px); } }
}

@view-transition { navigation: auto; }

@media (max-width: 900px) {
  :root { --content: min(100% - 32px, 720px); }
  .nene-header { grid-template-columns: 1fr auto; min-height: 64px; }
  .nene-header nav { display: none; }
  .nene-hero { grid-template-columns: 1fr; min-height: auto; gap: 52px; }
  .nene-hero::before { display: none; }
  .nene-hero__visual { grid-row: 1; width: min(92%, 520px); }
  .nene-hero__copy { grid-row: 2; }
  .nene-intro,
  .nene-section__head,
  .nene-products,
  .nene-package { grid-template-columns: 1fr; }
  .nene-paths { grid-template-columns: 1fr; }
  .nene-spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nene-package { gap: 24px; }
  .nene-products__copy { max-width: 620px; }
}

@media (max-width: 560px) {
  .nene-header { padding-inline: 16px; }
  .nene-brand strong { display: none; }
  .nene-header__cta { font-size: .6rem; }
  .nene-hero { padding-top: 42px; }
  .nene-hero h1 { font-size: clamp(3.5rem, 19vw, 5.2rem); }
  .nene-hero h1 span:last-child { margin-left: 18px; }
  .nene-hero__lead { line-height: 1.85; }
  .nene-hero__actions .nene-button { flex: 1 1 100%; }
  .nene-facts { grid-template-columns: 1fr; }
  .nene-intro { gap: 24px; }
  .nene-section__head { gap: 22px; }
  .nene-path { padding: 28px 22px; }
  .nene-path > p:not(.nene-kicker) { min-height: 0; }
  .nene-path dl div { grid-template-columns: 90px 1fr; }
  .nene-video__play { width: 66px; }
  .nene-video__label { bottom: 14px; left: 14px; font-size: .58rem; }
  .nene-spec-grid { grid-template-columns: 1fr; }
  .nene-spec-grid article { padding: 24px; }
  .nene-spec-grid h3 { margin-top: 24px; }
  .nene-package li { display: grid; }
  .nene-products__grid { grid-template-columns: 1fr; }
  .nene-footer { grid-template-columns: 1fr; }
}

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