:root {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #fafafa;
  --ink: #2c2c2e;
  --secondary: #6b6b70;
  --accent: #3157c8;
  --accent-hover: #2446af;
  --border: #e8e8eb;
  --tint: #f3f5fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, summary:focus-visible { outline: 3px solid #3157c855; outline-offset: 5px; border-radius: 6px; }
header, main, footer { width: min(100%, 1240px); margin: auto; padding: 28px 36px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); }
nav { display: flex; align-items: center; gap: 26px; }
header a { text-decoration: none; font-weight: 600; }
nav > a { color: var(--secondary); font-size: 15px; }
nav > a:hover { color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 19px; letter-spacing: -.025em; }
.brand img { width: 44px; height: 44px; }
.language-switcher { display: inline-flex; align-items: center; gap: 5px; padding-left: 20px; border-left: 1px solid var(--border); }
.language-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 36px; border: 1px solid transparent; border-radius: 8px; }
.language-link img { display: block; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px #0000000d; }
.language-link:hover { background: var(--surface); border-color: var(--border); }
.language-link[aria-current="page"] { background: var(--tint); border-color: #3157c833; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero { padding: 64px 0 22px; max-width: 940px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--accent); }
h1 { font-size: clamp(40px, 6.5vw, 76px); line-height: 1.08; letter-spacing: -.05em; margin: 20px 0 24px; }
h2 { font-size: 30px; letter-spacing: -.03em; line-height: 1.25; margin: 42px 0 16px; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.015em; }
p { max-width: 780px; }
.lead { font-size: 21px; color: var(--secondary); max-width: 790px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 10px; font-weight: 600; margin: 12px 14px 8px 0; }
.button:hover { background: var(--accent-hover); color: #fff; }
.fine { font-size: 14px; color: var(--secondary); }
.screen { display: block; width: 100%; height: auto; max-width: 1280px; margin: 0 auto 24px; object-fit: contain; filter: drop-shadow(0 12px 22px #182c5a0a); }
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feature { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.feature p { margin-bottom: 0; color: var(--secondary); font-size: 15px; }
.number { color: var(--accent); font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.notice { background: var(--tint); border: 1px solid #e5eaf9; padding: 28px 30px; border-radius: 14px; margin: 32px 0 0; }
.prose { max-width: 820px; padding-top: 18px; }
.prose h1 { font-size: clamp(36px, 5vw, 58px); }
footer { border-top: 1px solid var(--border); margin-top: 48px; font-size: 14px; color: var(--secondary); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; }
li { margin: 8px 0; }
@media (max-width: 700px) {
  header, main, footer { padding: 22px; }
  header { flex-wrap: wrap; gap: 18px; }
  nav { width: 100%; gap: 20px; }
  nav > a { font-size: 14px; }
  .language-switcher { margin-left: auto; padding-left: 12px; }
  .language-link { width: 42px; height: 40px; }
  .hero { padding-top: 36px; }
  .lead { font-size: 18px; }
  .button { max-width: 100%; text-align: center; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .feature { padding: 22px; }
  .notice { padding: 24px; }
  .screen { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Restrained scroll effects; content stays visible when JavaScript is unavailable. */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffffed;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 260ms ease, border-color 260ms ease;
}
header.is-scrolled { border-color: #e4e7f0; box-shadow: 0 7px 22px #1c2b5407; }
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(.2,.65,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translate3d(0,0,0); }
.screen.reveal { transform: translate3d(0, calc(22px + var(--preview-shift, 0px)), 0); }
.screen.reveal.is-visible { transform: translate3d(0, var(--preview-shift, 0px), 0); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible, .screen.reveal, .screen.reveal.is-visible { opacity: 1; transform: none; transition: none; }
  header { transition: none; }
  .scroll-progress { display: none; }
}

.full-version-note { color: var(--ink); font-size: 15px; margin: 10px 0 18px; max-width: 680px; }


/* Background film and foreground copy share the same hero area. */
.hero { position: relative; isolation: isolate; max-width: none; min-height: 650px; padding: 64px 36px 72px; margin-bottom: 20px; }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-content .lead { max-width: 650px; color: #505057; }
.hero-content .fine { max-width: 600px; color: #55555c; }
.hero-film { position: absolute; inset: 0 -12px; z-index: 0; overflow: hidden; }
.hero-film video {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; background: var(--canvas);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 78%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 78%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero-film::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, #fffffffa 0%, #fffffff0 28%, #ffffffc9 48%, #ffffff42 74%, #ffffff0d 100%);
}
.video-toggle {
  position: absolute; z-index: 3; right: 32px; bottom: 34px; padding: 9px 15px;
  border: 1px solid var(--border); border-radius: 999px;
  background: #ffffffed; color: var(--ink); font: inherit; font-size: 13px;
  cursor: pointer; box-shadow: 0 3px 12px #1c2b5408;
}
.video-toggle:hover { background: var(--tint); border-color: #3157c833; }
.video-toggle:focus-visible { outline: 3px solid #3157c855; outline-offset: 4px; }
.video-toggle[hidden] { display: none; }
@media (max-width: 700px) {
  .hero { padding: 36px 0 90px; min-height: 0; margin-bottom: 10px; }
  .hero-film { inset: 0 -22px; }
  .hero-film video { object-position: 58% center; }
  .hero-film::after { background: linear-gradient(90deg, #fffffff0, #ffffffc9); }
  .hero-content .lead { font-size: 18px; }
  .video-toggle { right: 22px; bottom: 28px; font-size: 12px; padding: 8px 12px; }
}
