﻿:root {
  --bg: #f4efe6;
  --bg-accent: #efe4d0;
  --surface: rgba(255, 250, 243, 0.8);
  --surface-strong: #fff9f0;
  --line: rgba(101, 76, 44, 0.16);
  --text: #2f2419;
  --muted: #675745;
  --brand: #b44a2c;
  --brand-deep: #7f2f19;
  --accent: #d7a648;
  --shadow: 0 16px 40px rgba(78, 53, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 166, 72, 0.22), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(180, 74, 44, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 55%, #f1e4d1 100%);
}

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

p {
  line-height: 1.8;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}

.site-header.compact {
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff8f1;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
}

.brand-text {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--brand-deep);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 249, 240, 0.95), rgba(247, 235, 219, 0.92));
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 52px;
}

.page-hero {
  padding: 40px;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 166, 72, 0.35), transparent 70%);
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.feature-card h2,
.download-card h2,
.step-card h3,
.capability h3,
.link-card strong {
  margin: 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.12;
  max-width: 12ch;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 64ch;
}

.page-main {
  display: grid;
  gap: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-note {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 22px;
  padding: 10px 14px;
  border: 1px solid rgba(127, 47, 25, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.78);
  color: var(--muted);
  font-size: 0.94rem;
}

.token-note {
  display: flex;
  max-width: 62ch;
  margin-top: -12px;
  border-color: rgba(215, 166, 72, 0.34);
  background: rgba(255, 246, 224, 0.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
}

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

.button.primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff8f1;
}

.button.secondary {
  border: 1px solid rgba(127, 47, 25, 0.22);
  background: rgba(255, 255, 255, 0.55);
  color: var(--brand-deep);
}

.button.disabled {
  opacity: 0.7;
  pointer-events: none;
}

.button.block {
  width: 100%;
}

.mono {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.94em;
}

.hero-points,
.hero-panel ul,
.notice-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-points li,
.hero-panel li,
.notice-box li {
  margin-bottom: 0.65rem;
}

.hero-panel,
.notice-box,
.feature-card,
.download-card,
.capability,
.link-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.hero-panel,
.notice-box {
  padding: 24px;
}

.panel-title,
.notice-title {
  margin: 0 0 12px;
  font-weight: 800;
}

.hero-showcase {
  position: relative;
  min-height: 100%;
}

.hero-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.94);
  box-shadow: var(--shadow);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.hero-shot figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.hero-shot figcaption strong {
  font-size: 1rem;
}

.hero-shot figcaption span {
  color: var(--muted);
  line-height: 1.7;
}

.primary-shot {
  position: relative;
  z-index: 2;
}

.secondary-shot {
  position: relative;
  z-index: 1;
  width: 88%;
  margin: -26px 0 0 auto;
}

.warning {
  background: linear-gradient(180deg, rgba(255, 238, 214, 0.8), rgba(255, 246, 232, 0.96));
}

.section,
.section-grid,
.split-section,
.faq-section {
  margin-top: 28px;
}

.section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.74);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
}

.section-grid,
.capability-grid,
.link-cards,
.steps {
  display: grid;
  gap: 18px;
}

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

.capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.feature-card,
.download-card,
.capability,
.link-card,
.step-card {
  padding: 24px;
}

.feature-card p:last-child,
.download-card p:last-child,
.capability p:last-child,
.step-card p:last-child,
.link-card span {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.bullet-panel {
  display: grid;
  gap: 12px;
}

.compact-panel {
  margin-top: 14px;
}

.bullet-panel p {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  background: rgba(255, 248, 236, 0.88);
}

.download-actions {
  margin: 20px 0 16px;
}

.hash-cell {
  word-break: break-all;
}

.fineprint {
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shot-card {
  margin: 0;
  overflow: hidden;
}

.shot-card.wide {
  grid-column: 1 / -1;
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.shot-card figcaption {
  padding: 18px 20px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.setup-flow {
  display: grid;
  gap: 14px;
}

.setup-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.78);
}

.setup-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(180, 74, 44, 0.12);
  color: var(--brand-deep);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.setup-step h3,
.setup-step p {
  margin: 0;
}

.setup-step p {
  margin-top: 8px;
  color: var(--muted);
}

.setup-shots {
  margin-top: 24px;
}

.compact-shot img {
  width: min(100%, 560px);
  margin: 0 auto;
}

.inner-split {
  margin-top: 0;
}

.history-list {
  display: grid;
  gap: 14px;
}

.history-entry {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.94);
  overflow: hidden;
}

.history-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.history-entry summary::-webkit-details-marker {
  display: none;
}

.history-entry summary span {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.04em;
}

.history-entry summary time {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.history-body {
  padding: 0 20px 20px;
  color: var(--muted);
}

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

.release-notes {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.94);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.98rem;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.library-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.94);
}

.library-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

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

.code-panel {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #2d241b;
  color: #f9f2e8;
  overflow: hidden;
}

.code-label {
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f0c97a;
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code-panel pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
}

.code-panel code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.92);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(101, 76, 44, 0.12);
}

.meta-list dt {
  color: var(--muted);
  font-weight: 700;
}

.meta-list dd {
  margin: 0;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(180, 74, 44, 0.12);
  color: var(--brand-deep);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 920px) {
  .hero,
  .section-grid,
  .capability-grid,
  .link-cards,
  .steps,
  .split-section,
  .library-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .page-hero,
  .section {
    padding: 28px;
  }

  .secondary-shot {
    width: 100%;
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .setup-step {
    grid-template-columns: 1fr;
  }
}


