/* NicePin base layer: layout, typography and shared public chrome. */
:root {
  color-scheme: light;
  --site-ink: #0b1220;
  --site-canvas: #f4f6fc;
  --site-blue: #2e5bff;
  --site-muted: #6b7590;
  --site-line: #e3e8f4;
  --nice-mint: #17c8a3;
  --nice-mint-soft: #e4fbf5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site-page {
  margin: 0;
  background: var(--site-canvas);
  color: var(--site-ink);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

.public-topbar {
  position: relative;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--site-line);
}

.public-header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--site-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
}

.public-brand small {
  display: block;
  margin-top: 2px;
  color: #97a0b8;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .18em;
}

.public-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #2e5bff, #1739c9);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 22px -12px #1739c9;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #5c6784;
  font-size: 13px;
  font-weight: 700;
}

.public-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color .18s ease;
}

.public-nav a:hover, .public-nav a.current { color: var(--site-blue); }

.public-nav a.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: var(--site-blue);
}

.public-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--site-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.public-cta:hover { background: var(--site-blue); transform: translateY(-1px); }

.site-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 20px 70px;
  background:
    radial-gradient(44rem 26rem at 82% -10%, #2e5bff55 0, transparent 70%),
    radial-gradient(32rem 22rem at 0% 110%, #16c8a32e 0, transparent 70%),
    linear-gradient(160deg, #070b1a 0%, #0c1530 58%, #111d40 100%);
  color: #fff;
  text-align: left;
}

.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff0a 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}

.site-hero > div { position: relative; z-index: 1; width: min(1000px, 100%); margin: auto; }
.site-hero h1 { margin: 14px 0 12px; color: #fff; font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; letter-spacing: -.06em; }
.site-eyebrow { color: var(--nice-mint); font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.site-hero p { margin: 0; color: #a7b4d6; font-size: 14px; line-height: 1.75; }

.site-main { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 72px; }
.site-card { border: 1px solid var(--site-line); border-radius: 22px; background: #fff; box-shadow: 0 14px 40px #0b12200a; }
.site-footer { padding: 26px 20px; border-top: 1px solid var(--site-line); color: #98a1b8; font-size: 11px; text-align: center; }

@media (max-width: 700px) {
  .public-header-inner { width: calc(100% - 28px); min-height: 64px; gap: 12px; }
  .public-brand { font-size: 17px; }
  .public-brand-mark { width: 33px; height: 33px; border-radius: 10px; font-size: 15px; }
  .public-nav { gap: 13px; font-size: 11px; }
  .public-nav a:first-child { display: none; }
  .public-cta { min-height: 36px; padding: 0 13px; font-size: 11px; }
  .site-hero { padding: 44px 18px 48px; }
  .site-main { width: calc(100% - 28px); padding-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-cta, .public-nav a { transition-duration: .01ms; }
}
