:root {
  color-scheme: dark;
  --bg: #061426;
  --panel: rgba(8, 30, 58, 0.84);
  --panel-strong: rgba(9, 35, 68, 0.96);
  --line: rgba(157, 190, 225, 0.24);
  --text: #f7fbff;
  --muted: #bfd0df;
  --blue: #005bac;
  --blue-bright: #0072ce;
  --blue-light: #62a9e8;
  --yellow: #f5c400;
  --cyan: #34b5d9;
  --coral: #f08a24;
  --green: #2fb878;
  --shadow: 0 24px 80px rgba(0, 20, 46, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(4, 8, 15, 0.82), rgba(4, 8, 15, 0));
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--blue);
  color: white;
}

nav a {
  color: var(--muted);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(20px, 6vw, 88px) 56px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: #04101f;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 17, 33, 0.98), rgba(2, 24, 47, 0.7) 39%, rgba(2, 24, 47, 0.18) 68%),
    linear-gradient(0deg, var(--bg), rgba(6, 20, 38, 0.04) 42%, rgba(6, 20, 38, 0.32));
}

.hero-content {
  position: relative;
  max-width: 860px;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 18, 31, 0.78);
  color: var(--muted);
  font-size: 14px;
}

.launch-pill strong {
  color: var(--yellow);
}

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

h1 {
  max-width: 1000px;
  margin-top: 22px;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-tagline {
  max-width: 720px;
  margin-top: 18px;
  color: var(--yellow);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  margin-top: 16px;
  color: #d8e1ef;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: white;
  box-shadow: 0 16px 40px rgba(0, 91, 172, 0.34);
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(5, 29, 55, 0.76);
  color: #dbe7ff;
}

.dashboard-section,
.waitlist-section {
  padding: 84px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.waitlist-copy > p:first-child {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.05;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(6, 33, 64, 0.98), rgba(5, 21, 40, 0.92));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.sidebar strong {
  margin-bottom: 18px;
  color: #ffffff;
}

.sidebar span {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.sidebar .nav-active {
  background: rgba(0, 91, 172, 0.42);
  border-left: 3px solid var(--yellow);
  color: white;
}

.dashboard-main {
  padding: 20px;
}

.metric-row,
.qr-row,
.chart-row {
  display: grid;
  gap: 14px;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-row article,
.qr-card,
.advisor,
.feature-stack article,
.waitlist-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric-row article {
  padding: 18px;
}

.metric-row span,
.qr-card span,
.advisor span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
}

.metric-row em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 800;
}

.qr-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.qr-card {
  padding: 16px;
}

.real-qr {
  width: min(112px, 100%);
  aspect-ratio: 1;
  display: block;
  margin: 14px auto;
  border: 8px solid white;
  border-radius: 8px;
  box-shadow: 0 0 24px currentColor;
}

.qr-card.violet {
  color: var(--blue-light);
}

.qr-card.cyan {
  color: var(--cyan);
}

.qr-card.coral {
  color: var(--coral);
}

.qr-card strong {
  color: white;
}

.chart-row {
  grid-template-columns: minmax(0, 1.35fr) 260px;
  margin-top: 14px;
}

.comparison-chart {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 196, 0, 0.12), transparent 28%),
    var(--panel);
}

.chart-titlebar,
.chart-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.chart-titlebar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chart-titlebar strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.chart-titlebar em {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.line-chart {
  display: block;
  width: 100%;
  height: 260px;
  margin-top: 8px;
}

.grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.leader-area {
  fill: rgba(245, 196, 0, 0.16);
}

.line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
}

.blue-line {
  stroke: #62a9e8;
  filter: drop-shadow(0 0 8px rgba(98, 169, 232, 0.5));
}

.yellow-line {
  stroke: #f5c400;
  filter: drop-shadow(0 0 10px rgba(245, 196, 0, 0.48));
}

.muted-line {
  stroke: rgba(191, 208, 223, 0.55);
  stroke-dasharray: 1 13;
}

.endpoint circle {
  stroke: #061426;
  stroke-width: 3;
}

.endpoint text {
  font-size: 17px;
  font-weight: 800;
}

.endpoint.leader {
  fill: #f5c400;
}

.endpoint.store {
  fill: #62a9e8;
}

.endpoint.flyer {
  fill: #bfd0df;
}

.chart-labels {
  fill: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.chart-legend {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.yellow-dot {
  background: var(--yellow);
}

.blue-dot {
  background: var(--blue-light);
}

.gray-dot {
  background: var(--muted);
}

.advisor {
  padding: 18px;
}

.advisor strong {
  display: block;
  margin: 16px 0 10px;
  color: var(--yellow);
}

.advisor p,
.feature-stack p,
.waitlist-copy p,
.form-message,
.remaining {
  color: var(--muted);
  line-height: 1.7;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-stack article {
  padding: 22px;
}

.feature-stack span {
  color: var(--yellow);
  font-weight: 800;
}

.feature-stack h3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 22px;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(circle at 15% 25%, rgba(0, 91, 172, 0.22), transparent 26%),
    linear-gradient(180deg, #061426, #08264a);
}

.waitlist-copy {
  max-width: 760px;
}

.waitlist-copy > p:last-child {
  margin-top: 18px;
  max-width: 620px;
  font-size: 18px;
}

.waitlist-panel {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  width: min(300px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 18px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  transition: width 180ms ease, padding 180ms ease;
}

.waitlist-panel:hover,
.waitlist-panel:focus-within,
.waitlist-panel:target {
  width: min(420px, calc(100vw - 48px));
  padding: 24px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.progress-header span {
  color: var(--muted);
}

.progress-header strong {
  font-size: 40px;
}

.waitlist-panel:hover .progress-header strong,
.waitlist-panel:focus-within .progress-header strong,
.waitlist-panel:target .progress-header strong {
  font-size: 48px;
}

.progress-track {
  height: 12px;
  margin: 18px 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--yellow));
  transition: width 240ms ease;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.waitlist-panel label,
.waitlist-panel form button,
.waitlist-panel .form-message {
  display: none;
}

.waitlist-panel:hover label,
.waitlist-panel:hover form button,
.waitlist-panel:hover .form-message,
.waitlist-panel:focus-within label,
.waitlist-panel:focus-within form button,
.waitlist-panel:focus-within .form-message,
.waitlist-panel:target label,
.waitlist-panel:target form button,
.waitlist-panel:target .form-message {
  display: grid;
}

.waitlist-panel:hover .form-message,
.waitlist-panel:focus-within .form-message,
.waitlist-panel:target .form-message {
  display: block;
}

.panel-expand-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: white;
  font-weight: 800;
}

.waitlist-panel:hover .panel-expand-button,
.waitlist-panel:focus-within .panel-expand-button,
.waitlist-panel:target .panel-expand-button {
  display: none;
}

label {
  display: grid;
  gap: 8px;
  color: #dce7f5;
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(5, 10, 18, 0.82);
  color: white;
  font: inherit;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-message {
  min-height: 28px;
  margin-top: 14px;
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 980px) {
  .product-grid,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 720px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding-top: 104px;
  }

  .hero-media img {
    object-position: 57% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 15, 29, 0.97), rgba(3, 22, 42, 0.78)),
      linear-gradient(0deg, var(--bg), rgba(7, 11, 18, 0.12));
  }

  .metric-row,
  .qr-row,
  .chart-row {
    grid-template-columns: 1fr;
  }

  .dashboard-main {
    padding: 14px;
  }

  .dashboard-section,
  .waitlist-section {
    padding: 64px 18px;
  }

  .waitlist-panel {
    position: fixed;
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: 34vh;
    padding: 16px;
  }

  .waitlist-panel:hover,
  .waitlist-panel:focus-within,
  .waitlist-panel:target {
    width: calc(100vw - 24px);
    max-height: 64vh;
    padding: 16px;
  }

  footer {
    flex-direction: column;
  }
}
