@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --plum: #361564;
  --plum-deep: #24103f;
  --plum-soft: #f3edfa;
  --lime: #cbfe50;
  --lime-soft: #efffc9;
  --page: #f7f5fa;
  --card: #ffffff;
  --ink: #211b2b;
  --muted: #706a78;
  --line: #e6e0eb;
  --shadow: 0 18px 50px rgba(54, 21, 100, .09);
  --shadow-sm: 0 5px 18px rgba(54, 21, 100, .07);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(203,254,80,.18), transparent 28rem),
    linear-gradient(180deg, #fbfaff 0%, var(--page) 100%);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.preview-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Advertorial strip */
.adv-tag-header {
  background: var(--plum-deep);
  color: rgba(255,255,255,.72);
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(203,254,80,.25);
}
.adv-tag-header h2 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 20px rgba(36,16,63,.05);
}

.header-nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Redesigned South Haven AU logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.brand-logo:hover { transform: translateY(-1px); }

.brand-logo__mark {
  width: 45px;
  height: 45px;
  border-radius: 14px 14px 14px 5px;
  display: grid;
  place-items: center;
  background: var(--plum);
  color: var(--lime);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.5px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 18px rgba(54,21,100,.22);
  position: relative;
}
.brand-logo__mark::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  background: var(--lime);
}
.brand-logo__mark span { position: relative; z-index: 1; }

.brand-logo__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.6px;
  color: var(--plum);
  white-space: nowrap;
}
.brand-logo__name b {
  color: var(--plum);
  background: var(--lime);
  padding: 3px 6px 4px;
  border-radius: 6px;
  margin-left: 3px;
  font-size: 11px;
  letter-spacing: .8px;
  vertical-align: 2px;
}

/* Keep original class variants but give them the new unified identity */
.brand-logo--light {
  background: transparent;
  padding: 2px 0;
  box-shadow: none;
}
.brand-logo--dark { background: transparent; }
.brand-logo--dark .brand-logo__mark {
  background: var(--lime);
  color: var(--plum);
  box-shadow: none;
}
.brand-logo--dark .brand-logo__mark::after { background: var(--plum); }
.brand-logo--dark .brand-logo__name { color: #fff; }
.brand-logo--dark .brand-logo__name b {
  color: var(--plum);
  background: var(--lime);
}

/* Header CTA */
.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 19px;
  background: var(--plum);
  color: #fff;
  border: 2px solid var(--plum);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(54,21,100,.18);
  transition: .2s ease;
}
.quote-btn:hover {
  background: var(--lime);
  color: var(--plum);
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(54,21,100,.18);
}
.quote-btn-arrow { font-size: 12px; }

/* Main */
.main-content {
  width: min(920px, calc(100% - 32px));
  margin: 38px auto 0;
}

/* Hero/title card */
.title-section {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: #fff;
  padding: 44px 48px 34px;
  border-radius: 28px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.title-section::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .9;
}
.title-section::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: 85px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(203,254,80,.18);
}
.title-section h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1.12;
  letter-spacing: -1.4px;
  margin-bottom: 30px;
}
.advm-wrap, .advd-wrap {
  position: relative;
  z-index: 2;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.advm-row, .advd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.advd-left, .advm-row {
  display: flex;
  align-items: center;
  gap: 12px;
	justify-content: flex-start;
}
.advm-avatar, .advd-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.8);
	    filter: invert(1);
}
.advm-text, .advd-text {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.advm-name { display:flex; align-items:center; gap:5px; color:#fff; font-size:14px; font-weight:700; }
.advd-text b { color:#fff; }
.advm-verified-badge, .advd-verified-badge { color:var(--lime); margin-left:4px; }

/* Article */
.article-body {
  background: var(--card);
  padding: 42px 48px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.image-container {
  margin: -5px -5px 30px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--plum-soft);
}
.round-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.article-body p {
  font-size: 17px;
  color: #494151;
  margin-bottom: 20px;
  line-height: 1.78;
}
.highlight-text {
  background: var(--lime-soft);
  border: 1px solid rgba(54,21,100,.10);
  border-left: 6px solid var(--plum);
  padding: 17px 21px;
  border-radius: 12px;
  color: var(--plum) !important;
  font-weight: 800;
  font-size: 18px !important;
  box-shadow: 0 8px 20px rgba(54,21,100,.05);
}
.article-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  color: var(--plum);
  margin: 42px 0 17px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
.rich-text p { margin-bottom: 16px; }
.rich-text a {
  color: var(--plum);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.rich-text a:hover { color: #5c279f; }

/* Age selector */
.age-section {
  margin: 38px 0;
  padding: 20px;
  background: #fbfafc;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.age-banner {
  display: block;
  background: var(--plum);
  color: #fff;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 17px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(54,21,100,.2);
  transition: .2s ease;
}
.age-banner:hover {
  background: var(--lime);
  color: var(--plum);
  transform: translateY(-2px);
}
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.age-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  transition: .22s ease;
}
.age-card:hover {
  border-color: var(--plum);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(54,21,100,.12);
}
.age-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 9px 0;
  padding: 0 10px;
}
.age-card-label {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 13px 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--plum);
  background: #fff;
}
.age-card:hover .age-card-label {
  background: var(--lime);
  color: var(--plum);
}

/* Number grid */
.agn-wrapper {
  margin: 34px 0 10px;
  background: var(--plum-soft);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #dfd4eb;
}
.agn-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 9px;
}
.agn-btn {
  background: #fff;
  color: var(--plum);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid #d9cde6;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: .16s ease;
  box-shadow: 0 3px 8px rgba(54,21,100,.06);
}
.agn-btn:hover {
  background: var(--lime);
  color: var(--plum);
  border-color: var(--lime);
  transform: scale(1.09);
  box-shadow: 0 7px 14px rgba(54,21,100,.13);
}

/* Disclaimers */
.disclaimers {
  margin-top: 22px;
  padding: 24px 30px;
  background: #eeeaf2;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.disclaimers p {
  font-size: 12px;
  color: #746d7c;
  line-height: 1.65;
  margin-bottom: 10px;
}
.disclaimers p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  margin-top: 70px;
  padding: 52px 20px 28px;
  background: var(--plum-deep);
  color: #cfc5da;
  border-top: 4px solid var(--lime);
}
.footer-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: #bdb2c9;
  margin-bottom: 24px;
}
.footer-disclaimer p { margin-bottom: 12px; font-size: 12px; }
.footer-disclaimer a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.footer-disclaimer a:hover { color: #fff; }
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}
.footer-nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--lime); }
.footer-divider { color: #806b99; }
.footer-copyright {
  font-size: 12px;
  color: #8e7da0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  width: 100%;
}
.footer-copyright p { margin: 0; font-size: 12px; }

/* Responsive */
.mobile-only { display: none !important; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }

  .header-nav { padding: 11px 16px; }
  .brand-logo__name { font-size: 17px; }
  .brand-logo__mark { width: 41px; height: 41px; }

  .main-content { width: min(100% - 20px, 920px); margin-top: 16px; }

  .title-section {
    padding: 30px 24px 25px;
    border-radius: 22px;
  }
  .title-section h1 { font-size: 27px; letter-spacing: -.8px; }

  .article-body {
    padding: 24px 20px;
    border-radius: 22px;
  }
  .article-body p { font-size: 16px; }
  .image-container { margin: -3px -3px 24px; border-radius: 15px; }

  .highlight-text { font-size: 16px !important; padding: 14px 16px; }
  .article-body h3 { font-size: 21px; margin-top: 34px; }

  .age-section { padding: 14px; }
  .age-banner { font-size: 16px; padding: 15px 14px; }
  .age-grid { gap: 10px; }

  .agn-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
  }
  .agn-btn { font-size: 14px; }

  .disclaimers { padding: 18px; }
}

@media (max-width: 480px) {
  .quote-btn { padding: 10px 13px; font-size: 12px; }
  .brand-logo__name { font-size: 15px; }
  .brand-logo__mark { width: 38px; height: 38px; border-radius: 11px 11px 11px 4px; }

  .title-section h1 { font-size: 24px; }
  .age-grid { grid-template-columns: 1fr; gap: 10px; }
  .age-card { flex-direction: row; align-items: center; }
  .age-card img { width: 40%; aspect-ratio: auto; }
  .age-card-label {
    width: 60%;
    border-top: none;
    border-left: 1px solid var(--line);
    font-size: 20px;
    padding: 15px;
  }
  .agn-grid { grid-template-columns: repeat(5, 1fr); }
  .site-footer { margin-top: 45px; padding-top: 40px; }
}
.mb-4 {
	margin-bottom: 20px;
}