* { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font-body); background: #fff; color: var(--color-text); }
  html, body { overflow-x: hidden; }

  /* ===== LAYOUT ===== */
  .container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
  .container-wide { max-width: 100%; padding: 0 24px; }
  
  /* ===== TOP BANNER ===== */
  .banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: var(--color-black); color: white; padding: 10px 0;
    font-size: 13px; text-align: center; border-bottom: 1px solid #333;
  }
  .banner a { color: var(--color-cyan); text-decoration: none; font-weight: 500; margin-left: 6px; }
  .banner a:hover { opacity: 0.8; }

  /* ===== NAV ===== */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 49;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0; height: 72px;
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
  .nav-logo { width: 80px; display: flex; align-items: center; }
  .nav-logo a { width: 100%; display: flex; align-items: center; text-decoration: none; }
  .nav-logo img { width: 100%; }
  .nav-links { display: flex; gap: 36px; flex: 1; margin-left: 60px; }
  .nav-link-wrapper { position: relative; display: flex; align-items: center; }
  .nav-link { font-size: 14px; color: var(--color-text); text-decoration: none; transition: color 0.2s; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .nav-link:hover { color: var(--color-cyan); }
  .nav-dropdown-arrow { font-size: 10px; color: #999; transition: transform 0.2s; }
  .nav-link-wrapper:hover .nav-dropdown-arrow { transform: rotate(180deg); }
  
  /* Dropdown menu styles */
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    min-width: 320px;
  }
  
  .nav-link-wrapper:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .nav-dropdown-content {
    padding: 16px;
    font-family: 'Inter', system-ui, sans-serif;
  }
  
  .nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.2s;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
  }
  
  .nav-dropdown-item:hover {
    background: #f9fafb;
  }
  
  .nav-dropdown-icon {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .nav-dropdown-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .nav-dropdown-text {
    flex: 1;
    font-family: 'Inter', system-ui, sans-serif;
  }
  
  .nav-dropdown-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
    font-family: 'Inter', system-ui, sans-serif;
  }
  
  .nav-dropdown-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
    font-family: 'Inter', system-ui, sans-serif;
  }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-signin { font-size: 14px; color: var(--color-text); text-decoration: none; }
  .nav-signin:hover { color: var(--color-cyan); }

  /* ===== HERO ===== */
  .hero { padding-top: 140px; padding-bottom: 0; background: linear-gradient(180deg, #fafbfd 0%, #fff 100%); position: relative; overflow: hidden; }
  .hero::before {
    content: ''; position: absolute; top: -200px; left: 50%;
    width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(29,217,217,0.15) 0%, transparent 70%);
    pointer-events: none; transform: translateX(-50%);
  }
  .hero::after {
    content: ''; position: absolute; bottom: -300px; right: -200px;
    width: 800px; height: 800px; background: radial-gradient(circle, rgba(29,217,217,0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; padding: 0 24px; text-align: center; }
  .hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; }
  .hero-eyebrow svg { width: 32px; height: 32px; flex-shrink: 0; }
  .hero-eyebrow-text { font-size: 18px; font-weight: 700; color: #15803D; text-transform: uppercase; letter-spacing: 0.5px; }
  .hero-h1 { font-size: 60px; font-weight: 500; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 24px; }
  .hero-h1 .accent { color: var(--color-cyan); }
  .hero-sub { font-size: 19px; line-height: 1.6; color: var(--color-text-muted); margin-bottom: 40px; }
  .hero-ctas { display: flex; gap: 12px; justify-content: center; margin-bottom: 30px; }

  /* ===== SECTIONS ===== */
  section { padding: 120px 0; }
  section.alt { background: transparent; }
  section:has(.blog-filters-wrapper) { padding-top: 0; padding-bottom: 120px; }

  h2 { font-size: 52px; font-weight: 500; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; }
  .section-sub { font-size: 18px; color: var(--color-text-muted); max-width: 800px; margin: 0 auto 80px; text-align: center; }

  /* ===== FILTER TABS ===== */
  .blog-filters-wrapper { position: sticky; top: 72px; background: white; z-index: 40; border-bottom: 1px solid var(--color-grey); padding: 16px 0; margin-bottom: 20px; margin-top: 0; }
  .blog-filters { display: flex; gap: 24px; justify-content: center; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
  .blog-filter-tab { padding: 0; border: none; background: none; font-size: 14px; font-weight: 500; color: var(--color-text-muted); cursor: pointer; transition: all 0.2s; border-bottom: 3px solid transparent; display: flex; align-items: center; gap: 8px; white-space: nowrap; padding-bottom: 12px; margin-top: 8px; }
  .blog-filter-tab.active { color: var(--color-text); border-bottom-color: #D1D5DB; }
  .blog-filter-tab:hover { color: var(--color-text); }
  .blog-filter-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; flex-shrink: 0; }
  .blog-filter-icon svg { width: 100%; height: 100%; }
  /* Mobile dropdown alternative to the tab row (shown ≤600px) */
  .blog-filter-select { display: none; width: 100%; max-width: 360px; margin: 0 auto; padding: 12px 40px 12px 16px; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--color-text); background-color: #fff; border: 1px solid var(--color-grey); border-radius: 0; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
  .blog-filter-select:focus { outline: none; border-color: var(--color-cyan); }

  /* ===== ARTICLE GRID ===== */
  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; margin-top: 20px; }
  .blog-card { border: 1px solid #e5e7eb; background: #f9fafb; overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; position: relative; }
  .blog-card:hover { border-color: var(--color-cyan); box-shadow: 0 8px 24px rgba(29,217,217,0.12); }
  .blog-card:hover .blog-card-arrow { transform: rotate(45deg); }

  .blog-card-mockup { width: 100%; height: 200px; background: #d1d5db; display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 12px; }

  .blog-card-content { padding: 32px; display: flex; flex-direction: column; flex: 1; }
  .blog-card-pillar { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 12px; display: inline-flex; align-items: center; width: fit-content; padding: 6px 12px; border-radius: 0; }
  .blog-card-pillar.plan { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
  .blog-card-pillar.report { background: rgba(245, 158, 11, 0.1); color: #d97706; }
  .blog-card-pillar.analyse { background: rgba(16, 185, 129, 0.1); color: #059669; }
  .blog-card-pillar.practice { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }

  .blog-card-title { font-size: 22px; font-weight: 600; line-height: 1.4; color: var(--color-text); margin-bottom: 16px; }
  .blog-card-teaser { font-size: 14px; line-height: 1.6; color: var(--color-text-muted); margin-bottom: 24px; flex: 1; }
  .blog-card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid #e5e7eb; font-size: 12px; color: var(--color-text-muted); position: relative; }
  .blog-card-meta-left { display: flex; gap: 16px; }

  .blog-coming-soon { display: inline-flex; align-items: center; gap: 6px; background: #fef3c7; color: #92400e; padding: 6px 12px; border-radius: 4px; font-size: 11px; font-weight: 600; }
  .blog-coming-soon::before { content: '●'; }

  .blog-card-arrow { position: absolute; bottom: 32px; right: 32px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; cursor: pointer; }
  .blog-card-arrow svg { width: 100%; height: 100%; stroke: currentColor; color: var(--color-text); }

  /* ===== NOTIFY ROW ===== */
  .blog-notify { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 40px; text-align: center; margin-bottom: 60px; }
  .blog-notify-body { font-size: 16px; color: var(--color-text-muted); margin-bottom: 24px; }
  .blog-notify-cta { display: inline-flex; align-items: center; background: var(--color-black); color: white; text-decoration: none; font-weight: 500; font-size: 14px; padding: 12px 24px; border-radius: 0; }
  .blog-notify-cta:hover { background: #2a2a2a; }

  /* ===== ABOUT CONTENT SECTION ===== */
  .blog-about { padding: 100px 0; }
  .blog-about-intro { text-align: center; margin-bottom: 60px; }
  .blog-about-intro h2 { margin-bottom: 12px; }
  .blog-about-intro-sub { font-size: 18px; color: var(--color-text-muted); }

  .blog-pillars-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .blog-pillar-card { padding: 40px; border: 1px solid #e5e7eb; background: white; }
  .blog-pillar-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 16px; padding: 8px 16px; border-radius: 4px; width: fit-content; }
  .blog-pillar-badge.plan { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
  .blog-pillar-badge.report { background: rgba(245, 158, 11, 0.1); color: #d97706; }
  .blog-pillar-badge.analyse { background: rgba(16, 185, 129, 0.1); color: #059669; }
  .blog-pillar-badge.practice { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }
  .blog-pillar-badge::before { content: '■'; font-size: 10px; }

  .blog-pillar-card h3 { font-size: 24px; font-weight: 500; color: var(--color-text); margin-bottom: 12px; line-height: 1.3; }
  .blog-pillar-card p { font-size: 14px; line-height: 1.7; color: var(--color-text-muted); }

  /* ===== FINAL CTA ===== */
  .final-cta { padding: 100px 24px; background: #000000; color: white; text-align: center; position: relative; overflow: hidden; width: 100vw; margin-left: calc(-50vw + 50%); }
  .final-cta > .container-wide { max-width: 1320px; margin: 0 auto; padding: 0; }
  
  /* Animated gradient background */
  .final-cta::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: 
      radial-gradient(circle at 20% 50%, rgba(29,217,217,0.3) 0%, transparent 50%),
      radial-gradient(circle at 80% 50%, rgba(29,217,217,0.25) 0%, transparent 50%),
      radial-gradient(circle at 50% 100%, rgba(29,217,217,0.2) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
    pointer-events: none;
  }
  
  /* Floating blob animations */
  .final-cta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(29,217,217,0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob1 12s ease-in-out infinite;
    pointer-events: none;
    top: -200px;
    right: -100px;
  }
  
  /* Dynamic animated lines/grid effect */
  .final-cta-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
  }
  
  .float-shape {
    position: absolute;
    border: 2px solid rgba(29,217,217,0.4);
    border-radius: 8px;
    pointer-events: none;
  }
  
  .float-shape.rect-1 {
    width: 120px;
    height: 80px;
    animation: float 6s ease-in-out infinite, drift-right 10s ease-in-out infinite;
    top: 10%;
    left: 8%;
  }
  
  .float-shape.rect-2 {
    width: 90px;
    height: 120px;
    animation: float 7s ease-in-out infinite 1s, drift-left 12s ease-in-out infinite;
    bottom: 15%;
    right: 10%;
  }
  
  .float-shape.rect-3 {
    width: 100px;
    height: 100px;
    animation: float 5s ease-in-out infinite 2s, drift-right 14s ease-in-out infinite;
    top: 40%;
    right: 5%;
  }
  
  .float-circle {
    position: absolute;
    border: 2px solid rgba(29,217,217,0.35);
    border-radius: 50%;
    pointer-events: none;
  }
  
  .float-circle.circle-1 {
    width: 140px;
    height: 140px;
    animation: float 8s ease-in-out infinite, drift-left 16s ease-in-out infinite;
    top: 20%;
    right: 20%;
  }
  
  .float-circle.circle-2 {
    width: 200px;
    height: 200px;
    animation: float 10s ease-in-out infinite 1.5s, drift-right 18s ease-in-out infinite;
    bottom: 5%;
    left: 5%;
  }
  
  /* Keyframe animations */
  @keyframes float { 
    0%, 100% { opacity: 0.4; transform: translateY(0px); } 
    50% { opacity: 0.8; transform: translateY(-20px); } 
  }
  
  @keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; opacity: 0.6; }
    50% { background-position: 100% 50%; opacity: 0.9; }
  }
  
  @keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.05; }
    33% { transform: translate(50px, -100px) scale(1.1); opacity: 0.08; }
    66% { transform: translate(-50px, 50px) scale(0.95); opacity: 0.06; }
  }
  
  @keyframes drift-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(40px); }
  }
  
  @keyframes drift-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-40px); }
  }
  
  .final-cta > * { position: relative; z-index: 1; }
  .final-cta h2 { color: white; margin-bottom: 16px; }
  .final-cta p { font-size: 18px; color: white; margin-bottom: 40px; }
  .final-cta .button-secondary { background: var(--color-black); color: white; border: 1px solid white; }
  .final-cta .button-secondary:hover { background: #1a1a1a; border-color: white; }

  /* ===== FOOTER ===== */
  footer { padding: 60px 0 0; background: white; border-top: 1px solid var(--color-grey); }
  .footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; margin-bottom: 40px; }
  .footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; margin-bottom: 16px; letter-spacing: 0.5px; }
  .footer-col a { display: block; font-size: 13px; color: var(--color-text-muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--color-text); }
  .footer-logo { height: 32px; margin-bottom: 12px; }
  .footer-desc { font-size: 13px; color: var(--color-text-muted); margin-bottom: 16px; }
  .xero-partner-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .soc-certification-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .g2-badge { display: flex; align-items: center; gap: 12px; }
  .g2-badge > div:last-child { display: flex; flex-direction: column; }
  .g2-badge-stars { display: flex; gap: 4px; margin-top: 4px; align-items: center; }
  .g2-badge-stars span:first-child { font-size: 16px; color: #fbbf24; }
  .g2-badge-stars span { font-size: 16px; color: #fbbf24; }
  .g2-badge-rating { font-size: 9px; color: #d1d5db; }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--color-grey); padding: 24px 0; font-size: 13px; color: var(--color-text-muted); }
  .footer-bottom-right { display: flex; gap: 24px; }
  .footer-bottom-right a { color: var(--color-text-muted); text-decoration: none; font-size: 13px; }
  .footer-bottom-right a:hover { color: var(--color-text); }

  /* ===== BUTTONS ===== */
  .button { display: inline-flex; align-items: center; padding: 12px 24px; border: none; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 0; }
  .button-primary { background: var(--color-black); color: white; }
  .button-primary:hover { background: #2a2a2a; }
  .button-secondary { background: white; color: var(--color-black); border: 1px solid var(--color-black); }
  .button-secondary:hover { background: var(--color-black); color: white; }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .blog-grid { grid-template-columns: 1fr; gap: 24px; }
    .blog-pillars-grid { grid-template-columns: 1fr; gap: 24px; }
  }

  /* ===== RESPONSIVE: type ladder (added last so it wins over earlier blocks) — matched to investor-reporting ===== */
  @media (max-width: 1024px) {
    .hero-h1 { font-size: 48px; }
    h2 { font-size: 42px; }
    .section-sub, .blog-about-intro-sub { font-size: 16px; }
  }
  @media (max-width: 768px) {
    .hero-h1 { font-size: 38px; }
    h2 { font-size: 34px; }
    .section-sub, .blog-about-intro-sub { font-size: 14px; }
    .blog-card-title { font-size: 18px; margin-bottom: 12px; }
    .blog-card-teaser { margin-bottom: 16px; }
    .blog-card-content { padding: 24px; }
    .blog-card-arrow { bottom: 24px; right: 24px; }
    .blog-pillar-card h3 { font-size: 20px; }
  }
  @media (max-width: 480px) {
    .hero-h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    .hero-sub { font-size: 17px; }
    .section-sub, .blog-about-intro-sub { font-size: 14px; }
    .blog-card-title { font-size: 17px; line-height: 1.35; }
    .blog-card-teaser { font-size: 13px; }
    .blog-card-content { padding: 20px; }
    .blog-card-arrow { bottom: 20px; right: 20px; }
    .blog-card-mockup { height: 160px; }
  }

  /* Filter: swap the tab row for a dropdown where the tabs no longer fit */
  @media (max-width: 600px) {
    .blog-filters { display: none; }
    .blog-filter-select { display: block; }
  }

/* Migration additions: real cover art in the cards (the original design used
   flat grey mockup blocks because there was only one written article). */
.blog-card-mockup { padding: 0; overflow: hidden; }
.blog-card-mockup img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.blog-card:hover .blog-card-mockup img { transform: scale(1.04); }
.blog-card-teaser { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
