:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --surface: #111111;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f5;
  --text-muted: rgba(245, 245, 245, 0.58);
  --text-soft: rgba(245, 245, 245, 0.42);
  --accent: #ffffff;
  --font: "Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans Devanagari", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-sm: 10px;
  --radius-lg: 16px;
  --space: clamp(1.25rem, 4vw, 2rem);
  --max: 1120px;
  --narrow: 680px;
  --header-h: clamp(72px, 5.2vw, 78px);
  --brand-header-min-h: clamp(92px, 9vw, 110px);
  --navbar-hub-logo-size: clamp(40px, 3.85vw, 44px);
  --navbar-toolbar-pill-h: 44px;
  --navbar-pad-y: clamp(2px, 0.5vw, 6px);
  --section-y: clamp(3.75rem, 9vw, 6rem);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-newon-shell-theme="dark"] {
  color-scheme: dark;
}

html[data-newon-shell-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.16);
  --text: #0a0a0a;
  --text-muted: rgba(10, 10, 10, 0.65);
  --text-soft: rgba(10, 10, 10, 0.48);
  --accent: #0a0a0a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(var(--max), calc(100% - var(--space) * 2));
  margin-inline: auto;
}

.container.narrow {
  width: min(var(--narrow), calc(100% - var(--space) * 2));
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.35s var(--ease-premium),
    border-color 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.28);
}

html[data-newon-shell-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-newon-shell-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04) inset,
    0 10px 40px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.6rem, 2.2vw, 1rem);
  min-height: var(--header-h);
  padding-block: var(--navbar-pad-y);
  flex-wrap: nowrap;
}

.header-inner--legal {
  flex-wrap: wrap;
  align-items: center;
}

.header-inner--legal .legal-back {
  margin-bottom: 0;
}

.navbar-leading {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 0.9375rem);
  min-width: 0;
  flex: 0 1 auto;
}

.navbar-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  flex-shrink: 0;
}


/* ─── Main site top bar (3-column toolbar) ─── */
.navbar-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(0.9375rem, 2.4vw, 1.5625rem);
  min-height: var(--header-h);
  padding-block: clamp(4px, 0.8vw, 8px);
}

/* .container / .ox-container 너비 유지 (width:100% 덮어쓰기 방지) */
.container.navbar-bar {
  width: min(var(--max), calc(100% - var(--space) * 2));
  margin-inline: auto;
}

.ox-container.navbar-bar {
  width: min(var(--ox-max), calc(100% - var(--ox-pad) * 2));
  margin-inline: auto;
}

.navbar-bar__cell {
  display: flex;
  align-items: center;
  min-width: 0;
}

.navbar-bar__cell--brand {
  justify-self: start;
}

.navbar-bar__cell--left {
  justify-self: start;
}

.navbar-bar__cell--center {
  justify-self: center;
  justify-content: center;
}

.navbar-bar__cell--controls {
  justify-self: end;
}

.navbar-bar__controls {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  flex-shrink: 0;
}



.navbar-hub {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.85vw, 14px);
  min-width: 0;
}

.navbar-hub__logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: var(--radius-sm);
  opacity: 0.88;
  transition:
    opacity 0.22s var(--ease-premium),
    transform 0.24s var(--ease-premium);
}

.navbar-hub__logo:hover {
  opacity: 1;
  transform: translateY(-0.06rem);
}

.navbar-hub__logo-img {
  width: var(--navbar-hub-logo-size);
  height: var(--navbar-hub-logo-size);
  border-radius: 12px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 8px 22px rgba(0, 0, 0, 0.2);
}

html[data-newon-shell-theme="light"] .navbar-hub__logo-img {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.07),
    0 10px 26px rgba(0, 0, 0, 0.08);
}

.navbar-app-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  max-width: min(380px, 90vw);
  margin-inline: auto;
  padding-block: clamp(2px, 0.35vw, 5px);
  color: inherit;
  transition: transform 0.3s var(--ease-premium);
}

.navbar-app-showcase:focus-visible {
  outline: 2px solid rgba(144, 199, 255, 0.55);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.navbar-app-showcase:hover {
  transform: translateY(-0.05rem);
}

.navbar-app-showcase:hover .navbar-app-showcase__icon-img {
  transform: scale(1.04);
}

.navbar-app-showcase__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-app-showcase__icon-img {
  width: clamp(48px, 6vw, 56px);
  height: clamp(48px, 6vw, 56px);
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition:
    transform 0.32s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}

html[data-newon-shell-theme="light"] .navbar-app-showcase__icon-img {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.navbar-app-showcase__title {
  font-size: clamp(1.15rem, 2.95vw, 1.625rem);
  font-weight: 790;
  letter-spacing: -0.032em;
  line-height: 1.1;
}

.navbar-app-showcase__tagline {
  font-size: clamp(11.75px, 2.1vw, 13.5px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.42;
  max-width: 32rem;
  margin: 0;
  opacity: 0.55;
}

.navbar-bar--brand-header {
  min-height: var(--brand-header-min-h);
  padding-block: clamp(10px, 1.6vw, 14px);
  align-items: center;
}

@media (max-width: 639px) {
  :root {
    --brand-header-min-h: clamp(58px, 13vw, 68px);
  }

  .navbar-bar--brand-header {
    min-height: var(--brand-header-min-h);
    padding-block: 8px;
  }

  .navbar-app-showcase__tagline {
    display: none;
  }

  .navbar-app-showcase {
    gap: 0.12rem;
  }
}

.navbar-bar__controls--brand-toolbar {
  gap: 0.45rem;
}

.navbar-bar__controls--brand-toolbar .lang-menu.lang-menu--toolbar .lang-menu__btn {
  min-height: var(--navbar-toolbar-pill-h);
  height: var(--navbar-toolbar-pill-h);
  padding: 0.35rem 1.75rem 0.35rem clamp(0.75rem, 1.6vw, 1rem);
  font-size: 0.84375rem;
  font-weight: 600;
  letter-spacing: -0.019em;
  line-height: 1.28;
  width: auto;
  min-width: unset;
  max-width: none;
  border-radius: 999px;
}

.navbar-bar__controls--brand-toolbar .lang-select.lang-select--toolbar {
  min-height: var(--navbar-toolbar-pill-h);
  height: var(--navbar-toolbar-pill-h);
  padding: 0.35rem 1.75rem 0.35rem clamp(0.75rem, 1.6vw, 1rem);
  font-size: 0.84375rem;
  border-radius: 999px;
  width: auto;
}

.navbar-bar__controls--brand-toolbar .navbar-theme-toggle,
.navbar-bar__controls--brand-toolbar .nav-toggle.nav-toggle--toolbar {
  width: var(--navbar-hub-logo-size);
  height: var(--navbar-hub-logo-size);
  min-width: var(--navbar-hub-logo-size);
  padding: 0;
  font-size: 1rem;
}


.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8125rem, 1.5vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1;
  color: var(--text);
  transition:
    opacity 0.22s var(--ease-premium),
    transform 0.2s var(--ease-premium);
}

.navbar-brand:hover {
  opacity: 0.9;
}

.navbar-brand:active {
  transform: scale(0.996);
}

.navbar-brand__mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-brand__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border);
  transition:
    transform 0.22s var(--ease-premium),
    box-shadow 0.22s var(--ease-premium);
}

.navbar-brand:hover .navbar-brand__img {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 10px 32px rgba(0, 0, 0, 0.45);
}

.navbar-brand__name {
  font-size: clamp(1.375rem, 2.35vw, 1.6875rem);
  font-weight: 700;
  letter-spacing: -0.046em;
  white-space: nowrap;
}


.navbar-theme-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  line-height: 1;
  transition:
    background 0.22s var(--ease-premium),
    border-color 0.22s var(--ease-premium),
    transform 0.2s var(--ease-premium);
}

.navbar-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.24);
}

html[data-newon-shell-theme="light"] .navbar-theme-toggle {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
  color: #121212;
}

.nav-toggle.nav-toggle--toolbar {
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
}

html[data-newon-shell-theme="light"] .nav-toggle.nav-toggle--toolbar {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-newon-shell-theme="light"] .nav-toggle.nav-toggle--toolbar span {
  background: #1a1a1a;
}

@media (max-width: 879px) {
  .navbar-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.5rem;
  }

  /* Phone: brand left (logo + name), controls right — no duplicate hub icon */
  .navbar-bar.navbar-bar--home.navbar-bar--brand-header,
  .navbar-bar.navbar-bar--ox.navbar-bar--brand-header {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.625rem;
  }

  .navbar-bar.navbar-bar--brand-header .navbar-bar__cell--left {
    display: none;
  }

  .navbar-bar.navbar-bar--brand-header .navbar-bar__cell--center {
    display: flex;
    grid-column: 1;
    justify-self: start;
    justify-content: flex-start;
    min-width: 0;
  }

  .navbar-bar.navbar-bar--brand-header .navbar-bar__cell--controls {
    grid-column: 2;
    justify-self: end;
  }

  .navbar-bar.navbar-bar--brand-header .navbar-app-showcase {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.625rem;
    margin-inline: 0;
    max-width: none;
    padding-block: 0;
  }

  .navbar-bar.navbar-bar--brand-header .navbar-app-showcase__icon-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .navbar-bar.navbar-bar--brand-header .navbar-app-showcase__title {
    font-size: 1.125rem;
    line-height: 1.15;
  }

  .navbar-bar__cell--center {
    display: none;
  }

  .navbar-bar:not(.navbar-bar--brand-header).navbar-bar--home .navbar-bar__cell--center,
  .navbar-bar:not(.navbar-bar--brand-header).navbar-bar--ox .navbar-bar__cell--center {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .navbar-brand__img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .navbar-brand__name {
    font-size: 1.2rem;
  }

  .navbar-theme-toggle,
  .nav-toggle.nav-toggle--toolbar {
    width: 40px;
    height: 40px;
  }

  .lang-select.lang-select--toolbar {
    width: min(126px, 36vw);
    min-height: 40px;
  }

  .navbar-bar__controls--brand-toolbar .navbar-theme-toggle,
  .navbar-bar__controls--brand-toolbar .nav-toggle.nav-toggle--toolbar {
    width: var(--navbar-hub-logo-size);
    height: var(--navbar-hub-logo-size);
    min-width: var(--navbar-hub-logo-size);
    font-size: 0.95rem;
  }

  .navbar-bar__controls--brand-toolbar .lang-menu.lang-menu--toolbar .lang-menu__btn,
  .navbar-bar__controls--brand-toolbar .lang-select.lang-select--toolbar {
    min-height: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .navbar-brand__name {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.header-inner--legal .navbar-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}

html[data-newon-shell-theme="light"] .header-inner--legal .lang-select {
  background-color: #fff;
  color: #161616;
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

html[data-newon-shell-theme="light"] .header-inner--legal .lang-select:hover {
  background-color: #fff;
  border-color: rgba(0, 0, 0, 0.14);
}

html[data-newon-shell-theme="light"] .navbar-theme-toggle:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.14);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switcher {
  margin-left: 0;
  margin-right: 0;
}

.lang-switcher--ox {
  margin-left: 0;
  margin-right: 0;
}

/* ─── Custom language menu (pill trigger + rounded panel + checkmark) ─── */
.lang-menu {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  align-items: stretch;
}

.lang-menu.lang-menu--toolbar {
  flex: 0 0 auto;
}

.lang-menu.lang-menu--legal .lang-menu__btn {
  appearance: none;
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  color: var(--text);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  min-height: 34px;
  padding: 0.3125rem 1.75rem 0.3125rem 0.6875rem;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
  max-width: min(9rem, 34vw);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8a8a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  transition:
    border-color 0.22s var(--ease-premium),
    background 0.22s var(--ease-premium),
    box-shadow 0.22s var(--ease-premium);
}

.lang-menu.lang-menu--legal .lang-menu__btn:hover {
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
  background-color: rgba(22, 22, 22, 0.9);
}

.lang-menu.lang-menu--legal .lang-menu__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  outline-offset: 2px;
}

.lang-menu.lang-menu--toolbar .lang-menu__btn {
  width: clamp(146px, 14vw, 168px);
  max-width: 168px;
  min-height: 44px;
  padding: 0.328rem 1.75rem 0.328rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.38;
  background: rgba(20, 20, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--text);
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  text-align: left;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8a8a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  transition:
    border-color 0.22s var(--ease-premium),
    background 0.22s var(--ease-premium),
    box-shadow 0.22s var(--ease-premium);
}

.lang-menu.lang-menu--toolbar .lang-menu__btn:hover {
  background-color: rgba(28, 28, 28, 0.65);
  border-color: rgba(255, 255, 255, 0.22);
}

html[data-newon-shell-theme="light"] .lang-menu.lang-menu--toolbar .lang-menu__btn {
  background-color: #fff;
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0.09);
  color: #161616;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

html[data-newon-shell-theme="light"] .lang-menu.lang-menu--toolbar .lang-menu__btn:hover {
  background-color: #fff;
  border-color: rgba(0, 0, 0, 0.14);
}

.lang-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  z-index: 10050;
  min-width: max(100%, calc(146px + 1rem));
  padding: 0.45rem;
  margin: 0;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 14px;
  background: #fff;
  color: #161616;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 22px 48px rgba(0, 0, 0, 0.12);
}

.lang-menu__option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.5rem 0.62rem;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease;
}

.lang-menu__option:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lang-menu__option:focus-visible {
  outline: 2px solid rgba(0, 112, 255, 0.45);
  outline-offset: -1px;
}

.lang-menu__check {
  flex: 0 0 1.2em;
  font-size: 0.85rem;
  font-weight: 700;
  color: color-mix(in srgb, #111 88%, transparent);
  text-align: center;
}

.lang-menu__check[hidden] {
  visibility: hidden;
}

.lang-select {
  appearance: none;
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  color: var(--text);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  min-height: 34px;
  padding: 0.3125rem 1.75rem 0.3125rem 0.6875rem;
  border-radius: 999px;
  cursor: pointer;
  vertical-align: middle;
  transition:
    border-color 0.22s var(--ease-premium),
    background 0.22s var(--ease-premium),
    box-shadow 0.22s var(--ease-premium);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8a8a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  max-width: min(9rem, 34vw);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.lang-select:hover {
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
  background-color: rgba(22, 22, 22, 0.9);
}

.lang-select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  outline-offset: 2px;
}

.lang-select.lang-select--toolbar {
  width: clamp(146px, 14vw, 168px);
  max-width: 168px;
  min-height: 44px;
  padding: 0.328rem 1.75rem 0.328rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.38;
  background: rgba(20, 20, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.lang-select.lang-select--toolbar:hover {
  background: rgba(28, 28, 28, 0.65);
  border-color: rgba(255, 255, 255, 0.22);
}

html[data-newon-shell-theme="light"] .lang-select.lang-select--toolbar {
  background-color: #fff;
  background-image: none;
  border: 1px solid rgba(0, 0, 0, 0.09);
  color: #161616;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

html[data-newon-shell-theme="light"] .lang-select.lang-select--toolbar:hover {
  background-color: #fff;
  border-color: rgba(0, 0, 0, 0.14);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.footer-legal-links--ox {
  margin-bottom: 0.5rem;
  justify-content: center;
}

.ox-footer-delete-account {
  margin: 0 0 1rem;
  width: 100%;
  text-align: center;
}

.ox-footer-delete-account .footer-legal {
  font-size: 0.9rem;
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-legal-sep {
  color: var(--text-soft);
  user-select: none;
}

.legal-body h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  transition:
    opacity 0.22s var(--ease-premium),
    transform 0.22s var(--ease-premium);
}

.brand:hover {
  opacity: 0.9;
}

.brand:active {
  transform: scale(0.99);
}

.brand-mark {
  display: flex;
  align-items: center;
}

.brand-img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border);
  transition:
    box-shadow 0.22s var(--ease-premium),
    transform 0.22s var(--ease-premium);
}

.brand:hover .brand-img {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.site-shell:not([hidden]) {
  animation: shell-enter 0.55s var(--ease-premium) both;
}

@keyframes shell-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.8125rem;
}

.nav--apps-only {
  gap: 0;
}

/* Newon의 앱 — 데스크톱 드롭다운 */
.apps-flyout {
  position: relative;
}

.apps-flyout__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4375rem;
  min-height: 34px;
  padding: 0.3125rem 0.6875rem 0.3125rem 0.8125rem;
  margin: 0;
  font: inherit;
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(245, 245, 245, 0.75);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.22s var(--ease-premium),
    background 0.22s var(--ease-premium),
    border-color 0.22s var(--ease-premium),
    box-shadow 0.22s var(--ease-premium),
    transform 0.22s var(--ease-premium);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.apps-flyout__trigger:hover,
.apps-flyout__trigger[aria-expanded="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.apps-flyout__trigger:active {
  transform: scale(0.985);
}

.apps-flyout__trigger.apps-flyout__trigger--toolbar {
  gap: 0.45rem;
  min-height: var(--navbar-toolbar-pill-h);
  padding: 0.35rem clamp(1rem, 2vw, 1.25rem);
  font-size: 0.84375rem;
  font-weight: 600;
  letter-spacing: -0.019em;
  line-height: 1.28;
  color: rgba(245, 245, 245, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.apps-flyout__trigger.apps-flyout__trigger--toolbar:hover,
.apps-flyout__trigger.apps-flyout__trigger--toolbar[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

html[data-newon-shell-theme="light"] .apps-flyout__trigger.apps-flyout__trigger--toolbar {
  color: rgba(12, 12, 12, 0.9);
  background: rgba(253, 253, 253, 1);
  border: 1px solid rgba(0, 0, 0, 0.09);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

html[data-newon-shell-theme="light"] .apps-flyout__trigger.apps-flyout__trigger--toolbar:hover,
html[data-newon-shell-theme="light"]
  .apps-flyout__trigger.apps-flyout__trigger--toolbar[aria-expanded="true"] {
  background: rgba(247, 247, 247, 1);
  border-color: rgba(0, 0, 0, 0.14);
}

.navbar-bar__cell--center .apps-flyout__panel {
  left: 50%;
  right: auto;
  animation: panel-enter-centered 0.42s var(--ease-premium) both;
}

.navbar-bar__cell--left .apps-flyout__panel,
.apps-flyout--align-start .apps-flyout__panel {
  left: 0;
  right: auto;
  transform-origin: top left;
  animation: panel-enter-align-start 0.4s var(--ease-premium) both;
}

.apps-flyout__trigger > span:first-child {
  max-width: min(240px, 44vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apps-flyout__chev {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.04em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
  flex-shrink: 0;
  transition: transform 0.32s var(--ease-premium);
}

.apps-flyout__trigger[aria-expanded="true"] .apps-flyout__chev {
  transform: rotate(-135deg);
  margin-top: 0.12em;
}

.apps-flyout__panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: min(20rem, calc(100vw - 2rem));
  padding: 0.4rem;
  margin: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 56px rgba(0, 0, 0, 0.55);
  z-index: 120;
  animation: panel-enter 0.4s var(--ease-premium) both;
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panel-enter-centered {
  from {
    opacity: 0;
    transform: translate(-50%, -8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes panel-enter-align-start {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.apps-flyout__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.25s var(--ease-premium),
    transform 0.25s var(--ease-premium);
}

.apps-flyout__item:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.apps-flyout__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.apps-flyout__item--current {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.apps-flyout__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.apps-flyout__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apps-flyout__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.apps-flyout__name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.apps-flyout__desc {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.apps-flyout__go {
  flex-shrink: 0;
  font-size: 1rem;
  opacity: 0.45;
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease-premium);
}

.apps-flyout__item:hover .apps-flyout__go {
  opacity: 0.85;
  transform: translateX(3px);
}

/* 모바일 — Newon의 앱 */
.mobile-apps-drawer {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mobile-apps-drawer__summary {
  list-style: none;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}

.mobile-apps-drawer__summary::-webkit-details-marker {
  display: none;
}

.mobile-apps-drawer__summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
  transition: transform 0.35s var(--ease-premium);
}

.mobile-apps-drawer[open] .mobile-apps-drawer__summary {
  color: var(--text);
}

.mobile-apps-drawer[open] .mobile-apps-drawer__summary::after {
  transform: rotate(225deg);
}

.mobile-apps-drawer__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0 1rem;
  margin: 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.mobile-apps-drawer__item:hover {
  opacity: 0.9;
}

.mobile-apps-drawer__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.mobile-apps-drawer__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-apps-drawer__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-apps-drawer__name {
  font-weight: 600;
  font-size: 0.92rem;
}

.mobile-apps-drawer__hint {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.mobile-apps-drawer__item--current {
  background: rgba(255, 255, 255, 0.03);
  margin: 0 calc(var(--space) * -1);
  padding-left: var(--space);
  padding-right: var(--space);
}

/* 스크롤 리빌 */
.reveal-on-scroll:not(.is-visible) .hero-inner,
.reveal-on-scroll:not(.is-visible) > .container,
.reveal-on-scroll:not(.is-visible) > .container > * {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-on-scroll.is-visible .hero-inner,
.reveal-on-scroll.is-visible > .container,
.reveal-on-scroll.is-visible > .container > * {
  animation: reveal-up 0.85s var(--ease-premium) both;
}

.reveal-on-scroll.is-visible > .container > *:nth-child(1) {
  animation-delay: 0.03s;
}
.reveal-on-scroll.is-visible > .container > *:nth-child(2) {
  animation-delay: 0.08s;
}
.reveal-on-scroll.is-visible > .container > *:nth-child(3) {
  animation-delay: 0.13s;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero.reveal-on-scroll:not(.is-visible) .hero-inner {
  opacity: 0;
  transform: translateY(20px);
}
.hero.reveal-on-scroll.is-visible .hero-inner {
  animation: reveal-up 0.9s var(--ease-premium) both;
}

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

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

.nav-cta {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text) !important;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-cta:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 37px;
  height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
  transition:
    border-color 0.22s var(--ease-premium),
    background 0.22s var(--ease-premium),
    box-shadow 0.22s var(--ease-premium),
    transform 0.22s var(--ease-premium);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-toggle:active {
  transform: scale(0.97);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 var(--space) 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.mobile-nav a {
  padding: 0.875rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.90625rem;
}

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

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 879px) {
  .apps-flyout:not(.apps-flyout--in-ox) .apps-flyout__trigger > span:first-child {
    max-width: min(148px, 44vw);
  }

  .lang-select:not(.lang-select--toolbar) {
    max-width: min(8.25rem, 50vw);
  }
}

#home.site-shell .hero {
  padding: calc(var(--brand-header-min-h) + 2.75rem) 0 3.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2.75rem) 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 85% 40%, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
  animation: hero-glow 14s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% {
    opacity: 1;
    filter: saturate(1);
  }
  100% {
    opacity: 0.92;
    filter: saturate(1.15);
  }
}

.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(2.5rem, 5vw, 3.75rem);
  }
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-logo-wrap {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 40%);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.hero-logo-img {
  width: min(220px, 70vw);
  height: auto;
  border-radius: var(--radius);
  animation: fadeUp 0.9s ease-out both;
}

.hero-copy {
  animation: fadeUp 0.9s ease-out 0.12s both;
}

.eyebrow {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.hero-title {
  margin: 0 0 1.125rem;
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: -0.03em;
}

.hero-title--co .hero-accent::after {
  height: 0.22em;
  opacity: 0.95;
}

.hero-accent {
  position: relative;
  display: inline-block;
}

.hero-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.28em;
  background: rgba(255, 255, 255, 0.18);
  z-index: -1;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 32em;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8125rem 1.25rem;
  font-family: inherit;
  font-size: 0.90625rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background: #e8e8e8;
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

@media (min-width: 900px) {
  .hero-scroll {
    display: flex;
  }
}

.dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero-logo-img,
  .hero-copy {
    animation: none;
  }

  .dot-pulse {
    animation: none;
  }

  .hero-bg {
    animation: none;
  }

  .site-shell:not([hidden]) {
    animation: none;
  }

  .apps-flyout__panel {
    animation: none;
  }

  .navbar-bar__cell--center .apps-flyout__panel {
    transform: translate(-50%, 0);
    animation: none;
  }

  .navbar-bar__cell--left .apps-flyout__panel,
  .apps-flyout--align-start .apps-flyout__panel {
    animation: none;
    transform: translateY(0) scale(1);
  }

  .reveal-on-scroll:not(.is-visible) .hero-inner,
  .reveal-on-scroll:not(.is-visible) > .container,
  .reveal-on-scroll:not(.is-visible) > .container > * {
    opacity: 1;
    transform: none;
  }

  .reveal-on-scroll.is-visible .hero-inner,
  .reveal-on-scroll.is-visible > .container,
  .reveal-on-scroll.is-visible > .container > * {
    animation: none;
  }
}

/* Sections */
.section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
}

.section-label {
  margin: 0 0 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-transform: none;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.625rem, 3.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.22;
}

.section-meaning .section-title .plus {
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0.15em;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 38em;
  font-size: 0.96875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.meaning-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .meaning-list {
    grid-template-columns: 1fr 1fr;
  }
}

.meaning-list li {
  padding: 1.25rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.35s var(--ease-premium),
    transform 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}

.meaning-list li:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.meaning-list strong {
  display: block;
  font-size: 1.03125rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.meaning-list span {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pullquote {
  margin: 0;
  padding: 1.375rem 0 0;
  font-size: clamp(1.2rem, 2.75vw, 1.5rem);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -0.022em;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.cards {
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  padding: 1.375rem 1.25rem 1.375rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.35s var(--ease-premium),
    transform 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 52%, transparent);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
  opacity: 1;
}

.card-dot {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.card h3 {
  margin: 0 0 0.5rem;
  padding-right: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 0.90625rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.section-about .about-body p {
  margin: 0 0 0.875rem;
  font-size: 0.96875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-about .about-body p:last-child {
  margin-bottom: 0;
}

.section-about strong {
  color: var(--text);
  font-weight: 600;
}

/* 회사 소개 페이지 — 정돈된 블록 */
.section-co .section-title--with-icon {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.section-icon {
  font-size: 0.88em;
  line-height: 1;
  opacity: 0.86;
}

.co-equation {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.co-equation__eq {
  margin: 0 0.2em;
  font-weight: 500;
  color: var(--text-soft);
}

.co-equation__plus {
  margin: 0 0.12em;
  font-weight: 500;
  color: var(--text-muted);
}

.co-on {
  color: var(--text);
  font-weight: 600;
}

.co-prose {
  max-width: 38rem;
}

.co-prose p {
  margin: 0 0 1rem;
  font-size: 0.96875rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.co-prose p:last-child {
  margin-bottom: 0;
}

.co-prose--tight p {
  margin-bottom: 0.875rem;
}

.co-prose__lead {
  font-size: 1.015rem !important;
  font-weight: 500;
  color: var(--text) !important;
  letter-spacing: -0.015em;
  line-height: 1.6 !important;
}

.co-em-quote {
  display: inline;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  box-shadow: inset 0 -0.32em 0 rgba(255, 255, 255, 0.14);
}

.co-build-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
  max-width: 40rem;
}

@media (min-width: 700px) {
  .co-build-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    max-width: none;
  }
}

.co-build-list li {
  margin: 0;
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.90625rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.52;
  letter-spacing: -0.01em;
  transition:
    border-color 0.3s var(--ease-premium),
    transform 0.3s var(--ease-premium),
    box-shadow 0.3s var(--ease-premium);
}

.co-build-list li:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.section-co--build .section-title {
  margin-bottom: 1.35rem;
}

.co-goal-panel {
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.04) 0%,
    var(--surface) 42%,
    var(--bg-elevated) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 20px 48px rgba(0, 0, 0, 0.22);
}

.co-goal-panel p {
  margin: 0 0 0.9rem;
  font-size: 0.96875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.co-goal-panel p:last-child {
  margin-bottom: 0;
}

.co-goal-panel strong {
  color: var(--text);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .co-build-list li:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.875rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.footer-brand-img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: min(100%, 26rem);
}

.footer-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

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

.footer-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.125rem;
}

.footer-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  text-decoration: none;
  transition:
    color 0.2s var(--ease-premium),
    border-color 0.2s var(--ease-premium),
    transform 0.2s var(--ease-premium),
    box-shadow 0.2s var(--ease-premium);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.footer-icon-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.footer-icon-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.footer-icon-btn__svg {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .footer-icon-btn:hover {
    transform: none;
  }
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* SubPing teaser (home) */
.subping-teaser {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.subping-teaser__logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
}

.subping-teaser__copy {
  min-width: 0;
}

.subping-teaser__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
}

@media (max-width: 480px) {
  .subping-teaser {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.pillmate-home-teaser .subping-teaser__logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

/* ─── Shell theme: 홈 섹션·카드 (라이트/다크 대칭) ─── */
html[data-newon-shell-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 0, 0, 0.04), transparent),
    radial-gradient(circle at 85% 40%, rgba(0, 0, 0, 0.02), transparent 40%);
}

html[data-newon-shell-theme="light"] .hero-logo-wrap {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

html[data-newon-shell-theme="light"] .hero-logo-wrap::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08), transparent 40%);
}

html[data-newon-shell-theme="light"] .hero-accent::after {
  background: rgba(0, 0, 0, 0.08);
}

html[data-newon-shell-theme="light"] .btn-primary:hover {
  background: #2a2a2a;
  color: #ffffff;
}

html[data-newon-shell-theme="light"] .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

html[data-newon-shell-theme="light"] .card::before {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.08), transparent 52%, transparent);
}

html[data-newon-shell-theme="light"] .card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

html[data-newon-shell-theme="light"] .card-dot {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

html[data-newon-shell-theme="light"] .meaning-list li:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

html[data-newon-shell-theme="light"] .co-em-quote {
  box-shadow: inset 0 -0.32em 0 rgba(0, 0, 0, 0.08);
}

html[data-newon-shell-theme="light"] .co-build-list li:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

html[data-newon-shell-theme="light"] .co-goal-panel {
  background: linear-gradient(155deg, rgba(0, 0, 0, 0.02) 0%, #ffffff 42%, #ffffff 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.06);
}

html[data-newon-shell-theme="light"] .apps-flyout__panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04) inset,
    0 20px 48px rgba(0, 0, 0, 0.12);
}

html[data-newon-shell-theme="light"] .apps-flyout__item:hover {
  background: rgba(0, 0, 0, 0.05);
}

html[data-newon-shell-theme="light"] .apps-flyout__item--current {
  background: rgba(0, 0, 0, 0.04);
}

html[data-newon-shell-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 85% 40%, rgba(255, 255, 255, 0.04), transparent 40%);
}

html[data-newon-shell-theme="dark"] .co-goal-panel {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.04) 0%,
    var(--surface) 42%,
    var(--bg-elevated) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 20px 48px rgba(0, 0, 0, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .navbar-bar,
  .navbar-brand,
  .navbar-brand__img,
  .brand,
  .brand-img,
  .apps-flyout__trigger,
  .apps-flyout__chev,
  .lang-select,
  .nav-toggle,
  .navbar-theme-toggle,
  .ox-header,
  .ox-brand,
  .ox-brand img,
  .ox-theme-toggle,
  .ox-nav-toggle,
  .ox-link-newon {
    transition: none !important;
  }

  .ox-theme-toggle:active,
  .ox-nav-toggle:active,
  .navbar-theme-toggle:active,
  .nav-toggle:active {
    transform: none !important;
  }
}

