[data-site-production-root] {
  --site-shell-max: 80rem;
  --site-gutter: clamp(1.125rem, 3.5vw, 4rem);
  --site-section-space: clamp(4.5rem, 8vw, 8rem);
  --site-section-space-compact: clamp(2.75rem, 5vw, 5rem);
  --site-copy-measure: 68ch;
  --site-heading-measure: 18ch;
  --site-control-min: 2.75rem;
  --site-icon-size: 1.25rem;
  --site-action-gap: 0.75em;
  --site-optical-shift-y: 0;
}

[data-site-production-root] *,
[data-site-production-root] *::before,
[data-site-production-root] *::after {
  box-sizing: border-box;
}

[data-site-production-root] [data-site-page] {
  min-inline-size: 0;
  overflow-x: clip;
}

[data-site-production-root] [data-site-shell] {
  inline-size: min(calc(100% - (var(--site-gutter) * 2)), var(--site-shell-max));
  margin-inline: auto;
  min-inline-size: 0;
}

[data-site-production-root] [data-site-section-space="standard"] {
  padding-block: var(--site-section-space);
}

[data-site-production-root] [data-site-section-space="compact"] {
  padding-block: var(--site-section-space-compact);
}

[data-site-production-root] [data-site-flow="copy"] {
  max-inline-size: var(--site-copy-measure);
}

[data-site-production-root] [data-site-flow="copy"] > * + * {
  margin-block-start: clamp(0.75rem, 1.4vw, 1.25rem);
}

[data-site-production-root] [data-site-phrase-context] {
  min-inline-size: 0;
  max-inline-size: 100%;
}

[data-site-production-root] [data-site-semantic-phrase],
[data-site-production-root] [data-site-line-unit] {
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-site-production-root] [data-site-line-policy="single-line"] {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-site-production-root] [data-site-line-policy="balanced-heading"] {
  max-inline-size: var(--site-heading-measure);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-site-production-root] [data-site-line-policy="natural-copy"] {
  max-inline-size: var(--site-copy-measure);
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

[data-site-production-root] [data-site-line-policy="address-lines"] {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

[data-site-production-root] [data-site-action-cluster] {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: start;
  gap: var(--site-action-gap);
  min-block-size: var(--site-control-min);
  max-inline-size: 100%;
  white-space: nowrap;
}

[data-site-production-root] [data-site-action-label] {
  min-inline-size: 0;
}

[data-site-production-root] [data-site-action-icon],
[data-site-production-root] [data-site-icon-box] {
  display: inline-grid;
  place-items: center;
  inline-size: var(--site-icon-size);
  block-size: var(--site-icon-size);
  flex: 0 0 auto;
  line-height: 0;
  transform: translateY(var(--site-optical-shift-y));
}

[data-site-production-root] [data-site-action-icon] > svg,
[data-site-production-root] svg[data-site-action-icon],
[data-site-production-root] [data-site-icon-box] > svg,
[data-site-production-root] svg[data-site-icon-box] {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
}

[data-site-production-root] :where(button, a, input, select, textarea):focus-visible {
  outline: max(2px, 0.14em) solid currentColor;
  outline-offset: 0.2em;
}

@media (max-width: 48rem) {
  [data-site-production-root] {
    --site-gutter: clamp(1rem, 5vw, 1.5rem);
    --site-section-space: clamp(3.5rem, 14vw, 5.5rem);
    --site-heading-measure: 14ch;
  }

  [data-site-production-root] [data-site-action-cluster] {
    inline-size: max-content;
    max-inline-size: 100%;
  }

  [data-site-production-root] :where(h1, h2, h3, p, a, button) {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  [data-site-production-root] :where(:lang(ko)) {
    word-break: keep-all;
    line-break: strict;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-site-production-root] *,
  [data-site-production-root] *::before,
  [data-site-production-root] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
