* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: #f0f6fc;
  color: #1a2b4b;
}

/* HEADER */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #d0e4f5;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

header img.logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 12px;
}

header .brand {
  display: flex;
  flex-direction: column;
}

header .brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2b4b;
  letter-spacing: -0.3px;
}

header .brand-sub {
  font-size: 0.78rem;
  color: #5a7fa8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #2e6da4;
  font-size: 0.9rem;
  font-weight: 500;
}

nav a:hover {
  color: #1a2b4b;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1b3f6e 0%, #2e86ab 100%);
  color: white;
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.hero img.logo-hero {
  height: 100px;
  width: 100px;
  object-fit: contain;
  border-radius: 22px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* APPS SECTION */
.apps {
  max-width: 860px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.apps h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a2b4b;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  font-size: 0.88rem;
  color: #5a7fa8;
  text-align: center;
  margin-bottom: 2rem;
}

.app-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.app-card {
  background: #ffffff;
  border: 1px solid #d0e4f5;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  width: 220px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(46, 134, 171, 0.08);
}

.app-card img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.icon-crop {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.icon-crop img {
  width: 140%;
  height: 140%;
  margin: -20%;
  border-radius: 0;
  margin-bottom: 0;
}

.app-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2b4b;
  margin-bottom: 0.4rem;
}

.app-card p {
  font-size: 0.85rem;
  color: #5a7fa8;
  line-height: 1.5;
}

.app-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #7a8fa8;
  background: #f0f4f8;
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-weight: 600;
}

a.app-badge-link {
  color: #2e86ab;
  background: #e8f4f8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

a.app-badge-link:hover {
  background: #2e86ab;
  color: #ffffff;
}

/* ALSO BY SECTION */
.also {
  max-width: 860px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.also h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #5a7fa8;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* FOOTER */
footer {
  background-color: #1a2b4b;
  color: #8aaecf;
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
  margin-top: 4rem;
}

footer a {
  color: #8aaecf;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  color: #ffffff;
}

footer .footer-links {
  margin-bottom: 0.5rem;
}

/* CONTENT PAGES (privacy, support) */
.content-page {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 2rem 4rem;
}

.content-page h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a2b4b;
  margin-bottom: 0.5rem;
  text-align: center;
}

.content-page .updated {
  font-size: 0.82rem;
  color: #5a7fa8;
  margin-bottom: 2.5rem;
  text-align: center;
}

.content-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a2b4b;
  margin: 2.25rem 0 0.6rem;
}

.content-page h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2b4b;
  margin: 1.25rem 0 0.4rem;
}

.content-page p {
  font-size: 0.92rem;
  color: #2d3e55;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.support-email {
  display: inline-block;
  margin-top: 1rem;
  background: #2e86ab;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.support-email:hover {
  background: #1b3f6e;
}

/* DISCLAIMER TOC */
.toc {
  background: #ffffff;
  border: 1px solid #d0e4f5;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}

.toc p {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a2b4b;
  margin-bottom: 0.5rem;
}

.toc ul {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.toc li {
  font-size: 0.82rem;
  line-height: 1.8;
}

.toc a {
  color: #2e6da4;
  text-decoration: none;
}

.toc a:hover {
  color: #1a2b4b;
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 600px) {
  header { padding: 1rem; gap: 0.75rem; }
  header img.logo { height: 40px; width: 40px; }
  header .brand-name { font-size: 1.1rem; }
  nav { gap: 1rem; }
  nav a { font-size: 0.82rem; }

  .hero { padding: 3rem 1.5rem 2.5rem; }
  .hero img.logo-hero { height: 80px; width: 80px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }

  .apps, .also { padding: 0 1rem; margin: 2.5rem auto; }
  .app-card { width: 100%; max-width: 320px; }

  .content-page { padding: 0 1rem 3rem; }
  .content-page h1 { font-size: 1.4rem; }

  .toc ul { columns: 1; }
}
