/* 스타트업 키우기 소개 페이지 — 민트·크림·픽셀 제목. 글씨 효과 없음(기울기·그라데이션·그림자 X). */
:root {
  --bg: #BFDDC6;
  --bg-dot: #B1D3B9;
  --cream: #FFF8E6;
  --cream-2: #FDF0CF;
  --ink: #4A3A2C;
  --ink-soft: #6E5E4C;
  --line: #5A4636;
  --green: #3FA37E;
  --green-dark: #2F6B53;
  --green-deep: #24523F;
  --frame: #3E3228;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(var(--bg-dot) 2px, transparent 2px);
  background-size: 22px 22px;
  font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
.px { image-rendering: pixelated; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
a { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }
main p { text-wrap: pretty; }
main h1, main h2, main h3 { text-wrap: balance; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 30; background: var(--cream); color: var(--ink); padding: 8px 14px; border: 2px solid var(--line); border-radius: 10px; }
.skip:focus { top: 8px; }

/* top bar (다른 안내 페이지도 같이 씀) */
.top { background: var(--cream); border-bottom: 3px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Galmuri11", sans-serif; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border: 2px solid var(--line); border-radius: 8px; }
.top nav { white-space: nowrap; }
.top nav a { font-family: "Galmuri11", sans-serif; font-size: .9rem; color: var(--ink); text-decoration: none; margin-left: 18px; }
.top nav a:hover { color: var(--green-dark); text-decoration: underline; }
section[id] { scroll-margin-top: 72px; }

/* hero */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.title {
  font-family: "Galmuri11", sans-serif; font-weight: 700;
  font-size: 72px; line-height: 1.15; margin: 0 0 18px;
  color: var(--ink);
}
.lead { font-family: "Galmuri11", sans-serif; font-size: 24px; line-height: 1.6; margin: 0 0 14px; }
.sub { font-size: 1.05rem; margin: 0 0 18px; max-width: 32em; }
.tags { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.tags li { font-family: "Galmuri11", sans-serif; font-size: .95rem; color: var(--green-deep); }
.tags li + li::before { content: "·"; margin: 0 10px; color: var(--green-deep); }
/* 출시 상태 — 출시일에 스토어 링크 연결 */
.release { border-top: 2px solid rgba(47, 107, 83, .35); padding-top: 16px; max-width: 32em; }
.release p { margin: 0; }
.release-title { font-family: "Galmuri11", sans-serif; font-weight: 700; font-size: 24px; color: var(--green-deep); line-height: 1.4; }
.release-note { font-size: .95rem; }
.btn { display: inline-block; margin-top: 12px; background: var(--green-deep); color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 10px; font-weight: 700; }
.btn:hover { filter: brightness(1.1); }
.hero-phone { justify-self: center; }

/* phone frame */
.phone {
  display: block; width: 300px; border: 8px solid var(--frame); border-radius: 34px; overflow: hidden;
  background: var(--frame); box-shadow: 0 10px 0 rgba(62, 50, 40, .3);
}
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; }
.phone.small { width: 250px; }

/* section heads */
.section-title {
  font-family: "Galmuri11", sans-serif; font-weight: 700; font-size: 36px; line-height: 1.4;
  text-align: center; margin: 0 0 12px; color: var(--ink);
}
.section-lead { text-align: center; margin: 0 auto 32px; max-width: 36em; }

/* features */
.features { padding: 40px 0 24px; }
.features .section-title { margin-bottom: 32px; }
.feature {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  background: var(--cream); border: 3px solid var(--line); border-radius: 22px;
  box-shadow: 0 7px 0 var(--line); padding: 30px 40px; margin: 0 0 34px;
}
.feature.flip { grid-template-columns: auto 1fr; }
.feature.flip > .phone { order: -1; }
.feature-text h3 { font-family: "Galmuri11", sans-serif; font-size: 24px; margin: 4px 0 12px; line-height: 1.4; }
.feature-text p { margin: 0; }
.feature-text b { color: var(--green-dark); }
.num { font-family: "Galmuri11", sans-serif; font-weight: 700; font-size: 1rem; color: var(--green-dark); }
.feature-text .num { margin: 0; }

/* growth */
.growth { padding: 36px 0 30px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  display: flex; flex-direction: column; background: var(--cream); border: 3px solid var(--line); border-radius: 22px;
  box-shadow: 0 7px 0 var(--line); padding: 22px 22px 24px;
}
.step .step-num { margin: 0; font-family: "Galmuri11", sans-serif; font-weight: 700; font-size: 1rem; color: var(--green-dark); }
.step h3 { font-family: "Galmuri11", sans-serif; font-size: 22px; line-height: 1.4; margin: 2px 0 8px; }
.step p { margin: 0 0 16px; }
.step img { margin-top: auto; width: 100%; aspect-ratio: 1 / 1; border: 3px solid var(--line); border-radius: 14px; }

/* calm banner */
.calm { padding: 10px 0 34px; }
.calm-card {
  display: flex; gap: 26px; align-items: center; background: var(--green-dark); color: var(--cream);
  border: 3px solid var(--green-deep); border-radius: 22px; box-shadow: 0 7px 0 var(--green-deep); padding: 26px 32px;
}
.calm-card h2 { font-family: "Galmuri11", sans-serif; margin: 0 0 6px; font-size: 24px; line-height: 1.4; }
.calm-card p { margin: 0; }
.calm-cat { width: 120px; height: 120px; border: 3px solid var(--green-deep); border-radius: 18px; flex: none; }

/* gallery */
.gallery { padding: 30px 0 24px; }
.shots-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.shots-grid a { display: block; color: var(--ink); text-decoration: none; cursor: zoom-in; }
.shots-grid .phone { width: 100%; border-width: 6px; border-radius: 26px; box-shadow: 0 7px 0 rgba(62, 50, 40, .3); }
.shots-grid .phone img { border-radius: 20px; }
.shots-grid .cap { display: block; text-align: center; margin-top: 12px; font-family: "Galmuri11", sans-serif; font-size: .95rem; }
.shots-grid a:hover .cap { text-decoration: underline; }

/* cta */
.cta { padding: 24px 0 54px; }
.cta-card {
  text-align: center; background: var(--cream); border: 3px solid var(--line); border-radius: 22px;
  box-shadow: 0 7px 0 var(--line); padding: 32px 24px;
}
.cta-card h2 { font-family: "Galmuri11", sans-serif; font-size: 28px; line-height: 1.4; margin: 0 0 10px; color: var(--green-dark); }
.cta-card p { margin: 0 auto 8px; max-width: 34em; }
.cta-card .cta-small { margin: 14px auto 0; font-size: .95rem; color: var(--ink-soft); }

/* lightbox */
.lightbox { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; background: transparent; }
.lightbox::backdrop { background: rgba(40, 32, 24, .92); }
.lb-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.lb-figure img {
  max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto;
  border: 6px solid var(--frame); border-radius: 22px; background: var(--frame);
}
.lb-figure figcaption { color: var(--cream); font-family: "Galmuri11", sans-serif; font-size: 1rem; text-align: center; }
.lb-controls { display: flex; gap: 10px; }
.lb-btn {
  font-family: "Galmuri11", sans-serif; font-size: 1rem; color: var(--cream); cursor: pointer;
  background: var(--green-dark); border: 2px solid var(--cream); border-radius: 12px; padding: 8px 18px; min-height: 44px;
}
.lb-btn:hover { background: var(--green-deep); }

/* footer (다른 안내 페이지도 같이 씀) */
.foot { background: var(--cream); border-top: 3px solid var(--line); padding: 22px 0 28px; text-align: center; font-size: .92rem; color: var(--ink-soft); }
.foot nav a { display: inline-block; margin: 0 10px; font-weight: 600; }
.foot p { margin: 10px 0 0; }
.foot .biz { font-size: .82rem; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }

/* tablet */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .step { display: grid; grid-template-columns: 1fr 180px; grid-template-rows: auto auto 1fr; column-gap: 20px; }
  .step img { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; }
  .shots-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 14px; }
}

/* mobile: 제목 → 설명 → 그림 순서 */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { padding: 32px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .title { font-size: 48px; margin-bottom: 14px; }
  .lead { font-size: 20px; }
  .sub { margin-left: auto; margin-right: auto; }
  .tags { justify-content: center; }
  .release { margin: 0 auto; }
  .release-title { font-size: 22px; }
  .phone { width: 260px; }
  .phone.small { width: 240px; }
  .section-title { font-size: 28px; }
  .feature, .feature.flip { grid-template-columns: 1fr; padding: 24px 20px 28px; gap: 20px; }
  .feature.flip > .phone { order: 0; }
  .feature > .phone { justify-self: center; }
  .feature-text h3 { font-size: 22px; }
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
  .calm-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .cta-card h2 { font-size: 24px; }
}

@media (max-width: 560px) {
  .step { display: flex; padding: 20px 18px 22px; }
  .step img { margin-top: 4px; }
}

/* narrow phones (360px 이하) */
@media (max-width: 400px) {
  .top-row { gap: 8px; }
  .brand { gap: 8px; font-size: .92rem; }
  .brand img { width: 30px; height: 30px; }
  .top nav a { font-size: .875rem; margin-left: 10px; }
  .title { font-size: 42px; }
  .lead { font-size: 18px; }
  .shots-grid { gap: 20px 12px; }
  .shots-grid .phone { border-width: 5px; border-radius: 20px; }
  .shots-grid .phone img { border-radius: 15px; }
  .lb-btn { padding: 8px 14px; }
  .cta-card { padding: 28px 16px; }
  .cta-card h2 { font-size: 20px; }
}

/* 현재 캡처 전체를 비율 그대로 표시 */
.step img[src*="st1-"] { aspect-ratio:9 / 16; height:auto; object-fit:contain; }

.phone .legacy-note { margin:0; padding:8px; max-width:none; background:var(--cream); color:var(--ink); }
@media (max-width:560px) {
  .top-row { height:auto; min-height:60px; flex-wrap:wrap; justify-content:center; padding-top:10px; padding-bottom:10px; }
  .top nav { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 14px; white-space:normal; }
  .top nav a { margin-left:0; }
}

@media (max-width:560px) { .tags { gap:4px 16px; } .tags li + li::before { content:none; } }
