:root {
  --bg: #08080c;
  --bg-elev: #0e0e14;
  --card: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f8;
  --muted: #8e8ea0;
  --accent: #8b7cff;
  --accent-2: #4ee0c8;
  --accent-soft: rgba(139, 124, 255, 0.14);
  --radius: 14px;
  --font: "Inter", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --max: 960px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 10%, transparent 70%);
}

.bg-orb {
  position: fixed;
  top: -12%;
  left: 50%;
  width: min(720px, 90vw);
  height: 420px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(139, 124, 255, 0.18), transparent 68%);
  filter: blur(8px);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.35rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 0.98rem;
}

.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(139, 124, 255, 0.4);
}

.nav {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-btn.is-active {
  background: var(--accent-soft);
  color: var(--text);
}

/* —— Hero (primary emphasis) —— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.35rem 3.25rem;
  animation: rise 0.7s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  padding: 0.28rem 0.7rem 0.28rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 14ch;
}

.hero h1 .accent {
  display: block;
  margin-top: 0.12em;
  background: linear-gradient(110deg, #ddd6ff 10%, var(--accent-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5e8dff);
  color: #fff;
  box-shadow: 0 10px 32px rgba(139, 124, 255, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(139, 124, 255, 0.42);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
}

.btn-lg {
  min-height: 54px;
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

.founder {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.35rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.section-head-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

/* Pillars — proximity group, compact */
.pillars {
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}

.pillar-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.pillar-row li {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  display: grid;
  gap: 0.2rem;
}

.pillar-row strong {
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.pillar-row span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.work-hint {
  margin: -0.35rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Work — compact featured + details */
.work {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.featured-card:hover {
  border-color: rgba(139, 124, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.featured-thumb {
  width: 72px;
  height: 96px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  background: #12121a;
}

.featured-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.featured-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.featured-copy h3 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.featured-copy p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.more-apps {
  margin-top: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.more-apps summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  user-select: none;
  transition: color 0.2s var(--ease);
}

.more-apps summary::-webkit-details-marker {
  display: none;
}

.more-apps summary:hover {
  color: var(--text);
}

.more-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  opacity: 0.7;
}

.more-apps[open] .more-chevron {
  transform: rotate(-135deg);
}

.rail {
  display: flex;
  gap: 0.55rem;
  padding: 0 0.75rem 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.rail-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 132px;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.2s var(--ease);
}

.rail-card:hover {
  border-color: rgba(139, 124, 255, 0.45);
}

.rail-card img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

/* Contact */
.contact {
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}

.contact-panel {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(139, 124, 255, 0.1), transparent 55%),
    var(--card);
}

.contact-panel h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.035em;
}

.contact-panel > p:not(.section-kicker):not(.contact-note) {
  margin: 0.55rem auto 1.35rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.35rem 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 820px) {
  .featured {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: 64px 1fr;
  }

  .featured-thumb {
    width: 64px;
    height: 86px;
  }

  .pillar-row {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .section-head-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-note {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Company identity */
.company .section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.identity-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.identity-grid > div {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
}

.identity-grid dt {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.identity-grid dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.identity-grid a {
  color: #c9c2ff;
  word-break: break-all;
}

.identity-grid a:hover {
  text-decoration: underline;
}

.verified-block {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(61, 214, 198, 0.28);
  background: rgba(61, 214, 198, 0.06);
}

.verified-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b1a16;
  background: var(--accent-2);
}

.verified-block strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.verified-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.verified-mail {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
  color: #c9c2ff;
}

.verified-mail:hover {
  text-decoration: underline;
}

.work-more-link {
  margin: 0.85rem 0 0;
  font-size: 0.84rem;
}

.work-more-link a {
  color: #c9c2ff;
  font-weight: 600;
}

.work-more-link a:hover {
  text-decoration: underline;
}

.page-hero {
  padding-top: 3.5rem;
  padding-bottom: 0.5rem;
}

.page-hero h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.035em;
}

.page-hero .lede {
  margin-top: 0.9rem;
}

.legal-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease);
}

.product-list a:hover {
  border-color: rgba(139, 124, 255, 0.45);
}

.product-list img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.legal-page {
  max-width: 40rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.legal-page h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.legal-meta {
  margin: 0.6rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer {
  flex-wrap: wrap;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.footer-sep {
  opacity: 0.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.8rem;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--text);
}

@media (max-width: 820px) {
  .identity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .identity-grid,
  .product-list {
    grid-template-columns: 1fr;
  }
}
