:root {
  --bg: #f4f7fc;
  --card: #ffffff;
  --text: #1b2a4a;
  --muted: #5f6f91;
  --line: #d9e2f2;
  --accent: rgb(0, 51, 153);
  --accent-2: #2f6fe4;
  --max: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f7f9fe 0%, #eef3fb 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent-2); }
a:hover { color: var(--accent); }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgb(0, 51, 153);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.brand,
.brand:hover {
  color: #fff;
}
.logo {
  height: 50px;
  width: auto;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
nav li {
  display: flex;
  align-items: center;
}
nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  height: 40px;
  line-height: 1;
  padding: 0 2px;
}

.screenshots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.screenshots img {
  width: 30%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

nav a:hover {
  color: #fff;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 30px;
}
.hero-image {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: center; /* optional */
  gap: 12px; /* spacing between screenshot and badge */
  display: block;
}
.appstore-link {
  display: block;
  margin-top: 12px;
}



.hero-image img {
  width: clamp(180px, 25vw, 300px);
  max-width: 200px;
  height: auto;
  display: block;
  margin-left: auto; /* pushes image to the right */
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 51, 153, 0.25);
}

.hero {
  padding: 72px 0 40px;
}

.hero-card, .card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(20, 40, 90, 0.08);
  
}

.badge {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: .02em;
  color: var(--accent);
  background: rgba(0, 51, 153, 0.08);
  border: 1px solid rgba(0, 51, 153, 0.14);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 12px; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 700px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: #f7faff;
}

.button:hover {
  background: #eef4ff;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}

.button.primary:hover {
  background: #002a80;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.section {
  padding: 18px 0 24px;
}

.section + .section {
  padding-top: 8px;
}

.muted { color: var(--muted); }
.small { font-size: .94rem; }

.note {
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  background: #eef4ff;
  border-radius: 10px;
}

ul, ol { padding-left: 1.2rem; }

code {
  background: #eef2f8;
  border-radius: 6px;
  padding: .15rem .4rem;
}

footer {
  padding: 34px 0 56px;
  color: var(--muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

@media (max-width: 700px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 36px; }
  .hero-card, .card { padding: 20px; }
}

@media (max-width: 700px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image img {
    margin: 20px auto 0;
  }
}