/* ingtype · by Clapre — 사이트 공통 스타일 */
:root {
  --navy: #222848;
  --navy-deep: #0e1122;
  --ink: #f4f3f1;
  --ink-2: rgba(244, 243, 241, 0.66);
  --ink-3: rgba(244, 243, 241, 0.42);
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.035);
  --amber: #f0963c;
  --radius: 22px;
  --max: 1160px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* 언어: <html data-lang="ko|en">. 한쪽만 보인다. */
html[data-lang="ko"] [lang="en"]:not(html) { display: none !important; }
html[data-lang="en"] [lang="ko"]:not(html) { display: none !important; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ---------- 상단 ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(14, 17, 34, 0.62);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand small { font-weight: 500; color: var(--ink-3); font-size: 13px; margin-left: 2px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.lang-toggle {
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  border-radius: 999px; padding: 5px 12px; font: 600 13px var(--font); cursor: pointer;
}
.lang-toggle:hover { color: var(--ink); border-color: rgba(255,255,255,0.22); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px; font-weight: 600; font-size: 16px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #111; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.18); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); }
.btn svg { width: 18px; height: 18px; }
.btn .soon { font-size: 12px; font-weight: 600; color: #6b6b70; }

/* ---------- 히어로 ---------- */
.hero { position: relative; padding: 92px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  /* 위쪽에 퍼지는 남색·촛불빛 */
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1;
  background:
    radial-gradient(42% 46% at 50% 26%, rgba(240, 150, 60, 0.16), transparent 70%),
    radial-gradient(60% 60% at 50% 30%, rgba(78, 92, 170, 0.45), transparent 72%);
  filter: blur(10px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: 13.5px; color: var(--ink-2);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
h1 {
  margin: 26px auto 18px; max-width: 14ch;
  font-size: clamp(42px, 7.2vw, 88px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.62));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-lang="en"] h1 { max-width: 16ch; }
.lede { max-width: 34em; margin: 0 auto; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* 히어로 기기: 아이패드 + 겹친 아이폰 */
.stage { position: relative; margin: 72px auto 0; width: min(1040px, 100%); }
.ipad {
  position: relative; border-radius: clamp(18px, 2.6vw, 34px); padding: clamp(8px, 1.1vw, 14px);
  background: linear-gradient(180deg, #2a2b30, #151619);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 40px 120px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,0,0,0.6);
}
.ipad img { border-radius: clamp(11px, 1.6vw, 22px); }
.iphone {
  position: relative; border-radius: clamp(26px, 4vw, 52px); padding: clamp(5px, .7vw, 9px);
  background: linear-gradient(180deg, #2c2d32, #141518);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset, 0 30px 90px -10px rgba(0,0,0,0.75);
}
.iphone img { border-radius: clamp(21px, 3.3vw, 44px); }
/* 다이내믹 아일랜드는 캡처에 이미 들어 있어서 따로 그리지 않는다. */
.stage .iphone { position: absolute; width: 21%; right: -3%; bottom: -10%; }

/* 신뢰 줄 */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 120px 0 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--navy-deep); padding: 26px 24px; }
.fact b { display: block; font-size: 26px; letter-spacing: -0.03em; }
.fact span { color: var(--ink-3); font-size: 14.5px; }

/* ---------- 기능 섹션 ---------- */
section { padding: 120px 0 0; }
.kicker { color: var(--amber); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
h2 { margin: 10px 0 16px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 800; }
.section-lede { color: var(--ink-2); max-width: 32em; font-size: 18px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; color: var(--ink-2); }
.feature li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 11px; border-radius: 50%; background: var(--amber); }
.feature li b { color: var(--ink); font-weight: 600; }

.duo { display: flex; gap: 22px; justify-content: center; align-items: flex-end; }
.duo .iphone { width: min(46%, 260px); }
.duo .iphone:nth-child(2) { transform: translateY(-36px); }

/* 펫 띠 */
.pets-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pets-row span, .pets-row .theme-pill {
  padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}

/* ---------- 개인정보 띠 ---------- */
.privacy-band {
  margin-top: 120px; border-radius: 32px; padding: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(78, 92, 170, 0.35), transparent 60%),
    linear-gradient(180deg, #1a1f3c, #121630);
  border: 1px solid var(--line);
}
.privacy-band h2 { max-width: 14ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card { padding: 24px; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); }
.card b { display: block; font-size: 18px; margin-bottom: 6px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- 시작하기 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; counter-reset: s; }
.step { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; margin-bottom: 18px;
  background: rgba(240,150,60,0.14); color: var(--amber); font-weight: 800;
}
.step b { display: block; font-size: 19px; margin-bottom: 6px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- 가격 ---------- */
.price { text-align: center; padding-bottom: 40px; }
.price .amount { font-size: clamp(54px, 8vw, 96px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 18px 0 26px; }
/* 한글 큰 글자는 자간을 덜 붙인다(11/5: '한 번 구매'가 붙어 보임) */
html[lang="ko"] .price .amount { letter-spacing: 0.03em; word-spacing: 0.12em; }
html[lang="ko"] h1 { letter-spacing: -0.03em; }
html[lang="ko"] h2 { letter-spacing: -0.025em; }
.price .amount small { font-size: 0.32em; color: var(--ink-3); letter-spacing: -0.01em; font-weight: 600; margin-left: 6px; }

/* ---------- 문서 페이지(지원·개인정보) ---------- */
.doc { padding: 72px 0 40px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 8px; max-width: none; text-align: left; }
.doc .meta { color: var(--ink-3); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 24px; margin: 48px 0 12px; letter-spacing: -0.02em; }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }
.doc .lead { font-size: 19px; color: var(--ink); }
.callout { padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }

/* ---------- 하단 ---------- */
footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a:hover { color: var(--ink); }

/* ---------- 나타나기 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 좁은 화면 ---------- */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .lang-toggle { margin-left: auto; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-copy { order: 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr; }
  .stage .iphone { width: 28%; right: -2%; bottom: -14%; }
  section { padding-top: 96px; }
  .hero { padding-top: 64px; }
}
.doc a { color: var(--amber); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,0.07); padding: 2px 6px; border-radius: 6px; color: var(--ink); }

/* ---------- 탭 ---------- */
.panel[hidden] { display: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 0; }
.tabs { display: flex; gap: 4px; margin-left: auto; font-size: 15px; }
.tabs a { padding: 6px 14px; border-radius: 999px; color: var(--ink-2); transition: color .2s, background .2s; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); background: rgba(255,255,255,0.08); }
.nav-contact {
  font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink);
}
.nav-contact:hover { border-color: rgba(255,255,255,0.25); }

/* ---------- 회사 ---------- */
.company-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 64px; text-align: left; }
.company-hero h1 { text-align: left; margin-left: 0; max-width: 12ch; }
.company-hero .lede { margin-left: 0; text-align: left; }
.company-hero .cta { justify-content: flex-start; }
.company-logo { height: min(520px, 62vh); width: auto; filter: drop-shadow(0 30px 80px rgba(240,150,60,0.18)); }
.verse { text-align: center; }
.verse blockquote {
  margin: 18px auto 14px; max-width: 22ch; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.18;
  font-weight: 700; letter-spacing: -0.035em;
}
.verse cite { display: block; font-style: normal; color: var(--amber); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 22px; }
.verse .section-lede { margin: 0 auto; }
.product {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 28px;
  margin-top: 28px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
  transition: border-color .2s, transform .2s;
}
.product:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.product img { border-radius: 22px; }
.product b { font-size: 24px; letter-spacing: -0.02em; }
.product p { margin: 4px 0 0; color: var(--ink-2); }
.product-go { color: var(--amber); font-weight: 600; white-space: nowrap; }
.company-facts { margin-top: 28px; }

/* ---------- 문의 ---------- */
.contact { display: grid; gap: 16px; margin-top: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contact .row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.contact label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact input, .contact select, .contact textarea {
  font: 400 14px var(--font); color: var(--ink); background: rgba(255,255,255,0.05);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
}
.contact textarea { resize: vertical; }
/* 폰에서는 16px 미만이면 iOS가 포커스 때 확대하므로 16px로 */
@media (max-width: 640px) { .contact input, .contact select, .contact textarea { font-size: 16px; } }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-color: var(--amber); }
.contact select option { color: #111; }
.contact-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.contact-actions .btn { border: 0; cursor: pointer; font-family: var(--font); }

@media (max-width: 880px) {
  .company-hero { grid-template-columns: 1fr; gap: 32px; }
  .company-logo { height: 300px; justify-self: center; }
  .product { grid-template-columns: 64px 1fr; }
  .product img { width: 64px; height: 64px; border-radius: 15px; }
  .product-go { grid-column: 1 / -1; }
  .contact .row { grid-template-columns: 1fr; }
  .tabs a { padding: 6px 9px; font-size: 14px; }
  .nav .wrap { gap: 10px; }
  .nav .brand > span:last-child, .nav-contact { display: none; }
}
html { overflow-x: clip; }
@media (max-width: 880px) { .verse blockquote br { display: none; } }
[id] { scroll-margin-top: 80px; }
footer .legal { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); opacity: .8; }
/* ingtype 히어로 앱 아이콘: 작게, 그림자만 은은하게 */
.app-icon {
  width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 18px 40px -12px rgba(0,0,0,0.6), 0 0 60px -10px rgba(240,150,60,0.25);
}
@media (max-width: 880px) { .app-icon { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 18px; } }

/* ---------- 10/22 개편: 배너·포스터에서 쓴 요소를 사이트로 ---------- */
/* Clapre 히어로: 빛나는 C 마크 */
.mark-glow { width: 120px; height: 120px; margin: 0 auto 26px; position: relative; }
.mark-glow::before { content: ""; position: absolute; inset: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,150,60,.28), rgba(240,150,60,0) 65%); filter: blur(6px); }
.mark-glow img { position: relative; width: 120px; height: 120px; }

/* 말씀: 세로 로고 + 문장 */
.verse-grid { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: center; text-align: left; }
.verse-grid .verse-logo { height: 360px; width: auto; opacity: .95; filter: drop-shadow(0 30px 70px rgba(240,150,60,.16)); }
.verse-grid blockquote { margin: 16px 0 14px; max-width: 18ch; }
.verse-grid .section-lede { margin: 0; }

/* App Store 투데이 카드 */
.feature-card { display: block; margin-top: 28px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: #0d1021; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.feature-card:hover { transform: translateY(-4px) scale(1.005); box-shadow: 0 50px 110px -30px rgba(0,0,0,.8); }
.feature-art { width: 100%; height: auto; display: block; }
.feature-bar { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: rgba(255,255,255,.04); border-top: 1px solid var(--line); }
.feature-bar img { width: 52px; height: 52px; border-radius: 12px; }
.feature-bar div { display: grid; line-height: 1.3; }
.feature-bar b { font-size: 18px; } .feature-bar div span { color: var(--ink-3); font-size: 14px; }
.feature-bar .get { margin-left: auto; background: rgba(255,255,255,.12); color: var(--ink); font-weight: 700; font-size: 14px; padding: 8px 18px; border-radius: 999px; }

/* ingtype 히어로: Clapre PRESENTS + 3D 기기 */
.lockup { display: inline-flex; align-items: center; gap: 10px; margin: 0 auto 18px; }
.lockup img { width: 26px; height: 26px; }
.lockup span { font-weight: 700; font-size: 17px; color: rgba(255,255,255,.88); }
.lockup i { width: 1px; height: 15px; background: rgba(255,255,255,.25); }
.lockup em { font-style: normal; font-weight: 600; font-size: 12.5px; letter-spacing: .24em; color: var(--amber); }
.launch { color: var(--ink-3); font-size: 14px; letter-spacing: .02em; margin-top: 18px; }
/* 쿠키: 촛불 아이콘을 누르면 살짝 나타나는 한 줄 */
.app-icon[data-cookie] { cursor: pointer; }
.cookie { color: var(--amber); font-size: 13px; margin-top: 8px; animation: cookie-in .5s ease both; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } }
.stage3d { position: relative; margin: 34px auto 10px; max-width: 1080px; }
.stage3d::before { content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: 0; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(240,150,60,.22), rgba(240,150,60,0) 65%); filter: blur(20px); }
.stage3d img { position: relative; width: 100%; height: auto; }

/* 포스터 갤러리: 가로 스크롤 */
.gallery-sec { padding-bottom: 20px; }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px max(20px, calc((100% - var(--max)) / 2)) 26px;
  scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: none; height: 440px; width: auto; border-radius: 18px; scroll-snap-align: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -20px rgba(0,0,0,.6); }

@media (max-width: 880px) {
  .mark-glow, .mark-glow img { width: 88px; height: 88px; }
  .verse-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .verse-grid .verse-logo { height: 220px; margin: 0 auto; }
  .verse-grid blockquote { margin: 16px auto 14px; }
  .verse-grid .section-lede { margin: 0 auto; }
  .feature-bar { padding: 14px 16px; } .feature-bar img { width: 44px; height: 44px; }
  .gallery img { height: 320px; }
}
.stage3d img { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.feature-art { aspect-ratio: 16 / 7; object-fit: cover; object-position: center 75%; }
.privacy-band h2 { max-width: none; }
.feature-bar .get { white-space: nowrap; }
@media (max-width: 880px) { .stage3d { margin: 24px -24px 0; } }

/* 테마 고르기: 알약을 누르면 옆 아이패드 화면이 그 테마로 바뀐다 */
.theme-pill { font: inherit; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pets-row .theme-pill { color: var(--ink-2); }
.pets-row .theme-pill:hover { color: var(--ink); border-color: rgba(255,255,255,.25); }
.pets-row .theme-pill.on { background: var(--ink); color: #111; border-color: var(--ink); }
.theme-shot img { transition: opacity .25s ease; }
.theme-shot img.fading { opacity: 0; }
/* Picture Custom: 나무 배경이 고정 이미지로 오해되지 않게 "내 사진 넣기" 표시 */
.theme-shot { position: relative; }
.add-pic { position: absolute; left: 50%; top: 27%; transform: translate(-50%, -50%); display: none; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: clamp(12px, 1.2vw, 16px); letter-spacing: .16em; color: #fff;
  background: rgba(255,255,255,.16); border: 1.5px dashed rgba(255,255,255,.75);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.25); pointer-events: none; }
.add-pic svg { width: 1.5em; height: 1.5em; }
.theme-shot.is-picture .add-pic { display: inline-flex; }

/* ---------- 언어 ---------- */
.lang-pick { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; }
.lang-pick:hover { color: var(--ink); border-color: rgba(255,255,255,.22); }
.lang-pick svg { width: 16px; height: 16px; flex: none; }
.lang-select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: inherit; font: 600 13px var(--font); cursor: pointer; padding-right: 2px; }
.lang-select:focus { outline: none; }
.lang-select option { color: #111; }
html[lang="ko"] body { word-break: keep-all; }
html[lang="ja"] body { font-family: "Pretendard Variable", Pretendard, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; line-break: strict; }
html[lang="zh-Hans"] body { font-family: "Pretendard Variable", Pretendard, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; line-break: strict; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="ja"] blockquote, html[lang="zh-Hans"] blockquote { letter-spacing: -0.01em; }
html[lang="de"] h1, html[lang="de"] h2, html[lang="fr"] h1, html[lang="es"] h1 { hyphens: auto; }
@media (max-width: 880px) { .lang-pick { padding: 5px 8px; } .lang-pick svg { display: none; } }
/* 중국어·일본어: ch 단위 폭 제한이 한자 기준으로 너무 좁아서 풀고, 구 단위로 줄바꿈 */
html[lang="ja"] :is(h1, h2, blockquote), html[lang="zh-Hans"] :is(h1, h2, blockquote) { max-width: 20em !important; word-break: auto-phrase; }
html[lang="ja"] .company-hero h1, html[lang="zh-Hans"] .company-hero h1 { max-width: 9em !important; }
@media (max-width: 880px) {
  .nav .wrap { gap: 8px; }
  .tabs { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { white-space: nowrap; flex: none; }
  .lang-pick { width: 34px; height: 34px; padding: 0; justify-content: center; flex: none; }
  .lang-pick svg { display: block; width: 18px; height: 18px; }
  .lang-select { position: absolute; inset: 0; opacity: 0; width: 100%; }
}
.nw { white-space: nowrap; }
/* 프레스 키트 */
.press-dl { border: 0; margin-top: 8px; }
.press-banner { width: 100%; height: auto; border-radius: 20px; margin: 28px 0 8px; border: 1px solid var(--line); }
.doc table th { white-space: nowrap; width: 1%; padding-right: 28px; }
.doc a.btn-primary { color: #111; text-decoration: none; }
/* 개발 중 예고 */
.next-up { padding-top: 64px; }   /* 시작하기 카드와 붙지 않게 */
.next-card { position: relative; text-align: center; padding: 64px 32px; border-radius: 32px; overflow: hidden;
  border: 1px solid var(--line);
  /* 11/5: 사이트에서 그라데이션은 여기 한 곳. 브랜드 고리 색(노랑·주황·빨강) + 파랑 한 점 */
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(245,183,61,.42), transparent 62%),
    radial-gradient(50% 60% at 85% 10%, rgba(244,63,68,.38), transparent 60%),
    radial-gradient(50% 70% at 70% 90%, rgba(91,141,239,.36), transparent 62%),
    radial-gradient(45% 55% at 30% 95%, rgba(240,138,31,.3), transparent 60%),
    #1a1733; }
.next-card h2 { margin: 18px auto 12px; }
.next-card .section-lede { margin: 0 auto; }
.next-note { margin: 18px 0 0; color: var(--amber); font-weight: 600; font-size: 15px; }
.dev-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.dev-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: devpulse 1.8s ease-in-out infinite; }
@keyframes devpulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dev-pill i { animation: none; } }

/* 하단 쿠키: 흐린 촛불 하나. 누르면 1월 7일 한 줄 */
footer .legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.egg { background: none; border: 0; padding: 0 2px; cursor: pointer; line-height: 0; opacity: .35; filter: grayscale(1); transition: opacity .25s, filter .25s, transform .25s; }
.egg img { width: 18px; height: 18px; border-radius: 4px; }
.egg:hover, .egg.lit { opacity: 1; filter: none; transform: translateY(-1px); }
.egg-text { color: var(--amber); font-size: 12.5px; animation: cookie-in .5s ease both; }

/* 한국어 설명문: 문장 단위로 줄이 바뀐다(문장 중간에서 끊기지 않게). 문장이 한 줄보다 길면 그 안에서만 접힌다. */
.lede .s, .section-lede .s { display: inline-block; max-width: 100%; }
