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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  interpolate-size: allow-keywords;
}

body,
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

[hidden] {
  display: none !important;
}

body {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-ja);
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: anywhere;
  line-break: strict;
  word-break: normal;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.35;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.45;
}

h3 {
  font-size: var(--fs-h3);
}

p {
  max-width: 38em;
}

a {
  color: inherit;
}

strong {
  font-weight: 700;
}

.en {
  font-family: var(--font-en);
  font-stretch: 125%;
  font-weight: 700;
  letter-spacing: var(--ls-en);
  text-transform: uppercase;
}

.mono,
.label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
}

.note {
  font-size: var(--fs-note);
  color: var(--color-gray);
  line-height: 1.8;
}

p, li, dd, td, th, summary, legend, label {
  text-wrap: pretty;
}

h1, h2, h3,
.problem-close,
.trial-promise {
  word-break: auto-phrase;
  text-wrap: balance;
}

.ib {
  display: inline-block;
}

.nowrap {
  white-space: nowrap;
}

.wbr-keep {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.section--light :focus-visible {
  outline-color: var(--color-orange-deep);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--color-white);
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section + .section:not(.section--light):not(.section--flush) {
  border-top: 1px solid var(--color-line);
}

.section--light {
  background: var(--color-white);
  color: var(--color-ink);
}

.section--light + .section {
  border-top: 0 !important;
}

.section--surface {
  background: var(--color-surface);
}

.split {
  display: grid;
  gap: 40px;
}

@media (min-width: 1080px) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
  }

  .split__head {
    grid-column: 1 / span 4;
  }

  .split__body {
    grid-column: 6 / span 7;
  }

  .split__head--sticky {
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

.stack > * + * {
  margin-top: 24px;
}

.sec-head {
  margin-bottom: 48px;
}

.split .sec-head {
  margin-bottom: 0;
}

.sec-num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--color-orange);
  line-height: 1.6;
}

.sec-num::after {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: currentColor;
}

.section--light .sec-num {
  color: var(--color-orange-deep);
}

.sec-head h2 {
  max-width: 20em;
}

.sec-lead {
  margin-top: 24px;
  color: var(--color-gray);
}

.section--light .sec-lead {
  color: var(--color-ink);
}

.notice {
  background: var(--color-orange);
  color: var(--color-black);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  padding: 8px var(--gutter);
}

.notice p {
  max-width: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 12, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
}

.logo__mark {
  width: 20px;
  height: 22px;
  flex: none;
}

.logo__text {
  font-family: var(--font-en);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1;
}

.logo__text span {
  color: var(--color-gray);
}

@media (min-width: 400px) {
  .logo__text {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .logo {
    gap: 10px;
  }

  .logo__mark {
    width: 22px;
    height: 22px;
  }

  .logo__text {
    font-size: 16px;
  }
}

.global-nav ul {
  display: flex;
  gap: 8px;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-white);
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.menu-toggle {
  display: none;
}

@media (max-width: 1079.98px) {
  .js .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
  }

  .menu-toggle__bars {
    position: relative;
    width: 22px;
    height: 12px;
  }

  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: transform 0.2s ease;
  }

  .menu-toggle__bars::before {
    top: 0;
  }

  .menu-toggle__bars::after {
    bottom: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
    transform: translateY(-5px) rotate(-45deg);
  }

  .js .logo {
    position: relative;
    z-index: 2;
  }

  .js .global-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    background: var(--color-black);
    background-image:
      linear-gradient(var(--color-line) 1px, transparent 1px);
    background-size: 100% 80px;
    background-position: 0 var(--header-h);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }

  .js .global-nav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  .js .global-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .js .global-nav li {
    border-bottom: 1px solid var(--color-line);
  }

  .js .global-nav a {
    width: 100%;
    min-height: 72px;
    padding-inline: 0;
    font-size: 22px;
    font-weight: 700;
  }

  .js .global-nav a::after {
    left: 0;
    right: auto;
    width: 40px;
    bottom: 16px;
  }

  .global-nav__cta {
    margin-top: 40px;
  }

  html:not(.js) .site-header {
    height: auto;
    position: relative;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  html:not(.js) .global-nav {
    order: 3;
    width: 100%;
  }

  html:not(.js) .global-nav ul {
    flex-wrap: wrap;
  }
}

@media (min-width: 1080px) {
  .global-nav {
    margin-right: 16px;
  }

  .global-nav__cta {
    display: none;
  }
}

html:not(.js) .global-nav__cta {
  display: none;
}

body.is-menu-open {
  overflow: hidden;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: var(--fs-note);
  color: var(--color-gray);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 12px;
  color: var(--color-line);
}

.breadcrumb a {
  display: inline-block;
  min-width: 44px;
  padding-block: 12px;
  color: var(--color-white);
  text-underline-offset: 4px;
}

.breadcrumb [aria-current="page"] {
  display: inline-block;
  padding-block: 12px;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  padding-block: 80px 40px;
  font-size: 14px;
  line-height: 1.9;
}

.footer-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 1080px) {
  .footer-grid {
    grid-template-columns: 4fr 3fr 5fr;
    gap: 48px;
  }
}

.footer-brand__name {
  font-family: var(--font-en);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-brand__name span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-stretch: normal;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: var(--ls-mono);
  color: var(--color-orange);
}

.footer-info {
  color: var(--color-gray);
}

.footer-heading {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-mono);
  color: var(--color-gray);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-caution {
  padding: 20px;
  border: 1px solid var(--color-line);
  color: var(--color-white);
  font-size: 13px;
  line-height: 1.9;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-gray);
}

.footer-bottom p {
  max-width: none;
}

@media (max-width: 767.98px) {
  body.has-sticky-cta {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.js [data-reveal="line"] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-out);
}

.js [data-reveal="line"].is-visible {
  transform: scaleX(1);
}

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

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

  .js [data-reveal],
  .js [data-reveal="line"] {
    opacity: 1;
    transform: none;
  }
}
