:root {
  color-scheme: light;
  --brand: #0b6bff;
  --brand-strong: #0a4fd1;
  --brand-soft: #e8f0ff;
  --navy: #0b1f45;
  --ink: #16203a;
  --muted: #5d6b86;
  --bg: #f6f9ff;
  --panel: #ffffff;
  --border: #e2eaf8;
  --shadow-sm: 0 2px 10px rgba(11, 31, 69, .06);
  --shadow-md: 0 14px 34px rgba(11, 31, 69, .10);
  --radius: 18px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--brand); }

h1, h2, h3 { color: var(--navy); line-height: 1.18; margin: 0; }

h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }

p { margin: 0; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.02em;
  font-size: 1.06rem;
  white-space: nowrap;
}

.brand img { width: 34px; height: 34px; }
.brand span i { color: var(--brand); font-style: normal; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}

.site-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: .86rem;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 107, 255, .28);
}

.btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ---------- store badges ---------- */

.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 20px 7px 15px;
  border-radius: 12px;
  background: #000;
  border: 1px solid #a6a6a6;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  transition: transform .15s ease, box-shadow .15s ease;
}

.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 31, 69, .28); }
.store-badge:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.store-badge svg { flex: none; width: 26px; height: 26px; }
.store-badge-play svg { width: 24px; height: 24px; }

.store-badge span { display: grid; gap: 2px; text-align: left; }
.store-badge small { font-size: .7rem; font-weight: 500; letter-spacing: .01em; }
.store-badge-play small { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.store-badge strong { font-size: 1.24rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--panel); border-block: 1px solid var(--border); }

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 12px; }

.eyebrow {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 460px at 12% -8%, #ffffff 0%, rgba(255,255,255,0) 62%),
    linear-gradient(168deg, #eaf2ff 0%, #d5e6ff 48%, #b9d6ff 100%);
  padding: 76px 0 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,107,255,.16) 0%, rgba(11,107,255,0) 70%);
  pointer-events: none;
}
.hero::before { width: 420px; height: 420px; top: -140px; right: -110px; }
.hero::after { width: 320px; height: 320px; bottom: 40px; left: -130px; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 92px;
}

.hero h1 { margin-bottom: 18px; }
.hero h1 i { color: var(--brand); font-style: normal; display: block; }

.hero-lede {
  color: #35476a;
  font-size: 1.14rem;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #41557c;
  font-size: .93rem;
  font-weight: 600;
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { flex: none; }

.hero-simple { position: relative; padding-bottom: 40px; }
.hero-simple .hero-lede { margin-top: 18px; max-width: 58ch; margin-bottom: 0; }

.hero-art { display: flex; justify-content: center; }

.hero-art img {
  width: min(100%, 320px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(11, 31, 69, .28);
  animation: float 6s ease-in-out infinite;
}


@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
  .btn, .store-badge { transition: none; }
}

.wave {
  display: block;
  width: 100%;
  height: 90px;
  margin-bottom: -1px;
}

/* ---------- cards ---------- */

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 16px;
}

.card-icon.green { background: #e4f7ec; color: #1a9d5a; }
.card-icon.violet { background: #efe8ff; color: #7245e0; }
.card-icon.amber { background: #fff1e0; color: #e07a15; }
.card-icon.rose { background: #ffe8ef; color: #dc3b6c; }
.card-icon.teal { background: #ddf5f6; color: #128a94; }

/* ---------- steps ---------- */

.steps { counter-reset: step; }

.step { position: relative; padding-left: 66px; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(11, 107, 255, .3);
}

.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- screenshots ---------- */

.shots-tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: -14px auto 30px;
  padding: 5px;
  background: var(--brand-soft);
  border-radius: 999px;
}

.shots-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.shots-tab svg { flex: none; width: 18px; height: 18px; }
.shots-tab:hover { color: var(--navy); }
.shots-tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.shots-tab:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 4px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.shots figure { margin: 0; scroll-snap-align: center; }

.shots img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-md);
  display: block;
}

.shots figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}

.shots-empty {
  border: 2px dashed #b9d0f7;
  border-radius: var(--radius);
  background: #fff;
  padding: 40px 28px;
  text-align: center;
  color: var(--muted);
}
.shots-empty code {
  background: var(--brand-soft);
  color: var(--brand-strong);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .92em;
}

/* ---------- prose ---------- */

.prose { max-width: 72ch; }
.prose p { color: var(--muted); margin-bottom: 16px; font-size: 1.03rem; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list li svg { flex: none; margin-top: 4px; color: var(--brand); }

/* ---------- faq ---------- */

.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item[open] { border-color: #bcd6ff; }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { color: var(--brand); }

.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p + p { margin-top: 12px; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.contact-card + .contact-card { margin-top: 18px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: .97rem; }
.contact-card a { font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .store-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--navy); }

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 107, 255, .13);
}

.form-hint { color: var(--muted); font-size: .88rem; }

/* ---------- cta band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, #0a3fb0 100%);
  color: #fff;
  border-radius: 26px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 22px 50px rgba(11, 107, 255, .3);
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 12px auto 26px; max-width: 52ch; }
.cta-band .btn-ghost { background: #fff; color: var(--brand-strong); border-color: transparent; }
.cta-band .store-badge { border-color: rgba(255, 255, 255, .55); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .74);
  padding: 56px 0 26px;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
}

.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.site-footer p { font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .74); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 20px;
  font-size: .9rem;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 70px; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .section { padding: 60px 0; }
  .site-header .wrap { flex-wrap: wrap; min-height: 0; padding-block: 12px; gap: 10px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 0; }
  .site-nav a { padding: 7px 10px; font-size: .88rem; }
  .header-actions { margin-left: auto; }
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .shots { grid-auto-columns: 76%; }
  .cta-band { padding: 36px 22px; }
  .btn { width: 100%; }
  .hero-cta, .store-badges { gap: 10px; }
  .store-badge { min-height: 50px; padding: 6px 14px 6px 12px; gap: 8px; }
  .store-badge strong { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .wave { height: 54px; }
}

/* ---------- nav toggle, powered by ---------- */

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.powered { font-size: .88rem; text-decoration: none; }
.powered strong { font-weight: 800; }
.powered-nav { display: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}

.site-footer .powered-footer { font-size: .9rem; }
.site-footer .powered-footer strong { color: #fff; }

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }

  .site-header .wrap { flex-wrap: wrap; position: relative; }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 8px 0 14px;
    border-top: 1px solid var(--border);
  }

  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }

  .site-nav .powered-nav {
    display: block;
    margin-top: 10px;
    padding: 14px 14px 4px;
    border-top: 1px solid var(--border);
    border-radius: 0;
    text-align: center;
    font-size: .88rem;
    color: var(--muted);
  }
  .site-nav .powered-nav strong { color: var(--brand); }

  .site-footer .powered-footer { display: none; }
  .footer-bottom { justify-content: flex-start; }
}

.powered { margin: 0; }
.powered a { color: inherit; text-decoration: none; }
.powered a:hover { text-decoration: underline; }
.site-footer .powered a { color: rgba(255, 255, 255, .74); }
.site-footer .powered a:hover { color: #fff; }
.site-footer .powered strong { color: #fff; }
.site-nav .powered-nav a { display: inline; padding: 0; background: none; font-size: inherit; color: var(--muted); }
.site-nav .powered-nav strong { color: var(--brand); }

/* credit line: from SAW and Powered by Pixel Alan */
.powered a { font-weight: 700; }
.powered a:hover { text-decoration: underline; }
.site-nav .powered-nav a { display: inline; padding: 0; background: none; border-radius: 0; font-size: inherit; color: var(--brand); }
.site-nav .powered-nav a:hover { background: none; text-decoration: underline; }
.site-footer .powered-footer a { color: #fff; font-size: inherit; }
