/* =========================================================
   Restore the Luminous — Landing Page
   Linear/Resend 系の余白とタイポで構成。装飾は最小限。
   ========================================================= */

:root {
  --bg: #0a0c14;
  --bg-2: #0e1119;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.05);
  --text: #ecedf2;
  --text-2: #c2c7d8;
  --text-dim: #6e7591;
  --text-faint: #4a5067;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --radius: 8px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

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

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ─── Header ───────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 20, 0.7);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}

.brand-logo {
  height: 28px;
  width: auto;
  opacity: 0.92;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.nav a {
  color: var(--text-dim);
  font-weight: 400;
}

.nav a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav { gap: 20px; font-size: 13px; }
  .nav a:last-child { display: none; }
}

/* ─── Hero (ライト基調・ロゴ大型) ───────── */

.hero {
  padding: 96px 0 112px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 40%, #ffffff 0%, #f4f6fb 60%, #e6eaf2 100%);
  color: #1a1d29;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

@media (max-width: 720px) {
  .hero { padding: 64px 0 80px; }
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #6e7591;
  margin: 0 0 32px;
  text-transform: uppercase;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.hero-title {
  margin: 0 0 32px;
  padding: 0;
  line-height: 0;
}

.hero-logo {
  display: block;
  width: min(560px, 88vw);
  height: auto;
  margin: 0 auto;
  /* logo-wide.jpg は元々白背景なので、ライトHero に自然に溶け込む */
  mix-blend-mode: multiply;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-lead {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  color: #2c3142;
  margin: 0 auto 48px;
  line-height: 1.8;
  max-width: 520px;
}

.cta-primary {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-primary-note {
  font-size: 12px;
  margin: 0;
  letter-spacing: 0.02em;
}

.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-arrow {
  font-size: 13px;
  transition: color 0.15s ease, transform 0.15s ease;
}

/* Hero (ライト基調) のボタン */
.hero .btn-primary {
  background: #1a1d29;
  color: #ffffff;
  border-color: #1a1d29;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
}

.hero .btn-primary:hover {
  background: #2c3142;
  color: #ffffff;
  border-color: #2c3142;
}

.hero .btn-primary .btn-arrow { color: #ffffff; }

.hero .btn-secondary {
  font-size: 13px;
  padding: 10px 18px;
  color: #2c3142;
  background: transparent;
  border-color: rgba(26, 29, 41, 0.18);
}

.hero .btn-secondary:hover {
  color: #1a1d29;
  background: rgba(26, 29, 41, 0.04);
  border-color: rgba(26, 29, 41, 0.4);
}

.hero .btn-secondary .btn-arrow { color: #6e7591; }
.hero .btn-secondary:hover .btn-arrow { color: #1a1d29; }
.hero .btn:hover .btn-arrow { transform: translateY(-1px); }

.hero .cta-primary-note,
.hero .hero-meta {
  color: #6e7591;
}

.hero-meta {
  font-size: 12px;
  margin: 0;
  letter-spacing: 0.04em;
}

.beta-badge {
  color: var(--text);
  font-weight: 600;
  padding: 2px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  letter-spacing: 0.08em;
}

/* ─── Platform Button (hero CTA row) ─────── */

.btn-platform {
  gap: 12px;
  padding: 12px 16px 12px 14px;
  min-width: 168px;
  text-align: left;
}

.platform-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.platform-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex-grow: 1;
}

.platform-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.platform-sub {
  font-size: 11px;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

.hero .btn-platform {
  padding: 12px 16px 12px 14px;
}

/* ─── Confirm Modal (Windows DL) ─────────── */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.modal.is-open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  max-width: 460px;
  width: 100%;
  padding: 28px 28px 24px;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.modal-body {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

.modal-body p {
  margin: 0 0 12px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text);
}

.modal-note {
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 14px !important;
}

.modal-note strong {
  color: var(--text-2);
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

.btn-modal-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
}

.btn-modal-primary:hover {
  background: var(--text-2);
  color: var(--bg);
  border-color: var(--text-2);
}

.btn-modal-primary .btn-arrow {
  color: var(--bg);
}

.btn-modal-secondary {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-strong);
  padding: 10px 22px;
  font-size: 14px;
}

.btn-modal-secondary:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

/* ─── Sections ─────────────────────────── */

.section {
  padding: 112px 0;
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-dim);
  margin: 0 0 16px;
  text-transform: uppercase;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 64px;
  color: var(--text);
  max-width: 720px;
}

/* ─── Principles ───────────────────────── */

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

@media (max-width: 800px) {
  .principles-grid { grid-template-columns: 1fr; gap: 20px; }
}

.principle {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.principle:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.principle-num {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.principle h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}

.principle p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.75;
}

/* ─── Play (3類型) ─────────────────────── */

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

@media (max-width: 800px) {
  .play-grid { grid-template-columns: 1fr; }
}

.play-item {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.play-item:hover {
  border-color: var(--border-strong);
}

.play-num {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.play-item p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0 0 24px;
  line-height: 1.8;
  flex: 1;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  transition: color 0.15s ease;
}

.play-link:hover { color: var(--text); }

.play-link:hover .btn-arrow {
  transform: translateX(2px);
}

/* ─── Download List ────────────────────── */

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}

.download-list li > a,
.download-list li > span:first-child {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  transition: padding 0.2s ease, color 0.15s ease;
}

.download-list li {
  display: block;
}

.download-list li:first-child > a,
.download-list li:first-child > span:first-child {
  border-top: 1px solid var(--border);
}

.download-list li > a:hover {
  padding-left: 12px;
  padding-right: 0;
}

.download-list .dl-disabled {
  color: var(--text-dim);
}

.download-list .dl-disabled > span:first-child {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border);
}

.dl-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: var(--text-2);
}

.dl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
  min-width: 0;
}

.dl-name {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.dl-sub {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.dl-state {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

.dl-arrow {
  font-size: 14px;
  color: var(--text-dim);
  width: 16px;
  text-align: right;
}

.download-list li > a:hover .dl-icon {
  color: var(--text);
}

.dl-disabled .dl-arrow,
.dl-disabled .dl-state {
  color: var(--text-faint);
}

.dl-note {
  margin-top: 48px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  max-width: 640px;
}

.dl-note summary {
  cursor: pointer;
  color: var(--text-dim);
  font-weight: 500;
  list-style: none;
}

.dl-note summary::before {
  content: "+ ";
  color: var(--text-dim);
  margin-right: 4px;
}

.dl-note[open] summary::before {
  content: "− ";
}

.dl-note p {
  margin: 12px 0 0;
  color: var(--text-2);
  line-height: 1.8;
}

.dl-note strong {
  color: var(--text);
  font-weight: 500;
}

/* ─── Footer ───────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 64px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 32px;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
}

.footer-left p { margin: 0; }

.footer-brand {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px !important;
  letter-spacing: 0.01em;
}

.footer-credit {
  color: var(--text-dim);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .footer-nav { justify-content: flex-start; }
}

.footer-nav a {
  color: var(--text-dim);
}

.footer-nav a:hover { color: var(--text); }

.footer-copy {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  font-size: 12px;
  color: var(--text-faint);
}
