:root {
  --cream: #fff8ec;
  --ink: #3d2b1f;
  --soft: #7a5f4b;
  --red: #e5533d;
  --teal: #0d6470;
  --deep: #063a47;
  --gold: #ffcf5a;
  --line: #f0d7ad;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Fredoka', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
a { color: var(--teal); }
img { max-width: 100%; display: block; }

.bar { position: sticky; top: 0; z-index: 10; background: rgba(6, 58, 71, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bar-in { max-width: 1080px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; color: var(--cream); }
.bar img { width: 34px; height: 34px; border-radius: 9px; }
.bar .name { font-weight: 700; font-size: 20px; margin-right: auto; }
.bar nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.bar nav a { color: var(--cream); text-decoration: none; font-weight: 500; opacity: 0.9; }
.bar nav a:hover { opacity: 1; text-decoration: underline; }
.lang-switch { display: inline-flex; background: rgba(255, 255, 255, 0.12); border-radius: 10px; padding: 2px; }
.lang-switch button { border: 0; background: none; color: var(--cream); font: 600 13px inherit; font-family: inherit; padding: 4px 9px; border-radius: 8px; cursor: pointer; }
.lang-switch button[aria-pressed='true'] { background: var(--cream); color: var(--deep); }

.js [data-lang] { display: none; }
.js [data-lang].active { display: block; }

.hero-wrap { background: radial-gradient(circle at 30% 20%, #1fa3a9, #0d6470 45%, var(--deep)); color: var(--cream); overflow: hidden; }
.hero { max-width: 1080px; margin: 0 auto; padding: 56px 16px 64px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.hero .app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); margin-bottom: 18px; }
.hero h1 { margin: 0; font-size: clamp(38px, 6vw, 60px); line-height: 1.05; text-shadow: 0 3px 0 var(--red), 0 8px 22px rgba(0, 0, 0, 0.3); }
.hero .tag { font-size: 20px; opacity: 0.92; margin: 16px 0 26px; max-width: 34em; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; padding: 9px 18px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, 0.35); line-height: 1.15; }
.badge small { font-size: 11px; opacity: 0.8; letter-spacing: 0.4px; }
.badge b { font-size: 19px; }
.soon { display: inline-block; margin-top: 12px; font-size: 14px; opacity: 0.8; }
.phone { justify-self: center; width: min(300px, 80vw); border-radius: 38px; padding: 10px; background: #0b2e36; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); transform: rotate(3deg); }
.phone img { border-radius: 30px; }

.section { max-width: 1080px; margin: 0 auto; padding: 56px 16px; }
.section h2 { font-size: 32px; margin: 0 0 8px; text-align: center; }
.section .lead { text-align: center; color: var(--soft); font-size: 18px; margin: 0 auto 32px; max-width: 40em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fffdf8; border: 2px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 4px 0 #ecd6b1; }
.feature .ico { font-size: 30px; line-height: 1; margin-bottom: 8px; }
.feature h3 { margin: 0 0 6px; font-size: 20px; }
.feature p { margin: 0; color: var(--soft); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots img { border-radius: 22px; box-shadow: 0 14px 30px rgba(6, 58, 71, 0.25); }

.doc { max-width: 780px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: 36px; margin: 0 0 4px; }
.doc h2 { font-size: 22px; margin: 28px 0 6px; }
.doc .updated { color: var(--soft); margin: 0 0 20px; }
.doc .intro { font-size: 18px; }
.doc ul { padding-left: 22px; }
.card { background: #fffdf8; border: 2px solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 14px 0; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 16px; background: var(--gold); color: #5a3410; font-weight: 600; text-decoration: none; box-shadow: 0 4px 0 #c98a17; }

footer { background: var(--deep); color: rgba(255, 248, 236, 0.85); text-align: center; padding: 24px 16px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 15px; }
footer a { color: rgba(255, 248, 236, 0.95); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; text-align: center; }
  .hero .app-icon { margin: 0 auto 16px; }
  .badges { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .bar nav a.hide-sm { display: none; }
}
