/* Zeas — brand system */
:root,
[data-theme="light"] {
  --ink: #0e1613;
  --ink-soft: #24302b;
  --muted: #5c6e66;
  --line: rgba(14, 22, 19, 0.12);
  --foam: #eef3f0;
  --mist: #dce7e1;
  --leaf: #1f6b55;
  --leaf-deep: #134a3b;
  --signal: #7ec9ad;
  --sand: #f7f5f0;
  --white: #ffffff;
  --btn-bg: #0e1613;
  --btn-fg: #ffffff;
  --btn-bg-hover: #134a3b;
  --header-bg: rgba(238, 243, 240, 0.82);
  --nav-panel-bg: rgba(238, 243, 240, 0.96);
  --select-bg: rgba(255, 255, 255, 0.55);
  --select-chevron: %235c6e66;
  --hero-mesh: radial-gradient(ellipse 80% 60% at 70% 35%, rgba(126, 201, 173, 0.45), transparent 55%),
    radial-gradient(ellipse 55% 50% at 15% 70%, rgba(31, 107, 85, 0.18), transparent 50%),
    linear-gradient(165deg, #e4ece7 0%, #cfdcd5 42%, #b8cfc4 100%);
  --hero-orb-a: rgba(126, 201, 173, 0.55);
  --hero-orb-b: rgba(19, 74, 59, 0.22);
  --slab-shadow: rgba(14, 22, 19, 0.12);
  --page-hero-glow: radial-gradient(ellipse 60% 70% at 85% 20%, rgba(126, 201, 173, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(31, 107, 85, 0.12), transparent 50%);
  --contact-glow: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(126, 201, 173, 0.28), transparent 60%);
  --global-copy-bg: #0e1613;
  --global-copy-fg: #eef3f0;
  --global-copy-muted: rgba(238, 243, 240, 0.72);
  --noise-opacity: 0.035;
  --theme-icon: #24302b;

  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "IBM Plex Sans KR", system-ui, sans-serif;

  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #e7efe9;
  --ink-soft: #c8d6ce;
  --muted: #8fa399;
  --line: rgba(231, 239, 233, 0.14);
  --foam: #0f1613;
  --mist: #1a2420;
  --leaf: #7ec9ad;
  --leaf-deep: #5fb394;
  --signal: #7ec9ad;
  --sand: #141c18;
  --white: #ffffff;
  --btn-bg: #e7efe9;
  --btn-fg: #0f1613;
  --btn-bg-hover: #c8d6ce;
  --header-bg: rgba(15, 22, 19, 0.88);
  --nav-panel-bg: rgba(15, 22, 19, 0.96);
  --select-bg: rgba(26, 36, 32, 0.9);
  --select-chevron: %238fa399;
  --hero-mesh: radial-gradient(ellipse 80% 60% at 70% 35%, rgba(126, 201, 173, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 50% at 15% 70%, rgba(31, 107, 85, 0.28), transparent 50%),
    linear-gradient(165deg, #121a16 0%, #17221d 42%, #1c2b24 100%);
  --hero-orb-a: rgba(126, 201, 173, 0.28);
  --hero-orb-b: rgba(31, 107, 85, 0.35);
  --slab-shadow: rgba(0, 0, 0, 0.35);
  --page-hero-glow: radial-gradient(ellipse 60% 70% at 85% 20%, rgba(126, 201, 173, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(31, 107, 85, 0.2), transparent 50%);
  --contact-glow: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(126, 201, 173, 0.14), transparent 60%);
  --global-copy-bg: #1a2420;
  --global-copy-fg: #e7efe9;
  --global-copy-muted: rgba(231, 239, 233, 0.7);
  --noise-opacity: 0.05;
  --theme-icon: #c8d6ce;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

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

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

ul {
  list-style: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 var(--space);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 1.65rem;
  width: auto;
}

.hero-brand-img {
  display: block;
  width: min(100%, 22rem);
  height: auto;
}

/* SVG fill is dark (#231815); invert for dark theme surfaces */
[data-theme="dark"] .logo-img,
[data-theme="dark"] .hero-brand-img {
  filter: invert(1) brightness(1.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--select-bg);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.25s var(--ease), border-color 0.25s, color 0.25s,
    transform 0.25s var(--ease);
}

.nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--select-bg);
  color: var(--theme-icon);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s, transform 0.25s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

.lang-switch {
  position: relative;
  flex-shrink: 0;
  z-index: 120;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0 0.7rem 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--select-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s, transform 0.25s var(--ease);
}

.lang-trigger:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.lang-trigger:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

.lang-switch.is-open .lang-trigger {
  border-color: var(--leaf);
  background: var(--foam);
}

.lang-trigger-text {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-trigger-caret {
  width: 0.7rem;
  height: 0.45rem;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.lang-switch.is-open .lang-trigger-caret {
  transform: rotate(180deg);
  color: var(--leaf);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 11.5rem;
  max-height: min(70vh, 22rem);
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--foam);
  box-shadow: 0 18px 40px rgba(14, 22, 19, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  -webkit-overflow-scrolling: touch;
}

[data-theme="dark"] .lang-menu {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: var(--sand);
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 2.35rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: var(--mist);
  color: var(--ink);
  outline: none;
}

.lang-option.is-active {
  color: var(--leaf-deep);
  background: rgba(126, 201, 173, 0.18);
}

[data-theme="dark"] .lang-option.is-active {
  color: var(--signal);
  background: rgba(126, 201, 173, 0.12);
}

.lang-option-check {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
}

.lang-option.is-active .lang-option-check {
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(126, 201, 173, 0.28);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--select-bg);
  color: var(--theme-icon);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

.theme-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.lang-select:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}

html[data-lang="zh-CN"] body,
html[data-lang="zh-TW"] body {
  font-family: "Noto Sans SC", "Noto Sans TC", var(--font-body);
}

html[data-lang="zh-TW"] body {
  font-family: "Noto Sans TC", "Noto Sans SC", var(--font-body);
}

html[data-lang="ja"] body {
  font-family: "IBM Plex Sans JP", var(--font-body);
}

html[data-lang="ko"] body {
  font-family: "IBM Plex Sans KR", var(--font-body);
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 1.05rem;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 560;
  border-radius: 2px;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s,
    transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.btn-primary:hover {
  background: var(--btn-bg-hover);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

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

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-delay="1"] {
  transition-delay: 0.1s;
}
[data-delay="2"] {
  transition-delay: 0.2s;
}
[data-delay="3"] {
  transition-delay: 0.3s;
}
[data-delay="4"] {
  transition-delay: 0.45s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) var(--space) 2.5rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--hero-mesh);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-orb--a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: 12%;
  right: 8%;
  background: var(--hero-orb-a);
}

.hero-orb--b {
  width: min(28vw, 280px);
  height: min(28vw, 280px);
  bottom: 18%;
  left: 10%;
  background: var(--hero-orb-b);
  animation-delay: -4s;
  animation-duration: 18s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-24px, 18px) scale(1.06);
  }
}

.hero-apps {
  position: absolute;
  right: max(4%, calc(50% - 520px));
  top: 18%;
  width: min(46vw, 480px);
  height: min(62vh, 560px);
  perspective: 1200px;
}

.app-slab {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 30px 60px var(--slab-shadow);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  animation: float-slab 8s ease-in-out infinite;
}

.app-slab--1 {
  inset: 8% 18% 22% 8%;
  background:
    linear-gradient(180deg, transparent 55%, rgba(14, 22, 19, 0.08)),
    linear-gradient(135deg, #1f6b55, #0e1613 70%);
  animation-delay: 0s;
}

.app-slab--2 {
  inset: 18% 4% 12% 28%;
  opacity: 0.85;
  animation-delay: -2.5s;
  background:
    linear-gradient(200deg, rgba(238, 243, 240, 0.9), rgba(126, 201, 173, 0.35));
}

.app-slab--3 {
  inset: 28% 30% 4% 4%;
  opacity: 0.7;
  animation-delay: -5s;
  background: linear-gradient(160deg, var(--sand), var(--mist));
}

[data-theme="dark"] .app-slab--2 {
  background: linear-gradient(200deg, rgba(26, 36, 32, 0.95), rgba(126, 201, 173, 0.2));
}

@keyframes float-slab {
  0%,
  100% {
    transform: translateY(0) rotateX(8deg) rotateY(-12deg);
  }
  50% {
    transform: translateY(-14px) rotateX(10deg) rotateY(-10deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-bottom: 3rem;
}

.hero-brand {
  margin-bottom: 1.25rem;
  line-height: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.6vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--space);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--leaf), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Shared section bits */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
  padding: 0 var(--space);
}

/* Products */
.products {
  padding: clamp(5rem, 12vw, 8rem) 0;
  background: var(--sand);
}

.product-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  border-top: 1px solid var(--line);
}

.product-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
  color: inherit;
}

.product-item:hover {
  padding-left: 0.5rem;
}

.product-item:hover .product-body h3 {
  color: var(--leaf);
}

.product-item:hover .product-arrow {
  transform: translateX(4px);
  color: var(--leaf);
}

.product-item:hover .product-icon {
  transform: scale(1.04);
  box-shadow: 0 10px 24px var(--slab-shadow);
}

.product-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 22.37%;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 16px var(--slab-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.product-icon--muted,
.page-icon--muted {
  filter: grayscale(1);
  opacity: 0.55;
}

.product-item:hover .product-icon--muted {
  filter: grayscale(0.85);
  opacity: 0.7;
}

.product-arrow {
  font-size: 1.25rem;
  color: var(--muted);
  align-self: center;
  transition: transform 0.25s var(--ease), color 0.25s;
}

.product-body-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.35rem;
}

.product-status {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leaf);
  border: 1px solid color-mix(in srgb, var(--leaf) 45%, transparent);
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  vertical-align: middle;
  white-space: nowrap;
}

.product-status--inline {
  margin-left: 0.35rem;
  font-size: 0.65rem;
  padding: 0.12rem 0.35rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.more-list a .product-status {
  position: relative;
  top: -0.05rem;
}

.product-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--signal);
  letter-spacing: -0.02em;
}

.product-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.03em;
  transition: color 0.25s;
}

.product-body p {
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.98rem;
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}

/* Global */
.global {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 70vh;
}

.global-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.global-panel {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(14, 22, 19, 0.18), transparent 42%),
    linear-gradient(200deg, #134a3b 0%, #1f6b55 45%, #7ec9ad 100%);
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}

.global.is-in .global-panel {
  transform: scale(1);
}

.global-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.global-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.global-glow {
  position: absolute;
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: 18%;
  left: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  filter: blur(8px);
  animation: global-glow 10s ease-in-out infinite alternate;
}

@keyframes global-glow {
  from {
    transform: scale(0.92) translate(-4%, 2%);
    opacity: 0.7;
  }
  to {
    transform: scale(1.08) translate(3%, -3%);
    opacity: 1;
  }
}

.global-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.global-orbit--outer {
  width: min(78%, 460px);
  aspect-ratio: 1;
  animation: global-spin 48s linear infinite;
}

.global-orbit--mid {
  width: min(56%, 330px);
  aspect-ratio: 1;
  border-style: dashed;
  opacity: 0.75;
  animation: global-spin 36s linear infinite reverse;
}

.global-orbit--inner {
  width: min(34%, 200px);
  aspect-ratio: 1;
  opacity: 0.55;
  animation: global-spin 28s linear infinite;
}

.global-orbit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

@keyframes global-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.global-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s var(--ease) 0.15s;
}

.global.is-in .global-path {
  opacity: 1;
}

.global-path-line {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 1.6 1.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: global-dash 18s linear infinite;
}

@keyframes global-dash {
  to {
    stroke-dashoffset: -30;
  }
}

.global-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  /* left/top point at the white core center: shift half width and 14px (ring/core center) */
  transform: translate(-50%, calc(-14px + 10px));
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.global.is-in .global-node {
  opacity: 1;
  transform: translate(-50%, -14px);
}

.global.is-in .global-node--kr {
  transition-delay: 0.18s;
}

.global.is-in .global-node--us {
  transition-delay: 0.34s;
}

/* Coordinates match the global-path SVG endpoints (viewBox 0 0 100 100) */
.global-node--cn {
  top: 32%;
  left: 22%;
}

.global-node--kr {
  top: 54%;
  left: 40%;
}

.global-node--us {
  top: 27%;
  left: 75%;
}

.global-node-ring {
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  animation: global-pulse 2.8s ease-out infinite;
}

.global-node-core {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.global-node-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
}

.global-node-role {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

@keyframes global-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.global-mark {
  position: absolute;
  left: 8%;
  bottom: 14%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.12);
  user-select: none;
}

.global-meta {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  max-width: 70%;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
  font-variant-numeric: tabular-nums;
}

.global-meta-sep {
  width: 3px;
  height: 3px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.global-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 5rem) var(--space);
  background: var(--global-copy-bg);
  color: var(--global-copy-fg);
}

.global-copy .eyebrow {
  color: var(--signal);
}

.global-copy .section-lead {
  color: var(--global-copy-muted);
}

@media (prefers-reduced-motion: reduce) {
  .global-orbit,
  .global-glow,
  .global-path-line,
  .global-node-ring {
    animation: none !important;
  }
}

/* Company */
.company {
  padding: clamp(5rem, 12vw, 8rem) 0;
  background: var(--foam);
}

.entities {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.entity-role {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--leaf);
  margin-bottom: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--signal);
}

.entity-region {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.entity-desc {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28rem;
}

.entity-name-ko,
.entity-name-zh,
.entity-name-en-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.entity-name-en {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  padding: clamp(5rem, 12vw, 9rem) var(--space);
  background: var(--contact-glow), var(--sand);
  text-align: center;
}

.contact-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.85rem;
}

.contact .section-lead {
  margin: 0 auto 2rem;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 2.5rem var(--space);
  border-top: 1px solid var(--line);
  background: var(--foam);
}

.site-footer .footer-brand {
  flex: 1 1 240px;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 28rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--leaf);
}

/* Subpages */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) var(--space) 3.5rem;
  overflow: hidden;
  background: var(--sand);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--page-hero-glow);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.page-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.page-crumb a:hover {
  color: var(--leaf);
}

.page-crumb-sep {
  opacity: 0.45;
}

.page-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 22.37%;
  object-fit: cover;
  display: block;
  margin-bottom: 1.35rem;
  box-shadow: 0 14px 36px var(--slab-shadow);
}

.page-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.85rem;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.page-title + .page-status {
  margin-top: -0.35rem;
  margin-bottom: 1rem;
}

.page-status {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
}

.page-status span {
  display: inline-block;
  border: 1px solid color-mix(in srgb, var(--leaf) 45%, transparent);
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
}

.page-lead {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 18rem));
  gap: 1.25rem 2rem;
  margin-top: 2rem;
  max-width: 40rem;
}

.store-download {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease);
}

.store-download:hover {
  transform: translateY(-2px);
}

.store-download-qr-wrap {
  flex: 0 0 auto;
  width: 7.5rem;
  height: 7.5rem;
  padding: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px var(--slab-shadow);
}

[data-theme="dark"] .store-download-qr-wrap {
  background: #f4f7f5;
}

.store-download-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-download-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.store-download-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.store-download-hint {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .store-downloads {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

.page-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--space);
}

.page-section + .page-section {
  padding-top: 0;
}

.features {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--signal);
  font-size: 0.95rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.feature p {
  color: var(--muted);
  max-width: 36rem;
}

.product-legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1rem;
}

.product-legal a {
  display: block;
  padding: 1.75rem 1.5rem;
  background: var(--foam);
  transition: background 0.25s;
}

.product-legal a:hover {
  background: var(--mist);
}

.product-legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.product-legal p {
  color: var(--muted);
  font-size: 0.92rem;
}

.more-products {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.more-products h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.more-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.more-list a {
  color: var(--ink-soft);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.more-list a:hover,
.more-list a[aria-current="page"] {
  color: var(--leaf);
  border-bottom-color: var(--leaf);
}

.more-list a[aria-current="page"] {
  pointer-events: none;
}

/* Legal documents */
.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space) clamp(4rem, 10vw, 6rem);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

.legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.6rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}

.legal-doc ul,
.legal-doc ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-doc li {
  margin-bottom: 0.45rem;
}

.legal-doc a {
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 860px) {
  .lang-switch {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 1rem var(--space) 1.25rem;
    background: var(--nav-panel-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    justify-content: flex-start;
    min-height: 2.5rem;
    padding: 0 0.9rem;
  }

  .hero-apps {
    opacity: 0.55;
    right: -8%;
    top: 10%;
    width: 70vw;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .global {
    grid-template-columns: 1fr;
  }

  .global-visual {
    min-height: 260px;
  }

  .global-mark {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
    left: 6%;
    bottom: 12%;
  }

  .global-meta {
    top: 0.85rem;
    right: 0.85rem;
    left: 0.85rem;
    max-width: none;
    justify-content: flex-start;
    gap: 0.35rem;
    font-size: 0.62rem;
  }

  .global-orbit--outer {
    width: min(88%, 340px);
  }

  .global-orbit--mid {
    width: min(64%, 250px);
  }

  .global-orbit--inner {
    width: min(40%, 150px);
  }

  .global-node-role {
    font-size: 0.58rem;
    white-space: normal;
    text-align: center;
    max-width: 5.5rem;
  }

  .entities {
    grid-template-columns: 1fr;
  }

  .product-item {
    grid-template-columns: 3rem 1fr;
    gap: 0.9rem 1rem;
  }

  .product-icon {
    width: 3rem;
    height: 3rem;
  }

  .product-arrow {
    display: none;
  }

  .page-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .product-tag {
    display: none;
  }

  .product-legal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-brand-img {
    width: min(100%, 16rem);
  }

  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    flex: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
