@font-face {
  font-family: Pretendard;
  src: url('/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f8f7f5;
  --ink: #20201f;
  --accent: #20201f;
  --accent-hover: #2452a1;
  --taupe: #817a73;
  --muted: #69635e;
  --line: #dad6d1;
  --sans: Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 6px; border-radius: 2px; }
::selection { color: var(--background); background: var(--accent-hover); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.025em; }
p { text-wrap: pretty; }
:is(p, h1, h2, h3):lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
ul, ol { padding-inline-start: 1.35em; }
main:focus { outline: none; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.brand-logo { display: block; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.skip-link { position: absolute; top: 12px; left: 20px; z-index: 10; padding: 12px 20px; color: var(--background); background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { width: min(1440px, calc(100% - 96px)); min-height: 112px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header-wordmark { display: flex; flex-shrink: 0; align-items: center; width: 150px; min-height: 60px; }
.site-nav { display: flex; align-items: center; gap: 46px; font-size: 18px; }
.site-nav a { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current], .footer-nav a:hover { color: var(--accent-hover); text-decoration: underline; }
.site-nav .language-link { border-inline-start: 1px solid var(--line); min-width: 44px; padding-inline-start: 28px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: end; padding: 110px 0 116px; }
.hero h1 { font-size: clamp(64px, 6.5vw, 96px); line-height: 1.23; font-weight: 550; letter-spacing: -.035em; }
.hero h1 span { color: var(--taupe); }
.hero-description { margin-top: 34px; font-size: 23px; line-height: 1.75; letter-spacing: -.015em; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 34px; min-height: 64px; padding: 14px 28px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 20px; font-weight: 500; transition: background 160ms ease, transform 160ms ease; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button span { font-size: 28px; line-height: 1; }
.hero .button { margin-top: 40px; min-width: 218px; }
.dictionary { padding-bottom: 2px; }
.dictionary-logo { width: 280px; }
.dictionary p { position: relative; margin-top: 20px; padding-top: 23px; font-size: 19px; line-height: 1.7; }
.dictionary p::before { position: absolute; content: ''; left: 0; top: 0; width: 48px; height: 1px; background: var(--accent); }

.featured-apps { padding: 62px 0 78px; border-top: 1px solid var(--line); scroll-margin-top: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(32px, 3.3vw, 48px); font-weight: 600; line-height: 1.3; }
.section-heading p { font-size: 21px; }
.product-list { list-style: none; padding: 0; margin: 0; }
.product-row { display: grid; grid-template-columns: 144px minmax(0, 1fr) 60px; align-items: center; gap: 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.product-row:last-child { border-bottom: 0; }
.app-icon { width: 144px; height: 144px; object-fit: contain; border-radius: 26px; }
.product-summary { min-width: 0; }
.product-summary h3 { margin-bottom: 5px; font-size: 36px; font-weight: 550; line-height: 1.3; }
.product-summary h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.product-summary h3 a:hover { color: var(--accent-hover); }
.product-tagline { color: var(--accent); font-size: 23px; font-weight: 500; line-height: 1.55; }
.product-description { margin-top: 10px; max-width: 67ch; font-size: 19px; line-height: 1.7; }
.product-platform { margin-top: 10px; color: var(--muted); font-size: 17px; }
.platform-separator { margin-inline: 10px; }
.round-link { display: flex; justify-content: center; align-items: center; width: 60px; height: 60px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--sans); font-size: 37px; font-weight: 300; line-height: 1; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.round-link:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--background); transform: translate(2px, -2px); }
.more-apps { text-align: center; margin-top: 38px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--accent); font-size: 21px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; }
.text-link span { text-decoration: none; font-size: 25px; }
.text-link:hover { color: var(--accent-hover); }

.about-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; padding: 116px 0 132px; }
.about-wordmark .brand-logo { width: min(440px, 90%); margin-inline: auto; }
.about-copy h2 { max-width: 14em; font-size: 43px; font-weight: 400; line-height: 1.5; }
.about-copy p { max-width: 39ch; margin-top: 34px; font-size: 22px; line-height: 1.95; }
.about-copy .text-link { margin-top: 32px; }
.contact-band { border-block: 1px solid var(--line); padding: 56px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.contact-inner h2 { font-size: 42px; line-height: 1.4; font-weight: 400; }
.contact-inner p { font-size: 19px; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--accent); font-size: 31px; letter-spacing: -.025em; text-decoration: underline; text-decoration-thickness: 1px; }
.contact-email:hover { color: var(--accent-hover); }
.site-footer { padding: 38px 0; }
.footer-inner { width: min(1440px, calc(100% - 96px)); margin-inline: auto; display: flex; align-items: center; gap: 48px; }
.footer-wordmark { display: flex; flex-shrink: 0; align-items: center; width: 120px; min-height: 50px; margin-inline-end: auto; }
.footer-nav { display: flex; align-items: center; gap: 40px; font-size: 16px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer small { color: var(--muted); font-size: 15px; white-space: nowrap; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--accent-hover); text-decoration: underline; }
.catalog, .document, .product-detail { padding-top: 42px; padding-bottom: 100px; }
.page-heading { max-width: 900px; padding: 45px 0 50px; }
.page-heading h1, .product-heading h1 { font-size: clamp(44px, 4.7vw, 68px); line-height: 1.22; font-weight: 500; }
.page-tagline { margin-top: 20px; color: var(--accent); font-size: 27px; line-height: 1.5; }
.page-introduction { max-width: 70ch; margin-top: 24px; color: var(--muted); font-size: 21px; }
.product-heading { display: grid; grid-template-columns: 144px minmax(0, 1fr); align-items: start; gap: 48px; padding: 52px 0 64px; }
.detail-icon { width: 144px; height: 144px; margin-top: 10px; object-fit: contain; border-radius: 26px; }
.product-heading .product-platform { margin: 0 0 6px; }
.product-lead { max-width: 60ch; margin-top: 20px; color: var(--muted); font-size: 21px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.product-content { display: grid; grid-template-columns: minmax(0, 760px) minmax(200px, 280px); gap: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.policy-links h2 { margin-bottom: 18px; font-size: 21px; font-weight: 550; }
.policy-links ul { padding: 0; margin: 0; list-style: none; }
.policy-links li { border-top: 1px solid var(--line); }
.policy-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; color: var(--accent); font-size: 17px; }
.policy-links a:hover { text-decoration: underline; }
.document { max-width: 1180px; }
.document .page-heading { padding-bottom: 40px; }
.document-product { margin-bottom: 15px; color: var(--accent); font-size: 22px; }
.document-body { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 230px); gap: 80px; align-items: start; }
.prose { max-width: 75ch; font-size: 19px; line-height: 1.9; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1.4em; }
.prose h2 { margin: 2.15em 0 .7em; font-size: 28px; line-height: 1.45; font-weight: 600; }
.prose h3 { margin: 1.8em 0 .65em; font-size: 24px; line-height: 1.5; font-weight: 550; }
.prose h4 { margin: 1.6em 0 .5em; font-size: 21px; line-height: 1.5; }
.prose li { margin-block: .4em; }
.prose strong { font-weight: 650; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-hover); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose blockquote { margin-inline: 0; padding: 20px 24px; background: #efede9; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 16px; border: 1px solid var(--line); text-align: start; }
.prose code { padding: 2px 5px; border-radius: 3px; background: #efede9; font-size: .9em; }
.prose pre { overflow-x: auto; padding: 18px; background: #efede9; }
.prose pre code { padding: 0; }
.prose img { margin-block: 24px; }
.language-note { max-width: 760px; margin-bottom: 32px; padding: 18px 22px; background: #efede9; color: var(--accent); font-size: 16px; }
.table-of-contents { position: sticky; top: 36px; padding-top: 4px; }
.table-of-contents h2 { font-size: 16px; font-weight: 550; }
.table-of-contents ul { list-style: none; margin: 10px 0 0; padding: 0; }
.table-of-contents ul ul { padding-inline-start: 14px; margin: 0; }
.table-of-contents a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.table-of-contents a:hover { color: var(--accent-hover); text-decoration: underline; }
.document-policy-links { max-width: 760px; margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line); }
.document-policy-links .policy-links ul { display: flex; flex-wrap: wrap; column-gap: 28px; }
.document-policy-links .policy-links li { border: 0; }
.not-found { min-height: 65vh; padding-top: 90px; padding-bottom: 100px; }
.not-found-number { color: var(--accent); font-size: 80px; font-weight: 400; line-height: 1; }
.not-found h1 { margin-top: 24px; font-size: 48px; line-height: 1.3; font-weight: 500; }
.not-found > p:last-of-type { margin-top: 20px; max-width: 50ch; font-size: 21px; }
.not-found .button { margin-top: 32px; }

@media (max-width: 1100px) {
  .container, .site-header, .footer-inner { width: calc(100% - 72px); }
  .hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 36px; padding-block: 88px 96px; }
  .hero h1 { font-size: clamp(56px, 6.7vw, 80px); }
  .hero-description { font-size: 20px; }
  .dictionary-logo { width: 220px; }
  .dictionary p { font-size: 17px; }
  .product-row { gap: 32px; }
  .about-band, .contact-inner { gap: 54px; }
  .about-copy h2 { font-size: 36px; }
  .about-copy p { font-size: 20px; }
  .contact-inner h2 { font-size: 34px; }
  .contact-email { font-size: 30px; }
  .product-content, .document-body { gap: 44px; }
  .footer-inner { gap: 30px; }
  .footer-nav { gap: 25px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .container, .site-header, .footer-inner { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 16px; }
  .header-wordmark { width: 106px; min-height: 50px; }
  .site-nav { gap: 18px; font-size: 15px; }
  .site-nav .language-link { min-width: 44px; padding-inline-start: 15px; }
  .hero { display: block; padding: 62px 0 64px; }
  .hero h1 { font-size: clamp(44px, 8vw, 62px); line-height: 1.25; letter-spacing: -.03em; }
  .hero-description { margin-top: 24px; max-width: 33ch; font-size: 18px; line-height: 1.8; }
  .hero-description br { display: none; }
  .hero-description br::after { content: ' '; }
  .hero .button { min-width: 196px; margin-top: 28px; }
  .button { min-height: 58px; font-size: 18px; padding: 13px 24px; }
  .dictionary { margin-top: 62px; }
  .dictionary-logo { width: 180px; }
  .dictionary p { margin-top: 16px; padding-top: 15px; font-size: 16px; }
  .featured-apps { padding: 42px 0 36px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading p { margin-top: 12px; font-size: 17px; }
  .product-row { position: relative; grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: 20px; padding-block: 28px; }
  .app-icon { width: 80px; height: 80px; border-radius: 16px; }
  .product-summary h3 { padding-right: 42px; font-size: 28px; line-height: 1.35; }
  .product-summary h3 a { min-height: 44px; }
  .product-tagline { margin-top: 6px; font-size: 18px; line-height: 1.55; word-break: keep-all; }
  .product-description { margin-top: 12px; font-size: 16px; line-height: 1.8; word-break: keep-all; }
  .product-platform { margin-top: 12px; font-size: 15px; }
  .round-link { position: absolute; right: 0; top: 26px; width: 44px; height: 44px; font-size: 27px; }
  .more-apps { margin-top: 24px; }
  .text-link { font-size: 18px; }
  .about-band { grid-template-columns: 1fr; gap: 54px; padding: 76px 0 72px; }
  .about-wordmark .brand-logo { width: min(300px, 85%); }
  .about-copy h2 { max-width: 15em; font-size: 32px; }
  .about-copy p { max-width: 38ch; margin-top: 24px; font-size: 18px; line-height: 1.85; }
  .about-copy .text-link { margin-top: 23px; }
  .contact-band { padding: 38px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 20px; }
  .contact-inner h2 { font-size: 30px; }
  .contact-inner p { max-width: 34ch; font-size: 17px; }
  .contact-email { font-size: 31px; }
  .site-footer { padding: 28px 0; }
  .footer-inner { flex-wrap: wrap; column-gap: 24px; row-gap: 20px; }
  .footer-wordmark { flex-basis: 100%; }
  .footer-wordmark .brand-logo { width: 120px; }
  .footer-nav { gap: 24px; font-size: 14px; }
  .site-footer small { margin-inline-start: auto; font-size: 13px; }
  .catalog, .document, .product-detail { padding-top: 18px; padding-bottom: 64px; }
  .breadcrumb { font-size: 14px; }
  .page-heading { padding: 32px 0 36px; }
  .page-heading h1, .product-heading h1 { font-size: 40px; }
  .page-tagline { margin-top: 18px; font-size: 23px; }
  .page-introduction { margin-top: 20px; font-size: 18px; }
  .product-heading { grid-template-columns: 80px minmax(0, 1fr); gap: 20px; padding: 32px 0 38px; }
  .detail-icon { width: 80px; height: 80px; margin-top: 5px; border-radius: 16px; }
  .product-heading h1 { font-size: 36px; overflow-wrap: anywhere; }
  .product-heading .page-tagline { font-size: 22px; }
  .product-lead { font-size: 18px; }
  .product-actions { margin-top: 24px; margin-inline-start: -100px; }
  .product-actions .button { gap: 20px; font-size: 17px; }
  .product-content, .document-body { grid-template-columns: 1fr; gap: 40px; }
  .product-content { padding-top: 32px; }
  .prose { font-size: 17px; line-height: 1.9; }
  .prose h2 { font-size: 25px; }
  .prose h3 { font-size: 22px; }
  .prose h4 { font-size: 19px; }
  .table-of-contents { display: none; }
  .document .page-heading { padding-bottom: 30px; }
  .document-product { font-size: 19px; }
  .language-note { font-size: 15px; padding: 16px 18px; }
  .document-policy-links { margin-top: 40px; }
  .not-found { padding-top: 60px; padding-bottom: 70px; }
  .not-found h1 { font-size: 36px; }
  .not-found > p:last-of-type { font-size: 18px; }
}

@media (max-width: 400px) {
  .site-header { gap: 12px; }
  .header-wordmark { width: 92px; }
  .site-nav { gap: 13px; font-size: 14px; }
  .site-nav .language-link { padding-inline-start: 12px; }
  .hero h1 { font-size: 44px; }
  .product-row { gap: 16px; }
  .product-summary h3 { font-size: 25px; letter-spacing: -.035em; }
  .footer-inner { column-gap: 18px; }
  .footer-nav { gap: 18px; }
  .site-footer small { margin-inline-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Analytics preferences use the same type and colors as the rest of the site. */
.analytics-settings { display: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: start; }
html[data-analytics-ready] .analytics-settings { display: inline-block; }
.analytics-consent[hidden], .analytics-consent [hidden] { display: none; }
.analytics-consent { position: fixed; z-index: 10; inset: auto 24px 24px; margin-inline: auto; max-width: 1080px; display: flex; align-items: center; gap: 24px; padding: 24px; border: 1px solid var(--line); background: var(--background); box-shadow: 0 8px 36px #20201f14; }
.analytics-consent h2 { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.analytics-consent p { font-size: 15px; line-height: 1.6; max-width: 72ch; }
.analytics-consent p a { text-decoration: underline; }
.analytics-consent-actions { display: flex; flex-shrink: 0; gap: 8px; }
.analytics-consent-actions button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; }
.analytics-consent-actions button:hover { background: #20201f08; }
.analytics-consent-actions button:disabled { opacity: .5; cursor: default; }
@media (max-width: 700px) {
  .analytics-consent { inset: auto 12px 12px; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; max-height: calc(100dvh - 24px); overflow: auto; }
  .analytics-consent-actions button { flex: 1; }
  .footer-nav { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .site-header { flex-wrap: wrap; padding-block: 12px; gap: 8px; }
  .site-nav { flex-basis: 100%; justify-content: space-between; gap: 8px; }
}
