/* JEONGDO Apps — mint & cream product hall. Shared tokens and chrome. System fonts and local assets only. */
:root {
  color-scheme: light;
  --cream: #faf8f0; --mint: #a9e4ce; --mint-soft: #ddf3ea; --deep: #155a4a; --ink: #172b26;
  --surface: #fffef9; --muted: #42564d; --line: #d8ddcf; --edge: 2px solid var(--ink);
  --product-accent: var(--deep); --product-wash: var(--mint-soft);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--deep); text-underline-offset: 5px; }
button { font: inherit; }
img, svg { max-width: 100%; }
img { display: block; }
p, li { line-height: 1.8; overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--mint); }
.shell { width: min(calc(100% - 64px), 1180px); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.brand-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.brand-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 22px; font-weight: 850; letter-spacing: -.055em; text-decoration: none; }
.wordmark svg { width: 30px; height: 30px; color: var(--deep); }
.wordmark-dot { color: var(--deep); }
.brand-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.brand-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid transparent; border-radius: 100px; color: var(--muted); text-decoration: none; }
.brand-links a:hover { background: var(--surface); color: var(--ink); }
.brand-links a[aria-current] { background: var(--mint); border-color: var(--ink); color: var(--ink); font-weight: 850; }

.eyebrow { display: inline-flex; width: fit-content; padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 100px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 850; letter-spacing: .1em; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 10px 22px; border: var(--edge); border-radius: 100px; background: var(--product-accent); color: #fff; text-decoration: none; font-size: 14px; font-weight: 800; line-height: 1.5; box-shadow: 3px 3px 0 var(--ink); transition: translate .18s, box-shadow .18s; }
.button:hover { translate: -1px -1px; box-shadow: 5px 5px 0 var(--ink); }
.button:active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--ink); }
.button-secondary { background: var(--surface); color: var(--ink); }

.brand-footer { border-top: 1px solid var(--line); margin-top: 64px; padding-block: 30px 40px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.brand-footer p { margin: 0; }
.brand-footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.brand-footer a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; color: var(--muted); }
.brand-footer a:hover { color: var(--ink); }

/* Per-product accents stay distinct inside the shared system. */
[data-product="my-location"] { --product-accent: #205c91; --product-wash: #e9f1f8; }
[data-product="lotto-mo"] { --product-accent: #895114; --product-wash: #faf1df; }
[data-product="auto-clicker"] { --product-accent: #6945a0; --product-wash: #f0ebf8; }
[data-product="book-marker"] { --product-accent: #a34d35; --product-wash: #fbede6; }

@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .brand-nav { min-height: 64px; gap: 8px 12px; flex-wrap: wrap; padding-block: 8px; }
  .wordmark { font-size: 20px; }
  .brand-links { font-size: 13px; }
  .brand-links a { padding-inline: 13px; }
  .brand-footer { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .button:active { translate: none; }
}
