@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap");

:root {
  --bg: #f3f6f8;
  --bg-2: #e9eef3;
  --ink: #0f1a2b;
  --muted: #566372;
  --accent: #0c3a52;
  --accent-2: #f2b544;
  --card: #ffffff;
  --line: #d8e0e7;
  --shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
  --radius: 18px;
  --open: #1b8e5a;
  --pause: #c7901a;
  --stop: #b74b4b;
  --page-pad: clamp(20px, 6vw, 72px);
}

* { box-sizing: border-box; }
figure { margin: 0; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 15% -10%, rgba(225, 236, 245, 0.9) 0%, transparent 60%),
    radial-gradient(900px 480px at 90% 5%, rgba(248, 236, 214, 0.85) 0%, transparent 65%),
    repeating-linear-gradient(90deg, rgba(15, 26, 43, 0.04) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px var(--page-pad) 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.badge {
  border: 1px solid rgba(15, 26, 43, 0.15);
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  padding: 5px 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.badge.preview {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 29, 38, 0.25);
}

.btn.primary:hover { transform: translateY(-2px); }

.btn.ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

main {
  padding: 24px var(--page-pad) 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin: 30px 0 60px;
}

.hero-demo {
  justify-self: end;
  width: min(460px, 100%);
}

.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 10px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-list li {
  position: relative;
  padding-left: 18px;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 22px 0 12px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.hero-contact {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-highlight {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

.carousel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  gap: 22px;
}

.carousel-screen {
  border-radius: 16px;
  background: linear-gradient(135deg, #0e1b2a 0%, #16273a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  padding-bottom: 30px;
  display: grid;
  place-items: stretch;
}

.carousel-slide {
  display: none;
  width: 100%;
  gap: 16px;
  grid-template-rows: auto auto;
}

.carousel-slide.is-active { display: grid; }

.carousel-media {
  width: min(100%, 360px);
  aspect-ratio: 163 / 282;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  object-fit: contain;
}

.carousel-slide figcaption {
  font-size: 13px;
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  line-height: 1.45;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.carousel-slide figcaption .caption-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.carousel-tabs {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  min-height: 36px;
  justify-content: center;
}

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  height: 32px;
  line-height: 32px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.carousel-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink);
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.status-tag.open { background: var(--open); }
.status-tag.pause { background: var(--pause); }
.status-tag.stop { background: var(--stop); }

.section-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.section {
  margin: 80px 0;
}

.section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 20px;
}

.section-lead {
  margin-top: -6px;
  margin-bottom: 16px;
  color: var(--muted);
}

.wide-shot {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: 0 10px 22px rgba(15, 29, 38, 0.08);
  display: grid;
  gap: 10px;
}

.wide-shot img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(15, 26, 43, 0.08);
  object-fit: contain;
  background: linear-gradient(135deg, #0e1b2a 0%, #16273a 100%);
}

.wide-shot figcaption {
  font-size: 13px;
  color: var(--muted);
}

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

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(15, 29, 38, 0.08);
}

.card h3 { margin: 0 0 8px; }

.table-wrap {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(15, 29, 38, 0.08);
  overflow-x: auto;
}

.mode-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.mode-table thead {
  background: #f2f6f9;
  color: var(--muted);
}

.mode-table th,
.mode-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mode-table tbody tr:last-child td {
  border-bottom: none;
}

.table-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.shot {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 29, 38, 0.08);
}

.shot img {
  width: 100%;
  aspect-ratio: 163 / 282;
  object-fit: contain;
  background: linear-gradient(135deg, #0e1b2a 0%, #16273a 100%);
  border-radius: 14px;
  border: 1px solid rgba(15, 26, 43, 0.1);
}

.shot figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
}

.code-card {
  background: #0f1d26;
  color: #eaf2f4;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.code-card pre {
  margin: 0;
  font-family: "Space Grotesk", monospace;
  font-size: 15px;
}

.code-note {
  margin-top: 10px;
  font-size: 12px;
  color: #b9c5cc;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px var(--page-pad) 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.footer a { margin-right: 12px; }

.footer-logo {
  height: 22px;
  width: auto;
  display: block;
  margin-bottom: 6px;
}

.footer-domain {
  font-size: 12px;
  color: var(--muted);
}

.page-hero {
  margin: 20px 0 40px;
}

.page-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  margin: 12px 0 12px;
}

.info-grid,
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.info-card,
.status-card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(15, 29, 38, 0.08);
}

.info-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.status-pill.neutral {
  background: #f2f6f9;
}

.status-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .topbar { grid-template-columns: 1fr; justify-items: start; }
  .topbar-actions { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-demo { justify-self: stretch; }
  .cta-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav { flex-wrap: wrap; }
  .footer { grid-template-columns: 1fr; }
}
