@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/arimo-400-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/arimo-400-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/arimo-700-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Arimo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/arimo-700-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: #e9e9e9;
  color: #111;
  font-family: Arimo, Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
}

button { font: inherit; color: inherit; }

.stage {
  height: 100%;
  height: 100dvh;
  padding: 12px;
}

.viewport {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
}

.progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
  z-index: 3;
  cursor: pointer;
}

.progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ececec;
}

.progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 4%;
  background: #111;
  pointer-events: none;
}

.track {
  display: flex;
  height: 100%;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: auto;
  touch-action: pan-y;
}

.slide-inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 4.5rem) clamp(1.25rem, 4vw, 2.75rem) calc(6.75rem + env(safe-area-inset-bottom));
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #595959;
}

h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.en {
  margin: 0.55rem 0 0;
  color: #595959;
  font-size: 1rem;
  line-height: 1.4;
}

.where {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.45;
}

.where span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #595959;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.panel {
  margin: 0;
  padding: 1rem 1.05rem 1.15rem;
  background: #f5f5f5;
  border-radius: 12px;
}

.panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.panel p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #ececec;
}

.nav-btn {
  position: relative;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid #dedede;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-btn:hover:not(:disabled) {
  background: #111;
  color: #fff;
  border-color: #111;
}

.nav-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.pos {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.noscript {
  margin: 1rem;
}

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .stage { padding: 0; }
  .viewport { border-radius: 0; }
  .slide-inner { padding-top: 2.4rem; }
  h1 { max-width: none; letter-spacing: -0.02em; }
  .nav-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .nav-btn { padding: 0; width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .track { transition: none; }
}
