:root {
  color-scheme: light;
  --bg: #F6F7FB; --surface: #FFFFFF; --surface-alt: #EDEFF6;
  --text: #1B1F2E; --muted: #5C627A; --divider: #DCDFEA;
  --primary: #3B5BDB; --primary-dark: #2C45A8; --primary-soft: #DDE3FA;
  --accent: #F2A33A; --lime: #C4F318; --navy: #12141C;
  --on-primary: #FFFFFF;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12141C; --surface: #1B1E29; --surface-alt: #262A38;
  --text: #ECEEF5; --muted: #9DA3B8; --divider: #2F3444;
  --primary: #7D93F0; --primary-dark: #5F78E0; --primary-soft: #243060;
  --on-primary: #12141C;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #12141C; --surface: #1B1E29; --surface-alt: #262A38;
    --text: #ECEEF5; --muted: #9DA3B8; --divider: #2F3444;
    --primary: #7D93F0; --primary-dark: #5F78E0; --primary-soft: #243060;
    --on-primary: #12141C;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }
header.top { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--divider); z-index: 2; }
header.top .wrap { display: flex; align-items: center; gap: .75rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.35rem; letter-spacing: -.015em;
  color: var(--text); text-decoration: none; }
.brand svg { flex: none; width: 38px; height: 38px; }
.top .sp { flex: 1; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--divider);
  font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 2.4rem; margin: 0; padding: .4rem; list-style: none; background: var(--surface);
  border: 1px solid var(--divider); border-radius: 12px; min-width: 11rem; box-shadow: 0 10px 30px rgba(0,0,0,.15);
  columns: 2; column-gap: 0; }
.lang li a { display: block; padding: .3rem .6rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .9rem; }
.lang li a:hover { background: var(--surface-alt); }
.lang li a[aria-current] { color: var(--primary); font-weight: 600; }
.theme { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--divider); background: transparent;
  color: var(--muted); cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme:hover { background: var(--surface-alt); color: var(--text); }
.theme svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme .sun { display: none; }
html[data-theme="dark"] .theme .sun { display: block; }
html[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme .sun { display: block; }
  html:not([data-theme="light"]) .theme .moon { display: none; }
}
.lang summary .code { display: none; }
@media (max-width: 479px) {
  .wrap { padding: 0 1rem; }
  header.top .wrap { gap: .5rem; }
  .brand { gap: .5rem; font-size: 1.2rem; }
  .lang summary .full { display: none; }
  .lang summary .code { display: inline; }
}
@media (max-width: 399px) {
  .open-app .arrow { display: none; }
}
.open-app { font-size: .9rem; color: var(--primary); text-decoration: none; font-weight: 600; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.3rem; border-radius: 14px;
  font-weight: 600; text-decoration: none; font-size: 1rem; border: 1px solid transparent; }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost { border-color: var(--divider); color: var(--text); background: var(--surface); }
.btn.ghost:hover { background: var(--surface-alt); }

section { padding: 3rem 0; }
h1 { font-size: 2.1rem; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; letter-spacing: -.015em; margin: 0 0 .75rem; }
p.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.5rem; }
.small { color: var(--muted); font-size: .9rem; }
.muted { color: var(--muted); }

.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero .shot { justify-self: center; }
.shot img { display: block; width: 280px; height: auto; border-radius: 18px; border: 1px solid var(--divider); }
.shot.pair { display: flex; gap: .75rem; }
.shot.pair img { width: 200px; max-width: calc(50vw - 1.25rem - .375rem); border-radius: 16px; }
.pager { position: relative; width: 100%; max-width: 420px; }
.pager .track { position: relative; display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .75rem 1rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pager .track::-webkit-scrollbar { display: none; }
.pager .track img { flex: none; width: 236px; scroll-snap-align: center; border-radius: 18px; border: 1px solid var(--divider);
  box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.pager .track::before, .pager .track::after { content: ""; flex: none; width: calc(50% - 118px - .75rem); }
.pager .nav { position: absolute; top: 50%; transform: translateY(-60%); width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--divider); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 1; font-size: 0; padding: 0; }
.pager .nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pager .nav:hover { background: var(--surface-alt); }
.pager .nav.prev { left: 0; } .pager .nav.next { right: 0; }
.dots { display: flex; justify-content: center; gap: .4rem; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--divider); }
.dots i.on { background: var(--primary); width: 18px; border-radius: 3px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .9rem; }
.also { margin-top: 1rem; }
.also a { color: var(--primary); text-decoration: underline; text-underline-offset: .15em; }

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.item { background: var(--surface); border: 1px solid var(--divider); border-radius: 16px; padding: 1.1rem 1.1rem 1rem; }
.item svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.item h3 { margin: .6rem 0 .25rem; font-size: 1.05rem; }
.item p { margin: 0; color: var(--muted); font-size: .95rem; }

.band { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.level .wrap { display: grid; gap: 1.5rem; }
.level .num { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.level .num div b { display: block; font-size: 1.6rem; letter-spacing: -.02em; }
.level .num div span { color: var(--muted); font-size: .9rem; }

.mobile .wrap { display: grid; gap: 2rem; align-items: center; }
.mobile ul { padding: 0; margin: 0 0 1.5rem; list-style: none; display: grid; gap: .6rem; }
.mobile li { display: flex; gap: .7rem; align-items: flex-start; }
.mobile li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: .55rem; }
.stores { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.play img { display: block; height: 56px; width: auto; }

.privacy .grid3 { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
.privacy .grid3 div { padding-left: 1rem; border-left: 3px solid var(--lime); }
.privacy .grid3 b { display: block; margin-bottom: .2rem; }
.privacy .grid3 span { color: var(--muted); font-size: .95rem; }
.privacy a { color: var(--primary); }

footer { border-top: 1px solid var(--divider); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; }
footer .links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: .8rem; }
footer a { color: var(--text); text-decoration: none; }
footer .langs a { color: var(--muted); margin-right: .9rem; }
footer .langs { margin-top: 1rem; line-height: 2; }

@media (min-width: 760px) {
  h1 { font-size: 2.8rem; }
  section { padding: 4.5rem 0; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; }
  .hero .shot { justify-self: end; }
  .pager { max-width: 460px; }
  .pager .track img { width: 260px; }
  .pager .track::before, .pager .track::after { width: calc(50% - 130px - .75rem); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .level .wrap { grid-template-columns: 1fr 1fr; align-items: start; }
  .mobile .wrap { grid-template-columns: 1fr auto; }
  .privacy .grid3 { grid-template-columns: repeat(2, 1fr); }
}
