:root {
  color-scheme: light;
  --ink: #232441;
  --muted: #52536d;
  --paper: #f1f0f7;
  --white: #fbfafe;
  --line: #cdcadd;
  --plate: #252746;
  --lilac: #c6bfff;
  --yellow: #f2e779;
  --sans: "Avenir Next", "Hiragino Sans", "Yu Gothic UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #6253b4; outline-offset: 5px; }
img { display: block; }
h1, h2, p, figure { margin: 0; }
h1, h2 { line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
:lang(ja) :is(h1, h2) { letter-spacing: -.04em; line-height: 1.24; }
.shell { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 1;
  inset: .75rem auto auto .75rem;
  padding: .5rem 1rem;
  background: var(--white);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header { padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.brand {
  display: block;
  flex: none;
  width: clamp(7.5rem, 25vw, 9rem);
}
.brand img { width: 100%; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 650; font-size: .9rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.nav .language {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: .3rem .7rem;
  background: var(--white);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 7rem);
}
.eyebrow {
  color: var(--muted);
  font: 650 .78rem/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero h1, .contact-heading h1 { margin-block: .8rem 1.25rem; font-size: clamp(3.1rem, 6.25vw, 6rem); }
:lang(ja) .hero h1 { font-size: clamp(2.45rem, 5.3vw, 4.8rem); }
.lead { max-width: 40ch; font-size: clamp(1.06rem, 1.45vw, 1.28rem); color: var(--muted); }
:lang(ja) .lead { max-width: 32em; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.55rem;
  font-weight: 700;
  text-underline-offset: .28em;
}
.arrow-link:hover { text-decoration-thickness: .15em; }
.figure { min-width: 0; }
.instrument {
  background: var(--plate);
  color: var(--white);
  padding: clamp(1rem, 3vw, 1.7rem);
  border-radius: 1.15rem;
  box-shadow: 7px 7px 0 #d6d2e9;
}
.instrument-head, .instrument-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  font: .73rem/1.45 var(--mono);
}
.instrument-head { padding-bottom: 1rem; border-bottom: 1px solid #565978; }
.instrument-head strong { color: var(--lilac); font-size: .9rem; }
.instrument-foot { padding-top: 1rem; border-top: 1px solid #565978; color: var(--lilac); }
.window-glyph { color: var(--yellow); letter-spacing: .25em; }
.ruler, .track { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); align-items: center; }
.ruler { margin-top: 1.2rem; }
.ruler-values {
  display: flex;
  justify-content: space-between;
  padding-inline: .3rem;
  color: #e3e0ff;
  font: .73rem/1.2 var(--mono);
}
.tracks { margin-block: .55rem 1.15rem; }
.track-name { color: #e3e0ff; font: .8rem/1.2 var(--mono); padding-right: .25rem; }
.strip {
  position: relative;
  height: 3.05rem;
  border-top: 1px solid #565978;
  background: repeating-linear-gradient(to right, #565978 0 1px, transparent 1px 25%);
}
.track:last-child .strip { border-bottom: 1px solid #565978; }
.strip::before {
  content: "";
  position: absolute;
  inset: calc(50% - 1px) 0 auto;
  border-top: 1px solid #777894;
}
.strip::after {
  content: "";
  position: absolute;
  left: 51%;
  inset-block: 0;
  border-left: 1px dashed #e3e0ff;
}
.marker {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: var(--position);
  width: .67rem;
  height: .67rem;
  border: 1px solid var(--plate);
  background: var(--lilac);
  transform: translate(-50%, -50%) rotate(45deg);
}
.marker--selected { background: var(--yellow); }
.figure figcaption {
  margin: .9rem 0 0 .15rem;
  color: var(--muted);
  font-size: .82rem;
}
.work {
  display: grid;
  grid-template-columns: minmax(7rem, .32fr) minmax(0, 1fr);
  gap: 1.4rem clamp(1.5rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 5.5vw, 4.6rem);
  border-top: 1px solid var(--line);
}
.work article { max-width: 46rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .28rem .65rem;
  background: #e7e2fb;
  border: 1px solid #c9bee9;
  border-radius: 99px;
  color: #3f326c;
  font-size: .81rem;
  font-weight: 700;
}
.status::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: #6855ac; }
.work h2, .contact-card h2 { margin-block: .65rem .75rem; font-size: clamp(2rem, 4vw, 3.55rem); }
.work article p, .contact-card p, .contact-card ul { max-width: 60ch; color: var(--muted); }
.work article p + p, .contact-card p + p { margin-top: .8rem; }
.footer {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem 2rem;
  color: var(--muted);
  font-size: .9rem;
}
.footer a { flex-shrink: 0; text-underline-offset: .25em; }
.footer p { max-width: 66ch; margin-top: .25rem; font-size: .8rem; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(1.6rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(3rem, 8vw, 7rem);
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid #8d7cd0;
  border-radius: .7rem;
  padding: clamp(1.3rem, 4vw, 2.3rem);
}
.contact-card h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.contact-card ul { padding-left: 1.2rem; margin: .85rem 0 0; }
.contact-card li + li { margin-top: .28rem; }
.contact-card .privacy { margin-top: 1rem; }
.product-layout {
  max-width: 54rem;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
.product-heading h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}
.product-heading .lead { max-width: 54ch; }
.product-price { margin-top: 1.25rem; font-weight: 700; }
.product-languages { margin-top: 1.8rem; }
.product-languages .language[aria-current="page"] {
  background: var(--lilac);
  border-color: #8d7cd0;
}
.product-section {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.product-section h2 {
  margin-bottom: .9rem;
  font-size: clamp(1.55rem, 4vw, 2.65rem);
}
.product-section p, .product-section ul {
  max-width: 68ch;
  color: var(--muted);
}
.product-section p + p { margin-top: .85rem; }
.product-section ul { margin-block: .85rem; padding-inline-start: 1.25rem; }
.product-section li + li { margin-top: .65rem; }
.product-section code { font-family: var(--mono); font-size: .9em; }
.product-section a { text-underline-offset: .2em; }
@media (max-width: 52rem) {
  .hero, .contact-layout { grid-template-columns: 1fr; }
  .figure { max-width: 40rem; }
}
@media (max-width: 33rem) {
  .shell { width: calc(100% - 2rem); }
  .header { align-items: flex-start; }
  .nav { justify-content: flex-end; gap: .55rem .75rem; }
  .nav a { font-size: .81rem; }
  .product-languages { justify-content: flex-start; }
  .work { grid-template-columns: 1fr; }
  .ruler, .track { grid-template-columns: 3.55rem minmax(0, 1fr); }
  .track-name, .ruler-values { font-size: .69rem; }
}
