/* 바른그립 랜딩 — 앱과 같은 "프리미엄 다크 그린" 톤
   토큰은 docs/03_디자인시스템.md 참고 */
:root {
  --green: #004A2A;        /* 로고 녹색 */
  --red: #E1251B;          /* 로고 깃발 빨강 — 포인트에만 */
  --bg: #0C1F17;           /* 페이지 배경 */
  --bg-2: #11281E;         /* 카드 배경 */
  --line: #22392D;
  --line-2: #2E4A3C;
  --text: #EDEFEA;
  --text-2: #C9D3CC;
  --muted: #8FA197;
  --lime: #9CF07A;         /* 강조 텍스트 */
  --gold: #F5C451;
  --gutter: max(20px, calc((100% - 1180px) / 2));
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px var(--gutter);
  display: flex; align-items: center; gap: 28px;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(12, 31, 23, .92); backdrop-filter: blur(10px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 19px; letter-spacing: -.4px; }
.brand-mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; background: #fff; border-radius: 50%; overflow: hidden; }
/* Center the round mark optically despite the paper plane extending right. */
.brand-mark img { width: 28px; height: 28px; max-width: none; transform: translateX(5.5%); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: 14.5px; color: var(--text-2); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { font-weight: 800; box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 3px; }
.btn-light { background: var(--text); color: var(--bg) !important; font-weight: 800; border-radius: 10px; padding: 10px 16px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); padding: 6px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- 공통 ---------- */
.eyebrow { font-size: 12px; letter-spacing: 4px; color: #B9C7A8; font-weight: 700; text-transform: uppercase; }
.accent { color: var(--lime); font-style: normal; }
.section { padding: 96px var(--gutter) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.25; }
.section-head p { font-size: 15.5px; color: #AEBBB3; max-width: 400px; line-height: 1.65; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.img { background-size: cover; background-position: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 15px 20px; font-weight: 800; font-size: 15px; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: var(--text); }
.btn-red { background: var(--red); color: #fff; }
.link-arrow { font-weight: 800; font-size: 15px; box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 3px; }

/* Google Play 버튼 */
.play-btn { display: inline-flex; align-items: center; gap: 10px; background: #000; border: 1px solid #555; border-radius: 12px; padding: 9px 18px; color: #fff; }
.play-btn svg { width: 26px; height: 26px; }
.play-btn small { display: block; font-size: 10px; color: #bbb; line-height: 1.2; }
.play-btn b { font-size: 17px; line-height: 1.2; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 30px; }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 680px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 130px var(--gutter) 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,31,23,.97) 0%, rgba(12,31,23,.85) 42%, rgba(12,31,23,.3) 100%), var(--hero-img) center / cover; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero > * { position: relative; z-index: 1; }
.hero-copy { flex: 1; max-width: 620px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.16; letter-spacing: -2px; font-weight: 800; margin-top: 16px; }
.hero p.lead { font-size: 18px; line-height: 1.65; color: #C8D1CB; margin-top: 18px; }
.hero .note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.hero--sub { min-height: 500px; }
.hero--sub h1 { font-size: clamp(36px, 3.9vw, 56px); max-width: 780px; }
.hero--sub p.lead { max-width: 640px; }

/* 히어로 폰 */
.phone { width: 280px; height: 580px; flex: none; border-radius: 40px; border: 8px solid #050505; overflow: hidden; background: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: rotate(-3deg); margin-right: 20px; position: relative; }
.phone__hero { height: 230px; position: relative; }
.phone__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,31,23,.1), var(--bg)); }
.phone__hero div { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: 20px; font-weight: 700; line-height: 1.3; }
.phone__hero small { display: block; font-size: 9px; letter-spacing: 2px; color: #B9C7A8; margin-bottom: 6px; }
.phone__search { margin: 4px 14px; border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 10px; padding: 11px; font-size: 12px; color: var(--muted); }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 56px 56px; gap: 6px; margin: 12px 14px 0; }
.bento div { border-radius: 9px; position: relative; overflow: hidden; }
.bento div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.72)); }
.bento b { position: absolute; left: 7px; bottom: 5px; z-index: 1; font-size: 11px; }
.bento .big { grid-row: span 2; }
.phone__tour { margin: 14px 14px 0; height: 116px; border-radius: 12px; position: relative; overflow: hidden; }
.phone__tour::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.8)); }
.phone__tour b { position: absolute; left: 10px; bottom: 9px; z-index: 1; font-size: 13px; }
.phone__tour span { position: absolute; left: 9px; top: 9px; z-index: 1; font-size: 9px; font-weight: 700; background: var(--red); border-radius: 4px; padding: 2px 6px; }

/* ---------- 숫자 띠 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 26px 0 24px 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { font-size: 32px; font-weight: 800; letter-spacing: -1px; }
.stats small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 기능 카드 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { overflow: hidden; }
.feature .img { height: 210px; position: relative; }
.feature .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--bg-2)); }
.feature__body { padding: 4px 24px 26px; }
.num { font-size: 12px; letter-spacing: 3px; color: var(--lime); font-weight: 800; }
.feature h3 { font-size: 21px; font-weight: 800; margin-top: 8px; letter-spacing: -.5px; }
.feature p { font-size: 14.5px; color: #AEBBB3; margin-top: 8px; line-height: 1.65; }

/* ---------- 원정투어 ---------- */
.tours { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.tour { border-radius: 22px; overflow: hidden; position: relative; min-height: 380px; display: flex; align-items: flex-end; }
.tour::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.86)); }
.tour > * { position: relative; z-index: 1; }
.tour__tag { position: absolute; left: 22px; top: 22px; font-size: 12px; font-weight: 800; background: var(--red); border-radius: 6px; padding: 5px 10px; }
.tour__tag--muted { background: rgba(0,0,0,.55); }
.tour__body { padding: 24px; width: 100%; }
.tour small { font-size: 12px; letter-spacing: 2px; color: #C8D1CB; font-weight: 600; }
.tour h3 { font-size: 28px; font-weight: 800; margin-top: 6px; letter-spacing: -.8px; }
.tour p { font-size: 14.5px; color: #D5DDD8; margin-top: 6px; }
.tour__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.tour__row b { font-size: 22px; }
.tour .btn { padding: 11px 16px; font-size: 14px; }

/* ---------- 단계 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps div { padding: 26px 26px 0 0; }
.steps b { font-size: 46px; font-weight: 800; color: var(--line-2); letter-spacing: -2px; }
.steps h3 { font-size: 19px; margin-top: 6px; }
.steps p { font-size: 14.5px; color: #AEBBB3; margin-top: 6px; line-height: 1.65; }

/* ---------- 신뢰 칩 ---------- */
.trust { display: flex; gap: 12px; flex-wrap: wrap; }
.trust span { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; font-size: 14px; color: var(--text-2); display: inline-flex; gap: 8px; align-items: center; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- 두 갈래 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 96px var(--gutter) 0; }
.split > a { border-radius: 22px; padding: 34px; border: 1px solid var(--line-2); background: var(--bg-2); display: block; transition: border-color .2s, transform .2s; }
.split > a:hover { border-color: var(--lime); transform: translateY(-2px); }
.split > a:first-child { background: linear-gradient(135deg, #123A28, #0E2A1E); }
.split h3 { font-size: 25px; font-weight: 800; margin-top: 10px; letter-spacing: -.6px; line-height: 1.35; }
.split p { font-size: 14.5px; color: #AEBBB3; margin-top: 10px; line-height: 1.65; }
.split .link-arrow { display: inline-block; margin-top: 22px; }

/* ---------- 마지막 CTA ---------- */
.final { margin: 96px var(--gutter) 0; border-radius: 26px; padding: 64px 32px; text-align: center; background: linear-gradient(180deg, rgba(12,31,23,.55), rgba(12,31,23,.95)), var(--final-img) center / cover; }
.final h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -1.4px; }
.final p { font-size: 16px; color: #C8D1CB; margin-top: 12px; }
.final .cta-row { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-size: 16.5px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 4px 20px; color: #AEBBB3; font-size: 15px; line-height: 1.7; max-width: 820px; }

/* ---------- partners ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare .card { padding: 32px; border-color: var(--line-2); }
.compare small { font-size: 12px; letter-spacing: 3px; font-weight: 800; color: #FF9C94; }
.compare .is-good small { color: var(--lime); }
.compare h3 { font-size: 24px; margin-top: 10px; letter-spacing: -.6px; line-height: 1.35; }
.compare ul { margin-top: 16px; padding-left: 18px; color: var(--text-2); font-size: 15px; line-height: 1.9; }
.big-num { font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -2px; margin-top: 14px; }
.source { font-size: 12px; color: #6F8379; margin-top: 4px; }
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer { border-top: 2px solid var(--lime); padding-top: 18px; }
.offer h3 { font-size: 19px; margin-top: 8px; letter-spacing: -.4px; }
.offer p { font-size: 14.5px; color: #AEBBB3; margin-top: 8px; line-height: 1.65; }
.offer em { font-style: normal; font-size: 12px; color: var(--gold); display: block; margin-top: 8px; }
.process { display: flex; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.process div { flex: 1; padding: 22px 20px; border-right: 1px solid var(--line-2); }
.process div:last-child { border-right: 0; }
.process b { font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.process h3 { font-size: 17px; margin-top: 6px; }
.process p { font-size: 13.5px; color: #AEBBB3; margin-top: 6px; line-height: 1.55; }
.process .is-now { background: linear-gradient(180deg, #173E2A, #11281E); }
.process .is-now b { color: var(--lime); }
.case { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); }
.case .img { min-height: 380px; }
.case__body { padding: 38px; background: var(--bg-2); }
.case__body small { font-size: 12px; letter-spacing: 3px; color: var(--lime); font-weight: 800; }
.case__body h3 { font-size: 28px; margin-top: 10px; letter-spacing: -.7px; }
.case dl { display: grid; grid-template-columns: 80px 1fr; gap: 10px 14px; margin-top: 22px; font-size: 15px; }
.case dt { color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; border: 1px solid var(--line-2); border-radius: 26px; padding: 44px; background: linear-gradient(135deg, #123A28, #0C1F17); }
.contact h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -1.2px; line-height: 1.3; }
.contact > div > p { color: #AEBBB3; margin-top: 12px; line-height: 1.7; font-size: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.form input, .form textarea { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; font-size: 15px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.form .wide { grid-column: span 2; }
.form textarea { min-height: 120px; resize: vertical; }
.form button { grid-column: span 2; border: 0; cursor: pointer; font-family: inherit; }
.form-note { grid-column: span 2; font-size: 12.5px; color: var(--muted); }

/* ---------- about ---------- */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.data-grid div { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.data-grid small { font-size: 12px; color: var(--muted); }
.data-grid b { display: block; font-size: 15.5px; margin-top: 4px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-2); }
.timeline div { padding: 22px 18px 0 0; position: relative; }
.timeline div::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lime); }
.timeline div.is-now::before { background: var(--lime); }
.timeline b { font-size: 13px; color: var(--lime); letter-spacing: 1px; }
.timeline h3 { font-size: 16px; margin-top: 6px; line-height: 1.4; }
.timeline p { font-size: 13.5px; color: #AEBBB3; margin-top: 6px; line-height: 1.55; }
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.roadmap div { border-radius: 18px; padding: 24px; border: 1px solid var(--line-2); background: var(--bg-2); }
.roadmap div:first-child { background: linear-gradient(160deg, #1C4A33, #11281E); }
.roadmap b { font-size: 12px; letter-spacing: 2px; color: var(--lime); }
.roadmap h3 { font-size: 20px; margin-top: 8px; }
.roadmap p { font-size: 14px; color: #AEBBB3; margin-top: 8px; line-height: 1.55; }

/* ---------- credits ---------- */
.credits { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.credits li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.credits a { color: var(--lime); }

/* ---------- 푸터 ---------- */
.site-footer { margin-top: 96px; padding: 34px var(--gutter) 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: #6F8379; line-height: 1.8; flex-wrap: wrap; }
.site-footer b { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-right { text-align: right; }

/* ---------- 반응형 ---------- */
@media (max-width: 1000px) {
  .phone { display: none; }
  .features, .offers, .data-grid, .roadmap { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .process { flex-wrap: wrap; }
  .process div { flex: 1 1 33%; border-bottom: 1px solid var(--line-2); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--lime); }
  .nav .btn-light { margin-top: 14px; text-align: center; border: 0; }
  .site-header { background: rgba(12, 31, 23, .92); }
  .hero { min-height: 600px; padding: 110px 20px 56px; align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(12,31,23,.5) 0%, rgba(12,31,23,.92) 60%, var(--bg) 100%), var(--hero-img) center / cover; }
  .hero p.lead { font-size: 16px; }
  .hero p.lead br { display: none; }
  .section { padding-top: 72px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 18px 0 18px 16px; border-bottom: 1px solid var(--line); }
  .stats div:nth-child(2n) { border-right: 0; }
  .stats b { font-size: 26px; }
  .features, .tours, .steps, .split, .compare, .offers, .case, .data-grid, .team, .roadmap { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); padding-left: 18px; }
  .timeline div { padding: 0 0 22px; }
  .timeline div::before { top: 4px; left: -24px; }
  .process div { flex: 1 1 100%; }
  .tour { min-height: 320px; }
  .case .img { min-height: 220px; }
  .case__body, .contact { padding: 26px; }
  .form { grid-template-columns: 1fr; }
  .form .wide, .form button, .form-note { grid-column: auto; }
  .split { margin-top: 72px; }
  .final { margin-top: 72px; padding: 48px 22px; }
  .site-footer { flex-direction: column; }
  .footer-right { text-align: left; }
}
