/* Everydev — clean, fast, responsive. No webfonts: system stack for instant render. */
/* CEO hanja 玄基燁 (U+71C1 燁) renders from system CJK fonts; the stack below lists
   common CJK fallbacks (no download) so it shows across devices. Never write 曄. */

:root {
  --ink: #15181d;
  --ink-soft: #4c545d;
  --ink-faint: #8a929c;
  --bg: #ffffff;
  --bg-alt: #f6f8f9;
  --line: #e7eaee;
  --accent: #11917a;
  --accent-2: #0e8b9c;
  --accent-ink: #0c6e5d;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(20, 30, 35, .04), 0 8px 24px rgba(20, 30, 35, .06);
  --shadow-hover: 0 2px 4px rgba(20, 30, 35, .05), 0 16px 40px rgba(20, 30, 35, .10);
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
          "Noto Sans KR", "Segoe UI", "Malgun Gothic", "Hiragino Sans", "Yu Gothic",
          system-ui, Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f4;
    --ink-soft: #b3bcc6;
    --ink-faint: #7e8893;
    --bg: #0f1115;
    --bg-alt: #14171d;
    --line: #252a31;
    --accent: #2bb89c;
    --accent-2: #2db4c7;
    --accent-ink: #6fe0c8;
    --card: #161a20;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 40px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 6px; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 600;
  padding: 8px 12px; border-radius: 10px;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-alt); }

/* Language switcher (native <details>, works without JS) */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; color: var(--ink-soft); font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover { color: var(--ink); background: var(--bg-alt); }
.lang-switch summary svg { opacity: .8; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; z-index: 60;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-hover);
  padding: 6px; display: flex; flex-direction: column;
}
.lang-menu a {
  text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 600;
  padding: 9px 12px; border-radius: 8px;
}
.lang-menu a:hover { background: var(--bg-alt); color: var(--ink); }
.lang-menu a.active { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, transparent); }

@media (max-width: 560px) {
  .site-nav { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(64px, 12vw, 132px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(900px 420px at 78% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(700px 380px at 6% 0%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 70%);
}
.eyebrow {
  margin: 0 0 18px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink);
}
.hero-title {
  margin: 0 0 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.18;
  font-size: clamp(32px, 6.2vw, 60px); color: var(--ink);
}
.hero-sub {
  margin: 0 0 32px; max-width: 560px; font-size: clamp(16px, 2.4vw, 19px); color: var(--ink-soft);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: var(--shadow-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }

/* Sections */
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { margin: 0 0 8px; font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.section-lead { margin: 0 0 36px; color: var(--ink-soft); font-size: 17px; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.card-icon { font-size: 34px; line-height: 1; }
.badge { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .01em; }
.badge-live { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }
.badge-soon { background: color-mix(in srgb, var(--ink-faint) 18%, transparent); color: var(--ink-soft); }
.card-title { margin: 0 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.card-en { font-size: 14px; font-weight: 600; color: var(--ink-faint); margin-left: 4px; }
.card-desc { margin: 0 0 22px; color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.card-link {
  align-self: flex-start; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--accent-ink);
  display: inline-flex; gap: 6px; align-items: center;
}
.card-link span { transition: transform .15s ease; }
.card-link:hover span { transform: translateX(3px); }
.card-link-disabled { color: var(--ink-faint); pointer-events: none; cursor: default; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.about-body p { margin: 0 0 18px; font-size: 17px; color: var(--ink-soft); max-width: 60ch; }
.about-body strong { color: var(--ink); }

/* Footer */
.site-footer { padding: 56px 0 48px; background: var(--bg); border-top: 1px solid var(--line); font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-brand .brand-name { font-size: 18px; font-weight: 800; }
.footer-tagline { margin: 6px 0 0; color: var(--ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }

.biz-info { padding-top: 22px; color: var(--ink-faint); }
.biz-line { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 8px; }
.biz-line strong { color: var(--ink-soft); font-weight: 700; margin-right: 5px; }
.biz-link { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); }
.biz-link:hover { color: var(--ink); border-color: var(--ink-faint); }
.copyright { margin: 14px 0 0; color: var(--ink-faint); }

.todo-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  color: #b4540a; background: color-mix(in srgb, #f59e0b 22%, transparent);
  padding: 1px 6px; border-radius: 5px; vertical-align: middle;
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-top { flex-direction: column; }
}
