:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f9;
  --card: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #4a4a6a;
  --muted: #8888a4;
  --line: #e4e4ec;
  --accent: #6c3ce0;
  --accent-2: #0ea5e9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  width: 800px;
  height: 800px;
  top: -300px;
  right: -300px;
  background: radial-gradient(circle, rgba(108, 60, 224, 0.08) 0%, rgba(14, 165, 233, 0.05) 40%, transparent 65%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  bottom: -100px;
  left: -200px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(108, 60, 224, 0.04) 40%, transparent 65%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

.container {
  width: min(960px, 88vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero { padding: 3.5rem 0 2rem; }

.hero-grid {
  display: block;
  max-width: 720px;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.subtitle {
  color: var(--text-secondary);
  max-width: 56ch;
  margin-top: 0.6rem;
  font-size: 1.05rem;
}

.plan-overview {
  margin-top: 1.2rem;
  max-width: 64ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.plan-overview p { margin: 0 0 0.7rem; }
.plan-overview p:last-child { margin-bottom: 0; }

.section { padding: 1.4rem 0; }

.section-intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

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

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 6px;
  padding: 1rem 1.1rem;
}

.grid { display: grid; gap: 0.8rem; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.range {
  margin: 0.1rem 0 0.5rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

ul, ol {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.timeline { display: grid; gap: 0.8rem; }

.phase-id {
  margin: 0 0 0.1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.budget { padding-bottom: 0.8rem; }

.bar-wrap { margin: 0.5rem 0 0.7rem; }

.bar-wrap > p:first-child {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.bar {
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-soft);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.8rem 0 0.5rem;
}

.total { margin: 0; font-size: 0.95rem; }
.total strong { color: var(--text); }

.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-inner p { margin: 0; }

.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
}
