/* GATEPOP family theme. Keep this file identical in gatepop and aeogatepop. */
:root {
  --bg: #fafaf7;
  --paper: var(--bg);
  --bg-2: #f2f2ed;
  --subtle: var(--bg-2);
  --ink: #17181a;
  --ink-2: #54575c;
  --muted: var(--ink-2);
  --ink-3: #6b6e73;
  --quiet: var(--ink-3);
  --line: rgba(23,24,26,.12);
  --line-2: rgba(23,24,26,.25);
  --line-strong: var(--line-2);
  --maxw: 1120px;
  --sans: "Inter","Pretendard",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  --section-space: 72px;
  --radius: 8px;
}
html { scroll-padding-top: 96px; }
body { font-size: 1rem; overflow-wrap: break-word; }
.wrap { width: 100%; max-width: var(--maxw); padding-left: 24px; padding-right: 24px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 3px; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.skip:focus { top: 12px; }
header, header.scrolled { background: rgba(250,250,247,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { height: 72px; gap: 24px; }
.logo, .brand { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .22em; text-decoration: none; flex-shrink: 0; }
.brand small { font-size: 12px; }
.nav-links, .navlinks { display: flex; align-items: center; gap: 24px; }
.nav-links a, .navlinks a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; font-weight: 500; white-space: nowrap; }
.nav-links a:hover, .navlinks a:hover { text-decoration: underline; text-underline-offset: 6px; }
.navlinks .nav-cta { border: 1px solid var(--line-strong); padding: 0 14px; border-radius: var(--radius); }
.lang { gap: 2px; }
.lang button { min-height: 44px; padding: 8px 7px; font-size: 12px; }
.hero { padding-top: 144px; padding-bottom: var(--section-space); }
.hero .eyebrow, .eyebrow { font-size: 12px; letter-spacing: .1em; margin: 0 0 24px; }
.hero h1 { font-size: clamp(2.25rem,5.6vw,4rem); font-weight: 700; line-height: 1.16; letter-spacing: -.045em; }
.hero .sub, .lead { font-size: clamp(1rem,1.6vw,1.125rem); line-height: 1.85; max-width: 58ch; margin-top: 24px; }
.hero-note { font-size: 12px; margin-top: 24px; }
.btn { font-family: var(--sans); font-size: 14px; line-height: 1.5; font-weight: 500; min-height: 48px; gap: 12px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: var(--radius); max-width: 100%; overflow-wrap: anywhere; }
section.block, .section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.sec-name, .sec-idx, .section-tag { font-size: 12px; }
.sec-title, h2 { font-size: clamp(1.5rem,2.6vw,1.875rem); line-height: 1.4; letter-spacing: -.03em; }
.section-top { margin-bottom: 32px; }
.section-top > p { font-size: 14px; }
.bcard { border-radius: var(--radius); padding: 28px; box-shadow: none; }
.bcard .cat, .do-item h3, .card h3, .step h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.bcard p, .do-item p, .card p, .step p, .definition p, details p, .closing p, .postlist p { font-size: 16px; line-height: 1.8; }
.build-note, .contact .loc { font-size: 14px; }
.do-item, .card { padding-top: 26px; padding-bottom: 26px; }
.card-num, .card-bottom, .step b, .definition strong span { font-size: 12px; }
.definition { padding-top: 32px; padding-bottom: 32px; }
.definition strong { font-size: 16px; }
.process { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.steps, .num-grid { gap: 28px; margin-top: 36px; }
.step { padding-top: 22px; }
.num .k { font-size: 12px; letter-spacing: .06em; }
summary { font-size: 16px; padding-top: 22px; padding-bottom: 22px; }
summary:after { top: 19px; }
details p { padding-bottom: 24px; }
.card h3 a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.card h3 a:hover { text-decoration-color: var(--ink); }
.closing { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.closing .btn { margin-top: 24px; }
.closing > .btn { margin-top: 0; flex-shrink: 0; }
footer { padding: 0; }
.foot, .footer { padding-top: 28px; padding-bottom: 28px; gap: 20px; flex-wrap: wrap; }
.foot, .footer > span { font-size: 12px; }
.footer nav { font-family: var(--sans); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer nav a { margin: 0; }
.footer .brand { font-size: 15px; }
.page-head, .article-head { padding-top: 136px; padding-bottom: 40px; }
.article-layout { padding-top: 40px; padding-bottom: 64px; }
.article-layout > *, .card > *, .steps > *, .faq > * { min-width: 0; }
.article-head h1 { font-size: clamp(2rem,4vw,3rem); }
.crumb, .article-meta, .postlist .meta, .postlist .go, .next span { font-size: 12px; }
.toc { font-family: var(--sans); font-size: 14px; top: 104px; }
.toc a { padding: 6px 0; }
.prose, .prose .summary, .prose blockquote { font-size: 16px; line-height: 1.9; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 20px; }
.prose table { font-size: 14px; }
.prose th { font-size: 12px; }
.postlist a { padding-top: 28px; padding-bottom: 28px; }
.postlist a:hover { opacity: 1; background: var(--subtle); }
.postlist h2 { font-size: 20px; }
@media (max-width: 980px) {
  html { scroll-padding-top: 144px; }
  .nav { height: auto; min-height: 72px; flex-wrap: wrap; gap: 0 20px; padding-top: 12px; padding-bottom: 8px; }
  .nav-right { display: contents; }
  .nav-links, .navlinks { order: 3; width: 100%; gap: 22px; overflow-x: auto; }
  .lang { margin-left: auto; }
  .navlinks > a:not(.nav-cta) { display: inline-flex; }
  .navlinks .nav-cta { border: 0; padding: 0; }
  .hero, .page-head, .article-head { padding-top: 164px; }
  .toc { top: 144px; }
}
@media (max-width: 820px) {
  :root { --section-space: 48px; }
  .hero h1 { font-size: clamp(2.25rem,6.5vw,3.25rem); }
  .hero { padding-bottom: 48px; }
  .toc { position: static; }
  .do-item { padding-top: 22px; padding-bottom: 22px; }
  .steps, .num-grid { gap: 28px 20px; }
}
@media (max-width: 540px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .logo, .brand, .footer .brand { font-size: 14px; }
  .nav { column-gap: 8px; }
  .lang button { padding-left: 5px; padding-right: 5px; }
  .hero .eyebrow, .eyebrow { letter-spacing: .04em; flex-wrap: wrap; }
  .section-top > p { margin-top: 16px; }
  .bcard { padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .definition { padding-top: 28px; padding-bottom: 28px; }
  .closing { display: block; }
  .closing > .btn { margin-top: 24px; }
  .footer > span { font-size: 12px; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover { transform: none; }
}
