.oj-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-weight: 700;
}

.oj-skip-link:focus {
  transform: translateY(0);
}

#site-main-content:focus {
  outline: none;
}

.oj-license-menu-trigger {
  min-height: 38px;
  padding: 0 12px;
  background: rgba(148, 163, 184, .045);
  border: 1px solid transparent;
  border-radius: 9px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.oj-license-menu-trigger:hover,
.oj-license-menu-trigger:focus-visible {
  background: rgba(148, 163, 184, .09);
}

.oj-license-menu-trigger:focus-visible {
  outline: 2px solid rgba(59, 130, 246, .7);
  outline-offset: 2px;
}

#nav-menu-license-trigger[aria-expanded="true"] {
  background: rgba(59, 130, 246, .18);
  border-color: rgba(96, 165, 250, .42);
  box-shadow: 0 8px 24px -14px rgba(59, 130, 246, .85);
}

#nav-license-dropdown-panel {
  background: var(--oj-nav-popover-bg, #12151d);
  color: var(--oj-text);
  opacity: 1;
}

.oj-route-status {
  display: flex;
  min-height: 62vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 72px 24px;
  text-align: center;
}

.oj-route-status h1,
.oj-route-status p {
  margin: 0;
}

.oj-route-status > p:not(.mono) {
  color: var(--oj-muted);
}

.oj-route-status__indicator {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(148, 163, 184, .25);
  border-top-color: #60a5fa;
  border-radius: 50%;
  animation: oj-route-spin .8s linear infinite;
}

#route-not-found-code {
  color: #60a5fa;
  font-size: 14px;
  letter-spacing: .14em;
}

#route-not-found-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

#route-not-found-actions button,
#product-not-found-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--oj-border);
  border-radius: 10px;
  background: var(--oj-surface-strong);
  color: var(--oj-text);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

@keyframes oj-route-spin {
  to { transform: rotate(360deg); }
}

.oj-product-detail-shell {
  min-height: 70vh;
  padding-top: 0;
}

.oj-product-detail-nav {
  position: sticky;
  top: 73px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 56px;
  border-bottom: 1px solid var(--oj-border);
  background: rgba(10, 11, 16, .94);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .oj-product-detail-nav {
  background: rgba(247, 248, 251, .94);
}

.oj-product-detail-nav :where(button, a) {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--oj-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
}

.oj-product-detail-nav > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.oj-product-detail-nav label {
  color: var(--oj-muted);
  font-size: 12px;
}

.oj-product-detail-nav select {
  min-height: 40px;
  max-width: 260px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--oj-border);
  border-radius: 9px;
  background: var(--oj-nav-popover-bg, #12151d);
  color: var(--oj-text);
  color-scheme: dark;
  font: inherit;
  font-size: 13px;
}

.oj-product-detail-nav select option {
  background: var(--oj-nav-popover-bg, #12151d);
  color: var(--oj-text);
}

:root[data-theme="light"] .oj-product-detail-nav select {
  color-scheme: light;
}

.oj-product-generic {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

.oj-product-generic__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 42px;
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--oj-border);
}

.oj-product-generic__hero-copy {
  grid-column: 1;
  grid-row: 1;
}

.oj-product-generic__mark {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border: 1px solid;
  border-radius: 30px;
  background: var(--oj-surface);
  font-family: "JetBrains Mono", monospace;
  font-size: 52px;
  font-weight: 800;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.oj-product-generic__hero h1 {
  margin: 8px 0 0;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.oj-product-generic__hero p {
  margin: 0;
}

.oj-product-generic__hero .mono {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.oj-product-generic__tagline {
  margin-top: 20px !important;
  color: var(--oj-text);
  font-size: 21px;
  font-weight: 600;
}

.oj-product-generic__summary {
  max-width: 760px;
  margin-top: 14px !important;
  color: var(--oj-muted);
  font-size: 16px;
  line-height: 1.7;
}

.oj-product-generic__hero-actions {
  margin-top: 28px;
}

.oj-product-generic__hero-actions button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.oj-rich-product-hero-icon {
  position: absolute;
  top: 64px;
  right: 48px;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid;
  border-radius: 26px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
}

.oj-rich-product-hero-copy {
  padding-right: 160px;
}

#product-wifi-manager-pricing-summary-plans {
  margin-bottom: 22px;
}

#product-wifi-manager-pricing-summary-plans-title {
  margin: 0 0 14px;
  font-size: 18px;
}

.oj-product-generic__section {
  padding: 58px 0;
  border-bottom: 1px solid var(--oj-border);
}

.oj-product-generic__section h2,
.oj-product-update h2,
.oj-product-related h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.oj-product-generic__screens-body {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--oj-muted);
  font-size: 14px;
  line-height: 1.65;
}

.oj-product-generic__screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.oj-product-generic__screen-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--oj-border);
  border-radius: 14px;
  background: var(--oj-surface);
}

.oj-product-generic__screen-card:first-child {
  grid-column: 1 / -1;
}

.oj-product-generic__screen-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top center;
  background: #090b10;
}

.oj-product-generic__screen-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px 20px;
}

.oj-product-generic__screen-card strong {
  font-size: 15px;
}

.oj-product-generic__screen-card span {
  color: var(--oj-muted);
  font-size: 13px;
  line-height: 1.55;
}

.oj-product-generic__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.oj-product-generic__feature-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--oj-border);
  border-radius: 14px;
  background: var(--oj-surface);
}

.oj-product-generic__feature-grid article > span {
  color: #60a5fa;
  font-size: 11px;
}

.oj-product-generic__feature-grid h3 {
  margin: 14px 0 0;
  font-size: 17px;
}

.oj-product-generic__feature-grid p {
  margin: 9px 0 0;
  color: var(--oj-muted);
  font-size: 13px;
  line-height: 1.6;
}

.oj-product-pricing-users {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--oj-border);
  border-radius: 12px;
  background: var(--oj-nav-item-bg);
}

.oj-product-pricing-users > label {
  font-size: 14px;
  font-weight: 700;
}

.oj-product-pricing-users > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.oj-product-pricing-users button,
.oj-product-pricing-users input {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--oj-border);
  border-radius: 9px;
  background: var(--oj-nav-popover-bg);
  color: var(--oj-text);
  font: inherit;
  font-weight: 700;
  text-align: center;
}

.oj-product-pricing-users button {
  cursor: pointer;
}

.oj-product-pricing-users input {
  width: 76px;
}

.oj-product-pricing-users span {
  color: var(--oj-muted);
  font-size: 12px;
}

.oj-product-generic__environment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.oj-product-generic__environment > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--oj-border);
  border-radius: 14px;
  background: var(--oj-surface);
}

.oj-product-generic__environment strong {
  font-size: 13px;
}

.oj-product-generic__environment span {
  color: var(--oj-muted);
  font-size: 13.5px;
}

.oj-product-update {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 42px;
  max-width: 1084px;
  margin: 0 auto;
  padding: 64px 0;
  border-top: 1px solid var(--oj-border);
}

.oj-product-update p {
  color: var(--oj-muted);
  line-height: 1.65;
}

.oj-product-update .mono {
  margin: 0 0 10px;
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.oj-product-update__status {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--oj-border);
  border-radius: 14px;
  background: var(--oj-surface);
}

.oj-product-update__status > p {
  margin: 0;
}

.oj-product-update__error p {
  margin: 0;
}

.oj-product-update__retry {
  min-height: 40px;
  margin-top: 16px;
  padding: 0 16px;
  border: 1px solid rgba(96, 165, 250, .35);
  border-radius: 9px;
  background: rgba(59, 130, 246, .12);
  color: #93c5fd;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.oj-product-update__retry:hover,
.oj-product-update__retry:focus-visible {
  border-color: rgba(96, 165, 250, .7);
  background: rgba(59, 130, 246, .2);
}

.oj-product-update__release dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.oj-product-update__release dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.oj-product-update__release dt {
  color: var(--oj-muted);
  font-size: 12.5px;
}

.oj-product-update__release dd {
  margin: 0;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
}

.oj-product-update__release > p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  margin: 18px 0 0;
  font-size: 11px;
}

.oj-product-update__release code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oj-product-update__download {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 0 18px;
  border-radius: 10px;
  background: #3b82f6;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.oj-product-related {
  max-width: 1084px;
  margin: 0 auto;
  padding: 20px 0 80px;
}

.oj-product-related > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.oj-product-related :where(button, a) {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--oj-border);
  border-radius: 12px;
  background: var(--oj-surface);
  color: var(--oj-text);
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  text-align: left;
}

:where(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(96, 165, 250, .85);
  outline-offset: 3px;
}

/* 한국어 소개 문구는 음절 중간보다 띄어쓰기 단위 줄바꿈을 우선한다. */
:root[lang="ko"] :where(#section-hero, #section-about, #section-philosophy, #section-products, #section-cta, #site-footer) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.oj-about-story {
  --oj-about-accent: #60a5fa;
  width: 100%;
  max-width: 1288px;
  margin-top: 44px;
}

.oj-about-paras {
  gap: 16px;
  margin-top: 0;
}

.oj-about-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 252px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--oj-about-accent) 18%, var(--oj-border));
  border-radius: 15px;
  background: var(--oj-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.oj-about-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.oj-about-card-icon-wrap {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--oj-about-accent) 32%, var(--oj-border));
  border-radius: 13px;
  background: color-mix(in srgb, var(--oj-about-accent) 9%, transparent);
  color: color-mix(in srgb, var(--oj-about-accent) 88%, #fff);
}

.oj-about-card-icon {
  display: block;
  width: 27px;
  height: 27px;
}

.oj-about-card-number {
  color: color-mix(in srgb, var(--oj-about-accent) 64%, var(--oj-muted));
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.oj-about-card > h3 {
  margin: 24px 0 0;
  color: var(--oj-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.oj-about-card > p {
  margin: 11px 0 0;
  color: var(--oj-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.oj-about-since {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 7px 12px;
  border: 1px solid var(--oj-border);
  border-radius: 8px;
  background: var(--oj-surface);
  color: var(--oj-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
}

#about-since-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .08);
}

@media (max-width: 1024px) {
  .oj-about-card {
    min-height: 226px;
  }
}

@media (max-width: 820px) {
  .oj-about-story {
    margin-top: 36px;
  }

  .oj-about-card {
    min-height: 0;
    padding: 22px;
  }

  .oj-about-since {
    margin-top: 24px;
  }
}

@media (max-width: 420px) {
  .oj-about-card {
    border-radius: 13px;
  }

  .oj-about-since {
    align-items: flex-start;
  }

  #about-since-dot {
    margin-top: 6px;
  }
}

#footer-brand-products {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--oj-footer-accent, #3b82f6) 48%, var(--oj-border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--oj-footer-accent, #3b82f6) 12%, transparent);
  color: var(--oj-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.oj-footer-grid {
  grid-template-columns: minmax(260px, 1.55fr) repeat(2, minmax(150px, 1fr));
}

#footer-brand {
  max-width: 340px;
}

#footer-brand-copy {
  max-width: 320px;
  margin: 20px 0 0;
  color: var(--oj-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

#footer-brand-products {
  margin-top: 20px;
  padding: 0 15px;
}

#site-footer [id$="-links"] :where(button, a) {
  transition: color .16s ease, transform .16s ease;
}

#site-footer [id$="-links"] :where(button, a):hover {
  color: var(--oj-text) !important;
  transform: translateX(2px);
}

@media (max-width: 899px) {
  .oj-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oj-product-detail-nav {
    top: 69px;
    padding: 12px 24px;
  }

  .oj-product-generic {
    padding: 0 28px;
  }

  .oj-product-generic__hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 28px;
    padding-top: 64px;
  }

  .oj-product-generic__mark {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    font-size: 40px;
  }

  .oj-product-generic__feature-grid,
  .oj-product-generic__screens-grid,
  .oj-product-related > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oj-product-update,
  .oj-product-related {
    margin-right: 28px;
    margin-left: 28px;
  }

  .oj-product-update {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 639px) {
  #hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px !important;
  }

  .oj-footer-grid {
    grid-template-columns: 1fr;
  }

  #footer-brand {
    max-width: none;
  }

  .oj-product-detail-nav {
    position: relative;
    top: auto;
    align-items: stretch;
    flex-direction: column;
    padding: 12px 18px;
  }

  .oj-product-detail-nav > div {
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }

  .oj-product-detail-nav select {
    width: 100%;
    max-width: none;
  }

  .oj-product-generic {
    padding: 0 18px;
  }

  .oj-product-generic__hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 46px 0;
  }

  .oj-product-generic__mark {
    width: 76px;
    height: 76px;
    border-radius: 19px;
    font-size: 30px;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .oj-product-generic__hero-copy {
    grid-column: 1;
    grid-row: 2;
  }

  .oj-rich-product-hero-icon {
    position: static;
    width: 80px;
    height: 80px;
    margin-bottom: 22px;
    border-radius: 20px;
  }

  .oj-rich-product-hero-copy {
    padding-right: 0;
  }

  .oj-product-pricing-users {
    align-items: stretch;
    flex-direction: column;
  }

  .oj-product-pricing-users > div {
    justify-content: space-between;
  }

  .oj-product-generic__tagline {
    font-size: 18px;
  }

  .oj-product-generic__feature-grid,
  .oj-product-generic__screens-grid,
  .oj-product-generic__environment,
  .oj-product-related > div {
    grid-template-columns: 1fr;
  }

  .oj-product-update,
  .oj-product-related {
    margin-right: 18px;
    margin-left: 18px;
  }

  .oj-product-update {
    padding: 48px 0;
  }

  .oj-product-related {
    padding-bottom: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
