/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --bg-warm: #f4efe6;
  --ink: #2a2520;
  --ink-2: #5a5249;
  --ink-3: #8a8176;
  --line: #ece5d8;
  --line-2: #dcd2c0;
  --accent: #f58b6a;        /* friendly peachy coral */
  --accent-soft: #ffe4d7;
  --accent-ink: #b85533;
  --accent-deep: #d26846;
  --mint: #9ec8a6;
  --mint-soft: #e4f1e6;
  --butter: #f5d88c;
  --butter-soft: #fbeecd;
  --sky: #9cc3dc;
  --sky-soft: #e2eef6;
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1140px;
  --font-jp: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-latin: "Inter", system-ui, sans-serif;
}
html[data-round="less"] {
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-feature-settings: "palt" 1;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

h1,h2,h3,h4 { font-family: var(--font-jp); font-weight: 700; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-latin); font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: 0 3px 10px -4px var(--accent);
}
.logo-text { font-family: var(--font-jp); font-weight: 700; font-size: 17px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-cta {
  padding: 10px 20px; border-radius: 999px;
  background: var(--accent); color: #fff !important;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 14px -6px var(--accent);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -4px var(--accent); }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 60px 0 100px; position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero-eyebrow .wave { display: inline-block; animation: wave 2.2s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%,60%,100%{transform:rotate(0)} 10%{transform:rotate(14deg)} 20%{transform:rotate(-8deg)} 30%{transform:rotate(14deg)} 40%{transform:rotate(-4deg)} 50%{transform:rotate(10deg)} }

.hero h1 {
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.35;
  letter-spacing: 0.005em;
  font-weight: 700;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.hero h1 .u {
  background: linear-gradient(transparent 68%, var(--accent-soft) 68%);
  padding: 0 4px;
}
.hero-sub {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0 0 36px;
}
.hero-sub b { color: var(--ink); font-weight: 700; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--font-jp); font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .2s;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 22px -8px var(--accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px var(--accent); }
.btn-ghost {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-note {
  font-size: 13px; color: var(--ink-3); margin-top: 18px;
  display: flex; align-items: center; gap: 8px;
}
.hero-note::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); flex: 0 0 auto;
}

/* hero illustration card */
.hero-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--butter-soft);
}
.hero-card::after {
  content: ""; position: absolute; bottom: -60px; left: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--mint-soft);
}

.timeline-block { position: relative; z-index: 1; }
.timeline-title {
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.timeline-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.timeline-title.after .dot { background: var(--accent); }
.timeline-title.after { color: var(--accent-deep); }

.tl-item {
  background: var(--bg);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13.5px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px -4px rgba(0,0,0,0.06);
}
.tl-item .time {
  font-family: var(--font-latin); font-weight: 600;
  font-size: 11px; color: var(--ink-3);
  background: var(--bg-warm);
  padding: 3px 8px; border-radius: 6px;
  white-space: nowrap;
}
.tl-item.strike {
  opacity: .55;
  text-decoration: line-through;
  text-decoration-color: var(--ink-3);
}
.tl-item.highlight {
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 8px 22px -10px var(--accent);
}
.tl-item.highlight .time { background: var(--accent-soft); color: var(--accent-ink); }

.tl-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0;
  font-size: 12px; font-weight: 600;
  color: var(--accent-deep);
}
.tl-divider .line { flex: 1; height: 2px; background: var(--accent-soft); border-radius: 2px; }

/* ---------- section base ---------- */
section { padding: 90px 0; position: relative; }
@media (max-width: 640px) { section { padding: 68px 0; } }

.section-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-warm);
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  margin-bottom: 20px;
}
.section-chip .emoji { font-size: 14px; }
.section-chip .num {
  font-family: var(--font-latin); font-weight: 600;
  color: var(--accent-deep);
}

.section-title {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.005em;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 22ch;
  text-wrap: balance;
}
.section-lead {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 58ch;
  line-height: 1.95;
  margin: 0 0 56px;
}

/* ---------- problems ---------- */
.problems { background: var(--bg-soft); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px rgba(0,0,0,0.12); }
.problem-card .bubble {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 20px;
}
.problem-card.c1 .bubble { background: var(--accent-soft); }
.problem-card.c2 .bubble { background: var(--mint-soft); }
.problem-card.c3 .bubble { background: var(--butter-soft); }
.problem-card.c4 .bubble { background: var(--sky-soft); }
.problem-card.c5 .bubble { background: var(--accent-soft); }
.problem-card.c6 .bubble { background: var(--mint-soft); }
.problem-card p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink); padding-top: 6px; }

.problem-closer {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex; align-items: center; gap: 24px;
  box-shadow: 0 12px 32px -20px rgba(0,0,0,0.1);
}
@media (max-width: 640px) { .problem-closer { padding: 28px; flex-direction: column; align-items: flex-start; } }
.problem-closer-emoji {
  flex: 0 0 auto;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 30px;
}
.problem-closer p {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.65;
  font-weight: 700;
  font-family: var(--font-jp);
  text-wrap: pretty;
}
.problem-closer p .accent { color: var(--accent-deep); }

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 36px -20px rgba(245,139,106,0.28);
}
.pillar-chip {
  display: inline-flex; width: fit-content;
  background: var(--bg-warm);
  color: var(--ink-3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
  font-family: var(--font-latin);
  letter-spacing: 0.06em;
}
.pillar-icon {
  width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center;
}
.pillar:nth-child(1) .pillar-icon { background: var(--accent-soft); color: var(--accent-deep); }
.pillar:nth-child(2) .pillar-icon { background: var(--mint-soft); color: #4d8a5a; }
.pillar:nth-child(3) .pillar-icon { background: var(--sky-soft); color: #4a7a99; }

.pillar h3 { font-size: 22px; margin: 0; line-height: 1.45; }
.pillar ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pillar li {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.75;
  padding-left: 24px; position: relative;
}
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 14px; height: 6px; border-radius: 3px;
  background: var(--accent-soft);
}
.pillar:nth-child(2) li::before { background: var(--mint-soft); }
.pillar:nth-child(3) li::before { background: var(--sky-soft); }

/* ---------- examples ---------- */
.examples { background: var(--bg-soft); }
.example {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}
.example-head {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 22px; border-bottom: 2px dashed var(--line);
  margin-bottom: 6px;
}
@media (max-width: 960px) { .example { grid-template-columns: 1fr; } }
.example-title { font-size: 20px; margin: 0; font-family: var(--font-jp); }
.example-tag {
  background: var(--bg-warm);
  color: var(--ink-3);
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; font-family: var(--font-latin);
}

.ex-col {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.ex-col.after { background: var(--accent-soft); }
.ex-col h4 {
  font-size: 12px; font-weight: 700;
  color: var(--ink-3); margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.ex-col.after h4 { color: var(--accent-deep); }
.ex-col h4 .tag {
  background: var(--bg); color: var(--ink-3);
  padding: 3px 9px; border-radius: 999px; font-size: 10px;
}
.ex-col.after h4 .tag { background: var(--bg); color: var(--accent-deep); }
.ex-col p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.ex-col.after p { color: var(--ink); font-weight: 500; }

.ex-impact {
  background: var(--mint-soft);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.ex-impact h5 {
  font-size: 12px; font-weight: 700; margin: 0;
  color: #4d8a5a;
  display: flex; align-items: center; gap: 8px;
}
.ex-impact h5::before { content: "🌱"; font-size: 14px; }
.ex-impact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ex-impact li { font-size: 13.5px; color: var(--ink); padding-left: 20px; position: relative; line-height: 1.65; }
.ex-impact li::before { content: "✓"; position: absolute; left: 0; color: #4d8a5a; font-weight: 700; }

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px;
  border: 1.5px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.feat-emoji {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 24px;
}
.feat:nth-child(1) .feat-emoji { background: var(--accent-soft); }
.feat:nth-child(2) .feat-emoji { background: var(--mint-soft); }
.feat:nth-child(3) .feat-emoji { background: var(--butter-soft); }
.feat:nth-child(4) .feat-emoji { background: var(--sky-soft); }
.feat:nth-child(5) .feat-emoji { background: var(--accent-soft); }
.feat h3 { font-size: 17px; margin: 0; line-height: 1.55; }
.feat p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.feat-1 { grid-column: span 4; }
.feat-2 { grid-column: span 2; }
.feat-3 { grid-column: span 2; }
.feat-4 { grid-column: span 2; }
.feat-5 { grid-column: span 2; }
@media (max-width: 900px) { .feat { grid-column: 1 / -1 !important; } }

/* ---------- fit ---------- */
.fit {
  background: #3d3229;
  color: #f8f3ea;
}
.fit .section-chip { background: rgba(255,255,255,0.08); color: #d9ccb7; }
.fit .section-chip .num { color: var(--accent); }
.fit .section-title { color: #fff; }
.fit .section-lead { color: #d9ccb7; }
.fit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 700px) { .fit-list { grid-template-columns: 1fr; } }
.fit-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; line-height: 1.55;
  transition: background .2s, border-color .2s;
}
.fit-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.fit-item .check {
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: left;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(0,0,0,0.1); }
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--font-latin); font-weight: 700; font-size: 20px;
  margin-bottom: 16px;
}
.step:nth-child(1) .step-badge { background: var(--accent-soft); color: var(--accent-deep); }
.step:nth-child(2) .step-badge { background: var(--mint-soft); color: #4d8a5a; }
.step:nth-child(3) .step-badge { background: var(--butter-soft); color: #9a7425; }
.step:nth-child(4) .step-badge { background: var(--sky-soft); color: #4a7a99; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ---------- impact ---------- */
.impact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .impact-wrap { grid-template-columns: 1fr; } }

.impact-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  gap: 30px;
}
.stat-row { display: grid; gap: 8px; }
.stat-row .label {
  font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.stat-big {
  font-family: var(--font-latin); font-weight: 700;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.stat-big .accent { color: var(--accent); }
.stat-big .unit { font-size: 0.34em; font-weight: 600; color: var(--ink-2); }
.stat-row .caption { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; }
.stat-divider { height: 1px; background: var(--line); }

.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 100px 1fr 60px; align-items: center; gap: 14px; font-size: 13.5px; }
.bar-row .name { color: var(--ink-2); }
.bar-row .num { font-family: var(--font-latin); font-weight: 700; color: var(--accent-deep); text-align: right; }
.bar-track {
  height: 12px; background: var(--bg);
  border-radius: 999px; overflow: hidden; position: relative;
}
.bar-fill {
  height: 100%; border-radius: 999px;
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.bars.in-view .bar-fill { transform: scaleX(var(--w, 0.5)); }
.bar-row:nth-child(1) .bar-fill { background: var(--accent); }
.bar-row:nth-child(2) .bar-fill { background: var(--mint); }
.bar-row:nth-child(3) .bar-fill { background: var(--butter); }

.impact-quote {
  background: var(--butter-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 17px; line-height: 1.75; font-weight: 600;
  font-family: var(--font-jp);
  color: var(--ink);
  text-wrap: pretty;
  position: relative;
}
.impact-quote::before {
  content: "“"; position: absolute; top: -10px; left: 16px;
  font-family: var(--font-latin); font-size: 52px; color: var(--butter);
  line-height: 1; font-weight: 700;
}
.impact-note p { font-size: 15px; color: var(--ink-2); line-height: 1.9; margin: 0 0 16px; }
.impact-note p b { color: var(--ink); font-weight: 700; }
.impact-disclaimer { font-size: 12px; color: var(--ink-3); margin-top: 20px; }

/* ---------- closing CTA ---------- */
.closer {
  padding: 110px 0 130px;
  text-align: center;
  background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.closer::before {
  content: ""; position: absolute; top: -100px; left: 10%;
  width: 240px; height: 240px; border-radius: 50%;
  background: var(--accent-soft); opacity: .6; filter: blur(4px);
}
.closer::after {
  content: ""; position: absolute; bottom: -120px; right: 8%;
  width: 300px; height: 300px; border-radius: 50%;
  background: var(--mint-soft); opacity: .6; filter: blur(4px);
}
.closer .wrap { position: relative; z-index: 1; }
.closer h2 {
  font-family: var(--font-jp);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.35;
  font-weight: 700;
  margin: 0 auto 24px;
  max-width: 20ch;
  text-wrap: balance;
}
.closer h2 .u {
  background: linear-gradient(transparent 68%, var(--accent-soft) 68%);
  padding: 0 6px;
}
.closer p {
  font-size: 16px; color: var(--ink-2); max-width: 52ch; margin: 0 auto 36px;
  line-height: 1.95;
}
.closer-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer {
  background: var(--bg);
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .name { font-family: var(--font-jp); font-weight: 700; font-size: 18px; }
.footer-tag { font-size: 13.5px; color: var(--ink-3); line-height: 1.85; max-width: 44ch; }
.footer-meta { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.footer-meta a { color: var(--accent-deep); text-decoration: none; font-weight: 600; }
.footer-meta a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid var(--line);
  margin-top: 36px; padding-top: 20px;
  font-size: 12px; color: var(--ink-3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* stagger children */
.stagger > * { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(0.22, 1, 0.36, 1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .15s; }
.stagger.in > *:nth-child(3) { transition-delay: .25s; }
.stagger.in > *:nth-child(4) { transition-delay: .35s; }
.stagger.in > *:nth-child(5) { transition-delay: .45s; }
.stagger.in > *:nth-child(6) { transition-delay: .55s; }

/* gentle floating */
@keyframes float-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6px,-10px); } }
@keyframes float-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-8px,8px); } }
.hero-card::before { animation: float-a 7s ease-in-out infinite; }
.hero-card::after { animation: float-b 9s ease-in-out infinite; }
.closer::before { animation: float-a 11s ease-in-out infinite; }
.closer::after { animation: float-b 13s ease-in-out infinite; }

/* heading gentle entrance */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); letter-spacing: 0.04em; filter: blur(3px); }
  to   { opacity: 1; transform: none; letter-spacing: 0.005em; filter: none; }
}
.hero h1 { animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* highlight underline draw */
.hero h1 .u, .closer h2 .u {
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-image: linear-gradient(transparent 68%, var(--accent-soft) 68%);
  animation: draw-line 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
@keyframes draw-line { to { background-size: 100% 100%; } }

/* bubble hover pulse */
@keyframes bubble-pop { 0%{transform:scale(1)} 50%{transform:scale(1.15) rotate(-4deg)} 100%{transform:scale(1)} }
.problem-card:hover .bubble { animation: bubble-pop .5s ease; }

/* step badge subtle pulse */
.step-badge { transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.step:hover .step-badge { transform: scale(1.1) rotate(-6deg); }

/* counter styling */
.count { display: inline-block; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- tweaks panel ---------- */
.tweaks-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  background: var(--bg);
  border: 1.5px solid var(--line-2);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.2);
  display: none;
  width: 260px;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  margin: 0 0 14px; font-size: 13px; font-weight: 700;
  color: var(--ink);
  font-family: var(--font-jp);
  display: flex; justify-content: space-between; align-items: center;
}
.tweak-row { display: grid; gap: 8px; margin-bottom: 14px; }
.tweak-row > label { font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.04em; }
.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--bg-soft);
  border-radius: 10px; padding: 3px; gap: 2px;
}
.seg button {
  background: transparent; color: var(--ink-2); border: none; cursor: pointer;
  padding: 8px 10px; font-size: 12px; font-family: var(--font-jp); font-weight: 600;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.seg button.active { background: var(--bg); color: var(--ink); box-shadow: 0 2px 6px -2px rgba(0,0,0,0.08); }
.swatches { display: flex; gap: 8px; }
.sw {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s;
}
.sw:hover { transform: scale(1.12); }
.sw.active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }