:root {
  color-scheme: light dark;
  --ink: #17222a;
  --muted: #52636d;
  --primary: #245a7a;
  --primary-strong: #174963;
  --surface: #f8fafc;
  --surface-low: #f1f5f8;
  --surface-high: #e3eaef;
  --line: #c6d2d9;
  --white: #fff;
  --positive: #347a50;
  --accent-purple: #6d5a9e;
  --accent-orange: #a65d2d;
  --radius: 14px;
  --shadow: 0 16px 38px rgba(23, 56, 72, .10);
}

* { box-sizing: border-box; }
html { background: var(--surface); scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #78c9e5; outline-offset: 3px; }
.shell { width: min(1120px, calc(100% - 40px)); margin: auto; }
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-links, .language-links { display: flex; gap: 10px; align-items: center; }
.nav-links a, .language-links a { color: var(--muted); text-decoration: none; font-size: .9rem; padding: 7px 9px; border-radius: 9px; }
.nav-links a:hover, .language-links a:hover, .language-links a[aria-current="page"] { background: var(--surface-high); color: var(--primary); }
.hero { padding: clamp(56px, 10vw, 110px) 0 52px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--positive); font-weight: 700; font-size: .88rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; border-radius: 50%; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.45rem); max-width: 690px; margin-top: 18px; }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
h3 { font-size: 1.25rem; }
.lead { color: var(--muted); max-width: 600px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin: 22px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; align-items: flex-start; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 750; border: 1px solid var(--primary); }
.button:hover { background: var(--primary-strong); }
.button.secondary { color: var(--primary); background: transparent; }
.button[aria-disabled="true"] { opacity: .7; cursor: default; }
.play-badge { display: block; width: 164px; height: 58px; overflow: hidden; border-radius: 14px; flex: 0 0 auto; position: relative; direction: ltr; }
.play-badge img { display: block; max-width: none; position: absolute; top: 0; left: 0; transform: translate(-53px, -16px); }
.play-badge:focus-visible { outline: 3px solid #78c9e5; outline-offset: 3px; }
.store-option { display: block; width: 174px; text-align: center; }
.app-store-badge { display: block; width: 174px; height: 58px; overflow: hidden; border-radius: 14px; margin-inline: auto; position: relative; direction: ltr; }
.app-store-badge img { display: block; max-width: none; position: absolute; top: 0; left: 0; transform: translate(-13px, -16px); }
.store-caption { display: block; margin-top: 6px; color: var(--muted); font-size: .82rem; font-weight: 650; line-height: 1.2; }
.hero-art { min-height: 400px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--surface-low), var(--white)); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-art::before { width: 280px; height: 280px; right: -90px; top: -100px; background: #78c9e577; }
.hero-art::after { width: 220px; height: 220px; left: -100px; bottom: -130px; background: #bdabed77; }
.logo-panel { position: relative; z-index: 1; display: grid; place-items: center; min-height: 165px; }
.logo-panel img { width: 132px; height: 132px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(36, 90, 122, .22)); }
.balance-card { position: relative; z-index: 1; background: color-mix(in srgb, var(--white) 90%, transparent); border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; }
.balance-card + .balance-card { margin-top: 12px; }
.balance-row { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; }
.balance-row strong { color: var(--primary); }
.trend { color: var(--positive); font-size: .88rem; margin-top: 8px; font-weight: 700; }
.hero-art {
  padding: 0;
  background: var(--surface-low) url('/assets/hero-categories-full.png') center top / 100% auto no-repeat;
  animation: hero-screen-scroll 12s ease-in-out infinite alternate;
}
.hero-art::before, .hero-art::after,
.hero-art .logo-panel,
.hero-art .balance-card { display: none; }
@keyframes hero-screen-scroll {
  from { background-position: center top; }
  to { background-position: center bottom; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
}
.section { padding: 68px 0; }
.section.alt { background: var(--surface-low); border-block: 1px solid var(--line); }
.section-heading { max-width: 670px; }
.section-heading p { color: var(--muted); margin: 14px 0 0; }
.feature-grid, .link-grid { display: grid; gap: 16px; margin-top: 30px; }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.link-grid { grid-template-columns: repeat(4, 1fr); }
.screens { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-low) 100%); border-block: 1px solid var(--line); }
.screen-carousel { display: flex; flex-direction: column; margin-top: 30px; }
.screen-track { display: flex; gap: 20px; overflow-x: auto; padding: 2px 2px 16px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-color: var(--line) transparent; }
.screen-card { flex: 0 0 min(82vw, 420px); margin: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.screen-card img { display: block; width: 100%; height: auto; background: var(--surface-low); }
.screen-card figcaption { padding: 18px 19px 20px; border-top: 1px solid var(--line); background: var(--white); }
.screen-card p { color: var(--muted); margin: 7px 0 0; }
.carousel-controls { display: flex; order: -1; gap: 9px; justify-content: flex-end; margin: 0 0 12px; }
.carousel-controls button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--primary); background: var(--white); font-size: 1.35rem; cursor: pointer; }
.carousel-controls button:hover { background: var(--surface-high); }
.card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 22px; }
.card .icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--primary); background: #78c9e544; font-weight: 900; margin-bottom: 16px; }
.card:nth-child(3n + 2) .icon { color: var(--accent-purple); background: #bdabed55; }
.card:nth-child(3n + 3) .icon { color: var(--accent-orange); background: #ffb78355; }
.card p { color: var(--muted); margin: 8px 0 0; }
.page-hero { padding: 78px 0 32px; max-width: 780px; }
.page-hero h1 { font-size: clamp(2.35rem, 5vw, 4rem); }
.notice { margin: 28px 0; padding: 17px 19px; border-radius: var(--radius); color: var(--primary-strong); background: #78c9e544; border: 1px solid #78c9e5; }
.content { padding-bottom: 70px; max-width: 820px; }
.content section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; margin: 15px 0; }
.content p, .content li { color: var(--muted); }
.content ul { padding-inline-start: 22px; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-size: 1rem; }
.footer-brand span { margin-top: 1px; color: var(--muted); }
.footer-download { display: flex; align-items: flex-start; gap: 13px; }
.footer-download .play-badge { width: 164px; height: 58px; border-radius: 14px; }
.footer-download .play-badge img { transform: translate(-53px, -16px); }
.footer-download .store-option { width: 174px; }
.footer-download .app-store-badge { width: 174px; height: 58px; border-radius: 14px; }
.footer-download .app-store-badge img { transform: translate(-13px, -16px); }
.footer-download .store-caption { font-size: .78rem; white-space: nowrap; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.footer-meta a { color: var(--primary); font-weight: 700; text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
[dir="rtl"] .hero { grid-template-columns: .85fr 1.15fr; }

@media (max-width: 780px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { min-height: 68px; flex-wrap: wrap; padding: 10px 0; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero, [dir="rtl"] .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 56px; }
  .hero-art { min-height: 330px; }
  .feature-grid, .link-grid { grid-template-columns: 1fr; }
  .screen-card { flex-basis: min(86vw, 340px); }
  .section { padding: 52px 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .footer-brand { flex-direction: column; gap: 5px; text-align: center; }
  .footer-meta { align-items: center; }
}

@media (prefers-color-scheme: dark) {
  :root { --ink: #e4edf1; --muted: #b1c1c9; --primary: #78c9e5; --primary-strong: #a0ddf0; --surface: #10191f; --surface-low: #172229; --surface-high: #23313a; --line: #3a4c57; --white: #1c2931; --shadow: 0 16px 38px rgba(0, 0, 0, .26); }
  .site-header { background: color-mix(in srgb, var(--surface) 90%, transparent); }
  .button { color: #10191f; }
  .button.secondary { color: var(--primary); }
  .hero-art { background: linear-gradient(145deg, #172229, #1c2931); }
  .balance-card { background: color-mix(in srgb, var(--white) 92%, transparent); }
  .notice { color: #d5f1fa; }
}
