:root {
  --bg: #010d1d;
  --bg-deep: #020813;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(199, 219, 255, 0.15);
  --text: #f6f9ff;
  --muted: rgba(232, 240, 255, 0.72);
  --soft: rgba(232, 240, 255, 0.54);
  --blue: #4ca2ff;
  --blue-deep: #006feb;
  --warm: #f4c87b;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 22% 0%, rgba(76, 162, 255, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #031125 42%, var(--bg-deep) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 48px, 760px);
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
  padding: 26px 0;
  right: 0;
  left: 0;
}

.brand,
.site-nav,
.footer-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  width: 30px;
  height: 18px;
  border: 1px solid rgba(244, 200, 123, 0.68);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(76, 162, 255, 0.48), inset 0 0 12px rgba(244, 200, 123, 0.22);
}

.site-nav {
  gap: 30px;
  color: rgba(246, 249, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(1, 13, 29, 0.98) 0%, rgba(1, 13, 29, 0.88) 48%, rgba(1, 13, 29, 0.52) 100%),
    radial-gradient(circle at 78% 42%, rgba(76, 162, 255, 0.32), transparent 34%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.82;
  z-index: -3;
}

.ambient-one {
  top: 118px;
  right: max(-160px, calc((100vw - 1120px) / 2 - 90px));
  width: min(52vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 111, 235, 0.36), rgba(90, 111, 255, 0.12) 42%, transparent 68%);
}

.ambient-two {
  right: 12%;
  bottom: 110px;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(244, 200, 123, 0.18), transparent 66%);
}

.constellation {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.constellation span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.88), 0 0 34px rgba(76, 162, 255, 0.5);
  opacity: 0.52;
  animation: pulse 3.8s ease-in-out var(--d) infinite;
}

.hero-figure {
  position: absolute;
  top: 158px;
  right: max(-72px, calc((100vw - 1180px) / 2));
  z-index: -1;
  width: min(53vw, 640px);
  aspect-ratio: 1.18;
}

.ring {
  position: absolute;
  inset: 16% 6%;
  border: 1px solid rgba(125, 187, 255, 0.36);
  border-radius: 50%;
  box-shadow: 0 0 44px rgba(76, 162, 255, 0.18), inset 0 0 60px rgba(76, 162, 255, 0.1);
  transform: rotate(-18deg);
}

.ring-b {
  border-color: rgba(244, 200, 123, 0.3);
  transform: rotate(24deg) scale(0.76);
}

.memory-line {
  position: absolute;
  left: 14%;
  top: 50%;
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 200, 123, 0.78), rgba(76, 162, 255, 0.74), transparent);
  transform: rotate(-18deg);
}

.memory-line-b {
  transform: rotate(24deg);
  opacity: 0.72;
}

.memory-node {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 0 18px rgba(244, 200, 123, 0.92), 0 0 42px rgba(76, 162, 255, 0.58);
}

.node-a {
  top: 24%;
  left: 28%;
}

.node-b {
  top: 48%;
  right: 19%;
}

.node-c {
  bottom: 24%;
  left: 45%;
}

.hero-inner {
  display: grid;
  align-content: center;
  min-height: 760px;
  padding-top: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.2vw, 84px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  line-height: 1.75;
}

.hero-subcopy {
  margin-bottom: 34px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), #5d8cff 58%, rgba(244, 200, 123, 0.92));
  box-shadow: 0 18px 42px rgba(0, 111, 235, 0.28);
}

.button-light {
  color: #06142a;
  background: #f7fbff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.section {
  padding: 110px 0;
  position: relative;
}

.two-column {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-lead,
.story p,
.early-access p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
}

.intro {
  background: linear-gradient(180deg, rgba(1, 13, 29, 0), rgba(255, 255, 255, 0.025));
}

.section-heading {
  margin-bottom: 34px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.use-case-card {
  min-height: 238px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.card-index {
  display: block;
  margin-bottom: 48px;
  color: rgba(244, 200, 123, 0.8);
  font-size: 12px;
  font-weight: 900;
}

.use-case-card h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.use-case-card p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 15px;
  font-weight: 700;
}

.why {
  overflow: hidden;
}

.why::before {
  position: absolute;
  top: 8%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(244, 200, 123, 0.28), rgba(76, 162, 255, 0.32), transparent);
}

.story {
  margin-top: 30px;
}

.story p {
  margin-bottom: 26px;
}

.story p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.early-access {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 82% 50%, rgba(244, 200, 123, 0.16), transparent 30%),
    linear-gradient(90deg, #011327, #061b35);
}

.early-access::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(125, 187, 255, 0.18);
  border-radius: 999px;
  content: "";
  box-shadow: inset 0 0 80px rgba(76, 162, 255, 0.09), 0 0 90px rgba(76, 162, 255, 0.16);
}

.early-access-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 280px;
  padding: 54px 0;
}

.early-access h2 {
  margin-bottom: 12px;
}

.early-access p {
  margin-bottom: 0;
}

.site-footer {
  padding: 42px 0 22px;
  background: #020813;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1;
}

.footer-inner p,
.copyright {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 13px;
}

.footer-links {
  gap: 24px;
  color: rgba(246, 249, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.copyright {
  width: min(100% - 48px, 1120px);
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.38;
  }

  50% {
    transform: scale(1.8);
    opacity: 0.86;
  }
}

@media (max-width: 900px) {
  .site-header {
    width: min(100% - 36px, 1120px);
  }

  .site-nav {
    gap: 18px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(1, 13, 29, 0.98) 0%, rgba(1, 13, 29, 0.86) 58%, rgba(1, 13, 29, 0.72) 100%),
      radial-gradient(circle at 72% 42%, rgba(76, 162, 255, 0.3), transparent 36%);
  }

  .hero-figure {
    top: 260px;
    right: -210px;
    width: 720px;
    opacity: 0.58;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .early-access-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow,
  .copyright {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    width: min(100% - 32px, 1120px);
    padding: 20px 0;
  }

  .brand {
    font-size: 20px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 690px;
  }

  .hero-inner {
    padding-top: 54px;
  }

  .hero-figure {
    top: 288px;
    right: -260px;
    width: 640px;
    opacity: 0.44;
  }

  h1 {
    max-width: 420px;
    font-size: 46px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 74px 0;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .use-case-card {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
