:root {
  --table-top: #3a8df5;
  --table-bottom: #1638a8;
  --navy: #10266e;
  --orange: #ff8a1e;
  --orange-deep: #d9610a;
  --cream: #fff9ec;
  --ink: #1b2a55;
  --sun: #ffd84d;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  background: linear-gradient(180deg, var(--table-top), var(--table-bottom)) fixed;
  line-height: 1.55;
}

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

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }

.lang { font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(16, 38, 110, 0.45); color: #fff; }

.hero { text-align: center; padding: 36px 0 12px; }
.hero img.icon { width: 128px; height: 128px; border-radius: 30px; box-shadow: 0 18px 40px rgba(8, 20, 70, 0.45); }
.hero h1 { font-size: clamp(40px, 8vw, 72px); line-height: 1.02; margin: 24px 0 4px; font-weight: 900; letter-spacing: -0.02em; }
.hero .sub { color: var(--sun); font-weight: 800; letter-spacing: 0.42em; font-size: clamp(14px, 2.4vw, 20px); margin: 0 0 18px; padding-left: 0.42em; }
/* the three linked beads from the app icon */
.beads { position: relative; display: inline-flex; gap: 16px; margin: 0 0 20px; }
.beads::before { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: linear-gradient(#ffe08a, #f5a623); }
.beads i { position: relative; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.beads i:nth-child(1) { background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.8), transparent 45%), #35d07f; }
.beads i:nth-child(2) { background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.8), transparent 45%), #ffd23f; }
.beads i:nth-child(3) { background: radial-gradient(circle at 33% 28%, rgba(255, 255, 255, 0.8), transparent 45%), #ff5fa2; }
.hero p.lead { font-size: clamp(18px, 2.6vw, 22px); max-width: 640px; margin: 0 auto 26px; }

.badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 14px 26px;
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--orange-deep);
}

.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 36px 20px 24px;
  scroll-snap-type: x mandatory;
}
.shots img { width: 260px; height: auto; flex: none; border-radius: 26px; scroll-snap-align: center; box-shadow: 0 16px 34px rgba(8, 20, 70, 0.4); }
@media (min-width: 1160px) { .shots { justify-content: center; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; padding: 16px 0 44px; }
.card { background: var(--cream); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 8px 0 rgba(8, 20, 70, 0.25); }
.card h2 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0; }

.page { background: var(--cream); color: var(--ink); border-radius: 26px; padding: 28px clamp(20px, 5vw, 48px); margin: 12px 0 44px; }
.page h1 { margin-top: 0; font-size: clamp(28px, 5vw, 40px); }
.page h2 { margin-top: 28px; font-size: 21px; }
.page a { color: #1d4dbf; }
.page .date { opacity: 0.7; }

footer { text-align: center; padding: 8px 0 40px; font-size: 15px; opacity: 0.92; }
footer a { margin: 0 10px; font-weight: 700; }
