:root {
  --blue: #1e4fd8;
  --blue-deep: #14339a;
  --yellow: #ffc83a;
  --sand: #fff4df;
  --sand-deep: #f6dfb4;
  --ink: #1b2340;
  --muted: #5a6385;
  --card: #ffffff;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

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

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.top {
  background: var(--blue);
  color: #fff;
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.2px;
}
.brand span { color: var(--yellow); }
.top nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 22px;
  opacity: 0.9;
}
.top nav a:hover { opacity: 1; text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: 48px 0 0;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { padding-bottom: 48px; }
.app-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.app-id img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.app-id small {
  display: block;
  font-size: 15px;
  opacity: 0.8;
}
.app-id strong { font-size: 24px; line-height: 1.1; }
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.02;
  margin: 0 0 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero p.lead {
  font-size: 20px;
  margin: 0 0 28px;
  max-width: 30ch;
  opacity: 0.92;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 18px;
}
.soon::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.platforms {
  margin-top: 14px;
  font-size: 15px;
  opacity: 0.8;
}
.phones {
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: flex-end;
}
.phones img {
  width: 44%;
  max-width: 220px;
  border-radius: 26px 26px 0 0;
  border: 6px solid #0d1f5c;
  border-bottom: 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}
.phones img:first-child { transform: translateY(24px); }

/* Sections */
section { padding: 64px 0; }
section h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 800;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 0 var(--sand-deep);
}
.feature h3 { margin: 0 0 6px; font-size: 22px; }
.feature p { margin: 0; color: var(--muted); }

.studio {
  background: var(--sand-deep);
}
.studio p { margin: 0 0 12px; max-width: 62ch; }

/* Footer */
footer {
  background: var(--ink);
  color: #c9cfe6;
  padding: 32px 0;
  font-size: 16px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
footer a { color: #fff; }
footer nav a { margin-right: 20px; }

/* Text pages (privacy, 404) */
.doc {
  max-width: 760px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.doc h1 {
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.05;
  margin: 0 0 8px;
}
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 26px; margin: 40px 0 10px; }
.doc h3 { font-size: 20px; margin: 24px 0 6px; }
.doc p, .doc li { font-size: 17px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
}
.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--sand-deep);
}
.doc th { background: var(--sand-deep); }
.table-scroll { overflow-x: auto; }

@media (max-width: 820px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 24px; }
  .phones img { max-width: 170px; }
  .features { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top nav a { margin-left: 14px; font-size: 16px; }
  .brand { font-size: 20px; }
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
.store-badge small { display: block; font-size: 12px; font-weight: 400; margin-bottom: 3px; }
.store-badge:hover { background: #1a1a1a; }
