:root {
  color-scheme: dark;
  --bg: #11111a;
  --bg-soft: #171722;
  --text: #f5f3fa;
  --muted: #a7a5b4;
  --lime: #c6f36b;
  --purple: #a98dff;
  --line: rgba(255, 255, 255, 0.1);
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.2%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #c4c1ce;
  font-size: 13px;
}

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

.site-nav a:hover,
.release-link:hover {
  color: var(--lime);
}

.site-nav .nav-download {
  padding: 11px 17px;
  border: 1px solid rgba(198, 243, 107, 0.45);
  border-radius: 999px;
  color: var(--lime);
}

.nav-download span {
  margin-left: 5px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 740px;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  padding: 112px 10% 100px;
  background:
    radial-gradient(ellipse at 75% 48%, rgba(86, 64, 144, 0.19), transparent 40%),
    linear-gradient(115deg, #11111a 28%, #15141f 100%);
}

.hero-glow {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(129, 99, 214, 0.08);
  filter: blur(85px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-top: 15px;
}

.eyebrow,
.section-label,
.feature-number {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #c5c1d2;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 13px rgba(198, 243, 107, 0.65);
}

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

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 69px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.34;
}

.accent-text {
  color: var(--lime);
}

.hero-description {
  margin-bottom: 31px;
  color: #b7b4c3;
  font-size: 15px;
  line-height: 2.05;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  min-height: 56px;
  gap: 28px;
  padding: 0 22px 0 25px;
  border-radius: 9px;
  background: var(--lime);
  color: #191c12;
  box-shadow: 0 8px 28px rgba(198, 243, 107, 0.16);
}

.button-primary:hover {
  background: #d3ff7b;
}

.button-arrow {
  font-size: 19px;
}

.hero-note {
  margin: 14px 0 0 3px;
  color: #858292;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
}

.app-tile {
  position: relative;
  z-index: 1;
  width: min(320px, 70%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 27%;
  background: #292443;
  box-shadow: 0 28px 90px rgba(5, 5, 12, 0.56), 0 0 75px rgba(158, 125, 255, 0.17);
  transform: rotate(7deg);
}

.app-tile img {
  display: block;
  width: 100%;
  height: 100%;
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(201, 188, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-23deg);
}

.orbit-one {
  width: 470px;
  height: 210px;
}

.orbit-two {
  width: 390px;
  height: 520px;
  border-color: rgba(198, 243, 107, 0.12);
  transform: rotate(48deg);
}

.spark {
  position: absolute;
  z-index: 2;
  color: var(--lime);
}

.spark-one {
  top: 15%;
  right: 18%;
  font-size: 32px;
}

.spark-two {
  bottom: 17%;
  left: 12%;
  color: var(--purple);
  font-size: 26px;
}

.floating-tag {
  position: absolute;
  z-index: 2;
  top: 26%;
  right: 1%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(30, 29, 42, 0.88);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.floating-wave {
  position: absolute;
  z-index: 2;
  bottom: 19%;
  right: 3%;
  display: flex;
  height: 48px;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(30, 29, 42, 0.9);
}

.floating-wave span {
  width: 3px;
  height: 12px;
  border-radius: 4px;
  background: var(--lime);
}

.floating-wave span:nth-child(2),
.floating-wave span:nth-child(6) {
  height: 22px;
}

.floating-wave span:nth-child(3),
.floating-wave span:nth-child(5) {
  height: 31px;
}

.floating-wave span:nth-child(4) {
  height: 17px;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #777583;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.scroll-cue span {
  width: 24px;
  height: 1px;
  background: var(--lime);
}

.section-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-right: 36px;
  padding-left: 36px;
}

.intro {
  padding-top: 116px;
  padding-bottom: 125px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #9794a5;
}

.section-label span {
  color: var(--lime);
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: start;
  margin-top: 32px;
}

.intro-content h2,
.features-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.5vw, 43px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.55;
}

.intro-content > div {
  padding-top: 12px;
  color: #aaa7b5;
  font-size: 14px;
  line-height: 2.1;
}

.intro-content > div p + p {
  margin-top: 13px;
}

.intro-content strong {
  color: var(--text);
  font-weight: 600;
}

.features {
  padding-top: 29px;
  padding-bottom: 132px;
}

.features-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 25px 0 39px;
}

.features-heading h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}

.features-heading > p {
  margin-bottom: 9px;
  color: #9996a5;
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.feature-card {
  min-height: 245px;
  padding: 25px 25px 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.feature-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid rgba(198, 243, 107, 0.24);
  border-radius: 12px;
  background: rgba(198, 243, 107, 0.07);
  color: var(--lime);
  font-size: 22px;
}

.icon-heart {
  border-color: rgba(169, 141, 255, 0.28);
  background: rgba(169, 141, 255, 0.08);
  color: #b6a0ff;
}

.icon-devices {
  border-color: rgba(114, 198, 255, 0.24);
  background: rgba(114, 198, 255, 0.07);
  color: #84d0ff;
}

.feature-number {
  margin-bottom: 8px;
  color: #858292;
  font-size: 9px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.feature-card > p:last-child {
  margin-bottom: 0;
  color: #9996a5;
  font-size: 12px;
  line-height: 1.9;
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 92px 24px 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse at 50% 110%, rgba(110, 82, 185, 0.2), transparent 56%),
    #171620;
  text-align: center;
}

.download-glow {
  position: absolute;
  top: -300px;
  left: calc(50% - 300px);
  width: 600px;
  height: 500px;
  border-radius: 50%;
  background: rgba(134, 101, 225, 0.1);
  filter: blur(90px);
  pointer-events: none;
}

.download-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.download-section .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
}

.download-section h2 {
  margin-bottom: 15px;
  font-size: clamp(33px, 4.5vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1.4;
}

.download-description {
  margin-bottom: 30px;
  color: #aaa7b5;
  font-size: 13px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.button-download {
  width: 248px;
  min-height: 71px;
  gap: 13px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: #22212d;
  text-align: left;
}

.button-download:hover {
  border-color: rgba(198, 243, 107, 0.62);
  background: #292735;
}

.os-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: #d4d0e0;
  font-size: 27px;
}

.apple-icon {
  font-size: 25px;
}

.download-button-copy {
  display: grid;
  gap: 4px;
  flex: 1;
}

.download-button-copy strong {
  font-size: 13px;
}

.download-button-copy small {
  color: #9693a2;
  font-size: 10px;
  font-weight: 400;
}

.download-arrow {
  color: var(--lime);
  font-size: 19px;
}

.release-link {
  display: inline-block;
  margin-top: 24px;
  color: #a9a6b4;
  font-size: 11px;
}

.release-link span {
  margin-left: 4px;
}

.mobile-break {
  display: none;
}

.site-footer {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.2%;
  color: #8c8998;
}

.footer-brand {
  color: var(--text);
  font-size: 15px;
}

.footer-brand img {
  border-radius: 9px;
}

.site-footer > p,
.copyright {
  margin: 0;
  font-size: 11px;
}

.footer-terms {
  color: #a9a6b4;
  font-size: 11px;
}

.footer-terms:hover {
  color: var(--lime);
}

.terms-consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #dedbe7;
  font-size: 13px;
  cursor: pointer;
}

.terms-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--lime);
  cursor: pointer;
}

.terms-consent a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-status {
  min-height: 18px;
  margin-bottom: 18px;
  color: #aaa7b5;
  font-size: 11px;
}

.button-download {
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
}

.button-download:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: #1b1a24;
  color: #777583;
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button-download:disabled .os-icon,
.button-download:disabled .download-arrow {
  color: #777583;
}

.button-download:focus-visible,
.terms-consent input:focus-visible,
.terms-consent a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.terms-page {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(86, 64, 144, 0.13), transparent 38%),
    var(--bg);
}

.terms-main {
  max-width: 900px;
  min-height: calc(100vh - 98px);
  margin: 0 auto;
  padding: 132px 36px 80px;
}

.terms-main h1 {
  margin: 25px 0 15px;
  font-size: clamp(29px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.5;
}

.terms-lead,
.terms-revised,
.terms-contents {
  color: #b7b4c3;
  font-size: 13px;
  line-height: 2;
}

.terms-lead {
  margin-bottom: 14px;
}

.terms-revised {
  margin-bottom: 39px;
  color: #92909e;
  font-size: 11px;
}

.terms-contents section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.terms-contents h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}

.terms-contents p {
  margin-bottom: 0;
}

.terms-contents ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.7em;
}

.terms-contents ol + p {
  margin-top: 12px;
}

.terms-contents a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-back {
  margin-top: 24px;
}

.terms-disclaimer {
  margin: 20px 0 0;
  color: #92909e;
  font-size: 11px;
  line-height: 1.9;
}

@media (max-width: 800px) {
  .site-header {
    height: 76px;
    padding: 0 5%;
  }

  .site-nav {
    gap: 18px;
    font-size: 12px;
  }

  .hero {
    min-height: 650px;
    grid-template-columns: 1.1fr 0.9fr;
    padding: 100px 6% 80px;
  }

  .hero-art {
    min-height: 350px;
  }

  .orbit-one {
    width: 340px;
    height: 170px;
  }

  .orbit-two {
    width: 290px;
    height: 400px;
  }

  .app-tile {
    width: min(260px, 74%);
  }

  .floating-tag {
    right: -3%;
  }

  .scroll-cue {
    left: 6%;
  }

  .intro-content {
    gap: 40px;
  }

  .feature-card {
    padding: 21px 19px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    height: 68px;
    padding: 0 20px;
  }

  .brand {
    gap: 8px;
    font-size: 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav > a:not(.nav-download) {
    display: none;
  }

  .site-nav .nav-download {
    padding: 9px 13px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 120px 24px 70px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 9px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.9;
  }

  .desktop-break {
    display: none;
  }

  .hero-art {
    min-height: 340px;
    margin: 5px 0 0;
  }

  .app-tile {
    width: min(240px, 62vw);
  }

  .orbit-one {
    width: 310px;
    height: 150px;
  }

  .orbit-two {
    width: 260px;
    height: 360px;
  }

  .floating-tag {
    top: 24%;
    right: 2%;
  }

  .floating-wave {
    right: 4%;
    bottom: 13%;
  }

  .scroll-cue {
    display: none;
  }

  .section-wrap {
    padding-right: 24px;
    padding-left: 24px;
  }

  .intro {
    padding-top: 76px;
    padding-bottom: 81px;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .intro-content h2,
  .features-heading h2 {
    font-size: 31px;
  }

  .intro-content > div {
    padding-top: 0;
    font-size: 13px;
  }

  .features {
    padding-top: 5px;
    padding-bottom: 85px;
  }

  .features-heading {
    display: block;
    margin: 21px 0 25px;
  }

  .features-heading > p {
    margin: 9px 0 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .feature-card {
    min-height: auto;
    padding: 20px;
  }

  .feature-icon {
    margin-bottom: 17px;
  }

  .download-section {
    padding: 73px 24px 75px;
  }

  .download-section h2 {
    font-size: 36px;
  }

  .mobile-break {
    display: initial;
  }

  .download-description {
    font-size: 12px;
    line-height: 1.8;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .button-download {
    width: min(100%, 340px);
  }

  .site-footer {
    min-height: 120px;
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 22px 24px;
  }

  .site-footer > p {
    display: none;
  }

  .copyright {
    font-size: 10px;
  }

  .terms-main {
    min-height: calc(100vh - 120px);
    padding: 108px 24px 60px;
  }

  .terms-main h1 {
    font-size: 29px;
  }

  .terms-contents section {
    padding: 20px 0;
  }

  .terms-contents h2 {
    font-size: 15px;
  }

  .terms-lead,
  .terms-contents {
    font-size: 12px;
  }

  .terms-back {
    width: 100%;
    padding: 0 15px;
    font-size: 12px;
  }

  .footer-terms {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
