/* Boboo World: a picture-book morning — sky, cream paper, sage ink. Deliberately single (light) theme. */
:root {
  --bg: #fcf6e3;        /* cream paper */
  --surface: #fffaee;
  --fg: #2c3a30;        /* forest ink */
  --muted: #5e6a5b;
  --line: #e4dcc3;
  --accent: #5d7a62;    /* deep sage */
  --sky: #cde8f2;
  --mint: #add3bb;
  --sage: #94a581;
  --honey: #c98a5f;
  --boboo: #f8e9ca;
  --font-display: "Gowun Batang", "Noto Serif KR", serif;
  --font-body: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --font-brand: var(--font-body);
  --shot-radius: 14px;
  --shot-bg: #e9eef0;
  --shot-shadow: 0 1px 2px rgba(44, 58, 48, .08), 0 18px 36px -20px rgba(44, 58, 48, .45);
  color-scheme: light;
}
.site-header { background: color-mix(in srgb, var(--bg) 84%, transparent); }

.w-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.3; letter-spacing: -.01em; }
.w-h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; }
.w-h4 { font-size: 1.06rem; font-weight: 650; line-height: 1.45; }
.w-head { display: grid; gap: .7rem; max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.w-intro { color: var(--muted); }
.w-label { font-size: .85rem; color: var(--accent); font-weight: 600; }
.w-sub { font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--muted); }
.w-section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.w-section + .w-section { border-top: 1px dashed var(--line); }

/* ---------- hero */
.w-hero { position: relative; overflow: hidden; background: var(--sky); }
.w-hero-art { position: absolute; inset: 0; }
.w-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.w-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232, 244, 248, .92) 0%, rgba(232, 244, 248, .72) 38%, rgba(232, 244, 248, 0) 62%); }
.w-hero-text { position: relative; display: grid; gap: 1rem; padding-block: clamp(4rem, 10vw, 8rem) clamp(5rem, 14vw, 11rem); }
.w-hero-text > * { max-width: 34rem; }
.w-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1.05; letter-spacing: -.02em; color: #24352c; }
.w-tagline { font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.45; color: #2f4637; }
.w-lead { color: #3d4c41; }
.w-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.w-btn {
  display: inline-flex; align-items: center; padding: .6rem 1.05rem; border-radius: 999px; text-decoration: none; font-size: .95rem; font-weight: 600;
  background: rgba(255, 252, 242, .9); color: var(--fg); border: 1px solid rgba(93, 122, 98, .35);
}
.w-btn:hover { border-color: var(--accent); }
.w-btn-primary { background: var(--accent); color: #fffaee; border-color: var(--accent); }
.w-btn-primary:hover { background: #4d6852; }
@media (max-width: 760px) {
  .w-hero { background: var(--bg); }
  .w-hero-art { position: relative; aspect-ratio: 16 / 9; }
  .w-hero-img { object-position: 74% 18%; }
  .w-hero-art::after { background: linear-gradient(180deg, transparent 70%, var(--bg)); }
  .w-hero-text { padding-block: 1.25rem 3rem; }
}

/* ---------- overview */
.w-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.w-card { display: grid; gap: .55rem; align-content: start; min-width: 0; }
.w-card .shot { margin-bottom: .6rem; }
.w-card .shot-frame { aspect-ratio: 16 / 10; }
.w-card .shot-frame img { height: 100%; object-fit: cover; object-position: top center; }
.w-card p:last-child { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .w-cards { grid-template-columns: 1fr; } }

.w-tree { margin: clamp(2.5rem, 6vw, 4rem) 0 0; display: grid; gap: 0; justify-items: center; text-align: center; }
.w-tree-top { padding: .55rem 1.4rem; border-radius: 999px; background: var(--accent); color: #fffaee; font-weight: 650; position: relative; }
.w-tree-nodes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; width: 100%; max-width: 860px; padding-block: 2rem; }
.w-tree-nodes::before { content: ""; position: absolute; top: 0; left: 16.6%; right: 16.6%; height: 1rem; border: 2px solid var(--sage); border-bottom: 0; border-radius: 14px 14px 0 0; }
.w-tree-nodes::after { content: ""; position: absolute; bottom: 0; left: 16.6%; right: 16.6%; height: 1rem; border: 2px solid var(--sage); border-top: 0; border-radius: 0 0 14px 14px; }
.w-tree-nodes li { display: grid; gap: .2rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.w-tree-nodes span { font-size: .88rem; color: var(--muted); }
.w-tree-root { width: 100%; max-width: 860px; padding: .8rem 1rem; border-radius: 14px; background: var(--boboo); font-weight: 600; }
.w-tree figcaption { margin-top: .9rem; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) {
  .w-tree-nodes { grid-template-columns: 1fr; padding-block: 1.25rem; }
  .w-tree-nodes::before, .w-tree-nodes::after { left: 50%; right: auto; width: 0; border-radius: 0; border-left: 0; border-right: 2px solid var(--sage); height: 1.25rem; }
}

/* ---------- pipeline */
.w-pipeline { background: linear-gradient(180deg, rgba(205, 232, 242, .45), transparent 420px); }
.w-chips { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: baseline; margin-bottom: clamp(2rem, 5vw, 3rem); }
.w-chip { display: inline-flex; align-items: baseline; gap: .3rem; padding: .6rem 1.1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.w-chip-value { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.w-chip-label { font-size: .92rem; }
.w-chips-note { flex-basis: 100%; font-size: .82rem; color: var(--muted); }
.w-chips-note em { font-style: normal; color: var(--honey); }

.w-flow { margin: 0 0 clamp(3rem, 7vw, 4.5rem); display: grid; gap: 1rem; }
.w-flow-tower { display: flex; align-items: center; gap: 1rem; justify-self: center; padding: .75rem 1.25rem .75rem .75rem; border-radius: 999px; background: var(--surface); border: 1px dashed var(--sage); }
.w-flow-tower img { width: 44px; height: auto; }
.w-flow-tower div { display: grid; line-height: 1.4; }
.w-flow-tower span { font-size: .85rem; color: var(--muted); }
.w-flow-steps { counter-reset: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; position: relative; padding-top: 1.2rem; border-top: 2px dashed color-mix(in srgb, var(--sage) 70%, transparent); }
.w-flow-steps li { position: relative; display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.w-flow-steps li:not(:last-child)::after { content: ""; position: absolute; right: -1.25rem; top: 50%; width: .9rem; height: .9rem; border-top: 2px solid var(--sage); border-right: 2px solid var(--sage); transform: translateY(-50%) rotate(45deg); }
.w-flow-num { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.w-flow-steps span:last-child { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.w-flow figcaption { font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) {
  .w-flow-steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .w-flow-steps li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -1.05rem; transform: translateX(-50%) rotate(135deg); }
}

.w-steps { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.w-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.w-step-noshot { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.w-step-text { display: grid; gap: .7rem; position: sticky; top: 88px; }
.w-step-num { font-size: .88rem; font-weight: 600; color: var(--accent); }
.w-step-text p:last-child { color: var(--muted); }
.w-step-shots { display: grid; gap: 1.5rem; min-width: 0; }
.w-step-shots.has-mobile { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.w-step-shots .shot-mobile { width: 220px; }
@media (max-width: 900px) {
  .w-step, .w-step-noshot { grid-template-columns: 1fr; }
  .w-step-text { position: static; }
  .w-step-shots.has-mobile { grid-template-columns: 1fr; }
  .w-step-shots .shot-mobile { width: min(260px, 70%); }
}

/* ---------- strengths */
.w-strengths { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.w-strengths-art img { border-radius: 24px; box-shadow: var(--shot-shadow); }
.w-strength-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem clamp(1.25rem, 3vw, 2.25rem); }
.w-strength-list li { display: grid; gap: .35rem; padding-left: 1.1rem; border-left: 3px solid var(--mint); min-width: 0; }
.w-strength-list p { color: var(--muted); font-size: .97rem; }
@media (max-width: 960px) { .w-strengths { grid-template-columns: 1fr; } .w-strengths-art { max-width: 520px; } }
@media (max-width: 600px) { .w-strength-list { grid-template-columns: 1fr; } }

/* ---------- map */
.w-map { background: linear-gradient(180deg, transparent, rgba(173, 211, 187, .25)); }
.w-map-shots { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.w-map-shots .shot-mobile { width: 240px; }
.w-map-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem clamp(1.25rem, 3vw, 2.25rem); margin-top: clamp(2rem, 5vw, 3rem); }
.w-block { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.w-block p { color: var(--muted); font-size: .97rem; }
.w-terms { display: grid; gap: .3rem; }
.w-terms div { display: grid; grid-template-columns: 5.2em 1fr; gap: .5rem; font-size: .95rem; }
.w-terms dt { font-weight: 650; color: var(--accent); }
.w-terms dd { color: var(--muted); }
.w-map-cta { margin-top: clamp(2rem, 5vw, 3rem); }
@media (max-width: 900px) {
  .w-map-shots { grid-template-columns: 1fr; }
  .w-map-shots .shot-mobile { width: min(240px, 70%); }
  .w-map-blocks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .w-map-blocks { grid-template-columns: 1fr; } }

/* ---------- roadmap */
.w-badge { justify-self: start; padding: .15rem .7rem; border-radius: 999px; background: rgba(201, 138, 95, .16); color: #9a5f36; font-size: .82rem; font-weight: 650; }
.w-road-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem clamp(1.25rem, 3vw, 2.5rem); }
.w-road-list li { display: grid; gap: .4rem; padding: 1.25rem 1.4rem; border-radius: 18px; background: var(--surface); border: 1px dashed var(--honey); min-width: 0; }
.w-road-list p { color: var(--muted); font-size: .97rem; }
.w-closing { margin: clamp(2.5rem, 6vw, 4rem) 0 0; position: relative; }
.w-closing img { border-radius: 24px; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 30%; }
.w-closing figcaption { position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 250, 238, .92); font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.25rem); }
@media (max-width: 700px) { .w-road-list { grid-template-columns: 1fr; } .w-closing img { aspect-ratio: 16 / 10; } }

/* ---------- disclaimer */
.w-disclaimer { padding-block: 2.5rem 0; }
.w-disclaimer .wrap { display: grid; gap: .6rem; padding-block: 1.5rem; border-radius: 18px; background: rgba(148, 165, 129, .14); }
.w-disclaimer p { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ---------- raw data kinds */
.w-chips:has(+ .w-sources) { margin-bottom: 1.1rem; }
.w-sources { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin: 0 0 clamp(2.5rem, 6vw, 3.5rem); }
.w-sources-label { font-size: .85rem; color: var(--muted); }
.w-sources ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.w-sources li { padding: .2rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface, #fff); font-size: .85rem; }
