/* 집숲 landing. Type: Wanted Sans (OFL, self-hosted in /fonts/wanted-sans), headings 600 at -0.02~-0.025em (docs/research/font-refs).
    Tokens taken from white SaaS references (docs/research/landing-css/README.md):
   type scale and tracking from Channel Talk / Attio, card ring shadow and bento from Cal.com, pill buttons from Channel Talk. */
:root {
  --bg: #fff; --subtle: #f7f7f8; --ink: #18181b; --text: #3f3f46; --muted: #71717a; --line: #ebebee; --line2: #e4e4e7;
  --dark: #242428; --accent: #1f4a36; --accent-soft: #e9f1ec; --red: #d92d20;
  --ring: 0 0 0 1px rgba(24,24,27,.07), 0 1px 2px rgba(24,24,27,.04), 0 4px 12px -2px rgba(24,24,27,.05);
  --lift: 0 0 0 1px rgba(24,24,27,.06), 0 24px 48px -24px rgba(24,24,27,.22), 0 8px 16px -8px rgba(24,24,27,.08);
  --sans: "Wanted Sans Variable", "Wanted Sans", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; letter-spacing: -0.005em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--dark); color: #fff; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; border: 0; cursor: pointer; text-decoration: none; transition: background .15s, box-shadow .15s; }
.btn:hover { background: #000; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.line:hover { background: var(--subtle); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line2); font-size: 13px; font-weight: 500; color: var(--text); }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* nav */
nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: var(--wrap); margin: 0 auto; height: 60px; padding: 0 20px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand b { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }
.brand span { font-size: 13px; color: var(--muted); }
.nav-l { display: none; gap: 4px; font-size: 15px; font-weight: 500; }
.nav-l a { text-decoration: none; color: var(--text); padding: 6px 12px; border-radius: 8px; }
.nav-l a:hover { background: var(--subtle); color: var(--ink); }
.nav-in > .btn { margin-left: auto; }

/* hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 0; text-align: center; }
.hero h1 { margin-top: 20px; font-size: 36px; line-height: 1.22; letter-spacing: -0.025em; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin: 18px auto 0; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.stage { position: relative; margin: 48px 0 0; padding: 8px; border-radius: 20px; background: var(--subtle); box-shadow: inset 0 0 0 1px var(--line); }
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--ring); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.browser .bar span { margin: 0 auto; background: var(--subtle); border-radius: 6px; padding: 2px 40px; }
.browser img { display: block; width: 100%; height: auto; }
.phone { display: none; }
.stage figcaption { padding: 10px 6px 2px; font-size: 13px; color: var(--muted); text-align: center; }

.facts { max-width: var(--wrap); margin: 40px auto 0; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts b { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.facts span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* sections */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 96px 20px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto; }
.sec-head h2 { margin-top: 16px; font-size: 30px; line-height: 1.25; letter-spacing: -0.02em; }
.sec-head .sub { margin-top: 14px; font-size: 17px; color: var(--muted); }
.plans-head { padding: 112px 20px 40px; }

.bento { display: grid; gap: 16px; margin-top: 48px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: var(--ring); overflow: hidden; }
.c-copy { padding: 28px 28px 0; }
.tag { font-size: 13px; font-weight: 600; color: var(--accent); }
.card h3 { margin-top: 8px; font-size: 21px; line-height: 1.35; letter-spacing: -0.02em; }
.c-copy > p:not(.tag) { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text); }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 6px; height: 3px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.shot { margin: 24px 0 0 28px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px 0 0 0; box-shadow: var(--ring); }
.shot figcaption { order: -1; align-self: flex-end; margin: 0 16px 8px 0; font-size: 12px; color: var(--muted); }
.shot.tall { margin: 24px 28px 0; align-items: center; }
.shot.tall img { max-width: 300px; border-radius: 20px 20px 0 0; }
.shot.tall figcaption { align-self: center; margin: 0 0 8px; }

.tiles { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
.tiles > div { padding: 24px; border-radius: 16px; box-shadow: var(--ring); background: #fff; }
.tiles svg { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--subtle); box-shadow: inset 0 0 0 1px var(--line); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tiles b { display: block; margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.tiles p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* plans */
.plans { display: grid; gap: 16px; padding: 0 20px; max-width: var(--wrap); margin: 0 auto; }
.plan { position: relative; background: #fff; border-radius: 20px; padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--ring); }
.plan.hl { box-shadow: inset 0 0 0 2px var(--ink), var(--lift); }
.plan .pick { position: absolute; top: 28px; right: 24px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan h2 { font-size: 20px; letter-spacing: -0.02em; }
.plan .for { color: var(--muted); font-size: 15px; }
.plan .price { margin-top: 18px; color: var(--ink); }
.plan .price b { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.plan .price span { color: var(--muted); margin-left: 4px; }
.plan .setup { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 18px 0 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex: 1; }
.plan li { padding-left: 24px; position: relative; line-height: 1.5; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.plan li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 3px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan b { color: var(--ink); font-weight: 600; }
.soon { display: inline-block; margin-left: 2px; padding: 0 7px; border-radius: 999px; background: var(--subtle); box-shadow: inset 0 0 0 1px var(--line2); font-size: 11px; font-weight: 600; color: var(--muted); vertical-align: 1px; white-space: nowrap; }
.plan .btn { width: 100%; }

.video { max-width: var(--wrap); margin: 16px auto 0; padding: 0 20px; display: grid; gap: 16px; }
.video .v-copy { background: var(--subtle); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.video .label { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line2); }
.video .v-copy h2 { font-size: 22px; letter-spacing: -0.02em; }
.video .v-copy p:not(.label) { color: var(--muted); font-size: 15px; }
.v-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-prices div { background: #fff; border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 2px; justify-content: center; box-shadow: var(--ring); }
.v-prices div.hl { box-shadow: inset 0 0 0 2px var(--ink); }
.v-prices b { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.v-prices span { font-size: 13px; color: var(--muted); }
.vat { max-width: var(--wrap); margin: 20px auto 0; padding: 0 20px; color: var(--muted); font-size: 14px; }

.why, .license, .ask { max-width: 1000px; margin: 0 auto; padding: 96px 20px 0; }
.why h2, .license h2, .ask h2 { font-size: 28px; letter-spacing: -0.02em; }
.grid3 { display: grid; gap: 12px; margin-top: 28px; }
.grid3 > div { border-radius: 16px; padding: 24px; box-shadow: var(--ring); }
.grid3 b { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.grid3 p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.license dl { margin: 28px 0 0; display: grid; border-top: 1px solid var(--line); }
.license dt { font-weight: 600; color: var(--ink); padding-top: 18px; }
.license dd { margin: 6px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); }

.ask .lead { color: var(--muted); margin-top: 10px; }
#askForm { display: grid; gap: 16px; margin-top: 28px; background: #fff; border-radius: 20px; padding: 24px 20px; box-shadow: var(--lift); }
#askForm label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
#askForm label i { color: var(--red); font-style: normal; }
#askForm input, #askForm select, #askForm textarea { font: inherit; font-weight: 400; font-size: 15px; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line2); background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
#askForm input:focus, #askForm select:focus, #askForm textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,24,27,.08); }
#askForm .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#askForm .note { font-size: 13px; color: var(--muted); }
#askForm .err { min-height: 1.4em; font-size: 15px; }
#askForm .err.ok { color: #157f3c; font-weight: 600; }
#askForm .err.bad { color: var(--red); }
footer { max-width: var(--wrap); margin: 96px auto 0; padding: 28px 20px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (min-width: 760px) {
  .nav-in { padding: 0 32px; height: 64px; }
  .nav-l { display: flex; }
  .hero { padding: 96px 32px 0; }
  .hero h1 { font-size: 60px; line-height: 1.16; letter-spacing: -0.025em; }
  .hero .lead { font-size: 19px; margin-top: 24px; }
  .cta { margin-top: 36px; }
  .stage { margin: 72px 40px 0; padding: 10px; border-radius: 24px; }
  .phone { display: block; position: absolute; right: -28px; bottom: 36px; width: 180px; border-radius: 30px; padding: 7px; background: #1c1c1f; box-shadow: var(--lift); }
  .phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
  .facts { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; padding: 0 32px; }
  .facts div { padding: 4px 24px; border-left: 1px solid var(--line); }
  .facts div:first-child { border-left: 0; }
  .sec { padding: 144px 32px 0; }
  .sec-head h2 { font-size: 44px; line-height: 1.22; letter-spacing: -0.02em; }
  .sec-head .sub { font-size: 18px; }
  .plans-head { padding: 160px 32px 56px; }
  .bento { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.5fr; }
  .card.wide .c-copy { padding: 48px 0 48px 48px; align-self: center; }
  .card.wide .shot { margin: 48px 0 0 48px; }
  .c-chat.wide { grid-template-columns: 1fr 1fr; background: linear-gradient(180deg, #fff 0%, var(--subtle) 100%); }
  .c-chat.wide .shot.tall { margin: 48px 48px 0; }
  .c-chat .shot.tall img { max-width: 340px; }
  .c-copy { padding: 36px 36px 0; }
  .card h3 { font-size: 24px; }
  .shot { margin: 28px 0 0 36px; }
  .shot.tall { margin: 28px 36px 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
  .plans { grid-template-columns: repeat(3, 1fr); padding: 0 32px; }
  .video { grid-template-columns: 1.3fr 1fr; padding: 0 32px; }
  .v-prices { grid-template-columns: 1fr; }
  .vat { padding: 0 32px; }
  .why, .license, .ask { padding: 144px 32px 0; }
  .why h2, .license h2, .ask h2 { font-size: 40px; letter-spacing: -0.02em; }
  .grid3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .license dl { grid-template-columns: 200px 1fr; }
  .license dt { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .license dd { margin: 0; padding: 20px 0; }
  #askForm { grid-template-columns: 1fr 1fr; padding: 36px; }
  #askForm .full { grid-column: 1 / -1; }
  footer { padding: 32px 32px 56px; }
}
@media (min-width: 1100px) {
  .hero h1 { font-size: 68px; }
  .phone { right: -48px; width: 200px; }
}
@media (min-width: 760px) { .m-br { display: none; } }
