/* jumun.com: Home, Privacy and the 404 page. Dark theme, system fonts, nothing loaded from elsewhere. */
:root {
  color-scheme: dark;
  --background: #0b0b0c;
  --foreground: #f4f4f5;
  --muted: #8a8a8f;
  --rule: rgba(255, 255, 255, 0.08);
  --underline: rgba(255, 255, 255, 0.3);
  --section-gap: 72px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, p { margin: 0; }

a { color: var(--foreground); text-decoration: none; transition: color 150ms; }

a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

a:focus-visible { outline: 2px solid var(--foreground); outline-offset: 2px; border-radius: 2px; }

::selection { background: var(--foreground); color: var(--background); }

.page { min-height: 100vh; display: flex; flex-direction: column; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.underlined { text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 4px; }

.muted { color: var(--muted); }

/* Header */

.site-header { border-bottom: 1px solid var(--rule); }

.site-header .wrap { height: 56px; display: flex; align-items: center; }

.wordmark { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }

.wordmark:hover { text-decoration: none; }

/* Home: above the fold. Text and illustration share the centred container; the illustration is never cropped. */

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px 0; }

.hero-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.eyebrow { font-size: 13px; line-height: 20px; color: var(--muted); }

.hero h1 { font-size: 42px; line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }

.hero-lede { max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

.hero-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; overflow-wrap: anywhere; }

.hero-art { min-width: 0; }

.hero-art img { display: block; width: 100%; height: auto; }

/* Home: sections */

.section { margin-top: var(--section-gap); border-top: 1px solid var(--rule); }

.section.rows { margin-top: 0; }

.row { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: clamp(28px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--rule); }

.row-head { flex: 1 1 min(320px, 100%); min-width: 0; display: flex; gap: 16px; }

.row-number {
  flex: 0 0 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 32px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.row h2 { font-size: clamp(22px, 2.2vw, 26px); line-height: 32px; font-weight: 600; letter-spacing: -0.02em; }

.row-body { flex: 2 1 min(480px, 100%); min-width: 0; font-size: 17px; line-height: 28px; color: var(--muted); padding-top: 2px; text-wrap: pretty; }

.info .row { padding: clamp(32px, 4vw, 48px) 0; }

.info .row:last-child { border-bottom: 0; padding-bottom: var(--section-gap); }

.info .row-label {
  flex: 1 1 min(320px, 100%);
  font-size: 12px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.about { flex: 2 1 min(480px, 100%); min-width: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; letter-spacing: -0.01em; text-wrap: pretty; }

address {
  flex: 2 1 min(480px, 100%);
  min-width: 0;
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 17px;
  line-height: 28px;
}

address a { overflow-wrap: anywhere; }

/* Privacy and 404 */

.doc { flex: 1; padding-top: clamp(64px, 10vw, 136px); padding-bottom: clamp(80px, 10vw, 136px); }

.doc h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }

.doc-head { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 20px); padding-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid var(--rule); }

.effective { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.doc-body { max-width: 640px; display: flex; flex-direction: column; gap: 20px; padding-top: clamp(32px, 4vw, 48px); font-size: 17px; line-height: 28px; text-wrap: pretty; }

.doc-body p { overflow-wrap: anywhere; }

.doc-body h2 { margin-top: 12px; margin-bottom: -8px; font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.company { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 15px; line-height: 24px; }

.not-found { display: flex; flex-direction: column; gap: 20px; }

.code { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

.not-found a { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }

/* Footer */

.site-footer { border-top: 1px solid var(--rule); }

.site-footer nav {
  padding-top: clamp(16px, 2.5vw, 24px);
  padding-bottom: clamp(16px, 2.5vw, 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}

/* Each link is a 44px touch target. */
.site-footer a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }

.site-footer a[aria-current="page"] { color: var(--foreground); }

/* Wider screens: two columns, a wider container and larger type. */

@media (min-width: 768px) {
  :root { --section-gap: 96px; }
  .wrap { padding-left: 32px; padding-right: 32px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 72px 0; }
  .hero h1 { font-size: 40px; }
}

@media (min-width: 1024px) {
  :root { --section-gap: 120px; }
  .wrap { padding-left: 40px; padding-right: 40px; }
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; padding: 96px 0; }
  .hero-text { gap: 24px; }
  .hero h1 { font-size: 52px; }
}

@media (min-width: 1440px) {
  :root { --section-gap: 144px; }
  .wrap { max-width: 1280px; padding-left: 48px; padding-right: 48px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; padding: 120px 0; }
  .hero h1 { font-size: 64px; }
}

@media (min-width: 1920px) {
  :root { --section-gap: 160px; }
  .wrap { max-width: 1440px; padding-left: 64px; padding-right: 64px; }
  .hero { gap: 80px; padding: 144px 0; }
  .hero h1 { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
