*,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      ::selection {
        background: var(--c-sky-pale);
        color: var(--text);
      }
      :root {
        /* Primary brand — pink (issue #1). Was periwinkle #6457e8. */
        --brand: #c0456a;
        --brand-dark: #a03254;
        --brand-deep: #4a1626;
        --brand-light: #dd8ca2;
        --brand-pale: #f8e8ed;
        --brand-border: #eecdd6;
        --rose: #e8856a;
        --rose-dark: #c45e45;
        --rose-light: #fbf0ed;
        --rose-border: #f5c5b8;
        --sage: #3e8e5c;
        --sage-light: #e1f0e7;
        --sage-mid: #7fbe97;
        --text: #101622;
        --text-mid: #3c4654;
        --text-muted: #66707e;
        --surface: #f6f8fa;
        --surface-alt: #edf1f5;
        --border: rgba(20, 30, 50, 0.1);
        --border-strong: rgba(20, 30, 50, 0.18);
        --white: #ffffff;
        --cream: #f9f5ec;
        --star: #f0a830;
        --brand-pale-2: #fbeef2;
        /* mood-board accent palette — pastel card backs / future portal roots */
        --c-violet: #5b54bf;
        --c-violet-pale: #e7e4f7;
        --c-apricot: #cf7345;
        --c-apricot-pale: #fbe6d6;
        --c-clay: #b4564c;
        --c-clay-pale: #f6e3df;
        --c-gold: #a8893a;
        --c-gold-pale: #f2e8cf;
        /* brand pair (issue #1): periwinkle is the secondary accent, sky a soft touch */
        --c-periwinkle: #6457e8;
        --c-periwinkle-pale: #edecfb;
        --c-sky: #6fa8dc;
        --c-sky-pale: #e8f1fb;
        --radius: 10px;
        --radius-lg: 18px;
        --maxw: 1200px;
        --edge: max(52px, calc((100vw - 1200px) / 2));
        --font-display: "DM Serif Display", Georgia, serif;
        --font-body: "Mulish", system-ui, sans-serif;
        /* brand mark + hero header */
        --font-brand: "DM Serif Display", Georgia, serif;

        /* Type scale — 23 ad-hoc sizes consolidated to 8 steps */
        --font-size-xs: 12px;
        --font-size-sm: 14px;
        --font-size-base: 16px;
        --font-size-lg: 18px;
        --font-size-xl: 20px;
        --font-size-2xl: 24px;
        --font-size-3xl: 30px;
        --font-size-4xl: 36px;

        /* Spacing scale — 38 ad-hoc values consolidated to 8 steps */
        --space-1: 4px;
        --space-2: 8px;
        --space-3: 12px;
        --space-4: 16px;
        --space-5: 24px;
        --space-6: 32px;
        --space-7: 52px;
        --space-8: 80px;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        font-family: var(--font-body);
        font-weight: 300;
        color: var(--text);
        background: var(--white);
        -webkit-font-smoothing: antialiased;
        font-size: var(--font-size-base);
        line-height: 1.6;
      }

      /* LAYOUT CONTAINER */
      .container {
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
      }

      /* HEADING TREATMENT — DM Serif Display (single 400 weight), accents in warm italic */
      h1,
      h2,
      h3,
      h4 {
        font-weight: 600;
        letter-spacing: -0.015em;
      }
      .hero h1 {
        font-weight: 400;
        letter-spacing: -0.02em;
      }
      .hero h1 em,
      .section-header h2 em,
      .checklist-content-panel h2 em,
      .img-split-content h2 em,
      .cta-band h2 em {
        font-style: italic;
        color: var(--brand);
      }


      /* NAV — floating island, larger at the top of the page, contracts on scroll */
      nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 18px;
        left: 0;
        right: 0;
        margin: 0 auto;
        z-index: 100;
        height: 78px;
        padding: 0 var(--space-6);
        max-width: 1260px;
        width: calc(100% - 40px);
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: 0 12px 34px rgba(20, 30, 50, 0.13);
        transition:
          top 0.28s ease,
          height 0.28s ease,
          max-width 0.32s ease,
          width 0.32s ease,
          padding 0.28s ease,
          box-shadow 0.28s ease,
          background 0.28s ease;
      }
      nav.scrolled {
        top: 14px;
        height: 60px;
        max-width: 1180px;
        width: calc(100% - 32px);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 28px rgba(20, 30, 50, 0.1);
      }
      .logo {
        display: inline-flex;
        align-items: center;
        /* word space between "Perfect Day" and "Plan" (flex eats text whitespace) */
        gap: 0.3em;
        font-family: var(--font-brand);
        font-size: var(--font-size-2xl);
        font-weight: 400;
        line-height: 1;
        white-space: nowrap;
        color: var(--text);
        text-decoration: none;
        transition: font-size 0.28s ease;
      }
      nav.scrolled .logo {
        font-size: var(--font-size-xl);
      }
      /* currency switcher — pill <select> in the nav bar + overlay */
      .currency-switch select {
        appearance: none;
        -webkit-appearance: none;
        font-family: var(--font-body);
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--text-mid);
        background:
          url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2366707e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
          no-repeat right 12px center / 10px;
        border: 1px solid var(--border-strong);
        border-radius: 999px;
        padding: var(--space-2) calc(var(--space-4) + 12px) var(--space-2)
          var(--space-4);
        line-height: 1;
        cursor: pointer;
        transition: all 0.18s;
      }
      .currency-switch select:hover {
        background-color: var(--surface);
        color: var(--text);
      }
      .currency-switch select:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px var(--brand-pale);
      }
      .nav-overlay-currency select {
        font-size: var(--font-size-base);
        padding: var(--space-3) calc(var(--space-5) + 12px) var(--space-3)
          var(--space-5);
      }
      /* mobile-only login icon in the nav bar (full Log in/Book live in the drawer) */
      .nav-login-icon {
        display: none;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        color: var(--text);
        font-size: 18px;
        cursor: pointer;
      }
      .nav-links {
        display: flex;
        gap: var(--space-6);
        list-style: none;
        font-size: var(--font-size-sm);
        color: var(--text-mid);
      }
      .nav-links li {
        cursor: pointer;
        transition: color 0.15s;
      }
      .nav-links li:hover {
        color: var(--brand);
      }
      .nav-links a {
        color: inherit;
        text-decoration: none;
      }
      .nav-actions {
        display: flex;
        gap: var(--space-3);
        align-items: center;
      }

      /* hamburger — only shown on mobile (see 960px breakpoint) */
      .nav-toggle {
        display: none;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0 10px;
        border: none;
        background: transparent;
        cursor: pointer;
      }
      .nav-toggle-bar {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: var(--text);
        transition:
          transform 0.25s ease,
          opacity 0.2s ease;
      }
      .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
      }
      .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
      }
      .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
      }

      /* full-screen overlay menu */
      .nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 90;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-6);
        padding: var(--space-8) var(--space-5);
        background: var(--white);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition:
          opacity 0.28s ease,
          transform 0.28s ease,
          visibility 0.28s;
      }
      .nav-overlay.open {
        opacity: 1;
        visibility: visible;
        transform: none;
      }
      /* brand mark at the top of the drawer */
      .nav-overlay-logo {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--space-2);
      }
      .nav-overlay-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-5);
        text-align: center;
      }
      .nav-overlay-links a,
      .nav-overlay-links li {
        font-family: var(--font-display);
        font-size: var(--font-size-2xl);
        color: var(--text);
        text-decoration: none;
        cursor: pointer;
      }
      .nav-overlay-actions {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        width: 100%;
        max-width: 280px;
      }
      .nav-overlay-actions .btn {
        justify-content: center;
        width: 100%;
      }
      .nav-overlay-social {
        margin-top: var(--space-2);
      }
      body.nav-open {
        overflow: hidden;
      }

      /* BUTTONS */
      .btn {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        border-radius: 999px;
        font-family: var(--font-body);
        font-weight: 500;
        cursor: pointer;
        transition: all 0.18s;
        text-decoration: none;
        white-space: nowrap;
        border: none;
        line-height: 1;
      }
      .btn-sm {
        font-size: var(--font-size-sm);
        padding: var(--space-2) var(--space-4);
      }
      .btn-md {
        font-size: var(--font-size-base);
        padding: var(--space-3) var(--space-5);
      }
      .btn-lg {
        font-size: var(--font-size-base);
        padding: var(--space-4) var(--space-6);
      }
      .btn-ghost {
        background: transparent;
        border: 1px solid var(--border-strong) !important;
        color: var(--text-mid);
      }
      .btn-ghost:hover {
        background: var(--surface);
        color: var(--text);
      }
      .btn-brand {
        background: var(--brand);
        border: 1px solid var(--brand) !important;
        color: var(--white);
        box-shadow: 0 1px 2px rgba(20, 30, 50, 0.1);
      }
      .btn-brand:hover {
        background: var(--brand-dark);
      }
      .btn-outline {
        background: transparent;
        border: 1px solid var(--border-strong) !important;
        color: var(--text);
      }
      .btn-outline:hover {
        background: var(--surface);
      }
      .btn-outline-brand {
        background: transparent;
        border: 1.5px solid var(--brand) !important;
        color: var(--brand);
      }
      .btn-outline-brand:hover {
        background: var(--brand-pale);
      }
      .btn-glass {
        background: rgba(255, 255, 255, 0.13);
        border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
        color: var(--white);
        backdrop-filter: blur(6px);
      }
      .btn-glass:hover {
        background: rgba(255, 255, 255, 0.22);
      }

      /* HERO */
      .hero {
        position: relative;
        height: 100vh;
        min-height: 700px;
        max-height: 960px;
        display: flex;
        align-items: center;
        overflow: hidden;
      }
      .hero-bg {
        position: absolute;
        inset: 0;
        background-image: url('../img/hero-bg.jpg');
        background-size: cover;
        background-position: center 58%;
        z-index: 0;
      }
      .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
          linear-gradient(
            105deg,
            rgba(14, 10, 6, 0.9) 0%,
            rgba(14, 10, 6, 0.75) 28%,
            rgba(14, 10, 6, 0.35) 55%,
            rgba(14, 10, 6, 0.08) 100%
          ),
          linear-gradient(
            to top,
            rgba(14, 10, 6, 0.55) 0%,
            rgba(14, 10, 6, 0) 32%
          );
      }
      .hero-content {
        position: relative;
        z-index: 1;
        padding: 0;
        margin-left: var(--edge);
        margin-right: var(--space-7);
        max-width: 640px;
      }
      .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-xs);
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.92);
        /* soft light-blue touch (issue #1) */
        background: rgba(111, 168, 220, 0.26);
        border: 1px solid rgba(111, 168, 220, 0.5);
        padding: var(--space-1) var(--space-4);
        border-radius: 100px;
        margin-bottom: var(--space-5);
        backdrop-filter: blur(8px);
      }
      .hero-eyebrow svg {
        width: 13px;
        height: 13px;
        fill: var(--c-sky);
        flex-shrink: 0;
      }
      .hero h1 {
        font-family: var(--font-brand);
        font-size: calc(var(--font-size-4xl) * 1.5);
        line-height: 1.12;
        color: var(--white);
        margin-bottom: var(--space-5);
        font-weight: 400;
        text-shadow:
          0 2px 24px rgba(0, 0, 0, 0.45),
          0 1px 4px rgba(0, 0, 0, 0.35);
      }
      .hero h1 em {
        color: var(--brand-light);
        font-style: normal;
      }
      .hero-sub {
        font-size: var(--font-size-lg);
        color: rgba(255, 255, 255, 0.82);
        max-width: 460px;
        margin-bottom: var(--space-6);
        line-height: 1.68;
        font-weight: 400;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
      }
      .hero-ctas {
        display: flex;
        gap: var(--space-3);
        flex-wrap: wrap;
        margin-bottom: var(--space-6);
      }
      .hero-trust {
        display: flex;
        gap: var(--space-5);
        flex-wrap: wrap;
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, 0.6);
      }
      .hero-trust-item {
        display: flex;
        align-items: center;
        gap: var(--space-2);
      }
      .hero-trust-item svg {
        width: 14px;
        height: 14px;
        fill: var(--sage-mid);
        flex-shrink: 0;
      }

      /* STATS STRIP — light palette */
      .stats-strip {
        background: var(--white);
        padding: var(--space-7) var(--space-7);
      }
      .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-5);
        max-width: 1200px;
        margin: 0 auto;
      }
      .stat-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-6) var(--space-5);
        text-align: center;
        box-shadow: 0 2px 8px rgba(20, 30, 50, 0.06);
      }
      .stat-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto var(--space-4);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--brand-pale);
        color: var(--brand);
        font-size: 20px;
      }
      .stat-number {
        font-family: var(--font-display);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        letter-spacing: -0.02em;
        color: var(--brand-dark);
        line-height: 1;
        margin-bottom: var(--space-2);
      }
      .stat-label {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.45;
      }

      /* LOGO CLOUD — social proof under the stats */
      .logo-cloud {
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: var(--space-6) var(--space-7) var(--space-7);
        text-align: center;
      }
      .logo-cloud-caption {
        font-size: var(--font-size-xs);
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
        font-weight: 500;
        margin-bottom: var(--space-5);
      }
      /* marquee — seamless scroll of two identical logo copies, faded at the edges */
      .logo-marquee {
        position: relative;
        overflow: hidden;
        max-width: var(--maxw);
        margin: 0 auto;
        -webkit-mask-image: linear-gradient(
          to right,
          transparent,
          #000 12%,
          #000 88%,
          transparent
        );
        mask-image: linear-gradient(
          to right,
          transparent,
          #000 12%,
          #000 88%,
          transparent
        );
      }
      .logo-track {
        display: flex;
        align-items: center;
        width: max-content;
        animation: logo-marquee var(--marquee-duration, 34s) linear infinite;
      }
      .logo-set {
        display: flex;
        align-items: center;
        flex-shrink: 0;
      }
      .logo-marquee:hover .logo-track {
        animation-play-state: paused;
      }
      .logo-track .logo-item {
        margin-right: var(--space-7);
      }
      /* shift = exactly one set width (set in JS); falls back to -50% */
      @keyframes logo-marquee {
        to {
          transform: translateX(var(--marquee-shift, -50%));
        }
      }
      @media (prefers-reduced-motion: reduce) {
        .logo-track {
          animation: none;
        }
      }
      .logo-item {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        color: var(--text-mid);
        opacity: 0.55;
        font-size: var(--font-size-lg);
        white-space: nowrap;
        transition: opacity 0.2s;
      }
      .logo-item:hover {
        opacity: 1;
      }
      .logo-item svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
      .wm-serif {
        font-family: var(--font-display);
        font-weight: 400;
      }
      .wm-italic {
        font-style: italic;
      }
      .wm-caps {
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-weight: 600;
        font-size: var(--font-size-base);
      }
      .wm-bold {
        font-weight: 700;
        letter-spacing: -0.01em;
      }
      .wm-medium {
        font-weight: 500;
      }

      /* TRUST BAR */
      .trust-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-6);
        flex-wrap: wrap;
        padding: var(--space-4) var(--space-7);
        background: var(--surface-alt);
        border-bottom: 1px solid var(--border);
        font-size: var(--font-size-sm);
        color: var(--text-muted);
      }
      .trust-bar-item {
        display: flex;
        align-items: center;
        gap: var(--space-2);
      }
      .trust-bar-item svg {
        width: 15px;
        height: 15px;
        stroke: var(--brand);
        fill: none;
        flex-shrink: 0;
      }

      /* SECTIONS */
      section {
        padding: var(--space-8) var(--space-7);
        border-top: 1px solid var(--border);
      }
      section > * {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
      }
      /* full-bleed split sections: graphic/photo reaches the edge, content stays contained */
      section > .img-split,
      section > .checklist-split {
        max-width: none;
        margin: 0;
      }
      /* Section background rhythm: plain = white, .alt = cream (video, testimonials, CTA) */
      section.alt {
        background: var(--cream);
      }
      .section-label {
        font-size: var(--font-size-xs);
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--brand);
        margin-bottom: var(--space-3);
      }
      .section-header {
        margin-bottom: var(--space-7);
      }
      .section-header.center {
        text-align: center;
      }
      .section-header h2 {
        font-family: var(--font-display);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        letter-spacing: -0.015em;
        line-height: 1.14;
        margin-bottom: var(--space-3);
      }
      .section-header p {
        font-size: var(--font-size-lg);
        color: var(--text-muted);
        max-width: 520px;
        line-height: 1.65;
        font-weight: 400;
      }
      .section-header.center p {
        margin: 0 auto;
      }

      /* PORTAL CARDS — no dot texture, larger SVG */
      .portal-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-5);
      }
      .portal-card {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        transition:
          box-shadow 0.2s,
          border-color 0.2s;
        display: flex;
        flex-direction: column;
      }
      .portal-card:hover {
        border-color: var(--brand-border);
        box-shadow: 0 4px 16px rgba(20, 30, 50, 0.08);
      }
      .portal-card-graphic {
        width: 100%;
        padding: var(--space-5) var(--space-5);
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--brand-pale);
        min-height: 200px;
      }
      .portal-card-body {
        padding: var(--space-5);
        flex: 1;
        display: flex;
        flex-direction: column;
      }
      .portal-card h3 {
        font-size: var(--font-size-lg);
        font-weight: 500;
        margin-bottom: var(--space-2);
        color: var(--text);
      }
      .portal-card-body p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.65;
        margin-bottom: var(--space-4);
      }
      .feat-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        margin-top: auto;
      }
      .feat-list li {
        display: flex;
        align-items: flex-start;
        gap: var(--space-2);
        font-size: var(--font-size-sm);
        color: var(--text-muted);
      }
      .feat-list li svg {
        width: 14px;
        height: 14px;
        stroke: var(--sage);
        fill: none;
        margin-top: var(--space-1);
        flex-shrink: 0;
      }

      /* CHECKLIST SECTION — side-by-side, SVG fills panel */
      .checklist-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 520px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
      }
      .checklist-graphic-panel {
        background: var(--brand-pale);
        border-right: 1px solid var(--brand-border);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-6) var(--space-6);
      }
      .checklist-content-panel {
        padding: var(--space-8) var(--space-7);
        padding-right: var(--edge);
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: var(--white);
      }
      .checklist-content-panel h2 {
        font-family: var(--font-display);
        font-size: var(--font-size-2xl);
        font-weight: 400;
        letter-spacing: -0.015em;
        line-height: 1.16;
        margin-bottom: var(--space-4);
      }
      .checklist-content-panel h2 em {
        color: var(--brand);
        font-style: normal;
      }
      .checklist-content-panel > p {
        font-size: var(--font-size-base);
        color: var(--text-muted);
        line-height: 1.7;
        font-weight: 400;
        margin-bottom: var(--space-6);
        max-width: 460px;
      }
      .checklist-steps {
        display: flex;
        flex-direction: column;
        gap: 0;
      }
      .checklist-step {
        display: flex;
        gap: var(--space-4);
        align-items: flex-start;
        padding: var(--space-4) 0;
        border-bottom: 1px solid var(--border);
      }
      .checklist-step:last-child {
        border-bottom: none;
      }
      .step-num-circle {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--brand-pale);
        border: 1.5px solid var(--brand-border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--brand);
        flex-shrink: 0;
        margin-top: var(--space-1);
      }
      .checklist-step h4 {
        font-size: var(--font-size-base);
        font-weight: 500;
        margin-bottom: var(--space-1);
      }
      .checklist-step p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: var(--space-2);
      }
      .step-tag {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--brand-dark);
        width: fit-content;
      }
      .step-tag::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
        flex-shrink: 0;
      }
      .step-tag.sage {
        color: var(--sage);
      }

      /* WHY PDP — light, feature split */
      .why-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-7);
        align-items: center;
      }
      .why-feature-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        margin-bottom: var(--space-6);
      }
      .why-feature-list li {
        display: flex;
        align-items: flex-start;
        gap: var(--space-3);
        font-size: var(--font-size-base);
        color: var(--text-mid);
      }
      .why-feature-list li svg {
        width: 16px;
        height: 16px;
        stroke: var(--sage);
        fill: none;
        margin-top: var(--space-1);
        flex-shrink: 0;
      }
      .why-feature-list li strong {
        font-weight: 500;
        color: var(--text);
      }
      .why-cards {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
      }
      .why-card {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-5) var(--space-5);
        display: flex;
        align-items: flex-start;
        gap: var(--space-4);
      }
      .why-card svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        margin-top: var(--space-1);
        stroke: var(--brand);
        fill: none;
      }
      .why-card h4 {
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--text);
        margin-bottom: var(--space-1);
      }
      .why-card p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.55;
      }

      /* VIDEO */
      .video-wrapper {
        max-width: 720px;
        margin: 0 auto;
        background: var(--surface-alt);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        aspect-ratio: 16/9;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-4);
        position: relative;
        overflow: hidden;
      }
      .video-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(
          -45deg,
          transparent,
          transparent 20px,
          rgba(124, 111, 240, 0.03) 20px,
          rgba(124, 111, 240, 0.03) 21px
        );
      }
      .play-btn {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--brand), var(--brand-dark));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        transition: transform 0.15s;
        box-shadow: 0 4px 18px rgba(20, 30, 50, 0.22);
      }
      .play-btn:hover {
        transform: scale(1.06);
      }
      .play-btn svg {
        width: 28px;
        height: 28px;
        fill: var(--white);
        margin-left: var(--space-1);
      }
      .video-caption {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        position: relative;
      }
      .video-tag {
        font-size: var(--font-size-xs);
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 100px;
        padding: var(--space-1) var(--space-3);
        color: var(--text-muted);
        position: relative;
      }

      /* TRUST BAR — reassurance strip between the video section and the portals */
      .trust-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-6);
        flex-wrap: wrap;
        padding: var(--space-5) var(--space-7);
        background: var(--surface-alt);
        border-top: 1px solid var(--border);
        font-size: var(--font-size-base);
        color: var(--text-mid);
      }
      .trust-bar-item {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        font-weight: 500;
      }
      /* round chip behind each icon — small sibling of the stats-card .stat-icon */
      .trust-bar-icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--brand-pale);
        flex-shrink: 0;
      }
      .trust-bar-item svg {
        width: 17px;
        height: 17px;
        stroke: var(--brand);
        fill: none;
        flex-shrink: 0;
      }

      /* IMAGE SPLIT */
      .img-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 520px;
      }
      .img-split.rev {
        direction: rtl;
      }
      .img-split.rev > * {
        direction: ltr;
      }
      .img-split-photo {
        background-size: cover;
        background-position: center;
        position: relative;
      }
      .img-split-caption {
        position: absolute;
        bottom: 14px;
        left: 14px;
        font-size: var(--font-size-xs);
        color: rgba(255, 255, 255, 0.75);
        background: rgba(0, 0, 0, 0.38);
        padding: var(--space-1) var(--space-2);
        border-radius: 4px;
        backdrop-filter: blur(4px);
      }
      .img-split-content {
        padding: var(--space-8) var(--space-7) var(--space-8) var(--space-7);
        padding-right: var(--edge);
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .img-split.rev .img-split-content {
        padding-left: var(--edge);
        padding-right: var(--space-7);
      }
      .img-split-content h2 {
        font-family: var(--font-display);
        font-size: var(--font-size-2xl);
        font-weight: 400;
        letter-spacing: -0.015em;
        line-height: 1.18;
        margin-bottom: var(--space-4);
      }
      .img-split-content h2 em {
        color: var(--brand);
        font-style: normal;
      }
      .img-split-content > p {
        font-size: var(--font-size-base);
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: var(--space-5);
        font-weight: 400;
      }

      /* TESTIMONIALS */
      /* testimonials swiper — touch scroll-snap carousel */
      .tcard-swiper .tcard-track {
        display: flex;
        align-items: stretch;
        gap: var(--space-5);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: var(--space-2);
      }
      .tcard-swiper .tcard-track::-webkit-scrollbar {
        display: none;
      }
      .tcard-swiper .tcard {
        flex: 0 0 min(380px, 84%);
        scroll-snap-align: start;
      }
      .tcard-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-4);
        margin-top: var(--space-6);
      }
      .tcard-dots {
        display: flex;
        align-items: center;
        gap: var(--space-2);
      }
      .tcard-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: var(--border-strong);
        cursor: pointer;
        transition:
          background 0.18s ease,
          transform 0.18s ease;
      }
      .tcard-dot.is-active {
        background: var(--brand);
        transform: scale(1.35);
      }
      /* draggable swipers (mouse): grab cursor + no text selection while dragging */
      .tcard-track,
      .resources-track {
        cursor: grab;
        -webkit-user-select: none;
        user-select: none;
      }
      .tcard-track.is-dragging,
      .resources-track.is-dragging {
        cursor: grabbing;
      }
      .tcard {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-6);
      }
      .tcard-stars {
        display: flex;
        gap: var(--space-1);
        margin-bottom: var(--space-4);
        color: var(--star);
      }
      .tcard-stars svg {
        width: 15px;
        height: 15px;
        fill: var(--star);
      }
      .tcard-quote {
        font-family: var(--font-display);
        font-size: var(--font-size-base);
        color: var(--text-mid);
        line-height: 1.62;
        margin-bottom: var(--space-5);
        font-style: italic;
      }
      .tcard-attr {
        display: flex;
        align-items: center;
        gap: var(--space-3);
      }
      .tcard-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        flex-shrink: 0;
        overflow: hidden;
      }
      .tcard-name {
        font-size: var(--font-size-sm);
        text-align: left;
        font-weight: 500;
      }
      .tcard-role {
        font-size: var(--font-size-xs);
        color: var(--text-muted);
      }

      /* IMG NEEDED */
      .img-needed {
        background: repeating-linear-gradient(
          45deg,
          var(--brand-pale),
          var(--brand-pale) 10px,
          var(--white) 10px,
          var(--white) 20px
        );
        border: 2px dashed var(--brand-border);
        border-radius: var(--radius-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-3);
        padding: var(--space-7) var(--space-6);
        text-align: center;
      }
      .img-needed svg {
        width: 36px;
        height: 36px;
        stroke: var(--brand-border);
        fill: none;
      }
      .img-needed h4 {
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--brand);
      }
      .img-needed p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        max-width: 240px;
        line-height: 1.5;
      }

      /* CTA BAND */
      .cta-band {
        background: var(--cream);
        border-top: 1px solid var(--border);
        padding: var(--space-8) var(--space-7);
        text-align: center;
      }
      .cta-band h2 {
        font-family: var(--font-display);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        letter-spacing: -0.02em;
        color: var(--brand-deep);
        margin-bottom: var(--space-4);
      }
      .cta-band p {
        font-size: var(--font-size-lg);
        color: var(--brand-dark);
        max-width: 440px;
        margin: 0 auto 32px;
        font-weight: 400;
      }
      .cta-btns {
        display: flex;
        gap: var(--space-3);
        justify-content: center;
        flex-wrap: wrap;
      }

      footer {
        padding: var(--space-6) var(--space-7);
        border-top: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: var(--space-4);
        font-size: var(--font-size-sm);
        color: var(--text-muted);
      }
      .footer-links {
        display: flex;
        gap: var(--space-5);
      }
      .footer-links a {
        color: var(--text-muted);
        text-decoration: none;
      }
      .footer-links a:hover {
        color: var(--brand);
      }

      /* PROBLEM — the old way, visual cards */
      .problem-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
      }
      .problem-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        display: flex;
        flex-direction: column;
      }
      .problem-graphic {
        height: 200px;
        background: var(--surface-alt);
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-6);
        /* desaturated, "the old way" feel */
        filter: grayscale(0.35);
      }
      .problem-graphic svg {
        width: 100%;
        height: 100%;
      }
      .problem-card-body {
        padding: var(--space-5) var(--space-5) var(--space-6);
      }
      .problem-card h3 {
        font-size: var(--font-size-lg);
        font-weight: 600;
        margin-bottom: var(--space-2);
        color: var(--text);
      }
      .problem-card p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.6;
      }

      /* SOLUTION — stacked feature cards (content + product screenshot) */
      .feature-stack {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
      }
      .feature-card {
        display: grid;
        grid-template-columns: 0.82fr 1.18fr;
        align-items: center;
        gap: var(--space-7);
        border-radius: var(--radius-lg);
        overflow: hidden;
        position: relative;
        min-height: 360px;
        padding-left: var(--space-8);
      }
      .feature-content {
        padding: var(--space-7) 0;
        max-width: 440px;
      }
      .feature-eyebrow {
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: var(--space-3);
      }
      .feature-content h3 {
        font-family: var(--font-display);
        font-weight: 400;
        font-size: var(--font-size-3xl);
        line-height: 1.12;
        letter-spacing: -0.015em;
        margin-bottom: var(--space-4);
      }
      .feature-content p {
        font-size: var(--font-size-base);
        line-height: 1.65;
        margin-bottom: var(--space-5);
      }
      .feature-card .btn {
        border-radius: 999px;
        background: transparent;
        border: 1.5px solid currentColor;
        padding: 12px 26px;
      }
      /* media bleeds off the right edge of the card */
      .feature-media {
        align-self: stretch;
        display: flex;
        align-items: center;
        padding: var(--space-6) 0;
      }
      .feature-media .app-window {
        width: 120%;
      }
      /* each card carries its own --root accent colour (drives eyebrow, button + mock) */
      .feature-card .feature-eyebrow {
        color: var(--root);
      }
      .feature-card .feature-content p {
        color: var(--text-mid);
      }
      .feature-card .btn {
        color: var(--root);
      }
      .feature-card .btn:hover {
        background: var(--root);
        color: #fff;
        border-color: var(--root);
      }
      .feature-card .app-v {
        color: var(--root);
      }
      .feature-card .app-bars i.hi {
        background: var(--root);
      }
      .feature-card .app-spark polyline {
        stroke: var(--root);
      }
      /* four pastel card colours, each a future portal root */
      .feature-card.is-violet {
        --root: var(--c-violet);
        background: linear-gradient(155deg, var(--c-violet-pale) 0%, #fbfaff 100%);
      }
      .feature-card.is-apricot {
        --root: var(--c-apricot);
        background: linear-gradient(155deg, var(--c-apricot-pale) 0%, #fefaf6 100%);
      }
      .feature-card.is-clay {
        --root: var(--c-clay);
        background: linear-gradient(155deg, var(--c-clay-pale) 0%, #fdf8f6 100%);
      }
      .feature-card.is-gold {
        --root: var(--c-gold);
        background: linear-gradient(155deg, var(--c-gold-pale) 0%, #fdfbf3 100%);
      }
      /* mock app-window placeholder — swap for a real gif/screenshot */
      .app-window {
        background: #fff;
        border-radius: var(--radius-lg);
        box-shadow: 0 24px 60px rgba(20, 30, 50, 0.22);
        border: 1px solid rgba(20, 30, 50, 0.08);
        overflow: hidden;
        min-width: 0;
      }
      .app-bar {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 12px var(--space-4);
        border-bottom: 1px solid var(--border);
        background: var(--surface);
      }
      .app-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--border-strong);
      }
      .app-title {
        margin-left: var(--space-3);
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--text-mid);
      }
      .app-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
        padding: var(--space-5);
      }
      .app-tile {
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-4);
      }
      .app-k {
        font-size: var(--font-size-xs);
        color: var(--text-muted);
        margin-bottom: var(--space-2);
      }
      .app-v {
        font-family: var(--font-display);
        font-size: var(--font-size-2xl);
        color: var(--brand-dark);
        margin-bottom: var(--space-2);
      }
      .app-pill {
        display: inline-block;
        font-size: var(--font-size-xs);
        font-weight: 600;
        color: var(--sage);
        background: var(--sage-light);
        padding: 3px 10px;
        border-radius: 999px;
      }
      .app-bars {
        display: flex;
        align-items: flex-end;
        gap: 6px;
        height: 56px;
      }
      .app-bars i {
        flex: 1;
        background: var(--brand-light);
        border-radius: 3px 3px 0 0;
      }
      .app-bars i.hi {
        background: var(--brand);
      }
      .app-rows {
        display: flex;
        flex-direction: column;
        gap: 7px;
        padding-top: var(--space-1);
      }
      .app-rows i {
        height: 9px;
        border-radius: 3px;
        background: var(--surface-alt);
      }
      .app-rows i:nth-child(1) {
        width: 92%;
      }
      .app-rows i:nth-child(2) {
        width: 68%;
      }
      .app-rows i:nth-child(3) {
        width: 80%;
      }
      .app-rows i:nth-child(4) {
        width: 55%;
      }
      .app-spark {
        width: 100%;
        height: 48px;
      }
      .app-spark polyline {
        fill: none;
        stroke: var(--brand);
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      /* MID CTA — slim brand strip */
      .cta-mid {
        background: var(--brand-deep);
        color: var(--white);
        padding: var(--space-6) var(--space-7);
      }
      .cta-mid .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-5);
        flex-wrap: wrap;
      }
      .cta-mid h3 {
        font-size: var(--font-size-xl);
        font-weight: 600;
        letter-spacing: -0.01em;
        color: var(--white);
        margin: 0;
      }
      .cta-mid p {
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, 0.72);
        margin-top: var(--space-1);
      }

      /* PRICING */
      .pricing-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-4);
        margin-bottom: var(--space-7);
      }
      .pt-label {
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--text-muted);
        cursor: pointer;
        transition: color 0.15s;
        user-select: none;
      }
      .pt-label.active {
        color: var(--text);
      }
      .pt-switch {
        width: 48px;
        height: 26px;
        border-radius: 100px;
        background: var(--brand);
        border: none;
        position: relative;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
      }
      .pt-knob {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--white);
        transition: transform 0.2s ease;
        box-shadow: 0 1px 3px rgba(20, 30, 50, 0.25);
      }
      .pt-switch.yearly .pt-knob {
        transform: translateX(22px);
      }
      .pt-save {
        font-size: var(--font-size-xs);
        font-weight: 600;
        color: var(--sage);
        background: var(--sage-light);
        padding: var(--space-1) var(--space-2);
        border-radius: 100px;
      }
      .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
        align-items: stretch;
      }
      .price-card {
        background: var(--white);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius);
        padding: var(--space-6) var(--space-6);
        display: flex;
        flex-direction: column;
      }
      .price-card.featured {
        border: 2px solid var(--brand);
        box-shadow: 0 10px 36px rgba(100, 87, 232, 0.13);
      }
      .price-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: var(--space-4);
      }
      .price-tier {
        font-size: var(--font-size-base);
        font-weight: 600;
        color: var(--text);
      }
      .price-badge {
        background: var(--brand-pale);
        color: var(--brand-dark);
        border: 1px solid var(--brand-border);
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: var(--space-1) var(--space-3);
        border-radius: 100px;
      }
      .price-amount {
        display: flex;
        align-items: baseline;
        gap: var(--space-1);
        margin-bottom: var(--space-1);
      }
      .price-amount .num {
        font-size: var(--font-size-3xl);
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--text);
        line-height: 1;
      }
      .price-amount .num-old {
        font-size: var(--font-size-lg);
        font-weight: 500;
        color: var(--text-muted);
        text-decoration: line-through;
        align-self: center;
      }
      .price-amount .num-old:empty {
        display: none;
      }
      .price-amount .per {
        font-size: var(--font-size-base);
        color: var(--text-muted);
      }
      .price-sub {
        font-size: var(--font-size-xs);
        font-weight: 500;
        color: var(--text-muted);
        margin-bottom: var(--space-4);
      }
      .price-blurb {
        font-size: var(--font-size-sm);
        color: var(--text-mid);
        line-height: 1.6;
        margin-bottom: var(--space-5);
        min-height: 44px;
      }
      .price-card .btn {
        justify-content: center;
        width: 100%;
        margin-bottom: var(--space-5);
      }
      .price-included {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--text);
        margin-bottom: var(--space-4);
        padding-top: var(--space-5);
        border-top: 1px solid var(--border);
      }
      .price-card .feat-list {
        margin-top: 0;
      }
      .price-card .feat-list li {
        font-size: var(--font-size-sm);
        color: var(--text-mid);
      }

      /* RESOURCES — article cards */
      .resources-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: var(--space-5);
        margin-bottom: var(--space-6);
        padding: 0 var(--edge);
        flex-wrap: wrap;
      }
      /* full-bleed carousel: head aligns to the container, the track scrolls off the right edge */
      section.resources-carousel {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
      }
      section.resources-carousel > * {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
      }
      .section-count {
        color: var(--text-muted);
        font-weight: 500;
      }
      .carousel-controls {
        display: flex;
        gap: var(--space-3);
        flex-shrink: 0;
      }
      .carousel-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--border-strong);
        background: var(--white);
        color: var(--text);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.18s, color 0.18s, border-color 0.18s, opacity 0.18s;
      }
      .carousel-btn:hover:not(:disabled) {
        background: var(--brand);
        border-color: var(--brand);
        color: var(--white);
      }
      .carousel-btn:disabled {
        opacity: 0.35;
        cursor: default;
      }
      .carousel-btn svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
      }
      .resources-track {
        display: flex;
        gap: var(--space-5);
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding: var(--space-2) var(--edge) var(--space-3);
        scroll-padding-left: var(--edge);
        scrollbar-width: none;
      }
      .resources-track::-webkit-scrollbar {
        display: none;
      }
      .resources-track .resource-card {
        flex: 0 0 340px;
        scroll-snap-align: start;
      }
      .resource-card {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: var(--space-5);
        min-height: 420px;
        padding: var(--space-6);
        border-radius: var(--radius-lg);
        background: linear-gradient(150deg, #e9f1ec 0%, #eef0f8 100%);
        overflow: hidden;
        transition: flex-basis 0.45s ease;
      }
      /* faint diagonal hatch in the bottom-right corner */
      .resource-card::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 170px;
        height: 170px;
        background: repeating-linear-gradient(
          45deg,
          rgba(255, 255, 255, 0.55) 0 1px,
          transparent 1px 10px
        );
        -webkit-mask-image: linear-gradient(315deg, #000, transparent 65%);
        mask-image: linear-gradient(315deg, #000, transparent 65%);
        pointer-events: none;
      }
      .resource-toggle {
        position: absolute;
        top: var(--space-5);
        right: var(--space-5);
        z-index: 2;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 50%;
        border: 1.5px solid var(--text);
        background: transparent;
        color: var(--text);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
      }
      .resource-toggle:hover {
        background: var(--text);
        color: #fff;
      }
      .resource-toggle svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        transition: transform 0.3s ease;
      }
      .resource-card.is-open .resource-toggle svg {
        transform: rotate(45deg);
      }
      .resource-main {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
      }
      .resource-cat {
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-mid);
        margin-bottom: var(--space-3);
      }
      .resource-main h3 {
        font-size: var(--font-size-xl);
        font-weight: 600;
        line-height: 1.25;
        padding-right: 48px;
        margin-bottom: var(--space-3);
      }
      .resource-excerpt {
        display: none;
        font-size: var(--font-size-sm);
        color: var(--text-mid);
        line-height: 1.6;
        margin-bottom: var(--space-4);
      }
      .resource-meta {
        font-size: var(--font-size-xs);
        color: var(--text-muted);
      }
      .resource-card:not(.is-open) .resource-meta {
        display: none;
      }
      .resource-cta {
        display: none;
        align-self: flex-start;
        align-items: center;
        gap: var(--space-2);
        margin-top: var(--space-5);
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: #fff;
        background: var(--brand);
        border-radius: var(--radius);
        padding: 10px 20px;
        text-decoration: none;
        transition: background 0.18s;
      }
      .resource-cta:hover {
        background: var(--brand-dark);
      }
      .resource-cta svg {
        width: 14px;
        height: 14px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
      }
      .resource-media {
        position: relative;
        z-index: 1;
        margin-top: auto;
      }
      .resource-img {
        height: 190px;
        border-radius: var(--radius-lg);
        background-size: cover;
        background-position: center;
        box-shadow: 0 12px 30px rgba(20, 30, 50, 0.16);
      }
      /* expanded — wider card, content left + featured image bleeding off the right */
      .resource-card.is-open {
        flex-direction: row;
        align-items: stretch;
        gap: var(--space-6);
      }
      .resources-track .resource-card.is-open {
        flex-basis: 720px;
      }
      .resource-card.is-open .resource-main {
        flex: 0 0 44%;
      }
      .resource-card.is-open .resource-excerpt {
        display: block;
      }
      .resource-card.is-open .resource-cta {
        display: inline-flex;
        margin-top: auto;
      }
      .resource-card.is-open .resource-media {
        flex: 1;
        margin-top: 0;
        display: flex;
        align-items: center;
        overflow: hidden;
      }
      .resource-card.is-open .resource-img {
        height: 84%;
        width: 128%;
      }

      /* FAQ — two column accordion */
      .faq-split {
        position: relative;
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
        gap: var(--space-7);
        align-items: start;
      }
      .faq-intro h2 {
        font-family: var(--font-display);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        letter-spacing: -0.015em;
        line-height: 1.1;
        margin-bottom: var(--space-4);
      }
      .faq-intro > p {
        font-size: var(--font-size-base);
        color: var(--text-muted);
        line-height: 1.65;
        max-width: 360px;
        margin-bottom: var(--space-6);
      }
      /* anchored to the bottom-left of the FAQ section on desktop */
      .faq-help {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 100%;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: var(--space-5);
      }
      .faq-help-top {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        margin-bottom: var(--space-3);
      }
      .faq-help-avatar {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--brand-light), var(--brand));
      }
      .faq-help h4 {
        font-size: var(--font-size-sm);
        font-weight: 600;
      }
      .faq-help p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.55;
        margin-bottom: var(--space-4);
      }
      .faq-list {
        border-top: 1px solid var(--border);
      }
      .faq-item {
        border-bottom: 1px solid var(--border);
      }
      .faq-q {
        width: 100%;
        background: none;
        border: none;
        text-align: left;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-4);
        padding: var(--space-5) var(--space-1);
        font-family: var(--font-body);
        font-size: var(--font-size-base);
        font-weight: 500;
        color: var(--text);
      }
      .faq-icon {
        position: relative;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
      }
      .faq-icon::before,
      .faq-icon::after {
        content: "";
        position: absolute;
        background: var(--text-mid);
        transition: opacity 0.2s, transform 0.2s;
      }
      .faq-icon::before {
        top: 7px;
        left: 0;
        width: 16px;
        height: 2px;
      }
      .faq-icon::after {
        left: 7px;
        top: 0;
        width: 2px;
        height: 16px;
      }
      .faq-item.open .faq-icon::after {
        opacity: 0;
        transform: rotate(90deg);
      }
      .faq-a {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease;
      }
      .faq-item.open .faq-a {
        max-height: 360px;
      }
      .faq-a-inner {
        padding: 0 var(--space-1) var(--space-5);
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.65;
      }

      /* EXPANDED FOOTER */
      footer.site-footer {
        display: block;
        background: var(--surface-alt);
        border-top: 1px solid var(--border);
        padding: var(--space-8) var(--space-7) var(--space-6);
        color: var(--text-mid);
      }
      .footer-top {
        max-width: var(--maxw);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
        gap: var(--space-6);
        padding-bottom: var(--space-7);
      }
      .footer-cta h2 {
        font-family: var(--font-display);
        font-size: var(--font-size-2xl);
        font-weight: 400;
        letter-spacing: -0.02em;
        line-height: 1.1;
        margin-bottom: var(--space-4);
        max-width: 320px;
      }
      .footer-cta p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        margin-bottom: var(--space-5);
        max-width: 300px;
      }
      .footer-col h5 {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--text);
        margin-bottom: var(--space-4);
      }
      .footer-col ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
      }
      .footer-col a {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.15s;
      }
      .footer-col a:hover {
        color: var(--brand);
      }
      .footer-bottom {
        max-width: var(--maxw);
        margin: 0 auto;
        padding-top: var(--space-6);
        border-top: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-5);
        flex-wrap: wrap;
      }
      .footer-social {
        display: flex;
        gap: var(--space-4);
      }
      .footer-social a {
        width: 32px;
        height: 32px;
        border: 1px solid var(--border-strong);
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-mid);
        transition: all 0.15s;
      }
      .footer-social a:hover {
        color: var(--brand);
        border-color: var(--brand-border);
      }
      .footer-social svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
      }
      .footer-legal {
        display: flex;
        gap: var(--space-5);
        flex-wrap: wrap;
        font-size: var(--font-size-xs);
      }
      /* The legal links come from a nav menu, so they arrive wrapped in a <ul>.
         Lay that list out as a row so it reads as one line with the copyright. */
      .footer-legal-links {
        display: flex;
        gap: var(--space-5);
        flex-wrap: wrap;
        list-style: none;
      }
      .footer-legal a {
        color: var(--text-muted);
        text-decoration: none;
      }
      .footer-legal a:hover {
        color: var(--brand);
      }

      /* ============================================================
         INTERNAL PAGES — shared patterns for /for-planners,
         /for-venues, /resources, /pricing and /contact
         ============================================================ */

      /* PAGE HERO — light, centred; top padding clears the floating nav */
      .page-hero {
        text-align: center;
        padding: calc(96px + var(--space-7)) var(--space-7) var(--space-7);
      }
      .page-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-xs);
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--brand);
        background: var(--brand-pale);
        border: 1px solid var(--brand-border);
        padding: var(--space-1) var(--space-4);
        border-radius: 100px;
        margin-bottom: var(--space-5);
      }
      .page-eyebrow i {
        font-size: 12px;
      }
      .page-hero h1 {
        font-family: var(--font-display);
        font-size: calc(var(--font-size-4xl) * 1.3);
        font-weight: 400;
        line-height: 1.12;
        letter-spacing: -0.02em;
        max-width: 760px;
        margin: 0 auto var(--space-5);
      }
      .page-hero h1 em {
        font-style: italic;
        color: var(--brand);
      }
      .page-hero-sub {
        font-size: var(--font-size-lg);
        color: var(--text-muted);
        max-width: 560px;
        margin: 0 auto var(--space-6);
        line-height: 1.65;
      }
      .page-hero-ctas {
        display: flex;
        gap: var(--space-3);
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: var(--space-6);
      }
      .page-trust {
        display: flex;
        gap: var(--space-5);
        justify-content: center;
        flex-wrap: wrap;
        font-size: var(--font-size-sm);
        color: var(--text-muted);
      }
      .page-trust-item {
        display: flex;
        align-items: center;
        gap: var(--space-2);
      }
      .page-trust-item i {
        color: var(--sage);
        font-size: 13px;
      }

      /* accent colour helpers for inline icons (pain bar, mock labels) */
      i.is-violet {
        color: var(--c-violet);
      }
      i.is-apricot {
        color: var(--c-apricot);
      }
      i.is-clay {
        color: var(--c-clay);
      }
      i.is-gold {
        color: var(--c-gold);
      }
      i.is-sage {
        color: var(--sage);
      }

      /* PAIN BAR — hairline-divided strip of pain points under the hero */
      .pain-wrap {
        max-width: 1200px;
        margin: 0 auto var(--space-8);
        padding: 0 var(--space-7);
      }
      .pain-bar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        background: var(--white);
      }
      .pain-item {
        padding: var(--space-5);
        border-right: 1px solid var(--border);
      }
      .pain-item:last-child {
        border-right: none;
      }
      .pain-item > i {
        font-size: 22px;
        display: block;
        margin-bottom: var(--space-3);
      }
      .pain-title {
        font-size: var(--font-size-sm);
        font-weight: 600;
        margin-bottom: var(--space-1);
      }
      .pain-desc {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.55;
      }

      /* EVENT TYPE PILLS (for-venues) */
      .event-pills {
        display: flex;
        gap: var(--space-3);
        justify-content: center;
        flex-wrap: wrap;
        max-width: 1000px;
        margin: 0 auto var(--space-8);
        padding: 0 var(--space-7);
      }
      .event-pill {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-sm);
        color: var(--text-mid);
        background: var(--white);
        border: 1px solid var(--border-strong);
        border-radius: 999px;
        padding: var(--space-2) var(--space-4);
        white-space: nowrap;
      }
      .event-pill i {
        color: var(--brand);
        font-size: 13px;
      }

      /* FEATURE SPLIT — content beside a mock app visual */
      .split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-7);
        align-items: center;
      }
      .split.rev {
        direction: rtl;
      }
      .split.rev > * {
        direction: ltr;
      }
      .split-content h3 {
        font-family: var(--font-display);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        line-height: 1.18;
        letter-spacing: -0.015em;
        margin-bottom: var(--space-4);
      }
      .split-content h3 em {
        font-style: italic;
        color: var(--brand);
      }
      .split-content > p {
        font-size: var(--font-size-base);
        color: var(--text-mid);
        line-height: 1.7;
        margin-bottom: var(--space-5);
      }
      .feature-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
      }
      .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: var(--space-3);
        font-size: var(--font-size-sm);
        color: var(--text-mid);
        line-height: 1.55;
      }
      .feature-list li svg {
        width: 15px;
        height: 15px;
        stroke: var(--sage);
        fill: none;
        margin-top: 3px;
        flex-shrink: 0;
      }
      .feature-list li strong {
        font-weight: 600;
        color: var(--text);
      }

      /* mock app visual — rows, badges and stats on a quiet panel */
      .split-visual {
        background: var(--surface);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
      }
      .split-visual-inner {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        padding: var(--space-5);
      }
      .mock-head {
        font-size: var(--font-size-xs);
        font-weight: 600;
        color: var(--text-muted);
        padding: 0 4px;
        margin-bottom: var(--space-1);
      }
      .mock-row {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 10px 14px;
        font-size: var(--font-size-sm);
      }
      .mock-row strong {
        font-weight: 600;
      }
      .mock-row.is-dim {
        opacity: 0.55;
      }
      .mock-row.is-spread {
        justify-content: space-between;
      }
      .mock-label {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
      }
      .mock-label i {
        font-size: 14px;
      }
      .mock-time {
        font-size: var(--font-size-xs);
        color: var(--text-muted);
        min-width: 44px;
        flex-shrink: 0;
      }
      .mock-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        flex-shrink: 0;
      }
      .mock-dot.brand {
        background: var(--brand);
      }
      .mock-dot.sage {
        background: var(--sage-mid);
      }
      .mock-dot.gold {
        background: var(--c-gold);
      }
      .mock-dot.violet {
        background: var(--c-violet);
      }
      .mock-dot.muted {
        background: var(--border-strong);
      }
      .mock-badge {
        font-size: var(--font-size-xs);
        font-weight: 600;
        padding: 2px 10px;
        border-radius: 100px;
        border: 1px solid var(--border);
        margin-left: auto;
        white-space: nowrap;
        flex-shrink: 0;
      }
      .mock-badge.brand {
        background: var(--brand-pale);
        color: var(--brand-dark);
      }
      .mock-badge.sage {
        background: var(--sage-light);
        color: var(--sage);
      }
      .mock-badge.gold {
        background: var(--c-gold-pale);
        color: var(--c-gold);
      }
      .mock-badge.violet {
        background: var(--c-violet-pale);
        color: var(--c-violet);
      }
      .mock-badge.clay {
        background: var(--c-clay-pale);
        color: var(--c-clay);
      }
      .mock-badge.muted {
        background: var(--surface-alt);
        color: var(--text-muted);
      }
      .mock-value {
        font-size: var(--font-size-xs);
        font-weight: 600;
        white-space: nowrap;
      }
      .mock-value.sage {
        color: var(--sage);
      }
      .mock-value.gold {
        color: var(--c-gold);
      }
      .mock-value.muted {
        color: var(--text-muted);
        font-weight: 400;
      }
      .mock-note {
        margin-top: var(--space-1);
        padding: 10px 14px;
        background: var(--brand-pale);
        border: 1px solid var(--brand-border);
        border-radius: var(--radius);
        font-size: var(--font-size-xs);
        color: var(--brand-dark);
        line-height: 1.55;
      }
      .mock-note.sage {
        background: var(--sage-light);
        border-color: var(--sage-mid);
        color: var(--sage);
      }
      .mock-stat-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2);
        margin-bottom: var(--space-1);
      }
      .mock-stat-grid.three {
        grid-template-columns: repeat(3, 1fr);
        margin: var(--space-1) 0 0;
        text-align: center;
      }
      .mock-stat {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 10px 12px;
      }
      .mock-stat.sage {
        background: var(--sage-light);
        border-color: var(--sage-mid);
      }
      .mock-stat-k {
        font-size: var(--font-size-xs);
        color: var(--text-muted);
        margin-bottom: 2px;
      }
      .mock-stat-v {
        font-size: var(--font-size-lg);
        font-weight: 600;
        color: var(--text);
      }
      .mock-stat.sage .mock-stat-v,
      .mock-stat-v.sage {
        color: var(--sage);
      }
      .mock-stat-v.violet {
        color: var(--c-violet);
      }
      .mock-stat-v.gold {
        color: var(--c-gold);
      }

      /* WORKFLOW — numbered set-it-up-once steps */
      .workflow {
        max-width: 680px;
        margin: 0 auto;
      }
      .workflow-step {
        display: flex;
        gap: var(--space-5);
        padding: var(--space-5) 0;
        border-bottom: 1px solid var(--border);
      }
      .workflow-step:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }
      .step-body h4 {
        font-size: var(--font-size-base);
        font-weight: 500;
        margin-bottom: var(--space-1);
      }
      .step-body p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: var(--space-2);
      }
      .step-body .step-tag {
        margin-right: var(--space-4);
      }
      .step-tag.violet {
        color: var(--c-violet);
      }
      .step-tag.gold {
        color: var(--c-gold);
      }

      /* STATIC TESTIMONIAL GRID (carousel-free pages) */
      .tcard-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: var(--space-4);
      }

      /* F&B HIGHLIGHT GRID (for-venues) */
      .fb-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-4);
      }
      .fb-card {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-5);
      }
      .fb-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--brand-pale);
        color: var(--brand);
        font-size: 16px;
        margin-bottom: var(--space-4);
      }
      .fb-card h4 {
        font-size: var(--font-size-base);
        font-weight: 500;
        margin-bottom: var(--space-2);
      }
      .fb-card p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.6;
      }
      .coming-soon {
        display: inline-block;
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--c-gold);
        background: var(--c-gold-pale);
        border-radius: 100px;
        padding: 2px 10px;
        margin-left: var(--space-2);
        vertical-align: middle;
      }

      /* RESOURCE ARCHIVE — card grid (also "keep reading" on articles) */
      .archive-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-5);
      }
      .archive-card {
        display: flex;
        flex-direction: column;
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        transition:
          transform 0.18s ease,
          box-shadow 0.18s ease;
      }
      .archive-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 34px rgba(20, 30, 50, 0.12);
      }
      .archive-card-img {
        height: 150px;
        flex-shrink: 0;
      }
      .archive-card-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: var(--space-5);
      }
      .archive-card-body h3 {
        font-family: var(--font-display);
        font-size: var(--font-size-xl);
        font-weight: 400;
        line-height: 1.25;
        margin-bottom: var(--space-2);
      }
      .archive-card-body p {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
        line-height: 1.6;
      }
      .archive-card-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        margin-top: auto;
        padding-top: var(--space-4);
      }
      .archive-card-meta {
        font-size: var(--font-size-xs);
        color: var(--text-muted);
      }
      .archive-card-cta {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--brand);
      }
      .archive-card-cta svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
      }
      .resources-archive-link {
        text-align: center;
        margin-top: var(--space-6);
      }

      /* SINGLE RESOURCE ARTICLE */
      .article {
        padding: calc(96px + var(--space-7)) var(--space-7) var(--space-8);
      }
      .article-head,
      .article-body {
        max-width: 720px;
        margin: 0 auto;
      }
      .article-back {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--text-muted);
        text-decoration: none;
        margin-bottom: var(--space-6);
      }
      .article-back:hover {
        color: var(--brand);
      }
      .article-back svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
      }
      .article-head h1 {
        font-family: var(--font-display);
        font-size: calc(var(--font-size-4xl) * 1.15);
        font-weight: 400;
        line-height: 1.15;
        letter-spacing: -0.02em;
        margin-bottom: var(--space-4);
      }
      .article-meta {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
      }
      .article-banner {
        max-width: 920px;
        height: 280px;
        margin: var(--space-6) auto;
        border-radius: var(--radius-lg);
      }
      .article-body h2 {
        font-family: var(--font-display);
        font-size: var(--font-size-2xl);
        font-weight: 400;
        letter-spacing: -0.015em;
        margin: var(--space-6) 0 var(--space-3);
      }
      .article-body p {
        font-size: var(--font-size-base);
        color: var(--text-mid);
        line-height: 1.75;
        margin-bottom: var(--space-4);
      }
      .article-body .article-lead {
        font-size: var(--font-size-lg);
        color: var(--text);
      }
      .article-body ul {
        padding-left: var(--space-5);
        margin-bottom: var(--space-4);
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
      }
      .article-body li {
        font-size: var(--font-size-base);
        color: var(--text-mid);
        line-height: 1.65;
      }
      .article-body strong {
        font-weight: 600;
        color: var(--text);
      }
      .article-body blockquote {
        font-family: var(--font-display);
        font-style: italic;
        font-size: var(--font-size-xl);
        line-height: 1.5;
        color: var(--text-mid);
        border-left: 3px solid var(--brand);
        padding-left: var(--space-5);
        margin: var(--space-6) 0;
      }

      /* Long-form legal pages (privacy, terms) bring headings, tables, inline
         code and rules that the article typography above never needed. */
      .article-body h3 {
        font-family: var(--font-display);
        font-size: var(--font-size-xl);
        font-weight: 400;
        letter-spacing: -0.01em;
        color: var(--text);
        margin: var(--space-5) 0 var(--space-3);
      }
      .article-body h4 {
        font-family: var(--font-body);
        font-size: var(--font-size-base);
        font-weight: 600;
        color: var(--text);
        margin: var(--space-4) 0 var(--space-2);
      }
      .article-body a {
        color: var(--brand);
        text-decoration: underline;
        text-underline-offset: 2px;
      }
      .article-body a:hover {
        color: var(--brand-dark);
      }
      .article-body ol {
        padding-left: var(--space-5);
        margin-bottom: var(--space-4);
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
      }
      .article-body code {
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        font-size: 0.875em;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 1px 5px;
        white-space: nowrap;
      }
      .article-body hr,
      .article-body .wp-block-separator {
        border: 0;
        border-top: 1px solid var(--border);
        margin: var(--space-6) 0;
      }
      /* The figure scrolls, not the page: a wide row must never make the whole
         document scroll sideways on mobile. */
      .article-body .wp-block-table {
        margin: var(--space-5) 0;
        overflow-x: auto;
      }
      .article-body table {
        width: 100%;
        min-width: 480px;
        border-collapse: collapse;
        font-size: var(--font-size-sm);
        color: var(--text-mid);
      }
      .article-body th,
      .article-body td {
        text-align: left;
        vertical-align: top;
        padding: var(--space-3);
        border-bottom: 1px solid var(--border);
        line-height: 1.6;
      }
      .article-body thead th {
        font-weight: 600;
        color: var(--text);
        border-bottom: 1px solid var(--border-strong);
      }
      .article-body tbody tr:last-child td {
        border-bottom: none;
      }

      /* CONTACT */
      .contact-split {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        gap: var(--space-7);
        align-items: start;
      }
      .contact-info h3 {
        font-family: var(--font-display);
        font-size: var(--font-size-3xl);
        font-weight: 400;
        line-height: 1.18;
        letter-spacing: -0.015em;
        margin-bottom: var(--space-4);
      }
      .contact-info h3 em {
        font-style: italic;
        color: var(--brand);
      }
      .contact-info > p {
        font-size: var(--font-size-base);
        color: var(--text-mid);
        line-height: 1.7;
        margin-bottom: var(--space-5);
      }
      .contact-channels {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        margin-top: var(--space-6);
        border-top: 1px solid var(--border);
        padding-top: var(--space-6);
      }
      .contact-channel {
        display: flex;
        align-items: center;
        gap: var(--space-3);
      }
      .contact-channel-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--brand-pale);
        color: var(--brand);
        font-size: 15px;
        flex-shrink: 0;
      }
      .contact-channel-k {
        font-size: var(--font-size-sm);
        font-weight: 600;
      }
      .contact-channel-v {
        font-size: var(--font-size-sm);
        color: var(--text-muted);
      }
      .contact-form {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        padding: var(--space-6);
        box-shadow: 0 10px 30px rgba(20, 30, 50, 0.07);
      }
      .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
      }
      .form-field {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        margin-bottom: var(--space-4);
      }
      .form-field label {
        font-size: var(--font-size-sm);
        font-weight: 600;
      }
      .form-optional {
        color: var(--text-muted);
        font-weight: 400;
      }
      .form-field input,
      .form-field select,
      .form-field textarea {
        font-family: var(--font-body);
        font-size: var(--font-size-sm);
        color: var(--text);
        background: var(--white);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius);
        padding: 10px 14px;
        width: 100%;
        transition:
          border-color 0.15s,
          box-shadow 0.15s;
      }
      .form-field textarea {
        resize: vertical;
        line-height: 1.6;
      }
      .form-field input::placeholder,
      .form-field textarea::placeholder {
        color: var(--text-muted);
        opacity: 0.7;
      }
      .form-field input:focus,
      .form-field select:focus,
      .form-field textarea:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px var(--brand-pale);
      }
      .form-submit {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-2);
      }
      .form-note {
        font-size: var(--font-size-xs);
        color: var(--text-muted);
        text-align: center;
        margin-top: var(--space-3);
      }
      /* submission result notices */
      .form-alert {
        font-size: var(--font-size-sm);
        line-height: 1.55;
        border-radius: var(--radius);
        padding: var(--space-3) var(--space-4);
        margin-bottom: var(--space-4);
      }
      .form-alert.is-success {
        background: var(--sage-light);
        border: 1px solid var(--sage-mid);
        color: var(--sage);
      }
      .form-alert.is-error {
        background: var(--c-clay-pale);
        border: 1px solid var(--c-clay);
        color: var(--c-clay);
      }
      /* honeypot — visually removed, still in the DOM for bots */
      .form-hp {
        position: absolute !important;
        left: -9999px !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
      }

      /* FEATURE COMPARISON TABLE (/pricing) */
      .feature-table-wrap {
        overflow-x: auto;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-lg);
        background: var(--white);
      }
      .feature-table {
        width: 100%;
        min-width: 680px;
        border-collapse: collapse;
        font-size: var(--font-size-sm);
      }
      .feature-table thead th {
        font-family: var(--font-display);
        font-size: var(--font-size-lg);
        font-weight: 400;
        letter-spacing: -0.01em;
        text-align: center;
        padding: var(--space-5) var(--space-4);
        border-bottom: 1px solid var(--border-strong);
      }
      .feature-table th.ft-feature,
      .feature-table td.ft-feature {
        text-align: left;
        padding-left: var(--space-5);
      }
      .feature-table thead th.ft-feature {
        font-family: var(--font-body);
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
      }
      .feature-table td {
        text-align: center;
        padding: var(--space-3) var(--space-4);
        border-bottom: 1px solid var(--border);
        color: var(--text-mid);
      }
      .feature-table td.ft-feature {
        color: var(--text);
      }
      .feature-table .ft-featured {
        background: var(--brand-pale-2);
      }
      .feature-table thead th.ft-featured {
        color: var(--brand-dark);
      }
      .feature-table tr.ft-group th {
        text-align: left;
        font-size: var(--font-size-xs);
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--brand);
        padding: var(--space-5) var(--space-4) var(--space-2)
          var(--space-5);
        border-bottom: 1px solid var(--border);
      }
      .ft-check {
        width: 16px;
        height: 16px;
        stroke: var(--sage);
        fill: none;
        vertical-align: middle;
      }
      .ft-no {
        color: var(--border-strong);
      }
      .feature-table tr.ft-cta-row td {
        padding: var(--space-5) var(--space-4);
        border-bottom: none;
      }

      @media (max-width: 960px) {
        nav {
          padding: 0 var(--space-4);
          top: 12px;
          height: 64px;
          max-width: none;
          width: calc(100% - 20px);
          /* account icon + hamburger grouped on the right; logo stays centred */
          justify-content: flex-end;
          gap: var(--space-2);
        }
        nav.scrolled {
          top: 10px;
          height: 58px;
          width: calc(100% - 16px);
        }
        /* centred, more prominent logo on devices; just "Perfect Day" */
        .logo {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: var(--font-size-2xl);
        }
        nav.scrolled .logo {
          font-size: var(--font-size-2xl);
        }
        nav .brand-suffix {
          display: none;
        }
        .nav-links,
        .nav-actions {
          display: none;
        }
        .nav-login-icon,
        .nav-toggle {
          display: inline-flex;
        }
        .hero {
          height: auto;
          min-height: 100svh;
        }
        .hero-content {
          padding: var(--space-7) var(--space-5) var(--space-7);
          margin-left: 0;
          margin-right: 0;
          max-width: 100%;
        }
        .hero h1 {
          font-size: var(--font-size-3xl);
        }
        section {
          padding: var(--space-7) var(--space-5);
        }
        .img-split-content,
        .img-split.rev .img-split-content,
        .checklist-content-panel {
          padding: var(--space-6) var(--space-5);
        }
        /* on devices: portals + stat cards stack one per row */
        .stats-grid,
        .portal-grid {
          grid-template-columns: 1fr;
        }
        .checklist-split,
        .img-split,
        .why-split {
          grid-template-columns: 1fr;
        }
        /* centre content blocks on devices */
        .section-header {
          text-align: center;
        }
        .section-header p {
          margin-left: auto;
          margin-right: auto;
        }
        .hero-content,
        .feature-content {
          text-align: center;
          align-items: center;
        }
        .img-split.rev {
          direction: ltr;
        }
        .img-split-photo {
          min-height: 260px;
        }
        .checklist-graphic-panel {
          min-height: 360px;
          border-right: none;
          border-bottom: 1px solid var(--brand-border);
        }
        .pricing-grid {
          grid-template-columns: 1fr;
        }
        .price-card.featured {
          order: -1;
        }
        .feature-card {
          grid-template-columns: 1fr;
          padding-left: 0;
          min-height: 0;
          gap: var(--space-4);
        }
        .feature-content {
          padding: var(--space-6) var(--space-5) 0;
          max-width: 100%;
        }
        .feature-media {
          padding: var(--space-5);
        }
        .feature-media .app-window {
          width: 100%;
        }
        .cta-mid {
          padding: var(--space-5) var(--space-5);
        }
        .problem-grid {
          grid-template-columns: 1fr;
        }
        .resources-track .resource-card {
          flex-basis: 82vw;
        }
        .resources-track .resource-card.is-open {
          flex-basis: 92vw;
        }
        .resource-card.is-open {
          flex-direction: column;
        }
        .resource-card.is-open .resource-main {
          flex: none;
        }
        .resource-card.is-open .resource-media {
          margin-top: var(--space-5);
        }
        .resource-card.is-open .resource-img {
          width: 100%;
          height: 190px;
        }
        /* resources: pre-expanded on all devices (no + toggle) */
        .resource-toggle {
          display: none;
        }
        .resource-main h3 {
          padding-right: 0;
        }
        .resource-excerpt {
          display: block;
        }
        .resource-card:not(.is-open) .resource-meta {
          display: block;
        }
        .resource-cta {
          display: inline-flex;
        }
        .faq-split {
          grid-template-columns: 1fr;
          gap: var(--space-6);
        }
        .faq-intro h2 {
          font-size: var(--font-size-2xl);
        }
        /* on devices the intro text + help card go full width, card back in flow */
        .faq-intro > p {
          max-width: none;
        }
        .faq-help {
          position: static;
          width: 100%;
          max-width: none;
          margin-top: var(--space-5);
        }
        footer.site-footer {
          padding: var(--space-7) var(--space-5) var(--space-6);
        }
        .footer-top {
          grid-template-columns: 1fr 1fr;
          gap: var(--space-6);
          padding-bottom: var(--space-6);
        }
        .footer-cta {
          grid-column: 1 / -1;
        }
        /* centre the whole footer on devices */
        .footer-cta,
        .footer-col {
          text-align: center;
        }
        .footer-cta .logo {
          justify-content: center;
        }
        .footer-cta h2,
        .footer-cta p {
          max-width: none;
          margin-left: auto;
          margin-right: auto;
        }
        .footer-col ul {
          align-items: center;
        }
        .footer-bottom {
          flex-direction: column;
          align-items: center;
          text-align: center;
        }
        .footer-social,
        .footer-legal {
          justify-content: center;
        }
        /* internal pages */
        .split,
        .split.rev,
        .contact-split {
          grid-template-columns: 1fr;
          gap: var(--space-6);
        }
        .split.rev {
          direction: ltr;
        }
        .page-hero {
          padding: calc(78px + var(--space-7)) var(--space-5) var(--space-7);
        }
        .pain-wrap,
        .event-pills {
          padding: 0 var(--space-5);
          margin-bottom: var(--space-7);
        }
        /* pain bar wraps to 2×2 — close the open edges with a bottom rule */
        .pain-item {
          border-bottom: 1px solid var(--border);
        }
        .pain-item:nth-child(even) {
          border-right: none;
        }
        .pain-item:nth-last-child(-n + 2) {
          border-bottom: none;
        }
        .article {
          padding: calc(78px + var(--space-7)) var(--space-5) var(--space-7);
        }
      }

      /* Small phones — tighten the type scale and section rhythm */
      @media (max-width: 600px) {
        section {
          padding: var(--space-6) var(--space-4);
        }
        .hero h1 {
          font-size: var(--font-size-2xl);
        }
        .hero-content {
          padding: var(--space-6) var(--space-4) var(--space-6);
        }
        .section-header {
          margin-bottom: var(--space-6);
        }
        .section-header h2 {
          font-size: var(--font-size-2xl);
        }
        /* chips in a tidy centred 2×2 instead of staggered wrapping */
        .trust-bar {
          display: grid;
          grid-template-columns: repeat(2, auto);
          justify-content: center;
          column-gap: var(--space-5);
          row-gap: var(--space-4);
          padding: var(--space-5) var(--space-4);
        }
        /* internal pages */
        .page-hero {
          padding-left: var(--space-4);
          padding-right: var(--space-4);
        }
        .page-hero h1 {
          font-size: var(--font-size-3xl);
        }
        .article {
          padding-left: var(--space-4);
          padding-right: var(--space-4);
        }
        .article-head h1 {
          font-size: var(--font-size-3xl);
        }
        .article-banner {
          height: 180px;
        }
        .pain-wrap,
        .event-pills {
          padding: 0 var(--space-4);
        }
        /* single column: divider under every item except the last */
        .pain-item,
        .pain-item:nth-last-child(-n + 2) {
          border-right: none;
          border-bottom: 1px solid var(--border);
        }
        .pain-item:last-child {
          border-bottom: none;
        }
        .form-row {
          grid-template-columns: 1fr;
          gap: 0;
        }
        .contact-form {
          padding: var(--space-5);
        }
        .workflow-step {
          gap: var(--space-4);
        }
      }

      /* ============================================================
         CHAT WIDGET — floating placeholder.
         Replaces the old palette-preview FAB now the brand is locked
         (issue #1). The FAQ "Chat with the team" button opens it via
         the `open-chat` event; wire a real chat provider in here later.
         ============================================================ */
      .chat-fab {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 250;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: var(--space-3);
      }
      .chat-trigger {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        border: none;
        background: var(--brand);
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        display: grid;
        place-items: center;
        box-shadow: 0 8px 24px rgba(20, 30, 50, 0.22);
        transition:
          transform 0.2s ease,
          background 0.2s ease;
      }
      .chat-trigger:hover {
        transform: translateY(-2px);
      }
      .chat-panel {
        width: 300px;
        max-width: calc(100vw - 48px);
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: 0 12px 32px rgba(20, 30, 50, 0.18);
        overflow: hidden;
        opacity: 0;
        transform: translateY(8px) scale(0.96);
        transform-origin: bottom right;
        pointer-events: none;
        transition:
          opacity 0.18s ease,
          transform 0.18s ease;
      }
      .chat-fab.open .chat-panel {
        opacity: 1;
        transform: none;
        pointer-events: auto;
      }
      .chat-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        padding: var(--space-3) var(--space-4);
        background: var(--brand);
        color: #fff;
        font-weight: 600;
      }
      .chat-close {
        border: none;
        background: transparent;
        color: #fff;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        padding: 2px 6px;
        border-radius: 8px;
      }
      .chat-close:hover {
        background: rgba(255, 255, 255, 0.18);
      }
      .chat-panel-body {
        padding: var(--space-4);
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
      }
      .chat-panel-body p {
        font-size: var(--font-size-sm);
        color: var(--text-mid);
        margin: 0;
      }

      /* ============================================================
         COOKIE BANNER: consent for the GA4 tag.
         Pinned bottom-left on desktop so it clears the chat FAB at
         bottom-right; full width along the bottom under 600px, where
         the FAB is hidden while the banner is up so the two don't
         stack. Reject and Accept are the same size on purpose.
         ============================================================ */
      .cookie-banner {
        position: fixed;
        left: 24px;
        bottom: 24px;
        z-index: 300;
        width: min(420px, calc(100vw - 48px));
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        padding: var(--space-5);
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: 0 12px 32px rgba(20, 30, 50, 0.14);
      }
      /* The display:flex above would otherwise beat the UA rule for [hidden]. */
      .cookie-banner[hidden] {
        display: none;
      }
      /* Don't float over the mobile full-screen menu. */
      body.nav-open .cookie-banner {
        display: none;
      }
      .cookie-banner-title {
        font-family: var(--font-display);
        font-weight: 400;
        font-size: var(--font-size-lg);
        color: var(--text);
        margin: 0;
      }
      .cookie-banner-text {
        font-size: var(--font-size-sm);
        line-height: 1.6;
        color: var(--text-mid);
        margin: 0;
      }
      .cookie-banner-text a {
        color: var(--brand);
        text-decoration: underline;
      }
      .cookie-banner-actions {
        display: flex;
        gap: var(--space-3);
      }
      .cookie-banner-actions .btn {
        flex: 1;
        justify-content: center;
      }

      /* Footer "Cookie settings" is a button, not a menu item, because it
         has to talk to JS. Styled to sit in the legal row unnoticed. */
      .footer-legal-btn {
        background: none;
        border: none;
        padding: 0;
        font-family: inherit;
        font-size: inherit;
        color: var(--text-muted);
        cursor: pointer;
        text-decoration: none;
      }
      .footer-legal-btn:hover {
        color: var(--text);
        text-decoration: underline;
      }

      @media (max-width: 600px) {
        .cookie-banner {
          left: 12px;
          right: 12px;
          bottom: 12px;
          width: auto;
          padding: var(--space-4);
        }
        body.consent-open .chat-fab {
          display: none;
        }
      }
