@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #041743; min-height: 100vh; color: white; font-family: "Poppins", sans-serif; padding: 40px 8%; }
@media (min-width: 1024px) { body { padding: 40px 15%; } }
@media (min-width: 1440px) { body { padding: 40px 20%; } }
.header { margin-bottom: 40px; }
.header a { color: #819DFD; font-size: 16px; text-decoration: none; }
.header a:hover { text-decoration: underline; }
h1 { font-size: 32px; font-weight: 700; margin-bottom: 24px; line-height: 1.4; }
h2 { font-size: 24px; font-weight: 600; margin-top: 32px; margin-bottom: 16px; line-height: 1.4; }
h3 { font-size: 20px; font-weight: 600; margin-top: 24px; margin-bottom: 12px; }
p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; color: rgba(255,255,255,0.85); }
ul, ol { margin-bottom: 16px; padding-left: 24px; }
li { font-size: 16px; line-height: 1.8; margin-bottom: 8px; color: rgba(255,255,255,0.85); }
strong { color: white; font-weight: 600; }
a { color: #819DFD; }
table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
th, td { border: 1px solid rgba(255,255,255,0.2); padding: 12px; text-align: left; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }
th { background: rgba(255,255,255,0.05); font-weight: 600; color: white; }

/* App mode - for native app WebView (moneysatnav-website style) */
body.app-mode {
  font-family: 'Heebo', sans-serif;
  background: #fff;
  display: block;
  padding: 40px 20px;
}

body.app-mode .header {
  display: none;
}

body.app-mode h1 {
  color: #0079C1;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

body.app-mode h2 {
  color: #0079C1;
  font-size: 24px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
}

body.app-mode h3 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

body.app-mode p {
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

body.app-mode ul,
body.app-mode ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

body.app-mode li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

body.app-mode strong {
  color: #000;
  font-weight: 700;
}

body.app-mode a {
  color: #0079C1;
  text-decoration: underline;
}

body.app-mode table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

body.app-mode th,
body.app-mode td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

body.app-mode th {
  background: #f5f5f5;
  font-weight: 700;
  color: #000;
}
