:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #17211d;
  --muted: #62706a;
  --line: #dbe2dc;
  --deep: #12362c;
  --green: #1f7a56;
  --green-soft: #e4f4ec;
  --blue: #2468a8;
  --blue-soft: #e9f2fb;
  --coral: #c75f46;
  --coral-soft: #faece7;
  --yellow: #f2b84b;
  --shadow: 0 18px 48px rgba(24, 35, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid rgba(219, 226, 220, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  font-size: 22px;
  font-weight: 800;
  color: var(--deep);
}

.brand-copy {
  color: var(--muted);
  font-size: 14px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: #34443d;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  padding: 6px 0;
}

.inline-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  border-bottom: 2px solid currentColor;
  color: var(--green);
  font-weight: 800;
}

.mcp-section .inline-link {
  color: #baf2d3;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 27, 22, 0.78), rgba(9, 27, 22, 0.42) 56%, rgba(9, 27, 22, 0.16)),
    url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=2200&q=80") center / cover;
  color: #ffffff;
}

.hero-inner {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c9f5dd;
}

.hero h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1;
  font-weight: 850;
  max-width: 880px;
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.56;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 750;
}

.button.primary,
button {
  background: var(--yellow);
  color: #1f1a0c;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 12px;
  max-width: 640px;
  margin: 42px 0 0;
}

.hero-signals div {
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
}

.hero-signals dt {
  font-weight: 850;
  font-size: 18px;
}

.hero-signals dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.4;
}

.service-hero {
  min-height: 82vh;
  background:
    linear-gradient(90deg, rgba(9, 27, 22, 0.84), rgba(9, 27, 22, 0.56) 58%, rgba(9, 27, 22, 0.18)),
    url("https://images.unsplash.com/photo-1491013516836-7db643ee125a?auto=format&fit=crop&w=2200&q=80") center / cover;
}

.question-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  margin-top: 34px;
}

.question-chips span {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 750;
}

.section {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro-strip {
  padding-top: 54px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.22;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.capability-grid,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability,
.quality-grid article,
.flow-grid article,
.tool-groups article,
.naming-card,
.prompt-result,
.prompt-builder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability {
  min-height: 236px;
  padding: 18px;
}

.capability-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 850;
}

.capability:nth-child(2) .capability-icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.capability:nth-child(3) .capability-icon {
  background: var(--coral-soft);
  color: var(--coral);
}

.capability:nth-child(4) .capability-icon {
  background: #fff4d9;
  color: #946711;
}

.capability h3,
.quality-grid h3,
.flow-grid h3,
.tool-groups h3 {
  margin: 16px 0 8px;
  font-size: 19px;
}

.capability p,
.quality-grid p,
.flow-grid p,
.tool-groups p,
.naming-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.worry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.worry-card {
  min-width: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 12px;
  text-align: left;
  box-shadow: 0 8px 28px rgba(24, 35, 30, 0.08);
}

.worry-card.active {
  border-color: var(--green);
  box-shadow: 0 14px 36px rgba(31, 122, 86, 0.18);
}

.worry-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  margin-bottom: 12px;
  background: var(--green-soft) center / cover;
}

.worry-photo.meal {
  background-image: url("https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=900&q=80");
}

.worry-photo.play {
  background-image: url("https://images.unsplash.com/photo-1558021212-51b6ecfa0db9?auto=format&fit=crop&w=900&q=80");
}

.worry-photo.care {
  background-image: url("https://images.unsplash.com/photo-1546015720-b8b30df5aa27?auto=format&fit=crop&w=900&q=80");
}

.worry-photo.water {
  background-image: url("https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=900&q=80");
}

.worry-photo.medical {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=900&q=80");
}

.worry-card strong {
  font-size: 18px;
  line-height: 1.3;
}

.worry-card small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.4;
}

.map-preview-section {
  width: 100%;
  background: #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-preview-section > .section-heading,
.service-preview {
  width: min(1180px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

.service-preview {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(320px, 0.9fr);
  gap: 14px;
  align-items: stretch;
}

.map-panel,
.answer-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.map-panel {
  overflow: hidden;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}

.map-toolbar span {
  color: var(--deep);
  font-weight: 850;
}

.map-toolbar strong {
  color: var(--muted);
  font-size: 14px;
}

.map-canvas {
  position: relative;
  height: 430px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36, 104, 168, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(36, 104, 168, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbf9, #e4f4ec);
  background-size: 46px 46px, 46px 46px, auto;
}

.map-road {
  position: absolute;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(203, 216, 209, 0.8);
}

.road-a {
  width: 82%;
  left: 5%;
  top: 45%;
  transform: rotate(-18deg);
}

.road-b {
  width: 72%;
  left: 16%;
  top: 58%;
  transform: rotate(28deg);
}

.map-route {
  position: absolute;
  width: 46%;
  height: 4px;
  left: 30%;
  top: 52%;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--green), var(--green) 16px, transparent 16px, transparent 24px);
  transform: rotate(-13deg);
}

.map-pin,
.map-origin {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 12px 22px rgba(24, 35, 30, 0.22);
  transform: translate(-50%, -50%);
}

.map-pin.primary {
  background: var(--green);
}

.map-pin.play {
  background: var(--blue);
}

.map-pin.care {
  background: var(--coral);
}

.map-pin.medical {
  background: #b73443;
}

.map-origin {
  width: 54px;
  background: var(--deep);
  font-size: 12px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.meal-dot {
  background: var(--green);
}

.play-dot {
  background: var(--blue);
}

.care-dot {
  background: var(--coral);
}

.medical-dot {
  background: #b73443;
}

.answer-panel {
  padding: 22px;
}

.answer-panel h3 {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: 27px;
  line-height: 1.28;
}

.answer-stack {
  display: grid;
  gap: 12px;
}

.answer-stack article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  padding: 14px;
}

.answer-stack b {
  color: var(--green);
  font-size: 13px;
}

.answer-stack strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
}

.answer-stack p,
.answer-stack li {
  color: var(--muted);
  line-height: 1.55;
}

.answer-stack p {
  margin: 6px 0 0;
}

.answer-stack ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.answer-format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.answer-format-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.answer-format-grid span {
  color: var(--coral);
  font-size: 28px;
  font-weight: 850;
}

.answer-format-grid h3 {
  margin: 18px 0 8px;
}

.answer-format-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.visual-flow {
  width: min(1180px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 28px auto 0;
}

.visual-flow article {
  min-width: 0;
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.visual-flow b {
  display: block;
  margin-bottom: 12px;
  color: #9fe3bd;
}

.visual-flow span {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
}

.planner-section {
  width: 100%;
  background: #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.planner-section > .section-heading,
.planner-panel {
  width: min(1180px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

.planner-panel {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 14px;
  align-items: stretch;
}

.prompt-builder {
  display: grid;
  gap: 12px;
  padding: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #2b3b34;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px;
}

.prompt-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 260px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.prompt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.prompt-result p {
  margin: 0;
  color: var(--deep);
  font-size: 24px;
  line-height: 1.52;
  font-weight: 780;
}

.prompt-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-flow span {
  border: 1px solid #cbd8d1;
  border-radius: 999px;
  background: #f8fbf9;
  color: #385047;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 750;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.flow-grid article {
  min-height: 230px;
  padding: 18px;
}

.flow-grid b {
  color: var(--coral);
  font-size: 26px;
}

.mcp-section {
  width: 100%;
  background: var(--deep);
  color: #ffffff;
}

.mcp-section > .section-heading,
.mcp-layout {
  width: min(1180px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

.mcp-section .eyebrow {
  color: #9fe3bd;
}

.mcp-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.mcp-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 14px;
}

.mcp-layout > *,
.tool-groups > * {
  min-width: 0;
}

.naming-card,
.tool-groups article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.naming-card {
  padding: 20px;
}

.naming-card span {
  color: #9fe3bd;
  font-weight: 800;
}

.naming-card strong {
  display: block;
  margin: 14px 0;
  font-size: 26px;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

code {
  display: inline-block;
  max-width: 100%;
  border-radius: 6px;
  background: rgba(36, 104, 168, 0.12);
  color: #103f67;
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.mcp-section code {
  background: rgba(255, 255, 255, 0.12);
  color: #e8f8ef;
}

.tool-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tool-groups article {
  padding: 18px;
}

.tool-groups p,
.naming-card p {
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
}

.quality-grid article {
  min-height: 210px;
  padding: 18px;
}

.guide-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 54, 44, 0.95), rgba(31, 122, 86, 0.76)),
    url("https://images.unsplash.com/photo-1456406644174-8ddd4cd52a06?auto=format&fit=crop&w=2200&q=80") center / cover;
  color: #ffffff;
}

.guide-hero-inner {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.guide-hero .eyebrow {
  color: #d4f8e2;
}

.guide-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 48px;
  line-height: 1.14;
}

.guide-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.7;
}

.tool-hero {
  background:
    linear-gradient(90deg, rgba(18, 54, 44, 0.96), rgba(18, 54, 44, 0.72)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=2200&q=80") center / cover;
}

.chain-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.chain-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(24, 35, 30, 0.08);
}

.chain-visual {
  min-height: 150px;
  background: var(--green-soft) center / cover;
}

.chain-visual.meal {
  background-image: url("https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?auto=format&fit=crop&w=900&q=80");
}

.chain-visual.play {
  background-image: url("https://images.unsplash.com/photo-1558021212-51b6ecfa0db9?auto=format&fit=crop&w=900&q=80");
}

.chain-visual.care {
  background-image: url("https://images.unsplash.com/photo-1546015720-b8b30df5aa27?auto=format&fit=crop&w=900&q=80");
}

.chain-visual.water {
  background-image: url("https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=900&q=80");
}

.chain-visual.medical {
  background-image: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=900&q=80");
}

.chain-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.chain-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.chain-question {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.chain-output {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chain-output span {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.chain-tools {
  display: grid;
  gap: 5px;
  margin-top: auto;
}

.chain-tools code {
  width: fit-content;
  font-size: 11px;
}

.guide-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.guide-flow article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.guide-flow b {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 18px;
}

.guide-flow h3 {
  margin: 16px 0 8px;
}

.guide-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.catalog-section {
  width: 100%;
  background: #eef5f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-section > .section-heading,
.tool-controls,
.tool-count,
.tool-card-grid {
  width: min(1180px, calc(100vw - 40px));
  margin-left: auto;
  margin-right: auto;
}

.tool-controls {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}

.tool-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid #cbd8d1;
  background: #ffffff;
  color: #34443d;
}

.filter-button.active {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.tool-search {
  font-size: 14px;
}

.tool-count {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 750;
}

.compact-tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compact-tool-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr) minmax(220px, 0.8fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 13px;
}

.compact-tool-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.compact-tool-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.compact-tool-card .tool-name {
  margin-bottom: 8px;
  font-size: 11px;
}

.compact-tool-card .tool-purpose {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #394941;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.compact-tool-meta {
  display: grid;
  gap: 5px;
}

.compact-tool-meta span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.compact-example {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  border-radius: 7px;
  background: #f8fbf9;
  padding: 10px;
}

.compact-example p {
  margin: 0;
  color: #34443d;
  font-size: 12px;
  line-height: 1.4;
}

.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  min-width: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(24, 35, 30, 0.08);
}

.tool-card-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.tool-badge,
.tool-mode {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 800;
}

.tool-badge {
  background: var(--green-soft);
  color: var(--green);
}

.tool-mode {
  background: var(--blue-soft);
  color: var(--blue);
}

.tool-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.tool-name {
  width: fit-content;
  margin-bottom: 14px;
}

.tool-purpose {
  margin: 0;
  color: #394941;
  line-height: 1.6;
}

.tool-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.tool-meta div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.tool-meta dt {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.tool-meta dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tool-example {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin-top: auto;
  border: 1px solid #dce6df;
  border-radius: 8px;
  background: #f8fbf9;
  padding: 14px;
}

.tool-example strong {
  font-size: 13px;
  color: var(--deep);
}

.tool-example p {
  margin: 6px 0 0;
  color: #34443d;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.copy-tool-example {
  min-height: 34px;
  padding: 0 12px;
  background: var(--deep);
  color: #ffffff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer a {
  font-weight: 800;
  color: var(--green);
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 52px;
  }

  .capability-grid,
  .quality-grid,
  .flow-grid,
  .guide-flow,
  .chain-grid,
  .tool-card-grid,
  .worry-grid,
  .answer-format-grid,
  .visual-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planner-panel,
  .mcp-layout,
  .tool-controls,
  .service-preview {
    grid-template-columns: 1fr;
  }

  .compact-tool-list,
  .compact-tool-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: 74vh;
  }

  .hero h1 {
    font-size: 44px;
  }

  .guide-hero h1 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-signals,
  .capability-grid,
  .quality-grid,
  .flow-grid,
  .guide-flow,
  .chain-grid,
  .tool-groups,
  .tool-card-grid,
  .worry-grid,
  .answer-format-grid,
  .visual-flow {
    grid-template-columns: 1fr;
  }

  .map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-canvas {
    height: 340px;
  }

  .answer-panel h3 {
    font-size: 22px;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .prompt-result p {
    font-size: 20px;
  }

  .tool-card {
    min-height: auto;
  }

  .tool-example {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
