:root {
  --cream: #fff6ea;
  --ink: #3b2116;
  --soft: #7d5640;
  --red: #d8342a;
  --orange: #f2701d;
  --link: #c2410c;
  --deep: #5a1a12;
  --gold: #ffc93c;
  --line: #f6d3a8;
}
* { 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(--link); }
img { max-width: 100%; display: block; }

.bar { position: sticky; top: 0; z-index: 10; background: rgba(90, 26, 18, 0.93); 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; white-space: nowrap; }
.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.14); 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 28% 18%, #ffb347, var(--orange) 38%, var(--red) 70%, var(--deep)); color: #fff; 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(36px, 6vw, 58px); line-height: 1.05; text-shadow: 0 3px 0 var(--deep), 0 8px 22px rgba(0, 0, 0, 0.3); }
.hero .sub { margin: 6px 0 0; font-size: 22px; font-weight: 600; color: var(--gold); text-shadow: 0 2px 0 rgba(90, 26, 18, 0.6); }
.hero .tag { font-size: 20px; opacity: 0.95; 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: #1c0f0b; 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.9; }
.phone { justify-self: center; width: min(300px, 80vw); border-radius: 38px; padding: 10px; background: #2a0f0a; 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: #fffcf6; border: 2px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 4px 0 #efc99a; }
.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; margin-top: 24px; }
.shots img { border-radius: 22px; box-shadow: 0 14px 30px rgba(90, 26, 18, 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: #fffcf6; 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: #5a2a08; font-weight: 600; text-decoration: none; box-shadow: 0 4px 0 #c97f12; }

footer { background: var(--deep); color: rgba(255, 246, 234, 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, 246, 234, 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; }
}
@media (max-width: 400px) {
  .bar .name { font-size: 17px; }
  .bar nav { gap: 10px; }
}
