:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.8;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.site-header {
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
  height: 40px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark img {
  width: 168px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-kicker {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.25;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  transition: color .45s ease, opacity .45s ease;
}
.text-link span { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.text-link:hover,
.text-link:focus-visible { color: var(--accent); }
.text-link:hover span,
.text-link:focus-visible span { transform: translateX(3px); }

.button-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 24px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  transition: color .45s ease, background-color .45s ease, border-color .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
}
.button-link::before { position: absolute; inset: 0; content: ""; background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.48) 48%, transparent 72%); transform: translateX(-125%); transition: transform .75s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.button-link span { position: relative; transition: transform .45s cubic-bezier(.2,.7,.2,1); }

.button-link:hover,
.button-link:focus-visible {
  background: rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(12,20,16,.1);
}
.button-link:hover::before,
.button-link:focus-visible::before { transform: translateX(125%); }
.button-link:hover span,
.button-link:focus-visible span { transform: translateX(3px); }

[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1);
}

[data-reveal="left"] {
  transform: translateX(-48px);
}

[data-reveal="right"] {
  transform: translateX(48px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.06);
  will-change: transform;
}

.product-image,
.blog-image {
  overflow: hidden;
  background: #fff;
}

.product-image img,
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-item:hover img,
.blog-item:hover img {
  transform: scale(1.025);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 780px;
  padding: 0 0 26px;
  color: var(--muted);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.site-footer {
  color: #fff;
  background: var(--footer);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 34px;
}

.footer-brand {
  font-size: 25px;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.65);
  font-size: 12px;
}

@media (max-width: 820px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 680px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-mark,
  .brand-mark img {
    width: 148px;
    min-width: 148px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    inset: 66px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 24px 28px;
    background: var(--page);
    box-shadow: 0 16px 28px rgba(0,0,0,.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .section-title {
    font-size: 34px;
  }

  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(32px);
  }

  .section-head-row {
    display: block;
    margin-bottom: 32px;
  }

  .section-head-row .text-link {
    display: inline-block;
    margin-top: 14px;
  }

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

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

  .copyright {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none;
  }
}
