:root {
  --ink: #080808;
  --paper: #f7f1df;
  --red: #c91625;
  --line: rgba(247, 241, 223, 0.72);
}

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

html {
  color-scheme: dark;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
}

h1,
h2,
h3,
.headline {
  word-break: auto-phrase;
  text-wrap: balance;
  line-break: strict;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border: 1px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

.lp {
  width: min(100%, 720px);
  margin: 0 auto;
  background: var(--ink);
}

.visual-section {
  position: relative;
  width: 100%;
  line-height: 0;
  isolation: isolate;
}

.visual-section img {
  display: block;
  width: 100%;
  height: auto;
}

.snow-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -5%;
  left: calc(var(--x) * 1%);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255, 255, 255, var(--alpha));
  animation: snowfall var(--duration) linear var(--delay) infinite;
}

@keyframes snowfall {
  0% {
    transform: translate3d(0, -3vh, 0);
  }
  50% {
    transform: translate3d(var(--drift), 90vh, 0);
  }
  100% {
    transform: translate3d(calc(var(--drift) * -0.4), 185vh, 0);
  }
}

.motion-paused .snowflake {
  animation-play-state: paused;
  opacity: 0;
}

.status-overlay {
  position: absolute;
  z-index: 3;
  left: 7.5%;
  right: 7.5%;
  display: grid;
  place-items: center;
  line-height: 1.4;
}

.status-overlay--fv {
  bottom: 4.2%;
  height: 6.7%;
}

.status-overlay--cta {
  bottom: 5.7%;
  height: 7.3%;
}

.status-button {
  display: grid;
  width: 100%;
  min-height: 48px;
  height: 100%;
  place-items: center;
  border: 1px solid var(--paper);
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.96);
  color: var(--paper);
  font-size: clamp(16px, 4.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.motion-toggle {
  position: absolute;
  z-index: 4;
  top: 1.1%;
  right: 2.5%;
  min-width: 88px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(8, 8, 8, 0.9);
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.motion-toggle[hidden] {
  display: none;
}

.motion-toggle:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (min-width: 721px) {
  body {
    padding-inline: 24px;
  }

  .lp {
    border-right: 1px solid rgba(247, 241, 223, 0.16);
    border-left: 1px solid rgba(247, 241, 223, 0.16);
  }
}

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

  .snow-layer,
  .motion-toggle {
    display: none;
  }
}
