:root {
  color-scheme: dark;
  --bg: #070b16;
  --bg-soft: #0d1324;
  --panel: rgba(19, 27, 48, 0.78);
  --panel-solid: #121a2e;
  --text: #f6f7fb;
  --muted: #aab3c7;
  --line: rgba(255, 255, 255, 0.11);
  --primary: #7c9cff;
  --primary-strong: #9db3ff;
  --accent: #59e1c2;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(124, 156, 255, 0.24), transparent 36%),
    radial-gradient(circle at 85% 10%, rgba(89, 225, 194, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: black;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 22, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  filter: drop-shadow(0 8px 18px rgba(124, 156, 255, 0.3));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.main-nav a.is-active {
  background: rgba(124, 156, 255, 0.14);
  color: var(--primary-strong);
}

.main-content {
  width: min(var(--max-width), calc(100% - 32px));
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 72px 0 88px;
  outline: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(124, 156, 255, 0.11), transparent 44%),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero h1,
.page-heading h1,
.product-copy h1 {
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--primary-strong);
}

.hero-copy {
  max-width: 670px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-art {
  position: relative;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(124, 156, 255, 0.23), rgba(89, 225, 194, 0.08)),
    #0c1222;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  filter: blur(5px);
}

.hero-art::before {
  top: -48px;
  right: -35px;
  background: rgba(124, 156, 255, 0.28);
}

.hero-art::after {
  bottom: -82px;
  left: -50px;
  background: rgba(89, 225, 194, 0.18);
}

.hero-mark {
  position: relative;
  z-index: 1;
  width: 145px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.34));
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: #071022;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.button-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.section {
  margin-top: 72px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-title h2,
.page-heading h1 {
  margin: 0;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}

.section-title p,
.page-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.text-link {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.product-card,
.info-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.product-card {
  padding: 18px;
}

.product-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 18px 4px 4px;
}

.product-card h3 {
  margin: 10px 0 8px;
  font-size: 1.26rem;
  letter-spacing: -0.025em;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(124, 156, 255, 0.22);
  border-radius: 999px;
  background: rgba(124, 156, 255, 0.1);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 760;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  margin-left: 8px;
  color: var(--accent);
}

.page-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.page-heading h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 38px;
  align-items: start;
}

.product-shot {
  position: sticky;
  top: 105px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-shot img {
  width: 100%;
  border-radius: 15px;
}

.product-copy h1 {
  margin-top: 14px;
  font-size: clamp(2.5rem, 6vw, 4.3rem);
}

.lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.download-box {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid rgba(89, 225, 194, 0.22);
  border-radius: var(--radius-md);
  background: rgba(89, 225, 194, 0.065);
}

.download-box h2 {
  margin: 0;
  font-size: 1.15rem;
}

.download-box p {
  margin: 8px 0 0;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.info-card {
  padding: 22px;
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
}

.info-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.empty-state {
  padding: 44px 24px;
  text-align: center;
}

.empty-state h2 {
  margin: 0;
}

.empty-state p {
  max-width: 540px;
  margin: 10px auto 0;
  color: var(--muted);
}

.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .hero,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 26px;
  }

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

  .product-shot {
    position: static;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .main-content {
    padding-top: 42px;
  }

  .hero h1,
  .product-copy h1 {
    letter-spacing: -0.045em;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
