/* ===== Morsta-inspired Design System ===== */
:root {
  --text: #4a3f35;
  --text-light: #7d7068;
  --text-muted: #a09890;
  --bg: #fdfcfa;
  --bg-warm: #f8f5f0;
  --bg-card: #ffffff;
  --green: #6a9e7e;
  --green-light: #e8f0eb;
  --green-soft: #8bb89d;
  --pink: #d4a0a0;
  --pink-light: #f5eded;
  --brown: #8b6f5c;
  --brown-light: #c4a98f;
  --beige: #e8ddd0;
  --beige-light: #f3ede5;
  --border: #e8e2da;
  --round: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  --sans: 'Noto Sans JP', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--round);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== Mobile-first Layout ===== */
.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  text-align: center;
  padding: 48px 20px 32px;
  border-bottom: 1px solid var(--border);
}

.header-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.header-title {
  font-family: var(--round);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}

.header-sub {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.header-meta {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== Section ===== */
.section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: none;
}

.section-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--round);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
}

.section p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.9;
}

.section p:last-child {
  margin-bottom: 0;
}

/* ===== Highlight box ===== */
.highlight {
  background: var(--bg-warm);
  border-left: 3px solid var(--green-soft);
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

.highlight strong {
  color: var(--brown);
}

/* ===== Question box ===== */
.question-box {
  background: var(--pink-light);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}

.question-box .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

/* ===== Card list ===== */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.15s ease;
}

.card:active {
  transform: scale(0.98);
}

.card-emoji {
  font-size: 20px;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--round);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.5;
}

.card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Before/After ===== */
.ba-container {
  margin: 20px 0;
}

.ba-block {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
}

.ba-before {
  background: #f5f0ea;
  border: 1px solid var(--beige);
}

.ba-after {
  background: var(--green-light);
  border: 1px solid #c8ddd0;
}

.ba-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.ba-before .ba-label {
  color: var(--brown-light);
}

.ba-after .ba-label {
  color: var(--green);
}

.ba-block ul {
  list-style: none;
  padding: 0;
}

.ba-block li {
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
  line-height: 1.7;
}

.ba-block li::before {
  margin-right: 6px;
}

.ba-before li::before {
  content: '△';
  color: var(--brown-light);
}

.ba-after li::before {
  content: '◎';
  color: var(--green);
}

.ba-person {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}

/* ===== Steps ===== */
.steps {
  margin: 16px 0;
}

.step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.step-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Track Record ===== */
.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.track-item {
  background: var(--bg-warm);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.track-value {
  font-family: var(--round);
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.track-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-soft);
}

.track-label {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 40px 0 56px;
}

.cta-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.7;
}

.cta-sub {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.cta-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 24px 20px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ===== Utility ===== */
.emoji-accent {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}

.small {
  font-size: 12px;
  color: var(--text-muted);
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }

/* ===== Responsive ===== */
@media (min-width: 600px) {
  html { font-size: 16px; }
  .container { padding: 0 32px; }
  .header { padding: 64px 32px 40px; }
  .header-title { font-size: 26px; }
  .section { padding: 48px 0; }
}
