﻿:root {
      --magenta: #c5006c;
      --purple: #37185e;
      --text: #37185e;
      --muted: #2d3748;
      --grey-tile: #c6c6c6;
      --white: #ffffff;
      --font: "Montserrat", sans-serif;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    body {
      font-family: var(--font);
      color: var(--muted);
      background: #f7fafc;
      line-height: 1.6;
      overflow-x: hidden;
      min-width: 0;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* ——— Header / desktop menu ——— */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 99999;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      min-height: 64px;
      padding: 0.75rem 1.25rem;
      background: linear-gradient(90deg, #0a2e2e 0%, #0a1020 45%, #1a0a2e 100%);
      box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    }

    .site-brand {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      text-decoration: none;
      flex-shrink: 0;
    }

    .site-brand img {
      height: 36px;
      width: auto;
      display: block;
    }

    .site-brand span {
      color: #fff;
      font-weight: 700;
      font-size: 1.05rem;
    }

    .desktop-nav {
      display: block;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav > li {
      position: relative;
    }

    .nav > li > a {
      color: #ffffff !important;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }

    .nav > li > a:hover,
    .nav > li > a[aria-current="page"] {
      color: #ff4da6 !important;
      opacity: 1;
    }

    .has-dropdown > button {
      background: none;
      border: none;
      color: #ffffff !important;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.2rem;
      font: inherit;
      font-size: 0.95rem;
      font-weight: 600;
      padding: 0;
      white-space: nowrap;
    }

    .has-dropdown > button:hover {
      color: #ff4da6 !important;
      opacity: 1;
    }

    .has-dropdown > button svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }

    .dropdown {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      min-width: 280px;
      background: rgba(20, 20, 30, 0.98);
      padding: 0.75rem 0;
      list-style: none;
      margin: 0.65rem 0 0;
      border-radius: 4px;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
      z-index: 200;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown,
    .has-dropdown.is-open .dropdown {
      display: block;
    }

    .dropdown a {
      display: block;
      padding: 0.55rem 1.25rem;
      color: #f7fafc;
      font-size: 0.85rem;
    }

    .dropdown a:hover {
      color: var(--magenta);
      background: rgba(255, 255, 255, 0.05);
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: #ffffff;
      cursor: pointer;
      padding: 0.25rem;
    }

    body {
      padding-top: 64px;
    }

    body.home .hero {
      margin-top: -64px;
    }

    /* ——— Hero ——— */
    .hero {
      position: relative;
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: clamp(6rem, 18vw, 21.25rem) 1.5rem clamp(5rem, 16vw, 19rem);
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-color: #1a1a1a;
      background-image: url("../images/background-colour.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transform: scale(1.08);
      animation: kenburns 22s ease-in-out infinite alternate;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.79);
      opacity: 0.5;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.15rem;
      width: min(496px, 90vw);
    }

    .hero-logo {
      width: min(496px, 90vw);
      height: auto;
      animation: bob 2.5s ease-in-out infinite;
      mix-blend-mode: screen;
    }

    .hero-tagline {
      color: var(--magenta);
      font-size: 1.375rem;
      font-weight: 500;
      margin-top: -0.35rem;
      line-height: 1.4;
    }

    .hero-tagline a:hover {
      text-decoration: underline;
    }

    @keyframes bob {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    @keyframes kenburns {
      from { transform: scale(1.02); }
      to { transform: scale(1.1); }
    }

    /* ——— Shared ——— */
    .section-title {
      color: var(--magenta);
      font-size: 3.125rem;
      font-weight: 700;
      text-transform: uppercase;
      text-align: center;
      letter-spacing: 0.01em;
      line-height: 1.15;
      margin-bottom: 1.35rem;
    }

    .btn {
      display: inline-block;
      background: var(--purple);
      color: var(--white);
      padding: 12px 24px;
      border-radius: 3px;
      font-size: 0.9rem;
      font-weight: 500;
      transition: transform 0.2s ease, background 0.2s ease;
    }

    .btn:hover {
      background: #2a1148;
      transform: scale(0.97);
    }

    /* ——— Simplify ——— */
    .simplify {
      background: var(--white);
      padding: 170px 204px;
      text-align: center;
    }

    .simplify p {
      color: var(--text);
      font-size: 1.0625rem;
      max-width: 760px;
      margin: 0 auto 1.75rem;
      line-height: 1.6;
    }

    .simplify .btn {
      margin-bottom: 2rem;
    }

    .simplify audio {
      width: min(480px, 100%);
      margin: 0 auto;
      display: block;
    }

    /* ——— How it works ——— */
    .how-it-works {
      background: url("../images/background-colour.jpg") center / cover no-repeat;
      padding: 170px 1.5rem;
      text-align: center;
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
      max-width: 1200px;
      margin: 2.75rem auto 0;
    }

    .step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.85rem;
      padding: 0 0.5rem;
    }

    .step-icon {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: var(--magenta);
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.25s ease;
      margin-bottom: 0.35rem;
    }

    .step-icon:hover {
      transform: scale(0.9);
    }

    .step-icon svg {
      width: 50px;
      height: 50px;
      fill: currentColor;
    }

    .step h3 {
      color: var(--magenta);
      font-size: 1.15rem;
      font-weight: 700;
      text-transform: uppercase;
      line-height: 1.3;
    }

    .step p {
      color: var(--white);
      font-size: 0.95rem;
      line-height: 1.55;
      max-width: 260px;
    }

    /* ——— Mosaic ——— */
    .mosaic {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      width: 100%;
    }

    .mosaic-cell {
      aspect-ratio: 1 / 1;
      width: 100%;
      min-height: 0;
      height: auto;
      background-size: cover;
      background-position: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: clamp(1.25rem, 2.2vw, 2.5rem) clamp(1rem, 1.8vw, 1.75rem);
      gap: clamp(1rem, 2vw, 2rem);
      overflow: hidden;
    }

    .mosaic-cell.photo {
      padding: 0;
    }

    .mosaic-cell.dark {
      background-image: url("../images/background-colour.jpg");
      background-color: #0a1a28;
    }

    .mosaic-cell.light {
      background-color: var(--grey-tile);
    }

    .feature-block h3 {
      color: var(--magenta);
      font-size: clamp(0.85rem, 1.1vw, 1.15rem);
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 0.55rem;
      line-height: 1.25;
    }

    .feature-block p {
      font-size: clamp(0.8rem, 0.95vw, 0.95rem);
      line-height: 1.45;
      max-width: 280px;
      margin: 0 auto;
    }

    .mosaic-cell.dark .feature-block p {
      color: var(--white);
    }

    .mosaic-cell.light .feature-block p {
      color: var(--text);
    }

    .mosaic-wide {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      width: 100%;
    }

    .mosaic-wide .mosaic-cell {
      aspect-ratio: 1 / 1;
      min-height: 0;
    }

    .perfect-list {
      list-style: none;
      color: var(--white);
      font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
      line-height: 1.9;
      text-align: left;
    }

    .perfect-list li::before {
      content: "– ";
    }

    .perfect-for {
      align-items: center;
      gap: 1.25rem;
    }

    .perfect-for .section-title {
      margin-bottom: 0.5rem;
      font-size: clamp(1.75rem, 3vw, 3.125rem);
    }

    /* ——— Contact ——— */
    .contact {
      background: var(--white);
      padding: 170px 204px;
      text-align: center;
    }

    .contact p {
      color: var(--text);
      font-size: 1.0625rem;
      max-width: 640px;
      margin: 0 auto 1.75rem;
    }

    .socials {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1.75rem;
    }

    .social {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--purple);
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.25s ease;
    }

    .social:hover {
      transform: scale(0.9);
    }

    .social svg {
      width: 22px;
      height: 22px;
      fill: currentColor;
    }

    /* ——— Get started ——— */
    .get-started {
      background: url("../images/background-colour.jpg") center / cover no-repeat;
      padding: 170px 1.5rem;
      text-align: center;
    }

    .get-started p {
      color: var(--white);
      font-size: 1.0625rem;
      max-width: 640px;
      margin: 0 auto 1rem;
      line-height: 1.6;
    }

    /* â€”â€”â€” Mobile nav â€”â€”â€” */
    .mobile-nav {
      display: none;
      position: fixed;
      inset: 0;
      background: #0f0a19;
      z-index: 200;
      padding: 5rem 2rem 2rem;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .mobile-nav.open {
      display: block;
    }

    .mobile-nav .close {
      position: absolute;
      top: 1rem;
      right: 1.25rem;
      background: none;
      border: none;
      color: var(--white);
      font-size: 1.75rem;
      cursor: pointer;
    }

    .mobile-nav ul {
      list-style: none;
    }

    .mobile-nav a {
      display: block;
      color: #f7fafc;
      padding: 0.75rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.95rem;
    }

    .mobile-nav .sub {
      padding-left: 1rem;
    }

    .mobile-nav .sub a {
      font-size: 0.85rem;
      color: #cbd5e0;
    }

/* ——— Inner / article pages (match homepage language) ——— */
body.inner-page {
  background: #0a1020;
  color: #e2e8f0;
}

body.inner-page .site-header {
  position: fixed;
  top: 0;
  background: linear-gradient(90deg, #0a2e2e 0%, #0a1020 45%, #1a0a2e 100%);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.inner-main {
  min-height: 100vh;
}

.page-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 420px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 3.5rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-image: url("../images/background-colour.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-hero-eyebrow {
  color: var(--magenta);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-hero-title {
  color: var(--white);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.article-panel {
  background: #f7fafc;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
}

.article-page {
  max-width: 760px;
  margin: 0 auto;
}

.article-page h2 {
  color: var(--purple);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  margin: 2.25rem 0 1rem;
  overflow-wrap: anywhere;
}

.article-page h3 {
  color: var(--purple);
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}

.article-page p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.article-page ul,
.article-page ol {
  margin: 0 0 1.25rem 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-page li {
  margin-bottom: 0.45rem;
}

.article-page li ul,
.article-page li ol {
  margin-top: 0.45rem;
  margin-bottom: 0.45rem;
}

.article-page strong {
  color: var(--purple);
}

.article-page hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
}

.article-page pre,
.article-page .code-block {
  background: #1a202c;
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 1rem 0 1.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  max-width: 100%;
}

.article-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #edf2f7;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  overflow-wrap: anywhere;
}

.article-page pre code {
  background: none;
  padding: 0;
  color: inherit;
  overflow-wrap: normal;
}

.article-page .cta-line {
  color: var(--magenta);
  font-weight: 600;
  margin-top: 2rem;
}

.article-page .tagline-end {
  font-weight: 600;
  color: var(--purple);
}

.article-page a {
  color: var(--magenta);
  font-weight: 600;
}

.inner-cta {
  text-align: center;
}

.inner-cta .btn-on-dark,
.btn-on-dark {
  display: inline-flex;
  margin-top: 1.25rem;
  background: var(--magenta);
  color: var(--white);
  border: none;
}

.inner-cta .btn-on-dark:hover,
.btn-on-dark:hover {
  opacity: 0.92;
  color: var(--white);
}

body.inner-page .nav > li > a:hover,
body.inner-page .has-dropdown > button:hover {
  color: var(--magenta) !important;
  opacity: 1;
}

body.inner-page .nav > li > a[aria-current="page"] {
  color: var(--magenta) !important;
  opacity: 1;
}

.nav > li > a[aria-current="page"] {
  color: var(--white);
}

/* ——— Responsive ——— */

/* Desktop / large screens keep full layout (base styles above) */
@media (min-width: 1101px) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

  .mosaic-wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
  }

  .mosaic-cell,
  .mosaic-wide .mosaic-cell {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .section-title {
    font-size: 3.125rem;
  }

  .hero-logo {
    width: min(496px, 90vw);
  }

  .hero-tagline {
    font-size: 1.375rem;
  }
}

/* Tablet — keep horizontal desktop menu */
@media (max-width: 1100px) and (min-width: 641px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav {
    gap: 1.25rem;
  }

  .nav > li > a,
  .has-dropdown > button {
    font-size: 0.78rem;
  }

  .dropdown {
    min-width: 280px;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic-wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    gap: 1rem;
  }

  .step h3 {
    font-size: 0.95rem;
  }

  .step p {
    font-size: 0.85rem;
  }

  .step-icon {
    width: 84px;
    height: 84px;
  }

  .step-icon svg {
    width: 40px;
    height: 40px;
  }

  .section-title,
  .perfect-for .section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
  }

  .hero {
    padding: 8rem 1.5rem 6rem;
  }

  .hero-logo {
    width: min(400px, 70vw);
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .simplify,
  .contact {
    padding: 100px 48px;
  }

  .how-it-works,
  .get-started {
    padding: 100px 1.5rem;
  }

  .mosaic-cell,
  .mosaic-wide .mosaic-cell {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 1.75rem 1.25rem;
  }
}

/* Phone / small devices — hamburger only */
@media (max-width: 640px) {
  .desktop-nav {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    z-index: 101;
  }

  .site-header {
    justify-content: flex-end;
    padding: 0.85rem 1.15rem;
  }

  .hero {
    min-height: 100svh;
    padding: 5.5rem 1.25rem 3.5rem;
  }

  .hero-logo {
    width: min(260px, 72vw);
  }

  .hero-tagline {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .section-title {
    font-size: clamp(1.45rem, 6.5vw, 2.1rem);
    margin-bottom: 1.25rem;
  }

  .simplify,
  .how-it-works,
  .contact,
  .get-started {
    padding-top: clamp(3.25rem, 12vw, 5rem);
    padding-bottom: clamp(3.25rem, 12vw, 5rem);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .simplify p,
  .contact p,
  .get-started p,
  .step p {
    font-size: 1rem;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
    gap: 2rem 1.25rem;
  }

  .step h3 {
    font-size: 1.15rem;
  }

  .step-icon {
    width: 84px;
    height: 84px;
  }

  .step-icon svg {
    width: 40px;
    height: 40px;
  }

  .mosaic,
  .mosaic-wide {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic-cell,
  .mosaic-wide .mosaic-cell,
  .mosaic-cell.photo,
  .mosaic-wide .mosaic-cell.photo {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 1.5rem 1.1rem;
    gap: 1.25rem;
  }

  .mosaic-cell.photo {
    padding: 0;
  }

  .feature-block h3 {
    font-size: 1.05rem;
  }

  .feature-block p {
    font-size: 0.92rem;
  }

  .perfect-list {
    font-size: 1rem;
    text-align: center;
  }

  .perfect-for .section-title {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .simplify audio {
    width: 100%;
    max-width: 100%;
  }

  .btn {
    padding: 14px 22px;
  }

  .social {
    width: 48px;
    height: 48px;
  }

  .page-hero {
    min-height: 240px;
    padding: 5.5rem 1.25rem 2.5rem;
  }

  .article-panel {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .article-page {
    padding: 0;
  }

  .article-page p,
  .article-page ul,
  .article-page ol {
    font-size: 1rem;
  }

  .article-page ul,
  .article-page ol {
    margin-left: 1.1rem;
  }

  .mobile-nav {
    padding: 4.5rem 1.25rem 2rem;
  }

  .mobile-nav a {
    padding: 0.9rem 0;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4.75rem 1rem 2.75rem;
  }

  .hero-logo {
    width: min(220px, 78vw);
  }

  .hero-tagline {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: clamp(1.3rem, 7.5vw, 1.75rem);
    letter-spacing: 0.01em;
  }

  .simplify,
  .how-it-works,
  .contact,
  .get-started {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mosaic-cell {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 1.25rem 0.9rem;
  }

  .mosaic-cell.photo {
    padding: 0;
  }

  .feature-block h3 {
    font-size: 0.98rem;
  }

  .article-page {
    padding: 1.5rem 1rem 3rem;
  }

  .article-page pre,
  .article-page .code-block {
    padding: 0.85rem 0.9rem;
    font-size: 0.75rem;
    border-radius: 4px;
  }
}

@media (hover: none) {
  .btn:hover,
  .step-icon:hover,
  .social:hover {
    transform: none;
  }
}
