:root {
  --bg: #fffdfb;
  --bg-soft: #fff7f8;
  --text: #3a3340;
  --muted: #7b7280;
  --line: #eadfe4;
  --accent: #d99cae;
  --accent-deep: #b96f87;
  --panel: #ffffff;
  --shadow: 0 10px 30px rgba(80, 50, 70, 0.08);
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8d9df, #fff1f4);
  color: var(--accent-deep);
  font-weight: 700;
}

.brand-name {
  font-weight: 700;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

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

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  color: var(--accent-deep);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

h1, h2, h3 {
  line-height: 1.3;
  margin-top: 0;
}

h1 {
  font-size: clamp(30px, 6vw, 52px);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.lead {
  font-size: 18px;
  color: #4d4550;
  max-width: 42rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover {
  text-decoration: none;
  filter: brightness(0.98);
}

.btn-secondary {
  background: white;
  color: var(--text);
}

.hero-card,
.panel,
.sample-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sample-card {
  padding: 22px;
}

.sample-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.sample-reading {
  color: #5a5060;
}

.section {
  padding: 42px 0;
}

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

.grid-2,
.grid-3 {
  display: grid;
  gap: 16px;
}

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

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

.panel {
  padding: 20px;
}

.link-list,
.soft-list {
  padding-left: 1.2em;
}

.site-footer {
  margin-top: 36px;
  padding: 28px 0 18px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 6px;
}

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

.footer-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.doc-main {
  padding: 42px 0 56px;
}

.doc {
  max-width: 780px;
}

.doc p,
.doc li {
  color: #4f4652;
}

.doc-nav {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.note {
  padding: 14px 16px;
  background: #fff8f9;
  border: 1px solid var(--line);
  border-radius: 14px;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header .wrap {
    align-items: flex-start;
    padding: 12px 0;
  }

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


.note {
  color: var(--muted);
}

.install-panel {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.install-steps {
  margin: 0;
  padding-left: 1.2em;
}
