
    :root {
      --clr-bg: hsl(270, 60%, 97%);
      --clr-card: hsl(270, 50%, 93%);
      --clr-ink: hsl(270, 30%, 22%);
      --clr-muted: hsl(270, 24%, 37%);
      --clr-accent: hsl(270, 62%, 62%);
      --clr-accent-2: rgb(136, 84, 188);
      --accent-active: rgb(120, 74, 166);
      --clr-accent-tint: rgb(235, 222, 247);
      --clr-accent-pale: rgb(241, 233, 250);
      --clr-on-accent: #000000;
      --clr-ring: rgb(194, 156, 232);
      --accent-copy: rgb(139, 86, 192);
      --secondary-accent: hsl(298, 62%, 62%);
      --dark: hsl(270, 30%, 22%);
      --on-dark: #ffffff;

      --step-1: 0.212rem;
      --step-2: 0.425rem;
      --step-3: 0.637rem;
      --step-4: 0.85rem;
      --step-5: 1.275rem;
      --step-6: 1.7rem;
      --step-7: 2.55rem;
      --step-8: 3.4rem;
      --step-9: 5.1rem;
      --step-10: 6.8rem;
      --sec-y: clamp(3rem, 6vw, 5rem);
      --block-gap: 1.5rem;
      --g-gap: 1.25rem;
      --layout-w: 1160px;
      --layout-pad: clamp(1.25rem, 5vw, 2.5rem);

      --type-h1: clamp(1.560rem, 2.06rem + 1.66vw, 3.000rem);
      --type-h2: clamp(1.488rem, 1.78rem + 1.05vw, 2.400rem);
      --type-h3: clamp(1.300rem, 1.48rem + 0.71vw, 1.920rem);
      --type-h4: 1.250rem;
      --type-body: 1.0000rem;
      --type-small: 0.8750rem;
      --type-eyebrow: 0.7800rem;

      --corner-sm: 0;
      --corner-md: 0;
      --corner-lg: 0;
      --corner-pill: 999px;
      --corner-button: 0;
      --depth-sm: 0 0 0 rgba(56,39,73, 0);
      --depth-md: 0 0 0 rgba(56,39,73, 0);
      --depth-lg: 0 0 0 rgba(56,39,73, 0);
      --depth-xl: 0 0 0 rgba(56,39,73, 0);
      --card-border: 1px solid rgb(194, 186, 202);

      --display: "Frank Ruhl Libre", Georgia, serif;
      --body: "Karla", sans-serif;
      --ease: 180ms ease;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: var(--step-8); }
    body {
      margin: 0;
      background: var(--clr-bg);
      color: var(--clr-ink);
      font-family: var(--body);
      font-size: var(--type-body);
      line-height: 1.55;
      font-feature-settings: "kern", "liga", "tnum";
      overflow-x: hidden;
    }
    img, svg { max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; }
    p { max-width: 68ch; margin: 0; text-wrap: pretty; }
    h1, h2, h3, h4 {
      margin: 0;
      font-family: var(--display);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.08;
      text-wrap: balance;
    }
    h1 { font-size: var(--type-h1); }
    h2 { font-size: var(--type-h2); }
    h3 { font-size: var(--type-h3); }
    .mod-container { width: min(var(--layout-w), 100%); margin-inline: auto; padding-inline: var(--layout-pad); }
    .mod-section { padding-block: var(--sec-y); }
    .mod-eyebrow {
      margin: 0;
      color: var(--clr-muted);
      font-size: var(--type-eyebrow);
      font-weight: 700;
      letter-spacing: 0.18em;
      line-height: 1.35;
      text-transform: uppercase;
    }
    .mod-section-heading { display: grid; gap: var(--step-4); }
    .mod-section-heading p { color: var(--clr-muted); }
    .accent-word { color: var(--accent-copy); }
    .mod-numerals { font-feature-settings: "tnum", "onum"; font-variant-numeric: tabular-nums oldstyle-nums; }

    :focus-visible { outline: 2px solid var(--clr-ring); outline-offset: 3px; }
    a, button { -webkit-tap-highlight-color: transparent; }
    .mod-button {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      gap: var(--step-3);
      padding: var(--step-4) var(--step-6);
      border: 1px solid var(--clr-accent);
      border-radius: var(--corner-button);
      background: linear-gradient(140deg, var(--clr-accent), hsl(298, 62%, 62%));
      color: var(--clr-on-accent);
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.1;
      text-align: center;
      transition: background var(--ease), border-color var(--ease), transform var(--ease), color var(--ease);
      cursor: pointer;
    }
    .mod-button:hover { background: var(--clr-accent-2); border-color: var(--clr-accent-2); transform: translateY(-2px); }
    .mod-button:active { background: var(--accent-active); border-color: var(--accent-active); transform: translateY(0); }
    .mod-button--outline {
      background: transparent;
      border-color: var(--clr-ink);
      color: var(--clr-ink);
    }
    .mod-button--outline:hover { background: var(--clr-accent-pale); border-color: var(--accent-copy); color: var(--clr-ink); }
    .mod-text-link {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      gap: var(--step-2);
      color: var(--accent-copy);
      font-weight: 700;
      transition: color var(--ease), gap var(--ease);
    }
    .mod-text-link:hover { color: var(--clr-ink); gap: var(--step-3); }
    .mod-text-link svg { width: 18px; height: 18px; }

    .mod-corner-frame { position: relative; }
    .mod-corner-frame::before, .mod-corner-frame::after {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      content: "";
    }
    .mod-corner-frame::before {
      background:
        linear-gradient(var(--clr-accent), var(--clr-accent)) left top / 22px 2px no-repeat,
        linear-gradient(var(--clr-accent), var(--clr-accent)) left top / 2px 22px no-repeat,
        linear-gradient(var(--clr-accent), var(--clr-accent)) right bottom / 22px 2px no-repeat,
        linear-gradient(var(--clr-accent), var(--clr-accent)) right bottom / 2px 22px no-repeat;
    }
    .mod-corner-frame::after {
      background:
        linear-gradient(var(--clr-accent), var(--clr-accent)) right top / 22px 2px no-repeat,
        linear-gradient(var(--clr-accent), var(--clr-accent)) right top / 2px 22px no-repeat,
        linear-gradient(var(--clr-accent), var(--clr-accent)) left bottom / 22px 2px no-repeat,
        linear-gradient(var(--clr-accent), var(--clr-accent)) left bottom / 2px 22px no-repeat;
    }

    /* Header */
    .mod-site-header {
      position: relative;
      z-index: 20;
      background: var(--dark);
      color: var(--on-dark);
      border-bottom: var(--card-border);
    }
    .mod-nav-row {
      display: flex;
      min-height: 88px;
      align-items: center;
      justify-content: space-between;
      gap: var(--step-6);
    }
    .mod-logo {
      display: block;
      width: auto;
      height: clamp(38px, 3.6vw, 52px);
      flex: 0 0 auto;
    }
    .mod-desktop-nav {
      display: flex;
      align-items: center;
      gap: clamp(var(--step-5), 3vw, var(--step-8));
      margin-left: auto;
    }
    .mod-desktop-nav a {
      display: inline-flex;
      min-height: 44px;
      align-items: center;
      color: var(--on-dark);
      font-size: var(--type-eyebrow);
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      transition: color var(--ease);
    }
    .mod-desktop-nav a:hover, .mod-desktop-nav a[aria-current="page"] { color: var(--clr-ring); }
    .mod-nav-action { display: inline-flex; align-items: center; gap: var(--step-4); }
    .mod-nav-action .mod-button { min-height: 46px; padding-inline: var(--step-5); }
    .mod-nav-mark {
      display: grid;
      width: 44px;
      height: 44px;
      place-items: center;
      border: 1px solid rgb(194, 186, 202);
      color: var(--on-dark);
      transition: background var(--ease), color var(--ease);
    }
    .mod-nav-mark:hover { background: var(--clr-accent); color: var(--clr-on-accent); }
    .mod-nav-mark svg { width: 19px; height: 19px; }
    .mod-menu-toggle {
      display: none;
      width: 46px;
      height: 46px;
      place-items: center;
      border: 1px solid rgb(194, 186, 202);
      background: transparent;
      color: var(--on-dark);
      cursor: pointer;
    }
    .mod-menu-toggle:hover { background: var(--clr-accent); color: var(--clr-on-accent); }
    .mod-menu-toggle svg { width: 22px; height: 22px; }
    .mod-mobile-menu {
      position: fixed;
      inset: 0;
      z-index: 30;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: var(--step-6);
      padding: var(--step-8) var(--layout-pad);
      background: var(--dark);
      color: var(--on-dark);
      visibility: hidden;
      pointer-events: none;
      opacity: 0;
      transition: opacity var(--ease), visibility var(--ease);
    }
    .mod-mobile-menu.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
    .mod-mobile-menu a:not(.mod-button) {
      display: block;
      padding-block: var(--step-3);
      border-bottom: var(--card-border);
      color: var(--on-dark);
      font-size: var(--type-h2);
      font-weight: 700;
    }
    .mod-mobile-menu a:hover { color: var(--clr-ring); }
    .mod-mobile-menu .mod-menu-close {
      position: absolute;
      top: var(--step-6);
      right: var(--layout-pad);
      display: grid;
      width: 46px;
      height: 46px;
      place-items: center;
      border: 1px solid rgb(194, 186, 202);
      background: transparent;
      color: var(--on-dark);
      cursor: pointer;
    }
    .mod-mobile-menu .mod-menu-close svg { width: 20px; height: 20px; }

    /* Hero */
    .mod-hero {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding-block: clamp(var(--step-8), 7vw, var(--step-10));
    }
    .mod-hero::before {
      position: absolute;
      z-index: -1;
      inset: 0;
      background: radial-gradient(ellipse at var(--spot-x, 78%) var(--spot-y, 46%), rgb(235, 222, 247) 0, transparent 40%);
      content: "";
      pointer-events: none;
    }
    .mod-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
      align-items: center;
      gap: clamp(var(--step-7), 5vw, var(--step-9));
    }
    .mod-hero-copy { display: grid; gap: var(--step-5); max-width: 440px; }
    .mod-hero-copy h1 { font-size: var(--type-h1); }
    .mod-hero-tagline { max-width: 28ch; font-size: clamp(1.12rem, 1.35rem + 0.25vw, 1.5rem); font-weight: 600; line-height: 1.3; }
    .mod-hero-copy > p:not(.mod-eyebrow) { color: var(--clr-muted); }
    .mod-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--step-4); margin-top: var(--step-2); }
    .mod-hero-note { color: var(--clr-muted); font-size: var(--type-small); }
    .mod-hero-product { position: relative; min-width: 0; }
    .mod-hero-product::before {
      position: absolute;
      z-index: -1;
      inset: -10% -6% 8% 13%;
      background: linear-gradient(135deg, var(--clr-accent-tint), rgb(241, 233, 250) 55%, rgb(235, 222, 247));
      content: "";
      animation: wash-shift 9s ease-in-out infinite alternate;
    }
    .mod-hero-product::after {
      position: absolute;
      z-index: -1;
      top: -5%;
      right: -2%;
      width: clamp(30px, 4vw, 52px);
      aspect-ratio: 1;
      border: 1px solid var(--clr-accent);
      border-radius: var(--corner-pill);
      content: "";
      animation: orbit-nudge 5s ease-in-out infinite alternate;
    }
    @keyframes wash-shift { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
    @keyframes orbit-nudge { from { transform: translate(0, 0); } to { transform: translate(-12px, 12px); } }

    /* Product UI: app windows intentionally use their own product-interface styling. */
    .mod-app-window {
      position: relative;
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      border: 1px solid #d5d1da;
      border-radius: 12px;
      background: #fff;
      color: #292532;
      box-shadow: 0 20px 55px rgba(56, 39, 73, 0.13), 0 3px 8px rgba(56, 39, 73, 0.08);
      font-family: var(--body);
      font-size: 12px;
      line-height: 1.4;
      font-feature-settings: "tnum", "kern";
    }
    .mod-window-bar {
      display: flex;
      height: 30px;
      align-items: center;
      gap: 5px;
      padding-inline: 12px;
      border-bottom: 1px solid #eeecf0;
      background: #fbfafc;
    }
    .mod-window-dot { width: 7px; height: 7px; border-radius: 50%; background: #d4d0d8; }
    .mod-window-dot:first-child { background: #e9a4a9; }
    .mod-window-dot:nth-child(2) { background: #e9c777; }
    .mod-window-dot:nth-child(3) { background: #9dccaa; }
    .mod-window-inner { display: grid; min-height: 390px; grid-template-columns: 166px minmax(0, 1fr); }
    .mod-app-sidebar {
      display: flex;
      min-width: 0;
      flex-direction: column;
      padding: 14px 10px;
      border-right: 1px solid #eeecf0;
      background: #fcfbfd;
    }
    .mod-app-brand { display: flex; align-items: center; gap: 8px; padding: 1px 6px 13px; font-size: 13px; font-weight: 700; }
    .mod-app-brand-mark { display: grid; width: 22px; height: 22px; place-items: center; background: #8d5ac1; color: #fff; font-family: var(--display); font-size: 13px; }
    .mod-workspace-pick {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      margin-bottom: 12px;
      padding: 8px 7px;
      border: 1px solid #e8e4ec;
      background: #fff;
      color: #383241;
      font-size: 10px;
      font-weight: 700;
    }
    .mod-workspace-pick small { display: block; color: #77717d; font-size: 9px; font-weight: 500; }
    .mod-workspace-pick svg { width: 13px; height: 13px; flex: 0 0 auto; }
    .mod-app-nav { display: grid; gap: 3px; }
    .mod-app-nav-item { display: flex; min-height: 28px; align-items: center; gap: 8px; padding: 5px 7px; color: #66616d; font-size: 10px; }
    .mod-app-nav-item svg { width: 14px; height: 14px; flex: 0 0 auto; }
    .mod-app-nav-item.active { background: #f0e7f8; color: #6d3fa1; font-weight: 700; }
    .mod-team-block { margin-top: auto; padding: 13px 6px 0; border-top: 1px solid #eeecf0; }
    .mod-team-label { margin-bottom: 7px; color: #77717d; font-size: 9px; }
    .mod-team-avatars { display: flex; align-items: center; }
    .mod-team-avatar {
      display: grid;
      width: 22px;
      height: 22px;
      margin-right: -4px;
      place-items: center;
      border: 1px solid #fff;
      border-radius: 50%;
      background: #e9ddf2;
      color: #483453;
      font-size: 8px;
      font-weight: 700;
    }
    .mod-team-avatar:nth-child(2n) { background: #dfe8f4; }
    .mod-team-avatar:nth-child(3n) { background: #f0e4d7; }
    .mod-app-main { min-width: 0; padding: 0 15px 14px; }
    .mod-app-topbar {
      display: flex;
      min-height: 49px;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      border-bottom: 1px solid #eeecf0;
      color: #76717c;
      font-size: 10px;
    }
    .mod-app-crumb { overflow: hidden; color: #4b4552; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
    .mod-app-top-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
    .mod-app-search { display: flex; min-width: 83px; align-items: center; gap: 5px; padding: 5px 6px; border: 1px solid #ece9ef; color: #77717d; }
    .mod-app-search svg { width: 12px; height: 12px; }
    .mod-app-search kbd { margin-left: auto; padding: 1px 3px; border: 1px solid #e5e1e9; border-radius: 3px; font-size: 8px; }
    .mod-app-bell { position: relative; display: grid; width: 22px; height: 24px; place-items: center; color: #625b69; }
    .mod-app-bell svg { width: 16px; height: 16px; }
    .mod-app-bell b { position: absolute; top: -1px; right: -3px; display: grid; min-width: 12px; height: 12px; place-items: center; border-radius: 50%; background: #d36a79; color: #fff; font-size: 8px; }
    .mod-app-user { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #d9c7eb; color: #49335d; font-size: 9px; font-weight: 700; }
    .mod-app-main-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 13px 0 10px; }
    .mod-app-main-title h3 { color: #292532; font-family: var(--body); font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
    .mod-app-main-title p { margin-top: 3px; color: #77717d; font-size: 10px; }
    .mod-app-action-chip { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; border: 1px solid #ded2eb; background: #f4edf9; color: #624182; font-size: 9px; font-weight: 700; white-space: nowrap; }
    .mod-app-action-chip svg { width: 12px; height: 12px; }
    .mod-app-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 11px; }
    .mod-app-kpi { min-width: 0; padding: 8px; border: 1px solid #eeecf0; background: #fff; }
    .mod-app-kpi span { display: block; overflow: hidden; color: #77717d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
    .mod-app-kpi strong { display: block; margin-top: 3px; color: #332d3a; font-size: 14px; font-weight: 700; }
    .mod-app-kpi em { display: block; margin-top: 2px; color: #64866a; font-size: 8px; font-style: normal; }
    .mod-app-table-wrap { overflow: hidden; border: 1px solid #eeecf0; }
    .mod-app-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9px; }
    .mod-app-table th { padding: 7px 5px; background: #faf9fb; color: #77717d; font-size: 8px; font-weight: 600; text-align: left; white-space: nowrap; }
    .mod-app-table td { overflow: hidden; padding: 7px 5px; border-top: 1px solid #f0eef2; color: #4e4855; text-overflow: ellipsis; white-space: nowrap; }
    .mod-app-table tbody tr:nth-child(2) { background: #f7f2fb; }
    .mod-app-table tbody tr:hover { background: #f3edf9; }
    .mod-app-table th:first-child, .mod-app-table td:first-child { width: 23px; text-align: center; }
    .mod-app-table th:nth-child(2), .mod-app-table td:nth-child(2) { width: 65px; }
    .mod-app-table th:nth-child(3), .mod-app-table td:nth-child(3) { width: 100px; }
    .mod-app-table th:nth-child(4), .mod-app-table td:nth-child(4) { width: 67px; }
    .mod-app-table th:nth-child(5), .mod-app-table td:nth-child(5) { width: 66px; }
    .mod-app-table th:nth-child(6), .mod-app-table td:nth-child(6) { width: 67px; text-align: right; }
    .mod-checkbox-drawn { display: inline-block; width: 10px; height: 10px; border: 1px solid #bdb6c5; vertical-align: middle; }
    .mod-checkbox-drawn.checked { border-color: #8d5ac1; background: #8d5ac1; }
    .mod-status-pill { display: inline-block; padding: 2px 5px; border-radius: 999px; font-size: 8px; font-weight: 700; }
    .mod-status-paid { background: #e4f1e5; color: #3d7449; }
    .mod-status-overdue { background: #fae7e5; color: #a14e49; }
    .mod-status-due { background: #fff1d9; color: #94661f; }
    .mod-status-draft { background: #eeecf1; color: #696371; }
    .mod-table-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px; border-top: 1px solid #eeecf0; color: #77717d; font-size: 8px; }
    .mod-bulk-bar { display: flex; align-items: center; gap: 7px; color: #694b86; font-size: 8px; font-weight: 700; }
    .mod-bulk-bar span { padding: 3px 5px; border: 1px solid #ded2eb; background: #f5effa; }
    .mod-sync-note { display: flex; align-items: center; gap: 4px; color: #77717d; }
    .mod-sync-note i { width: 5px; height: 5px; border-radius: 50%; background: #65a675; }
    .mod-toast {
      position: absolute;
      right: 12px;
      bottom: 43px;
      display: flex;
      align-items: center;
      gap: 7px;
      max-width: calc(100% - 24px);
      padding: 8px 10px;
      border: 1px solid #dcd6e2;
      background: #fff;
      color: #393341;
      font-size: 9px;
    }
    .mod-toast svg { width: 14px; height: 14px; flex: 0 0 auto; color: #4b9360; }
    .mod-toast strong { font-weight: 700; }
    .mod-window-footer { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 8px; padding-inline: 12px; border-top: 1px solid #eeecf0; background: #fcfbfd; color: #77717d; font-size: 9px; }
    .live-tag { color: #5e8d68; font-weight: 700; }

    /* Feature split */
    .mod-feature-section { background: var(--clr-card); }
    .mod-feature-grid { display: grid; grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.24fr); gap: clamp(var(--step-7), 7vw, var(--step-9)); align-items: start; }
    .mod-feature-sticky { position: sticky; top: var(--step-7); display: grid; gap: var(--step-5); }
    .mod-feature-sticky h2 { max-width: 9ch; }
    .mod-feature-sticky .mod-feature-aside { color: var(--clr-muted); }
    .mod-feature-list { display: grid; }
    .mod-feature-item { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: var(--step-4); padding-block: var(--step-6); border-top: var(--card-border); }
    .mod-feature-item:last-child { border-bottom: var(--card-border); }
    .mod-feature-index {
      display: grid;
      width: 36px;
      height: 36px;
      place-items: center;
      border: 1px solid var(--accent-copy);
      color: var(--clr-muted);
      font-size: var(--type-small);
      font-weight: 700;
      font-feature-settings: "tnum", "onum";
    }
    .mod-feature-item h3 { margin-bottom: var(--step-2); font-size: var(--type-h3); }
    .mod-feature-item p { color: var(--clr-muted); }
    .mod-feature-item .mod-text-link { margin-top: var(--step-3); }
    .mod-feature-visual {
      margin-top: var(--step-5);
      padding: var(--step-5);
      border: var(--card-border);
      background: var(--clr-bg);
    }
    .mod-recurring-panel {
      position: relative;
      overflow: hidden;
      border: 1px solid #d5d1da;
      border-radius: 10px;
      background: #fff;
      color: #292532;
      font-size: 11px;
      box-shadow: 0 12px 28px rgba(56, 39, 73, 0.10);
    }
    .mod-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #eeecf0; }
    .mod-panel-title { font-size: 13px; font-weight: 700; }
    .mod-panel-label { color: #77717d; font-size: 10px; }
    .mod-panel-body { padding: 12px 14px 14px; }
    .mod-recurring-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding-block: 9px; border-bottom: 1px solid #f0eef2; }
    .mod-recurring-row:last-of-type { border-bottom: 0; }
    .mod-client-monogram { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #eee5f6; color: #624182; font-size: 10px; font-weight: 700; }
    .mod-recurring-row strong { display: block; font-size: 10px; }
    .mod-recurring-row small { display: block; color: #77717d; font-size: 9px; }
    .mod-recurring-row b { font-size: 10px; }
    .mod-panel-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
    .mod-panel-progress { display: flex; align-items: center; gap: 7px; color: #77717d; font-size: 9px; }
    .mod-progress-track { width: 76px; height: 5px; overflow: hidden; border-radius: 999px; background: #eee9f2; }
    .mod-progress-track span { display: block; width: 68%; height: 100%; background: #8d5ac1; }
    .mod-panel-toast { padding: 6px 8px; border: 1px solid #ded2eb; background: #f5effa; color: #624182; font-size: 9px; font-weight: 700; }

    /* Editorial */
    .mod-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr); gap: clamp(var(--step-7), 8vw, var(--step-9)); align-items: center; }
    .mod-pull-quote {
      padding: clamp(var(--step-6), 5vw, var(--step-8));
      border: var(--card-border);
      background: var(--clr-card);
    }
    .mod-pull-quote blockquote {
      margin: 0;
      font-family: var(--display);
      font-size: clamp(2rem, 4vw, 3.6rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.02;
      text-wrap: balance;
    }
    .mod-pull-quote p { margin-top: var(--step-5); color: var(--clr-muted); }
    .mod-detail-list { display: grid; }
    .mod-detail-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--step-4); padding-block: var(--step-5); border-top: var(--card-border); }
    .mod-detail-row:last-child { border-bottom: var(--card-border); }
    .mod-detail-row svg { width: 20px; height: 20px; color: var(--accent-copy); }
    .mod-detail-row strong { display: block; margin-bottom: var(--step-1); font-size: 1rem; }
    .mod-detail-row p { color: var(--clr-muted); }

    /* Figure row */
    .mod-figures-section { background: var(--clr-card); }
    .mod-figures-head { display: flex; align-items: end; justify-content: space-between; gap: var(--step-6); margin-bottom: var(--step-7); }
    .mod-figures-head p { max-width: 42ch; color: var(--clr-muted); }
    .mod-figure-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--card-border); border-bottom: var(--card-border); }
    .mod-figure-item { position: relative; min-height: 175px; padding: var(--step-6) var(--step-5); border-right: var(--card-border); }
    .mod-figure-item:last-child { border-right: 0; }
    .mod-figure-number { display: block; margin-bottom: var(--step-3); color: var(--accent-copy); font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
    .mod-figure-item strong { display: block; margin-bottom: var(--step-1); font-size: 1rem; }
    .mod-figure-item p { color: var(--clr-muted); font-size: var(--type-small); }

    /* Stories rail */
    .mod-stories-head { display: flex; align-items: end; justify-content: space-between; gap: var(--step-6); margin-bottom: var(--step-7); }
    .mod-story-rail { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g-gap); }
    .mod-story-rail::before { position: absolute; top: 16px; right: 10%; left: 10%; height: 1px; background: var(--clr-accent); content: ""; }
    .mod-story-card { position: relative; padding-top: var(--step-7); }
    .mod-story-node { position: absolute; top: 8px; left: var(--step-5); z-index: 1; width: 17px; height: 17px; border: 4px solid var(--clr-bg); border-radius: 50%; background: var(--clr-accent); }
    .mod-story-box { height: 100%; padding: var(--step-5); border: var(--card-border); background: var(--clr-card); }
    .mod-story-kicker { margin-bottom: var(--step-3); color: var(--clr-muted); font-size: var(--type-eyebrow); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
    .mod-story-box blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 1.5rem + 0.35vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.14; }
    .mod-story-box cite { display: block; margin-top: var(--step-5); color: var(--clr-muted); font-size: var(--type-small); font-style: normal; }
    .mod-story-box cite strong { display: block; color: var(--clr-ink); font-size: 1rem; }

    /* Mid-page plan band */
    .mod-plan-band {
      overflow: hidden;
      padding-block: var(--sec-y);
      background: var(--clr-accent);
      color: var(--clr-on-accent);
    }
    .mod-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--step-6); }
    .mod-band-copy { display: grid; gap: var(--step-4); }
    .mod-band-copy .mod-eyebrow { color: var(--clr-on-accent); }
    .mod-band-copy h2 { max-width: 15ch; }
    .mod-band-marquee {
      display: flex;
      overflow: hidden;
      gap: var(--step-5);
      margin-top: var(--step-6);
      padding-block: var(--step-3);
      border-top: 1px solid rgba(0, 0, 0, 0.28);
      border-bottom: 1px solid rgba(0, 0, 0, 0.28);
      white-space: nowrap;
    }
    .mod-marquee-track { display: flex; flex: 0 0 auto; align-items: center; gap: var(--step-5); animation: marquee-run 30s linear infinite; }
    .mod-marquee-item { display: inline-flex; align-items: center; gap: var(--step-5); font-size: var(--type-small); font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
    .mod-marquee-item::after { width: 7px; height: 7px; border: 1px solid var(--clr-on-accent); border-radius: 50%; content: ""; }
    @keyframes marquee-run { to { transform: translateX(-50%); } }
    .mod-band-button { white-space: nowrap; border-color: var(--clr-on-accent); background: var(--clr-on-accent); color: #fff; }
    .mod-band-button:hover { border-color: var(--dark); background: var(--dark); color: #fff; }

    /* Pricing */
    .mod-pricing-section { background: var(--clr-bg); }
    .mod-pricing-head { display: flex; align-items: end; justify-content: space-between; gap: var(--step-6); margin-bottom: var(--step-7); }
    .mod-pricing-head p { max-width: 45ch; color: var(--clr-muted); }
    .mod-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g-gap); align-items: stretch; }
    .mod-plan-card {
      position: relative;
      display: flex;
      min-width: 0;
      flex-direction: column;
      padding: var(--step-6);
      border: var(--card-border);
      background: var(--clr-card);
      transition: border-color var(--ease), background var(--ease);
    }
    .mod-plan-card:hover { border-color: var(--clr-ink); background: var(--clr-accent-pale); }
    .mod-plan-card--featured { border: 2px solid var(--accent-copy); background: var(--clr-accent-tint); }
    .mod-plan-card--featured:hover { border-color: var(--clr-ink); }
    .mod-plan-label { display: inline-flex; width: fit-content; align-items: center; min-height: 25px; margin-bottom: var(--step-4); padding: var(--step-1) var(--step-3); border: 1px solid var(--accent-copy); color: var(--clr-muted); font-size: var(--type-eyebrow); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
    .mod-plan-card h3 { font-size: var(--type-h3); }
    .mod-plan-summary { min-height: 52px; margin-top: var(--step-2); color: var(--clr-muted); }
    .mod-plan-price { display: flex; align-items: baseline; gap: var(--step-2); margin-block: var(--step-5); }
    .mod-plan-price strong { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
    .mod-plan-price span { color: var(--clr-muted); font-size: var(--type-small); }
    .mod-plan-list { display: grid; gap: var(--step-3); margin: 0 0 var(--step-6); padding: var(--step-5) 0 0; border-top: var(--card-border); list-style: none; }
    .mod-plan-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--step-2); align-items: start; }
    .mod-plan-list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent-copy); }
    .mod-plan-card .mod-button { width: 100%; margin-top: auto; }
    .mod-plan-card--featured .mod-button--outline { border-color: var(--clr-ink); }
    .mod-plan-extra { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: var(--step-2); color: var(--clr-muted); font-size: var(--type-small); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-copy); text-underline-offset: 4px; }
    .mod-plan-extra:hover { color: var(--clr-ink); }
    .mod-pricing-note { margin-top: var(--step-5); color: var(--clr-muted); font-size: var(--type-small); }

    /* Final CTA */
    .mod-final-cta { padding-block: var(--sec-y); background: var(--dark); color: var(--on-dark); }
    .mod-final-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--step-7); }
    .mod-final-copy { display: grid; gap: var(--step-4); }
    .mod-final-copy .mod-eyebrow { color: var(--clr-ring); }
    .mod-final-copy h2 { max-width: 13ch; }
    .mod-final-copy p { color: #fff; }

    /* Footer */
    .mod-site-footer { padding-block: var(--step-8) var(--step-6); background: var(--dark); color: var(--on-dark); border-top: var(--card-border); }
    .mod-footer-signoff { display: flex; align-items: end; justify-content: space-between; gap: var(--step-6); padding-bottom: var(--step-7); border-bottom: 1px solid rgb(194, 186, 202); }
    .mod-footer-signoff p { max-width: 16ch; font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
    .mod-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--g-gap); padding-block: var(--step-7); }
    .mod-footer-col { display: grid; align-content: start; gap: var(--step-3); }
    .mod-footer-col h2 { margin: 0 0 var(--step-2); color: var(--clr-ring); font-family: var(--body); font-size: var(--type-eyebrow); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
    .mod-footer-col a, .mod-footer-col p { width: fit-content; color: #fff; font-size: var(--type-small); }
    .mod-footer-col a { display: inline-flex; min-height: 36px; align-items: center; transition: color var(--ease); }
    .mod-footer-col a:hover { color: var(--clr-ring); }
    .mod-footer-brand { display: grid; gap: var(--step-4); }
    .mod-footer-brand .mod-logo { height: clamp(38px, 3.6vw, 52px); }
    .mod-footer-bottom { display: flex; justify-content: space-between; gap: var(--step-4); padding-top: var(--step-5); border-top: 1px solid rgb(194, 186, 202); color: #fff; font-size: var(--type-small); }
    .mod-footer-bottom p { color: #fff; }

    @media (max-width: 900px) {
      .mod-desktop-nav { gap: var(--step-5); }
      .mod-hero-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--step-6); }
      .mod-window-inner { grid-template-columns: 145px minmax(0, 1fr); }
      .mod-app-sidebar { padding-inline: 7px; }
      .mod-feature-grid { grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr); gap: var(--step-6); }
      .mod-plan-card { padding: var(--step-5); }
    }
    @media (max-width: 680px) {
      html { scroll-padding-top: var(--step-6); }
      .mod-nav-row { min-height: 76px; gap: var(--step-3); }
      .mod-desktop-nav, .mod-nav-mark { display: none; }
      .mod-nav-action { gap: var(--step-2); }
      .mod-nav-action .mod-button { min-height: 44px; padding-inline: var(--step-4); font-size: var(--type-small); }
      .mod-menu-toggle { display: grid; }
      .mod-hero { padding-block: var(--step-8); }
      .mod-hero-grid { grid-template-columns: 1fr; gap: var(--step-7); }
      .mod-hero-copy { max-width: 600px; }
      .mod-hero-product { margin-inline: calc(var(--layout-pad) * -0.25); }
      .mod-window-inner { min-height: 350px; grid-template-columns: 1fr; }
      .mod-app-sidebar { display: none; }
      .mod-app-main { padding-inline: 10px; }
      .mod-app-table th:nth-child(n+5), .mod-app-table td:nth-child(n+5) { display: none; }
      .mod-app-table tbody tr:nth-child(n+6) { display: none; }
      .mod-app-table th:nth-child(3), .mod-app-table td:nth-child(3) { width: auto; }
      .mod-app-table th:nth-child(4), .mod-app-table td:nth-child(4) { width: 70px; text-align: right; }
      .mod-feature-grid { grid-template-columns: 1fr; gap: var(--step-6); }
      .mod-feature-sticky { position: static; }
      .mod-feature-sticky h2 { max-width: 13ch; }
      .mod-intro-grid { grid-template-columns: 1fr; }
      .mod-figures-head, .mod-stories-head, .mod-pricing-head { align-items: start; flex-direction: column; }
      .mod-figure-row { grid-template-columns: 1fr; }
      .mod-figure-item { min-height: 0; border-right: 0; border-bottom: var(--card-border); }
      .mod-figure-item:last-child { border-bottom: 0; }
      .mod-figure-number { font-size: 3rem; }
      .mod-story-rail { grid-template-columns: 1fr; gap: var(--step-4); }
      .mod-story-rail::before { top: 10px; bottom: 10px; left: 14px; width: 1px; height: auto; }
      .mod-story-card { padding-top: 0; padding-left: var(--step-7); }
      .mod-story-node { top: 18px; left: 6px; }
      .mod-band-inner { grid-template-columns: 1fr; }
      .mod-band-button { justify-self: start; }
      .mod-plan-grid { grid-template-columns: 1fr; }
      .mod-plan-summary { min-height: 0; }
      .mod-final-inner { align-items: start; flex-direction: column; }
      .mod-footer-signoff { align-items: start; flex-direction: column; }
      .mod-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .mod-footer-bottom { align-items: start; flex-direction: column; }
    }
    @media (max-width: 390px) {
      .mod-app-search { min-width: 68px; }
      .mod-app-search kbd { display: none; }
      .mod-app-top-actions { gap: 5px; }
      .mod-app-main-title { align-items: center; }
      .mod-app-action-chip { padding: 5px; font-size: 8px; }
      .mod-app-kpis { gap: 4px; }
      .mod-app-kpi { padding: 6px 5px; }
      .mod-app-kpi strong { font-size: 12px; }
      .mod-footer-grid { gap: var(--step-5); }
    }
    @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
      .mod-magnetic { transition: transform var(--ease), background var(--ease), border-color var(--ease); }
    }
    @media (hover: none), (prefers-reduced-motion: reduce) {
      .mod-hero::before { background: radial-gradient(ellipse at 76% 42%, rgb(235, 222, 247) 0, transparent 40%); }
      .mod-hero-product::before, .mod-hero-product::after, .mod-marquee-track { animation: none; }
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    }
  /* composition-variance */

main > section:first-of-type .hero-inner, main > section:first-of-type .hero-layout, main > section:first-of-type .mod-hero-grid, main > section:first-of-type .hero-split { display: block !important; min-height: 0 !important; }
main > section:first-of-type .mod-hero-copy, main > section:first-of-type .hero-content, main > section:first-of-type .hero-text { max-width: 980px !important; }
main > section:first-of-type h1 { max-width: 24ch !important; font-size: clamp(2.4rem, 5vw, 5rem) !important; }
main > section:first-of-type .hero-art, main > section:first-of-type .hero-visual, main > section:first-of-type .product-visual { width: 100% !important; max-width: 1100px !important; margin-top: 3.5rem !important; }
main > section:first-of-type .mod-hero-actions, main > section:first-of-type .hero-bottom, main > section:first-of-type .hero-cta { margin-top: 2rem !important; }

main > section:first-of-type .mod-app-sidebar, main > section:first-of-type .mod-app-topbar, main > section:first-of-type .app-chrome, main > section:first-of-type .workspace, main > section:first-of-type .mod-toast { display: none !important; }
main > section:first-of-type .app-layout, main > section:first-of-type .mod-app-main { display: block !important; width: 100% !important; }
main > section:first-of-type .app-content { padding: 0 !important; }

@media (max-width: 800px) {
  main > section:first-of-type .hero-inner, main > section:first-of-type .hero-layout, main > section:first-of-type .mod-hero-grid, main > section:first-of-type .hero-split { display: block !important; min-height: 0 !important; }
  main > section:first-of-type .mod-hero-copy, main > section:first-of-type .hero-content, main > section:first-of-type .hero-text, main > section:first-of-type .hero-art, main > section:first-of-type .hero-visual, main > section:first-of-type .product-visual { width: auto !important; max-width: none !important; transform: none !important; }
  main > section:first-of-type .hero-art, main > section:first-of-type .hero-visual, main > section:first-of-type .product-visual { margin-top: 2rem !important; }
  main > section:first-of-type h1 { max-width: 100% !important; }
}
