/* Growit 회사 페이지 (홈 · 소개 · 앱 · 문의). 앱 페이지의 도트 스타일(style.css)과 따로 둔다 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* --faint 는 작은 글씨에도 쓰므로 배경 대비 4.5:1 이상 (밝게 4.77 · 어둡게 5.42) */
:root {
  --bg: #fafaf7; --surface: #ffffff; --ink: #121417; --muted: #5f646b; --faint: #6b7077;
  --line: #e6e5df; --accent: #2f5d46; --accent-ink: #ffffff; --accent-soft: #e9f0ea;
  --stage: #f0eef6;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1011; --surface: #16191a; --ink: #f1f1ed; --muted: #a3a7ab; --faint: #8a8f94;
    --line: #26292b; --accent: #8fc1a4; --accent-ink: #0e1011; --accent-soft: #17231c;
    --stage: #1a1a22; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
/* 일본어 · 중국어: Pretendard 에 없는 글자는 각 OS 글꼴로. keep-all 은 띄어쓰기 없는 문장을 줄바꿈하지 못하게 하므로 끈다 */
html:lang(ja) body { font-family: "Pretendard Variable", Pretendard, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
html:lang(zh-Hans) body { font-family: "Pretendard Variable", Pretendard, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html:lang(ja) body, html:lang(zh-Hans) body { word-break: normal; line-break: strict; }
html:lang(en) body { word-break: normal; }
html:lang(ja) .hero h1 { font-size: clamp(28px, 5vw, 56px); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.link { color: var(--muted); text-decoration: none; font-size: 15px; }
.link:hover { color: var(--ink); }

/* 머리말 */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.site-head nav { display: flex; gap: 28px; font-size: 15px; white-space: nowrap; }
.site-head nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--ink); }
.site-head nav a[aria-current] { font-weight: 600; }
.head-right { display: flex; align-items: center; gap: 28px; }

/* 언어 선택: 스크립트 없이 details 로 여닫음 */
.lang { position: relative; font-size: 14px; }
.lang summary { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 15px; height: 15px; }
.lang summary:hover, .lang[open] summary { color: var(--ink); border-color: var(--faint); }
.lang > div { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 148px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgb(0 0 0 / .12); }
.lang > div a { padding: 8px 12px; border-radius: 9px; text-decoration: none; }
.lang > div a:hover { background: var(--bg); }
.lang > div a[aria-current] { font-weight: 600; color: var(--accent); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.ghost { border-color: var(--line); background: var(--surface); }
.btn:hover { transform: translateY(-1px); }
.btn.ghost:hover { border-color: var(--faint); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }

/* 섹션 */
main section { padding: 120px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 40px; }
.sec-head p { margin-top: 12px; color: var(--muted); max-width: 32em; }
.page-head { padding: 96px 0 0; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 14px; }
.page-head p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 36em; }

/* 히어로: 왼쪽 문장 · 오른쪽 실제 앱 화면 */
.hero { padding: 88px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero h1 { max-width: 12em; }
.hero p { margin-top: 24px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 26em; }
.hero-shot { position: relative; justify-self: center; width: min(100%, 300px); }
.hero-shot::before { content: ""; position: absolute; inset: 8% -22% 4%; border-radius: 40px; background: var(--stage); z-index: -1; }
.phone { display: block; border-radius: 9% / 4.2%; box-shadow: 0 2px 4px rgb(20 20 40 / .06), 0 24px 48px -12px rgb(20 20 40 / .22); }

/* 대표 앱: 앱 정보 + 화면 세 장 */
.product { padding: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; }
.product-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.app-icon { width: 80px; height: 80px; border-radius: 19px; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 8px 24px rgb(0 0 0 / .08); }
.product-top h3 { font-size: 24px; }
.product-top .meta { margin-top: 2px; color: var(--muted); }
.product-top .tags { margin-top: 6px; font-size: 13px; color: var(--faint); }
.product-top .actions { margin: 0 0 0 auto; }
.product-desc { margin-top: 28px; color: var(--muted); max-width: 40em; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding: 40px 40px 0; background: var(--stage); border-radius: 20px; overflow: hidden; }
.phones figure { margin: 0; }
.phones img { margin-bottom: -18%; }
.features { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.features b { display: block; font-weight: 600; }
.features span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.product .more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 소개: 왼쪽 제목 · 오른쪽 내용 */
.split { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding-top: 48px; margin-top: 48px; border-top: 1px solid var(--line); }
.split:first-of-type { margin-top: 64px; }
.split > h2 { font-size: 20px; }
.split .lead { font-size: 20px; line-height: 1.7; }
.split .lead + .lead { margin-top: 16px; }
.values { display: grid; gap: 0; }
.values > div { display: grid; grid-template-columns: 48px 160px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.values > div:first-child { padding-top: 0; }
.values .num { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.values h3 { font-size: 18px; }
.values p { color: var(--muted); }

/* 문의 · 회사 정보 */
.mail-big { display: inline-block; margin-top: 28px; font-size: clamp(24px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; border-bottom: 2px solid var(--accent); }
.biz { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; }
.biz dt { color: var(--faint); }
.biz dd { margin: 0; }

/* 마무리 띠 */
.closing { margin-top: 120px; padding: 64px 0; background: var(--ink); color: var(--bg); }
.closing .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.closing p { margin-top: 8px; color: color-mix(in srgb, var(--bg) 65%, var(--ink)); }
.closing .btn.primary { background: var(--bg); color: var(--ink); }

/* 꼬리말 */
.site-foot { margin-top: 120px; padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.closing + .site-foot { margin-top: 0; border-top: 0; }
.site-foot .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-foot nav { display: flex; gap: 24px; }
.site-foot nav a { text-decoration: none; }
.site-foot nav a:hover { color: var(--ink); }
.site-foot .biz-line { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--faint); }
.site-foot .copy { margin-top: 8px; color: var(--faint); }

@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .site-head nav { gap: 16px; font-size: 14px; }
  .head-right { gap: 14px; }
  main section, .page-head { padding-top: 80px; }
  .hero { padding-top: 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero-shot { width: 220px; }
  .product { padding: 24px; border-radius: 22px; }
  .product-top .actions { margin: 0; width: 100%; }
  .app-icon { width: 64px; height: 64px; border-radius: 15px; }
  .phones { gap: 10px; padding: 20px 16px 0; margin-top: 28px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .values > div { grid-template-columns: 36px 1fr; }
  .values > div p { grid-column: 2; }
  .closing, .site-foot { margin-top: 80px; }
}
/* 좁은 화면: 1줄 로고 · 언어, 2줄 메뉴 (일본어 메뉴가 한 줄에 들어가지 않음) */
@media (max-width: 560px) {
  .site-head .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; }
  .head-right { display: contents; }
  .lang { margin-left: auto; }
  .site-head nav { order: 2; width: 100%; padding: 8px 0 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .site-head nav a { transition: none; } }
