:root {
  --bg: #ffffff;
  --panel: #f6f7fb;
  --text: #0b1020;
  --muted: #5a647a;
  --line: rgba(10, 20, 40, 0.12);
  --brand: #2563eb;
  --brand2: #7c3aed;
  --chip: rgba(37,99,235,0.10);
  --shadow: 0 16px 40px rgba(10,20,40,.12);
  --radius: 18px;
}

[data-theme="dark"] {
  --bg: #0b1020;
  --panel: rgba(255,255,255,0.06);
  --text: #eef2ff;
  --muted: rgba(238,242,255,0.72);
  --line: rgba(255,255,255,0.12);
  --chip: rgba(147,197,253,0.10);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(37,99,235,.18), transparent 55%),
              radial-gradient(1200px 600px at 70% 20%, rgba(124,58,237,.14), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; }
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 30px rgba(37,99,235,.25);
}
.navlinks {
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks a {
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
}
.navlinks a:hover {
  background: var(--panel);
  color: var(--text);
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 700;
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
}
.btn.small {
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 700;
}
.hero {
  padding: 56px 0 30px;
}
.heroGrid {
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}
@media (max-width: 980px) {
  .heroGrid { grid-template-columns: 1fr; }
}
.kicker {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}
.lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
}
.chips {
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}
.chip {
  background: var(--chip);
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.ctaRow {
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
}
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.preview {
  padding: 18px;
}
.previewTop {
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
}
.windowDots {
  display:flex;
  gap: 6px;
}
.dot {
  width: 10px; height:10px; border-radius: 999px;
  background: color-mix(in oklab, var(--text) 20%, transparent);
}
.previewTitle {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}
.mock {
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.mockBubbleRow {
  display:flex;
  gap: 10px;
  align-items:center;
}
.bubble {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 2px solid color-mix(in oklab, var(--text) 18%, transparent);
  background: color-mix(in oklab, var(--bg) 60%, transparent);
}
.bubble.active {
  border-color: color-mix(in oklab, var(--brand) 70%, #fff);
  box-shadow: 0 10px 24px rgba(37,99,235,.20);
}
.mockPlayer {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow:hidden;
  background:
    radial-gradient(500px 260px at 20% 20%, rgba(37,99,235,.22), transparent 55%),
    radial-gradient(500px 260px at 80% 30%, rgba(124,58,237,.18), transparent 55%),
    color-mix(in oklab, var(--bg) 80%, transparent);
  position: relative;
  aspect-ratio: 9/16;
}
.mockControls {
  position:absolute;
  inset: 14px 14px auto 14px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
}
.pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
[data-theme="light"] .pill {
  background: rgba(10,20,40,.22);
}
.mockCTA {
  position:absolute;
  right: 14px;
  bottom: 70px;
}
.ctaBtn {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  cursor: default;
}
.mockMini {
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(0,0,0,.28);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
[data-theme="light"] .mockMini {
  background: rgba(10,20,40,.22);
}
.miniLeft {
  display:flex; gap: 10px; align-items:center;
}
.miniThumb {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.22);
}
.miniText {
  display:flex; flex-direction: column;
  line-height: 1.2;
}
.miniText b { font-size: 13px; }
.miniText span { font-size: 12px; opacity: .85; }
.section {
  padding: 34px 0;
}
.section h2 {
  margin: 0 0 14px;
  font-size: 24px;
}
.grid3 {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px) {
  .grid3 { grid-template-columns: 1fr; }
}
.feature {
  padding: 16px;
}
.feature h3 {
  margin: 8px 0 6px;
  font-size: 16px;
}
.feature p {
  margin: 0;
  color: var(--muted);
}
.icon {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--brand) 18%, transparent);
  border: 1px solid var(--line);
}
.plans {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; }
}
.plan {
  padding: 18px;
}
.planHeader {
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 10px;
}
.badge {
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
}
.price {
  font-size: 22px;
  font-weight: 900;
}
.plan ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.plan li { margin: 8px 0; }
.small {
  color: var(--muted);
  font-size: 13px;
}
.faq {
  padding: 18px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 900;
}
.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footerRow {
  display:flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}
.footer a {
  color: var(--muted);
  text-decoration:none;
}
.footer a:hover { text-decoration: underline; }
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in oklab, var(--bg) 75%, transparent);
}
hr.sep {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}
