/* NodeOnWorks — site styles. 색상은 :root 의 변수만 바꾸면 전체에 반영됩니다. */
:root {
  --navy: #0b2a6b;
  --navy-deep: #071d4d;
  --mint: #5fe0c0;
  --mint-soft: #dcf7ef;
  --ink: #101a33;
  --ink-soft: #4a5570;
  --line: #e3e1da;
  --paper: #f7f5f0;
  --card: #ffffff;
  --bg: #ffffff;
  --focus: #2f6bff;
  --radius: 18px;
  --wrap: 1120px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans KR", "Noto Sans JP", "Malgun Gothic", "Yu Gothic", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif KR", "Noto Serif JP", serif;
  /* 앱 페이지용 (제때) */
  --app-accent: #ff7a59;
  --app-accent-ink: #b8401f;
  --app-sun: #ffc94a;
  --app-sky: #7cc6f2;
  --app-cream: #fff7ea;
  --app-brown: #6b4a2e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e9edf7; --ink-soft: #a9b3cc; --line: #26314d; --paper: #0e1730; --card: #131e3b; --bg: #0a1226;
    --mint-soft: #123a3a; --app-cream: #1d1a16; --app-accent-ink: #ff9b80; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #e9edf7; --ink-soft: #a9b3cc; --line: #26314d; --paper: #0e1730; --card: #131e3b; --bg: #0a1226;
  --mint-soft: #123a3a; --app-cream: #1d1a16; --app-accent-ink: #ff9b80; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
:lang(ja) body, body:lang(ja) { word-break: normal; line-break: strict; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--mint-soft); padding: 5px 12px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--mint); } }
:root[data-theme="dark"] .eyebrow { color: var(--mint); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
:lang(en) h1, :lang(en) h2 { letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 21px; text-decoration: none; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.logo span { color: #18a882; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-soft); padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(10, 20, 50, .12); min-width: 140px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--paper); }
.lang li a[aria-current="true"] { font-weight: 700; color: #18a882; }
@media (max-width: 720px) {
  .nav .nav-link { display: none; }
  .site-header .wrap { height: 58px; }
}
.mobile-nav { display: none; }
@media (max-width: 720px) {
  .mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 20px 10px; scrollbar-width: none; }
  .mobile-nav a { flex: none; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 6px 12px; border-radius: 999px; background: var(--paper); }
  .mobile-nav a[aria-current="page"] { color: var(--ink); background: var(--mint-soft); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; min-height: 48px; }
.btn-primary { background: var(--mint); color: var(--navy-deep); }
.btn-primary:hover { background: #7ce9cd; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }

/* ---------- hero (company) ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1c4bb0 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero .eyebrow { background: rgba(95, 224, 192, .14); color: var(--mint); }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); margin-top: 22px; font-weight: 800; }
.hero h1 em { font-style: normal; font-family: var(--serif); font-weight: 700; color: var(--mint); }
.hero-lead { margin-top: 22px; font-size: clamp(16px, 1.9vw, 19px); color: rgba(255,255,255,.82); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 400px; justify-self: end; width: 100%; }
.hero-art svg { width: 100%; height: auto; }
.motto { font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.55); margin-top: 28px; font-size: 15px; letter-spacing: .02em; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 28px; }
  .hero-art { max-width: 240px; justify-self: start; order: -1; }
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-head { margin-bottom: 30px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px; position: relative; overflow: hidden; }
.value::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--navy); }
.value:nth-child(2)::before { background: var(--mint); }
.value .no { font-family: var(--serif); font-size: 44px; color: var(--line); line-height: 1; }
.value h3 { font-size: 22px; margin-top: 18px; }
.value .en { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.value p { margin-top: 14px; color: var(--ink-soft); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trust-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; padding: 0; margin: 0; }
.trust-points li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; }
.trust-points svg { width: 22px; height: 22px; flex: none; color: #18a882; margin-top: 2px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 420px) { .trust-points { grid-template-columns: 1fr; } }

/* app cards */
.app-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.app-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.app-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(10, 30, 80, .10); }
.app-card .icon { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; box-shadow: 0 6px 18px rgba(107, 74, 46, .18); }
.app-card h3 { font-size: 22px; }
.app-card .sub { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.app-card p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.app-card .meta { margin-top: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge { color: var(--mint); } }
:root[data-theme="dark"] .badge { color: var(--mint); }
.more { font-weight: 700; font-size: 14px; color: var(--ink); }
.placeholder-card { border: 1.5px dashed var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--ink-soft); padding: 24px; min-height: 144px; text-align: center; }
@media (max-width: 420px) { .app-card { grid-template-columns: 72px 1fr; padding: 20px; } .app-card .icon { width: 72px; height: 72px; border-radius: 17px; } }

.global { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.langs span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.globe svg { width: 100%; max-width: 360px; margin-left: auto; color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .globe svg { color: var(--mint); } }
:root[data-theme="dark"] .globe svg { color: var(--mint); }
@media (max-width: 860px) { .global { grid-template-columns: 1fr; } .globe svg { margin: 0; max-width: 260px; } }

.cta-band { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 36px); }
.cta-band p { color: rgba(255,255,255,.78); margin: 14px auto 28px; max-width: 34em; }

/* page head */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 64px; padding-bottom: 52px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); margin-top: 14px; font-weight: 800; }
.page-head p { margin-top: 12px; color: var(--ink-soft); font-size: 17px; max-width: 40em; }

/* legal hub */
.legal-list { display: grid; gap: 16px; }
.legal-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.legal-item h2 { font-size: 20px; margin-right: auto; }
.legal-item .links { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-item .links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--paper); }
.legal-item .links a:hover { background: var(--mint-soft); }
.note-box { margin-top: 32px; background: var(--paper); border-radius: var(--radius); padding: 24px; }
.note-box h2 { font-size: 18px; }
.note-box p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

/* ---------- document (policy) ---------- */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 96px; }
.doc-aside { position: sticky; top: 88px; align-self: start; font-size: 14px; }
.doc-aside .back { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.doc-aside nav a { display: block; text-decoration: none; padding: 6px 10px; border-radius: 8px; color: var(--ink-soft); }
.doc-aside nav a:hover { background: var(--paper); color: var(--ink); }
.doc-aside .langs-mini { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.doc-aside .langs-mini a { display: inline-block; margin-right: 6px; font-weight: 700; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 28px; padding-bottom: 64px; } .doc-aside { position: static; } .doc-aside nav { display: none; } .doc-aside .langs-mini { display: none; } }
.doc { max-width: 760px; font-size: 16px; }
.doc h1 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 800; margin-bottom: 8px; }
.doc .doc-date { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 44px 0 12px; padding-top: 8px; scroll-margin-top: 84px; }
.doc h3 { font-size: 17px; margin: 26px 0 8px; }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 10px 0; }
.doc li { margin: 4px 0; }
.doc a:not(.btn):not(.app-links a) { color: #12806a; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc a:not(.btn):not(.app-links a) { color: var(--mint); } }
:root[data-theme="dark"] .doc a:not(.btn):not(.app-links a) { color: var(--mint); }
.doc blockquote { margin: 20px 0 28px; padding: 18px 22px; border-radius: 14px; background: var(--mint-soft); border: 0; }
.doc blockquote p { margin: 0 0 6px; }
.doc blockquote ul { margin: 0; }
.doc .table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--paper); font-weight: 700; white-space: nowrap; }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { font-weight: 600; }
.doc table.kv { min-width: 0; }
.doc table.kv td:first-child, .doc table.kv th:first-child { width: 32%; white-space: normal; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* ---------- app landing ---------- */
.app-hero { background: var(--app-cream); position: relative; overflow: hidden; }
.app-hero::after { content: ""; position: absolute; inset: auto -10% -120px -10%; height: 220px; background: radial-gradient(closest-side, rgba(255, 201, 74, .35), transparent); pointer-events: none; }
.app-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 84px; position: relative; z-index: 1; }
.app-hero .app-id { display: flex; gap: 16px; align-items: center; }
.app-hero .app-id .icon { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(107, 74, 46, .22); flex: none; }
.app-hero .app-id .by { font-size: 14px; color: var(--ink-soft); }
.app-hero .app-id .by a { text-decoration: none; font-weight: 700; color: var(--ink); }
.app-hero h1 { font-size: clamp(36px, 6vw, 60px); margin-top: 26px; font-weight: 800; }
.app-hero h1 small { display: block; font-size: .46em; font-weight: 700; color: var(--app-accent-ink); margin-top: 10px; letter-spacing: -0.01em; }
.app-hero .lead { margin-top: 18px; font-size: clamp(16px, 1.9vw, 18px); color: var(--ink-soft); max-width: 32em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 14px; min-height: 52px; }
.store-btn svg { width: 22px; height: 22px; }
.store-btn .t { display: grid; line-height: 1.15; }
.store-btn .t small { font-size: 11px; opacity: .8; }
.store-btn .t strong { font-size: 17px; }
.store-btn[aria-disabled="true"] { background: transparent; color: var(--ink); border: 1.5px dashed var(--ink-soft); cursor: default; }
.app-art svg { width: 100%; max-width: 420px; margin-left: auto; }
@media (max-width: 860px) { .app-hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 56px; } .app-art { order: -1; } .app-art svg { margin: 0 auto; max-width: 280px; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--app-cream); color: var(--app-accent-ink); }
.feature:nth-child(3n+2) .ic { color: #1d6f9e; }
.feature:nth-child(3n) .ic { color: #a26a00; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-top: 18px; }
.feature p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promise { display: grid; grid-template-columns: 36px 1fr; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.promise svg { width: 28px; height: 28px; color: #18a882; margin-top: 2px; }
.promise h3 { font-size: 18px; }
.promise p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 720px) { .promises { grid-template-columns: 1fr; } }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.info-grid div { padding: 20px 22px; border-right: 1px solid var(--line); }
.info-grid div:last-child { border-right: 0; }
.info-grid dt { font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.info-grid dd { margin: 6px 0 0; font-weight: 700; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr 1fr; } .info-grid div:nth-child(2n) { border-right: 0; } .info-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 420px) { .info-grid { grid-template-columns: 1fr; } .info-grid div { border-right: 0; border-bottom: 1px solid var(--line); } .info-grid div:last-child { border-bottom: 0; } }

.app-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.app-links a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.app-links a:hover { border-color: var(--ink-soft); }

/* support */
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: var(--app-cream); border-radius: var(--radius); padding: 28px; margin: 24px 0 40px; }
.contact-card h2 { font-size: 22px; margin: 0; padding: 0; }
.contact-card .mail { font-size: 19px; font-weight: 800; margin-top: 6px; word-break: break-all; }
.contact-card p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 32px 16px 0; list-style: none; position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; color: var(--ink-soft); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 18px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: #0a1124; color: rgba(255,255,255,.75); font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 64px 0 40px; }
.footer-top .logo { color: #fff; }
.footer-top .logo span { color: var(--mint); }
.footer-top p { margin-top: 12px; max-width: 24em; }
.footer-top h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.biz { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 36px; font-size: 13px; color: rgba(255,255,255,.6); }
.biz dl { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; }
.biz dl div { display: flex; gap: 6px; }
.biz dt { color: rgba(255,255,255,.42); }
.biz dd { margin: 0; }
.biz .copy { margin-top: 14px; color: rgba(255,255,255,.42); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* not found / language chooser */
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.center-page h1 { font-size: clamp(28px, 5vw, 42px); }
.center-page p { margin: 12px 0 28px; color: var(--ink-soft); }
.lang-choose { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }


/* ---------- 앱 페이지 전용 따뜻한 테마 (body class="theme-app") ---------- */
.theme-app {
  --bg: #fffaf1; --paper: #fff1dd; --card: #fffdf9; --line: #f0dcc0;
  --ink: #3b2818; --ink-soft: #7b5e45; --mint-soft: #ffe9cc; --app-cream: #fff3e0;
  --outline: #e6c9a3; --shadow: #f3dcbb; --warm-link: #b8481f; --warm-btn: #b8481f; --warm-btn-hover: #9a3a17;
  --hero-top: #ffe1b5; --hero-mid: #fff1dc; --footer-warm: #2b1d13;
  --tint-1: #ffe3d6; --tint-2: #dff0ff; --tint-3: #fff0c4; --tint-4: #dcf5ea;
  --round: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", var(--font);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-app {
    --bg: #1c1511; --paper: #241b15; --card: #2a2019; --line: #45342a; --ink: #f6eadb; --ink-soft: #cbb39b;
    --mint-soft: #3a2b1e; --app-cream: #2c2119; --outline: #5a4332; --shadow: #120d0a; --warm-link: #ffb08f;
    --warm-btn: #e07a52; --warm-btn-hover: #ef8e68; --hero-top: #3a2617; --hero-mid: #261b14; --footer-warm: #120d09;
    --tint-1: #452a20; --tint-2: #1f3242; --tint-3: #42361a; --tint-4: #1d3a30;
  }
}
:root[data-theme="dark"] .theme-app {
  --bg: #1c1511; --paper: #241b15; --card: #2a2019; --line: #45342a; --ink: #f6eadb; --ink-soft: #cbb39b;
  --mint-soft: #3a2b1e; --app-cream: #2c2119; --outline: #5a4332; --shadow: #120d0a; --warm-link: #ffb08f;
  --warm-btn: #e07a52; --warm-btn-hover: #ef8e68; --hero-top: #3a2617; --hero-mid: #261b14; --footer-warm: #120d09;
  --tint-1: #452a20; --tint-2: #1f3242; --tint-3: #42361a; --tint-4: #1d3a30;
}
.theme-app { background: var(--bg); color: var(--ink); }
.theme-app h1, .theme-app h2, .theme-app h3, .theme-app .faq summary { font-family: var(--round); letter-spacing: -0.01em; }
.theme-app .site-header { background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom-color: var(--line); }

.theme-app .app-hero { background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--outline) 55%, transparent) 1.2px, transparent 1.6px) 0 0 / 26px 26px,
    linear-gradient(180deg, var(--hero-top) 0%, var(--hero-mid) 100%); }
.theme-app .app-hero::after { display: none; }
.theme-app .app-hero .wrap { padding-bottom: 40px; }
.app-hero .wave { display: block; width: 100%; height: 56px; fill: var(--bg); position: relative; z-index: 1; margin-top: -1px; }
.theme-app .app-hero .app-id .icon { border: 3px solid #fff; box-shadow: 0 10px 24px rgba(120, 72, 30, .25); }
.theme-app .store-btn[aria-disabled="true"] { border-color: var(--outline); color: var(--ink); background: color-mix(in srgb, var(--card) 70%, transparent); }

.theme-app .section-head h2::after { content: ""; display: block; width: 64px; height: 12px; margin-top: 14px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'%3E%3Cpath d='M2 6c6-6 10 6 16 0s10 6 16 0 10 6 16 0 10 6 12 0' fill='none' stroke='%23ff7a59' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }

.theme-app .feature { border: 2px solid var(--outline); border-radius: 26px; box-shadow: 5px 6px 0 var(--shadow); transition: transform .2s ease; }
.theme-app .feature:hover { transform: rotate(-.6deg) translateY(-2px); }
.theme-app .feature .ic { width: 56px; height: 56px; border-radius: 18px; }
.theme-app .feature:nth-child(4n+1) .ic { background: var(--tint-1); color: var(--app-accent-ink); }
.theme-app .feature:nth-child(4n+2) .ic { background: var(--tint-2); color: #1d6f9e; }
.theme-app .feature:nth-child(4n+3) .ic { background: var(--tint-3); color: #9a6400; }
.theme-app .feature:nth-child(4n) .ic { background: var(--tint-4); color: #137a5f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-app .feature .ic { color: var(--ink) !important; } }
:root[data-theme="dark"] .theme-app .feature .ic { color: var(--ink) !important; }

.theme-app .promise { border: 2px solid var(--outline); border-radius: 26px; background: var(--card); }
.theme-app .promise svg { color: var(--app-accent); }
.theme-app .info-grid { border: 2px solid var(--outline); border-radius: 26px; }
.theme-app .info-grid div { border-color: var(--line); }
.theme-app .app-links a { border: 2px solid var(--outline); background: var(--card); }
.theme-app .app-links a:hover { border-color: var(--app-accent); }
.theme-app .btn-dark { background: var(--warm-btn); color: #fff; }
.theme-app .btn-dark:hover { background: var(--warm-btn-hover); }
.theme-app .contact-card { background: var(--tint-3); border: 2px dashed var(--outline); border-radius: 26px; }
.theme-app .doc a:not(.btn):not(.app-links a) { color: var(--warm-link); }
.theme-app .doc blockquote { background: var(--app-cream); border: 2px solid var(--outline); border-radius: 20px; }
.theme-app .doc .table-wrap { border: 2px solid var(--line); border-radius: 16px; }
.theme-app .doc-aside nav a:hover { background: var(--paper); }
.theme-app .faq details { border-bottom: 2px dotted var(--outline); }
.theme-app .mobile-nav a { background: var(--paper); }
.theme-app .site-footer { background: var(--footer-warm); }
@media (prefers-reduced-motion: reduce) { .theme-app .feature:hover { transform: none; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .doc-aside, .mobile-nav { display: none !important; } .doc-layout { display: block; padding: 0; } }
