:root {
  --ns-paper: #f8f2e7;
  --ns-paper-light: #fffcf7;
  --ns-paper-deep: #ece2d2;
  --ns-ink: #07182a;
  --ns-ink-soft: #243347;
  --ns-coral: #f25745;
  --ns-cobalt: #1456b8;
  --ns-teal: #078d86;
  --ns-yellow: #f5bd38;
  --ns-cyan: #35d5d2;
  --ns-magenta: #e94e9b;
  --ns-line: #d7d0c3;
  --ns-muted: #6f736f;
  --ns-serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --ns-sans: ui-sans-serif, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --ns-wide: min(96vw, 1600px);
  --ns-read: 720px;
  color-scheme: light;
  font-family: var(--ns-sans);
  color: var(--ns-ink);
  background: var(--ns-paper);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ns-ink);
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 21%, rgba(7, 24, 42, .028) 0 1px, transparent 1.8px) 0 0 / 13px 13px,
    radial-gradient(circle at 72% 68%, rgba(242, 87, 69, .02) 0 1px, transparent 2px) 0 0 / 19px 19px,
    var(--ns-paper);
  font-family: var(--ns-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ns-ink);
  text-rendering: optimizeLegibility;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.ns-no-break {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

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

a {
  color: inherit;
  text-underline-offset: .22em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid var(--ns-yellow);
  outline-offset: 4px;
}

.ns-skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  color: var(--ns-paper-light);
  background: var(--ns-ink);
  border: 2px solid var(--ns-yellow);
}

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

.ns-dev-banner {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .18rem 4vw;
  background: var(--ns-ink);
  color: var(--ns-paper-light);
  font-size: .72rem;
  letter-spacing: .04em;
}

.ns-dev-banner strong {
  color: var(--ns-yellow);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.ns-site-header {
  position: relative;
  z-index: 20;
  height: 82px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(7, 24, 42, .18);
  background: rgba(248, 242, 231, .96);
}

.ns-header-inner {
  width: var(--ns-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(500px, 1.7fr) 76px;
  align-items: center;
  gap: 2rem;
}

.ns-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.ns-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.ns-brand span {
  display: grid;
  line-height: 1.25;
}

.ns-brand strong {
  font-size: 1.03rem;
  letter-spacing: .06em;
}

.ns-brand small {
  margin-top: .22rem;
  color: var(--ns-ink-soft);
  font-size: .66rem;
  letter-spacing: .05em;
}

.ns-global-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(.7rem, 1.7vw, 2rem);
}

.ns-global-nav a {
  position: relative;
  padding: 1rem 0;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ns-global-nav a::after {
  position: absolute;
  right: 0;
  bottom: .7rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--ns-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.ns-global-nav a:hover::after,
.ns-global-nav a:focus-visible::after,
.ns-global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.ns-search-cue {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ns-ink);
  color: var(--ns-paper-light);
  text-decoration: none;
}

.ns-search-cue span {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.ns-search-cue span::after {
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  content: "";
  background: currentColor;
  transform: rotate(45deg);
}

.ns-search-cue b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ns-section-index {
  margin: 0 0 .65rem;
  color: var(--ns-coral);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .22em;
  line-height: 1.3;
}

.ns-svg-label,
.ns-scenario-label,
.ns-scenario-note {
  font-family: var(--ns-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

.ns-footer {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem max(4vw, calc((100vw - 1600px) / 2));
  background: var(--ns-ink);
  color: var(--ns-paper-light);
}

.ns-footer > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ns-footer .ns-brand-mark {
  --ns-ink: var(--ns-paper-light);
  --ns-paper: var(--ns-ink);
}

.ns-footer p {
  margin: 0;
  line-height: 1.55;
}

.ns-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 2rem;
}

.ns-footer a {
  font-size: .85rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .ns-header-inner {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .ns-global-nav {
    display: none;
  }

  .ns-search-cue {
    justify-self: end;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .ns-dev-banner {
    min-height: 24px;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .ns-dev-banner span {
    display: none;
  }

  .ns-brand,
  .ns-inline-journey-link,
  .ns-stories-heading a,
  .ns-story-copy a,
  .ns-preview-main a,
  .ns-footer a,
  .ns-evidence-item a,
  .ns-movink-closing a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .ns-site-header {
    height: 68px;
  }

  .ns-header-inner {
    width: calc(100vw - 28px);
    gap: .5rem;
  }

  .ns-brand-mark {
    width: 38px;
    height: 38px;
  }

  .ns-brand strong {
    font-size: .88rem;
  }

  .ns-brand small {
    font-size: .58rem;
  }

  .ns-search-cue {
    width: 44px;
    height: 44px;
  }

  .ns-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 3rem 1.25rem 7rem;
  }

  .ns-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .ns-brand small {
    display: none;
  }

  .ns-dev-banner {
    font-size: .64rem;
  }
}

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