:root {
  --primary: #1e2a4a;
  --primary-light: #2d3f6b;
  --accent: #6c63ff;
  --accent-soft: #8b85ff;
  --cta: #5b7cfa;
  --cta-hover: #4a6ae8;
  --teal: #3dbfb8;
  --ink: #1a1f2e;
  --muted: #5c6478;
  --line: #e4e7ef;
  --bg: #ffffff;
  --bg-page: #f0f2f8;
  --note-bg: #eef0fb;
  --note-border: #6c63ff;
  --shadow: 0 8px 32px rgba(30, 42, 74, 0.08);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(30, 42, 74, 0.15);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--teal);
}

.header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

.header-nav a:hover {
  color: #fff;
}

.header-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
}

.header-cta:hover {
  background: #35a8a2 !important;
}

.topbar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 13px;
  text-transform: uppercase;
}

.progress {
  background: var(--bg);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress .track {
  flex: 1;
  height: 6px;
  background: #e8eaf0;
  border-radius: 6px;
  overflow: hidden;
}

.progress .track i {
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 6px;
}

.progress .gift {
  font-size: 20px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  padding: 32px 24px 60px;
  box-shadow: var(--shadow);
}

.page-wrap {
  max-width: 760px;
  margin: 32px auto 60px;
  background: var(--bg);
  padding: 40px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
  color: var(--primary);
}

.page-wrap h1 {
  font-size: 28px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--primary);
}

p {
  margin-bottom: 16px;
  color: #333;
}

.lead b {
  color: var(--primary);
}

.note {
  background: var(--note-bg);
  border-left: 4px solid var(--note-border);
  padding: 14px 18px;
  margin: 6px 0 22px;
  font-size: 15px;
  border-radius: 0 8px 8px 0;
}

.note b {
  color: var(--accent);
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 16px;
  background: #f8f9fc;
  border-radius: var(--radius);
}

.author .meta {
  font-size: 14px;
  line-height: 1.4;
}

.author .name b {
  color: var(--primary);
}

.author .name span {
  color: var(--accent);
  font-weight: 700;
}

.author .role {
  color: var(--muted);
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  margin-left: 4px;
}

.verified svg {
  width: 16px;
  height: 16px;
}

.section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
  margin: 46px 0;
}

.section .media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section .media img {
  border-radius: var(--radius);
}

.section p {
  font-size: 15.5px;
  color: #3a3a3a;
}

.section b {
  color: var(--primary);
}

.cta-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15.5px;
  transition: color 0.15s;
}

.cta-link:hover {
  color: var(--accent);
}

.cta-link::before {
  content: "🌙 ";
}

.offer {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow);
}

.offer .ph {
  position: relative;
  background: linear-gradient(160deg, #eef0fb 0%, #e8ecf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}

.offer .ph .tag {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 8px 16px;
  border-bottom-right-radius: 8px;
}

.offer .ph img {
  max-height: 230px;
  width: auto;
}

.offer .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.offer h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
}

.offer h3 em {
  color: var(--accent);
  font-style: normal;
}

.offer .sub {
  font-size: 13px;
  color: var(--muted);
}

.btn {
  background: linear-gradient(135deg, var(--cta) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(91, 124, 250, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(91, 124, 250, 0.45);
}

.offer .foot {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}

.offer .foot b {
  color: #e05a5a;
}

.offer .foot .free b {
  color: var(--teal);
}

ul.spend {
  list-style: none;
  margin: 10px 0 16px;
}

ul.spend li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15.5px;
  color: #3a3a3a;
}

ul.spend li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 34px 0;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 22px;
  margin-top: 0;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer-brand .logo-text span {
  color: var(--teal);
}

.site-footer .copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.site-footer .warning {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.site-footer .disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.site-footer .contact {
  font-size: 14px;
  margin: 20px 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .contact a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.site-footer .contact a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-links .sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}

/* Subpages */
.page-content h2 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: var(--primary-light);
}

.page-content ul {
  margin: 0 0 16px 20px;
  color: #333;
}

.page-content li {
  margin-bottom: 8px;
}

.contact-card {
  background: var(--note-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  border: 1px solid var(--line);
}

.contact-card h2 {
  margin-top: 0;
  font-size: 18px;
}

.contact-card p {
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--cta);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .wrap,
  .page-wrap {
    padding: 22px 16px 50px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  h1 {
    font-size: 24px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 38px 0;
  }

  .offer {
    grid-template-columns: 1fr;
  }

  .offer .ph {
    min-height: 180px;
  }

  .offer .ph img {
    max-height: 180px;
  }

  .offer h3 {
    font-size: 21px;
  }
}
