@charset "UTF-8";
/* ============================================
   Harbour Wealth Prototype — Brand Tokens & Base
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

:root {
  --navy: #444444;
  --navy-dark: #333333;
  --navy-light: #555555;
  --red: #666666;
  --red-hover: #555555;
  --blue-accent: #666666;
  --body-text: #777777;
  --heading-dark: #333333;
  --light-bg: #f5f5f5;
  --border: #ddd;
  --white: #ffffff;
  --off-white: #cccccc;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: 'Public Sans', Helvetica, Arial, sans-serif;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================
   Main Navigation
   ============================================ */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background 0.3s;
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon .inner {
  width: 12px;
  height: 12px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-logo-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--off-white);
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--white);
}


/* ============================================
   Page Hero
   ============================================ */

.page-hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 48px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="g" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" stop-color="%23ffffff" stop-opacity="0.03"/><stop offset="100%25" stop-color="%23ffffff" stop-opacity="0"/></linearGradient></defs><circle cx="900" cy="100" r="300" fill="url(%23g)"/><circle cx="200" cy="350" r="200" fill="url(%23g)"/></svg>');
  background-size: cover;
}

.page-hero > * {
  position: relative;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================
   Section Tab Bar (sticky)
   ============================================ */

.section-tabs {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-tabs .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 16px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body-text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.tab-link:hover {
  color: var(--navy);
  background: var(--light-bg);
}

.tab-link.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
  font-weight: 600;
}

.tab-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* ============================================
   Content Sections
   ============================================ */

.content-section {
  padding: 64px 0;
}

.content-section:nth-child(even) {
  background: var(--light-bg);
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 8px;
}

.section-header p {
  font-size: 16px;
  color: var(--body-text);
  max-width: 600px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}


/* ============================================
   Article Cards
   ============================================ */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-card-image {
  height: 200px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-image .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-card-body {
  padding: 20px;
}

.article-card-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.article-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: gap 0.2s;
}

.view-all-link:hover {
  gap: 10px;
  color: var(--blue-accent);
}


/* ============================================
   Structured Products
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(41, 62, 93, 0.1);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
}

.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
}

.product-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}


/* ============================================
   Education Section
   ============================================ */

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.edu-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.edu-card-image {
  height: 160px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.edu-card-image .play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.edu-card-image .play-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
  margin-left: 3px;
}

.edu-card-body {
  padding: 20px;
}

.edu-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-accent);
  background: rgba(12, 113, 195, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.edu-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.edu-card-desc {
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.5;
}


/* ============================================
   Newsletter Section
   ============================================ */

.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.newsletter-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.newsletter-section p {
  font-size: 16px;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto 32px;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  font-size: 15px;
  font-family: inherit;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--red-hover);
}


/* ============================================
   Interactive Dashboard Placeholder
   ============================================ */

.dashboard-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0 14px;
  position: relative;
}

.dashboard-bar-caption {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dashboard-bar-caption .ticker-period-toggle {
  display: inline-flex;
  gap: 4px;
  vertical-align: middle;
}

.dashboard-bar-caption .ticker-period-toggle span {
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--light-bg);
  color: #888;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.dashboard-bar-caption .ticker-period-toggle span.active {
  background: var(--navy);
  color: var(--white);
}

.dashboard-bar .container {
  display: block;
}

.dashboard-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dashboard-stat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  text-align: center;
}

.dashboard-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.dashboard-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-dark);
  white-space: nowrap;
}

.dashboard-stat-change {
  font-size: 12px;
  font-weight: 600;
}

.dashboard-stat-change.up {
  color: #22a06b;
}

.dashboard-stat-change.down {
  color: var(--red);
}

.dashboard-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}


/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

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

.footer-logo .nav-logo-icon {
  width: 32px;
  height: 32px;
}

.footer-logo .nav-logo-icon .inner {
  width: 10px;
  height: 10px;
}

.footer-logo-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--white);
  text-transform: uppercase;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.footer-social a.linkedin {
  background: #0077b5;
}

.footer-social a.instagram {
  background: #e4405f;
}

.footer-social a.facebook {
  background: #1877f2;
}

.footer-social a:hover {
  opacity: 0.85;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.footer-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.6;
}


/* ============================================
   Article Detail Page
   ============================================ */

.article-hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  color: var(--white);
}

.article-hero .breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.article-hero .breadcrumb a {
  color: var(--white);
  opacity: 0.8;
}

.article-hero .breadcrumb a:hover {
  opacity: 1;
}

.article-hero h1 {
  font-size: 36px;
  font-weight: 700;
  max-width: 720px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  opacity: 0.8;
}

.article-hero .article-meta .badge {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 1;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.article-content p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
  color: #444;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-dark);
  margin: 40px 0 16px;
}

.article-content blockquote {
  border-left: 4px solid var(--navy);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--light-bg);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--heading-dark);
}


/* ============================================
   CTA Banner (inline newsletter)
   ============================================ */

.cta-banner {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-banner h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 8px;
}

.cta-banner p {
  font-size: 14px !important;
  color: var(--body-text) !important;
  margin-bottom: 16px !important;
}

.cta-banner .newsletter-form {
  max-width: 400px;
}


/* ============================================
   Related Articles
   ============================================ */

.related-section {
  background: var(--light-bg);
  padding: 64px 0;
}

.related-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 32px;
}


/* ============================================
   Back to Top
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(8px);
  z-index: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy-light);
}


/* ============================================
   Structured Products Detail Pages
   ============================================ */

.product-hero {
  margin-top: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  color: var(--white);
}

.product-hero .breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.product-hero .breadcrumb a {
  color: var(--white);
  opacity: 0.8;
}

.product-hero .breadcrumb a:hover {
  opacity: 1;
}

.product-hero h1 {
  font-size: 36px;
  font-weight: 700;
  max-width: 720px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.product-hero p {
  font-size: 17px;
  opacity: 0.8;
  max-width: 600px;
}

.product-list {
  padding: 64px 0;
}

.product-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-item:hover {
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(41, 62, 93, 0.08);
}

.product-item-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 4px;
}

.product-item-desc {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
}

.product-item-meta {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.product-item-stat {
  text-align: center;
}

.product-item-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-dark);
}

.product-item-stat-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-status.active {
  background: rgba(34, 160, 107, 0.1);
  color: #22a06b;
}

.product-status.maturing {
  background: rgba(230, 153, 0, 0.1);
  color: #cc8800;
}

.product-status.new {
  background: rgba(12, 113, 195, 0.1);
  color: var(--blue-accent);
}

.info-box {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.info-box h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 8px;
}

.info-box p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
  margin: 0;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.strategy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s;
}

.strategy-card:hover {
  border-color: var(--navy);
}

.strategy-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 6px;
}

.strategy-card .risk-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.strategy-card .risk-label.conservative {
  background: rgba(34, 160, 107, 0.1);
  color: #22a06b;
}

.strategy-card .risk-label.moderate {
  background: rgba(12, 113, 195, 0.1);
  color: var(--blue-accent);
}

.strategy-card .risk-label.growth {
  background: rgba(230, 153, 0, 0.1);
  color: #cc8800;
}

.strategy-card .risk-label.aggressive {
  background: rgba(163, 35, 34, 0.1);
  color: var(--red);
}

.strategy-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.5;
  margin-bottom: 12px;
}

.strategy-card .allocation-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 12px;
}

.allocation-bar .equity { background: var(--navy); }
.allocation-bar .bonds { background: var(--blue-accent); }
.allocation-bar .property { background: #22a06b; }
.allocation-bar .cash { background: #e0e0e0; }
.allocation-bar .alternatives { background: #cc8800; }

.allocation-legend {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.allocation-legend span {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.allocation-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ============================================
   Education Detail Pages
   ============================================ */

.edu-hero {
  margin-top: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  color: var(--white);
}

.edu-hero .breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.edu-hero .breadcrumb a {
  color: var(--white);
  opacity: 0.8;
}

.edu-hero h1 {
  font-size: 36px;
  font-weight: 700;
  max-width: 720px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.edu-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  opacity: 0.8;
}

.edu-hero .article-meta .badge {
  background: var(--blue-accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 1;
}

.key-takeaways {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
}

.key-takeaways h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-takeaways li {
  font-size: 15px;
  color: #444;
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.5;
}

.key-takeaways li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22a06b;
  font-weight: 700;
}

.video-embed {
  background: var(--navy);
  border-radius: 8px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
  position: relative;
  cursor: pointer;
}

.video-embed .play-btn {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.video-embed:hover .play-btn {
  transform: scale(1.08);
}

.video-embed .play-btn svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
  margin-left: 4px;
}

.video-embed .duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.video-caption {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-top: -20px;
  margin-bottom: 32px;
}

.edu-related {
  background: var(--light-bg);
  padding: 64px 0;
}

.edu-related h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 32px;
}


/* ============================================
   Timely Reminder — single full-width banner
   ============================================ */

.reminder-banner {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.reminder-banner .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reminder-banner-icon {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.reminder-banner-icon svg {
  width: 14px;
  height: 14px;
}

.reminder-banner-body {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--body-text);
}

.reminder-banner-body strong {
  color: var(--heading-dark);
  font-weight: 600;
  margin-right: 6px;
}

.reminder-banner-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.reminder-banner-cta svg {
  width: 13px;
  height: 13px;
}

.reminder-banner-dismiss {
  font-size: 16px;
  color: #bbb;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
  line-height: 1;
}

.reminder-banner-dismiss:hover {
  color: #666;
}

@media (max-width: 700px) {
  .reminder-banner .container {
    flex-wrap: wrap;
  }
  .reminder-banner-body {
    flex-basis: 100%;
  }
}


/* ============================================
   Investment Strategies hub section (2-card pivot)
   ============================================ */

.strategies-hub-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.strategies-hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.strategies-hub-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(41, 62, 93, 0.08);
}

.strategies-hub-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.strategies-hub-card-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-dark);
}

.strategies-hub-card-count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #999;
}

.strategies-hub-card > p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.strategies-hub-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.strategies-hub-list span {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--light-bg);
  border-radius: 12px;
  color: #555;
  font-weight: 500;
}

.strategies-hub-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.strategies-hub-card .card-arrow svg {
  width: 14px;
  height: 14px;
}


/* ============================================
   Strategy Detail — Region Section
   ============================================ */

.region-section {
  padding: 56px 0;
}

.region-section + .region-section {
  border-top: 1px solid var(--border);
}

.region-section:nth-of-type(even) {
  background: var(--light-bg);
}

.region-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}

.region-section-head h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--heading-dark);
}

.region-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--navy);
  color: var(--white);
}

.region-badge.offshore {
  background: var(--blue-accent);
}

.region-section-sub {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 28px;
  max-width: 720px;
}

.perf-strategies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.perf-strategy-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 2.6fr;
  gap: 32px;
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.perf-strategy-row:hover {
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.perf-strategy-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 4px;
}

.perf-strategy-info .risk-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  background: #eee;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.perf-strategy-info p {
  font-size: 12.5px;
  color: var(--body-text);
  line-height: 1.5;
}

.perf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.perf-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.perf-cell-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #999;
}

.perf-cell-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-dark);
  line-height: 1.1;
}

.perf-cell-value.up { color: #22a06b; }
.perf-cell-value.down { color: var(--red); }

.perf-cell-bar {
  position: relative;
  height: 4px;
  background: #efefef;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}

.perf-cell-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  background: #22a06b;
  border-radius: 2px;
}

.perf-cell-bar-fill.down {
  background: var(--red);
  transform: translateX(-100%);
  left: 50%;
}

.perf-disclaimer {
  font-size: 12px;
  color: #999;
  font-style: italic;
  margin-top: 20px;
  line-height: 1.6;
}


/* ============================================
   Newsletter detail page
   ============================================ */

.newsletter-hero {
  margin-top: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 56px 0 48px;
  color: var(--white);
}

.newsletter-hero .breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 16px;
}

.newsletter-hero .breadcrumb a {
  color: var(--white);
  opacity: 0.8;
}

.newsletter-hero .issue-meta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  margin-bottom: 16px;
}

.newsletter-hero h1 {
  font-size: 34px;
  font-weight: 700;
  max-width: 820px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.newsletter-hero .issue-date {
  font-size: 14px;
  opacity: 0.75;
}

.newsletter-layout {
  padding: 56px 0 32px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.newsletter-toc {
  font-size: 13px;
  position: sticky;
  top: 180px;
  align-self: start;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.newsletter-toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
}

.newsletter-toc ul {
  list-style: none;
  padding: 0;
  border-left: 1px solid var(--border);
}

.newsletter-toc li {
  margin: 0;
}

.newsletter-toc a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--body-text);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.2s;
  line-height: 1.4;
}

.newsletter-toc a:hover {
  color: var(--navy);
  background: var(--light-bg);
}

.newsletter-toc a.active {
  color: var(--navy);
  border-left-color: var(--navy);
  font-weight: 600;
}

.newsletter-article {
  max-width: 680px;
}

.newsletter-intro {
  font-size: 17px;
  line-height: 1.65;
  color: #444;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}

.newsletter-section-block {
  scroll-margin-top: 160px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.newsletter-section-block:last-child {
  border-bottom: none;
}

.newsletter-section-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.newsletter-section-block .section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 8px;
}

.newsletter-section-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 14px;
}

.newsletter-section-block .block-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 6px;
}

.newsletter-section-block .block-link svg {
  width: 13px;
  height: 13px;
}

.newsletter-inline-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.newsletter-inline-card-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.newsletter-inline-card-body {
  flex: 1;
  min-width: 0;
}

.newsletter-inline-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-dark);
  margin-bottom: 2px;
}

.newsletter-inline-card-desc {
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.4;
}

.newsletter-inline-card .block-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* Issue navigation at bottom */
.newsletter-nav {
  border-top: 1px solid var(--border);
  background: var(--light-bg);
  padding: 32px 0;
}

.newsletter-nav .container {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.newsletter-nav-link {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.newsletter-nav-link:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.newsletter-nav-link.next {
  text-align: right;
}

.newsletter-nav-link .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 4px;
}

.newsletter-nav-link .title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-dark);
  line-height: 1.35;
}

.newsletter-nav-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.newsletter-back {
  text-align: center;
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--body-text);
}

.newsletter-back a {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 800px) {
  .newsletter-layout {
    grid-template-columns: 1fr;
  }
  .newsletter-toc {
    position: static;
    max-height: none;
  }
  .newsletter-nav .container {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Newsletter preview on hub + archive page
   ============================================ */

.newsletter-preview-wrap {
  background: var(--white);
  padding: 40px 0 0;
}

.newsletter-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.newsletter-preview-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-dark);
}

.newsletter-preview-head .view-all-link {
  margin-top: 0;
}

.newsletter-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.newsletter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.newsletter-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.newsletter-card-quarter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}

.newsletter-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-dark);
  line-height: 1.35;
}

.newsletter-card-date {
  font-size: 12px;
  color: #999;
}

.newsletter-card-topics {
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.5;
  margin-top: 4px;
}

.newsletter-card-footer {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
}

.newsletter-card-footer svg {
  width: 12px;
  height: 12px;
}

.newsletter-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* ============================================
   Responsive additions
   ============================================ */

@media (max-width: 900px) {
  .strategies-hub-intro,
  .newsletter-preview-grid,
  .newsletter-archive-grid {
    grid-template-columns: 1fr;
  }

  .perf-strategy-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .perf-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .perf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================
   Wireframe Overrides
   Remove this block to restore brand colours
   ============================================ */

/* Keep semantic colours (up/down indicators) — flatten everything else */

.product-status.active,
.product-status.maturing,
.product-status.new {
  background: #eee;
  color: #666;
}

.strategy-card .risk-label.conservative,
.strategy-card .risk-label.moderate,
.strategy-card .risk-label.growth,
.strategy-card .risk-label.aggressive {
  background: #eee;
  color: #666;
}

.allocation-bar .equity { background: #444; }
.allocation-bar .bonds { background: #888; }
.allocation-bar .property { background: #aaa; }
.allocation-bar .cash { background: #ddd; }
.allocation-bar .alternatives { background: #666; }

.card-badge,
.article-hero .article-meta .badge,
.edu-hero .article-meta .badge {
  background: #666 !important;
}

.edu-card-tag {
  color: #666 !important;
  background: #eee !important;
}

.section-label {
  color: #888 !important;
}

.key-takeaways li::before {
  color: #888;
}

/* Scenario cards keep semantic colour (bull/base/bear) */

.footer-social a.linkedin,
.footer-social a.instagram,
.footer-social a.facebook {
  background: #888;
}

/* Reminder banner — flatten icon colour */
.reminder-banner-icon {
  color: #666;
}

/* Strategy hub cards — region badge goes grey */
.region-badge,
.region-badge.offshore {
  background: #666 !important;
}

/* Performance bars: keep up/down semantic, flatten background */
.perf-cell-bar-fill {
  /* semantic green kept */
}

/* Newsletter card quarter label — flatten */
.newsletter-card-quarter {
  color: #888 !important;
}

/* Ticker caption pill */
.dashboard-bar-caption .ticker-period-toggle span.active {
  background: #555 !important;
}

/* Wireframe label in top-left corner */
body::after {
  content: 'Prototype \2014  for structure & content review only';
  position: fixed;
  top: 78px;
  right: 16px;
  z-index: 9999;
  font-size: 11px;
  font-weight: 500;
  color: #999;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 4px 10px;
  border-radius: 4px;
  pointer-events: none;
}


/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .articles-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-hero h1 {
    font-size: 28px;
  }

  .article-hero h1 {
    font-size: 26px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
  }

  .newsletter-form button {
    border-radius: 6px;
  }
}
