/* ═══════════════════════════════════════════
   Norem — 공용 스타일 (norem.im + /flarecast)
   프레임워크 없음. 테마 토큰 + 컴포넌트.
   ═══════════════════════════════════════════ */

/* ── 테마 토큰 ── */
:root, [data-theme="dark"] {
  --bg: #0A0B0D;
  --bg-soft: #111317;
  --fg: #EDEFF2;
  --muted: #8A9099;
  --faint: #5A6069;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.05);
  --card: rgba(255, 255, 255, 0.03);
  --accent: #FF8A3D;
  --glow: rgba(255, 138, 61, 0.12);
  --nav-bg: rgba(10, 11, 13, 0.70);
  --btn-fg: #1a0e04;
}
[data-theme="light"] {
  --bg: #FBFBFC;
  --bg-soft: #F2F3F5;
  --fg: #15181D;
  --muted: #5B626C;
  --faint: #939AA3;
  --line: rgba(0, 0, 0, 0.10);
  --line-2: rgba(0, 0, 0, 0.055);
  --card: rgba(0, 0, 0, 0.02);
  --accent: #E8730A;
  --glow: rgba(255, 138, 61, 0.16);
  --nav-bg: rgba(251, 251, 252, 0.72);
  --btn-fg: #FFF6EE;
}

:root { --max: 920px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  transition: background-color .3s ease, color .3s ease;
}
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line-2);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
nav .brand { font-weight: 800; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; }
nav .brand .dot { color: var(--accent); }
nav .brand .sub { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
nav .links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
nav .links a { color: var(--muted); text-decoration: none; transition: color .15s; }
nav .links a:hover { color: var(--fg); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  cursor: pointer; transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: var(--fg); border-color: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; }
.icon-sun, .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: block; }

/* ── Hero ── */
.hero {
  position: relative; text-align: center;
  padding: 128px 24px 104px;
  background-image: radial-gradient(60% 45% at 50% 0%, var(--glow), transparent 70%);
}
.hero .kicker { color: var(--faint); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 26px; }
.hero h1 { font-size: clamp(52px, 12vw, 112px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.hero h1 .dot { color: var(--accent); }
.hero .tagline { color: var(--muted); font-size: clamp(16px, 3.6vw, 20px); margin-top: 24px; }
.hero .tagline .en { display: block; font-size: 0.82em; color: var(--faint); margin-top: 6px; }
.hero .cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  padding: 11px 20px; border-radius: 12px; transition: all .15s; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--btn-fg); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-disabled { border-color: var(--line-2); color: var(--faint); cursor: default; pointer-events: none; }

/* ── Sections ── */
section { padding: 78px 0; border-top: 1px solid var(--line-2); }
.eyebrow { color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.section-title { font-size: clamp(25px, 5vw, 34px); font-weight: 800; letter-spacing: -0.03em; margin-top: 12px; line-height: 1.2; }
.lead { color: var(--muted); font-size: 16.5px; margin-top: 16px; max-width: 58ch; }
.lead + .lead { margin-top: 16px; }

/* ── Grid cards (pillars / features) ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.card {
  border: 1px solid var(--line-2); border-radius: 16px; padding: 22px; background: var(--card);
}
.card .ico { width: 25px; height: 25px; color: var(--accent); }
.card h3 { font-size: 15.5px; font-weight: 700; margin-top: 13px; letter-spacing: -0.01em; }
.card h3 .en { color: var(--faint); font-weight: 600; font-size: 12px; margin-left: 7px; letter-spacing: 0.02em; }
.card p { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.58; }

/* ── Product teaser card (on landing) ── */
.product-card {
  margin-top: 30px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--glow), transparent 42%), var(--card);
  border-radius: 20px; padding: 32px;
}
.product-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-head .name { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.badge {
  font-size: 11px; font-weight: 700; color: var(--accent);
  border: 1px solid var(--accent); background: transparent;
  border-radius: 999px; padding: 5px 11px; white-space: nowrap; opacity: .9;
}
.product-card .p-desc { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.product-card .more { margin-top: 26px; }
.disclaimer { color: var(--faint); font-size: 12px; margin-top: 22px; line-height: 1.6; }

/* ── Audience list (product page) ── */
.audience { list-style: none; margin-top: 30px; display: grid; gap: 12px; max-width: 60ch; }
.audience li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 15px; }
.audience li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.contact-item { border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; }
.contact-item .role { color: var(--faint); font-size: 12.5px; }
.contact-item a { display: inline-block; margin-top: 6px; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: color .15s; }
.contact-item a:hover { color: var(--accent); }

/* ── Footer ── */
footer { margin-top: auto; border-top: 1px solid var(--line); padding: 36px 0 46px; }
footer .f-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
footer .f-brand-wrap { max-width: 32ch; }
footer .f-brand { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; text-decoration: none; }
footer .f-brand .dot { color: var(--accent); }
footer .f-brand-desc { color: var(--faint); font-size: 12.5px; margin-top: 8px; line-height: 1.6; }
footer .f-links { display: flex; gap: 18px; font-size: 13.5px; flex-wrap: wrap; }
footer .f-links a { color: var(--muted); text-decoration: none; transition: color .15s; }
footer .f-links a:hover { color: var(--fg); }
footer .biz { color: var(--faint); font-size: 12.5px; margin-top: 26px; line-height: 1.7; border-top: 1px solid var(--line-2); padding-top: 20px; }

@media (max-width: 680px) {
  .grid-3, .contact-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 92px 24px 76px; }
  nav .links .nav-hide { display: none; }
}
