:root {
  --ink: #14181d;
  --muted: #5d676f;
  --line: #e4e7eb;
  --paper: #f3f5f6;
  --white: #fff;
  --accent: #16382c;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; letter-spacing: -0.03em; text-decoration: none; }
.mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 28px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.04em;
}
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-cta { color: var(--white) !important; background: var(--ink); border-radius: 8px; padding: 10px 14px; }

main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 650; }
.lead { color: var(--muted); font-size: 18px; max-width: 38rem; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 88px;
}
.actions { display: flex; gap: 10px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.button.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
}
.frame-bar { display: flex; gap: 6px; padding: 14px 16px; }
.frame-bar i { width: 8px; height: 8px; border-radius: 99px; background: #d5dbe1; display: block; }
.frame-body { padding: 12px 28px 32px; }
.mini-top { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; }
.mini-top b { width: 28px; height: 22px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; }
.mini-top span { width: 42px; height: 8px; border-radius: 99px; background: #dfe4e8; }
.frame-body strong { display: block; font-size: 28px; letter-spacing: -0.04em; }
.frame-body em { display: block; margin-top: 8px; color: var(--muted); font-style: normal; }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.mini-row div { height: 92px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }

.band { background: var(--paper); }
.band, #steps, #talk { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 80px max(20px, calc(50vw - 560px)); }
#steps, #talk { background: #fff; }
.cards, .steps, .gallery { display: grid; gap: 16px; margin-top: 28px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.cards article, .client, form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.band .cards article { background: #fff; }
.num { margin: 0 0 18px; color: var(--accent); font-weight: 700; }
.cards h3 { font-size: 22px; margin-bottom: 8px; }
.cards p, .steps span, footer p { color: var(--muted); }

.steps { grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; }
.steps li { padding-top: 16px; border-top: 2px solid var(--ink); }
.steps strong { display: block; font-size: 20px; margin-bottom: 8px; }

.section-head p { margin: 8px 0 0; color: var(--muted); }
.gallery { grid-template-columns: repeat(3, 1fr); }
.client {
  display: grid;
  gap: 18px;
  text-decoration: none;
  min-height: 180px;
}
.client-logo {
  width: 168px;
  height: auto;
  display: block;
}
.client em { display: block; color: var(--muted); font-style: normal; margin-top: 4px; }

#talk { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
}
textarea { min-height: 120px; resize: vertical; }
form button {
  justify-self: start;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
#inquiry-note { margin: 0; min-height: 1.4em; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px 32px 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .top { padding: 0 16px; height: auto; min-height: 64px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .top nav { gap: 14px; }
  .hero, .cards, .steps, #talk, .gallery { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
  main { width: min(1120px, calc(100% - 32px)); }
  footer { flex-direction: column; align-items: flex-start; padding: 24px 16px 36px; }
}
