/* Phone layout for the public website (owner 2026-10-21: "make it look like big brands on mobile; strictly don't
   touch desktop"). Every rule below lives inside one media query: screens narrower than 768 px. Tablets and
   desktops never read it. Spec: docs/superpowers/specs/2026-10-21-public-site-mobile-design.md.
   Loaded last on every static public page, with website-js/mobile.js. */

/* Colours for the few phone-only pieces (menu, sticky bar, swipe dots, jump menu), light then dark. */
:root {
  --m-ink: #111322;
  --m-muted: #5b5f73;
  --m-surface: #ffffff;
  --m-surface-2: #f4f3fb;
  --m-line: rgba(17, 19, 34, 0.1);
  --m-primary: #3810c9;
  --m-on-primary: #ffffff;
  --m-dot: rgba(56, 16, 201, 0.22);
  --m-scrim: rgba(10, 8, 30, 0.42);
}

html[data-theme='dark'][data-theme-surface='public'] {
  --m-ink: #f4f3ff;
  --m-muted: #a9a6c4;
  --m-surface: #0c0b18;
  --m-surface-2: #16142a;
  --m-line: rgba(255, 255, 255, 0.12);
  --m-primary: #6e4dff;
  --m-on-primary: #ffffff;
  --m-dot: rgba(255, 255, 255, 0.22);
  --m-scrim: rgba(0, 0, 0, 0.6);
}

@media (max-width: 767.98px) {
  :root {
    --m-gutter: 20px;
    --m-section-y: 48px;
    --m-radius: 16px;
    --m-card-pad: 20px;
    --m-gap: 12px;
    --m-header: 60px;
    --m-safe-l: env(safe-area-inset-left, 0px);
    --m-safe-r: env(safe-area-inset-right, 0px);
    --m-safe-b: env(safe-area-inset-bottom, 0px);
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  footer.site-footer .footer-brand-col > a.logo {
    min-height: 44px;
    align-items: center;
  }

  html,
  body {
    overflow-x: clip;
  }

  body {
    font-size: 16px;
    line-height: 1.55;
  }

  img,
  video,
  svg {
    max-width: 100%;
  }

  /* Anchors land below the sticky header. */
  [id] {
    scroll-margin-top: calc(var(--m-header) + 12px);
  }

  /* Content never waits for a scroll animation on phones. */
  .reveal-up,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade,
  .animate-fade-up,
  [data-reveal],
  section.reveal-up > .container,
  section.reveal-up > [class*='max-w-container'],
  footer.reveal-up > .container,
  #how-it-works .glass-panel.reveal-up,
  #pricing .price-card.reveal-up {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  /* ------------------------------------------------------------ buttons */
  .m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    background: var(--m-primary);
    color: var(--m-on-primary);
  }

  .m-btn--ghost {
    background: transparent;
    color: var(--m-ink);
    border: 1px solid var(--m-line);
  }

  /* ------------------------------------------------------------ swipe rows (big-brand pattern: next card peeks) */
  /* The two hero chip rows are listed by name as well (2026-10-25): mobile.js only marks rails after the first paint,
     and in the first screen that showed the desktop rows squeezed ("Smart Se…") and then a jump into the swipe row. */
  [data-m-rail],
  #hero .hero-feature-pills,
  #hero .hero-trust-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: var(--m-gap) !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--m-gutter);
    padding-inline: var(--m-gutter) !important;
    margin-inline: calc(var(--m-gutter) * -1) !important;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  [data-m-rail]::-webkit-scrollbar,
  #hero .hero-feature-pills::-webkit-scrollbar,
  #hero .hero-trust-row::-webkit-scrollbar {
    display: none;
  }

  [data-m-rail] > * {
    flex: 0 0 84% !important;
    width: 84% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Pill rows (topics, tabs, chips): pills keep their own width. */
  [data-m-rail][data-m-rail-pills],
  #hero .hero-feature-pills,
  #hero .hero-trust-row {
    gap: 8px !important;
  }

  /* The rail item basics (margin, sizes, snapping) for the hero rows before mobile.js marks them (review 2026-10-25). */
  #hero .hero-feature-pills > *,
  #hero .hero-trust-row > * {
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }

  [data-m-rail][data-m-rail-pills] > *,
  #hero .hero-feature-pills > *,
  #hero .hero-trust-row > * {
    flex: 0 0 auto !important;
    width: auto !important;
    scroll-snap-stop: normal;
  }

  .m-rail-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }

  /* Position dots: they show where you are; the cards themselves are swiped. */
  .m-rail-dots > span {
    display: block !important;
    flex: 0 0 auto !important;
    width: 6px !important;
    height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--m-dot) !important;
    box-shadow: none !important;
    transition: width 0.2s ease, background 0.2s ease;
  }

  .m-rail-dots > span[data-active] {
    width: 18px !important;
    background: var(--m-primary) !important;
  }

  /* On purple sections the dots are white. */
  #automate .m-rail-dots,
  #dashboard .m-rail-dots,
  #testimonials .m-rail-dots,
  #about .m-rail-dots {
    --m-dot: rgba(255, 255, 255, 0.3);
    --m-primary: #ffffff;
  }

  /* ------------------------------------------------------------ header: logo, theme button, menu button */
  #navbar > nav {
    min-height: var(--m-header);
    padding: env(safe-area-inset-top, 0px) calc(var(--m-gutter) + var(--m-safe-r)) 0 calc(var(--m-gutter) + var(--m-safe-l)) !important;
    gap: 12px;
  }

  #navbar > nav > a:first-child {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    flex: 0 1 auto;
    min-width: 0;
  }

  #navbar > nav > a:first-child img {
    height: 30px !important;
    width: auto;
  }

  /* Log in / Sign up live in the menu on phones; the header keeps the theme button and the menu button. */
  #navbar [data-public-session-actions],
  #navbar .navbar-mobile-menu {
    display: none !important;
  }

  #navbar .pub-header-end {
    gap: 8px;
  }

  #navbar .ui-theme-menu-button {
    width: 44px !important;
    height: 44px !important;
  }

  /* The stand-in each page draws until mobile.js adds the working button (owner 2026-10-26: it arrived a frame late). */
  .m-menu-button,
  .m-menu-standin {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--m-line);
    border-radius: 14px;
    background: var(--m-surface);
    color: var(--m-ink);
    cursor: pointer;
    z-index: 61;
  }

  .m-menu-button span,
  .m-menu-standin span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  html.m-menu-open .m-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  html.m-menu-open .m-menu-button span:nth-child(2) {
    opacity: 0;
  }

  html.m-menu-open .m-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  html.m-menu-open,
  html.m-menu-open body {
    overflow: hidden !important;
  }

  /* The header stays above the open menu so its button closes it. */
  html.m-menu-open #navbar {
    z-index: 70 !important;
    background: var(--m-surface) !important;
  }

  .m-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 65;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--m-header) + env(safe-area-inset-top, 0px) + 8px) calc(var(--m-gutter) + var(--m-safe-r)) calc(20px + var(--m-safe-b)) calc(var(--m-gutter) + var(--m-safe-l));
    overflow-y: auto;
    background: var(--m-surface);
    color: var(--m-ink);
    /* Closed state; .is-open moves it into place (smooth both ways). */
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.26s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .m-menu-panel.is-open {
    opacity: 1;
    transform: none;
  }

  /* Links and buttons arrive one after another. */
  .m-menu-panel .m-menu-links a,
  .m-menu-panel .m-menu-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
  }

  .m-menu-panel.is-open .m-menu-links a,
  .m-menu-panel.is-open .m-menu-actions {
    opacity: 1;
    transform: none;
    transition-delay: calc(60ms + var(--i, 0) * 35ms);
  }

  .m-menu-links a:active {
    color: var(--m-primary);
  }

  .m-menu-panel[hidden] {
    display: none;
  }

  .m-menu-links {
    display: flex;
    flex-direction: column;
  }

  .m-menu-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    border-bottom: 1px solid var(--m-line);
    color: var(--m-ink);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
  }

  .m-menu-links a span {
    color: var(--m-muted);
    font-size: 24px;
    font-weight: 400;
  }

  .m-menu-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
  }

  /* ------------------------------------------------------------ home: hero */
  #hero {
    min-height: 0 !important;
    padding: calc(var(--m-header) + 28px) 0 40px !important;
  }

  #hero > .relative.z-10 {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-inline: calc(var(--m-gutter) + var(--m-safe-l)) calc(var(--m-gutter) + var(--m-safe-r)) !important;
  }

  #hero > .relative.z-10 > div:first-child {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #hero h1 {
    font-size: clamp(30px, 8.4vw, 36px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    margin: 0 0 14px !important;
    text-wrap: balance;
  }

  #hero h1 + p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin: 0 0 22px !important;
    max-width: 36ch;
  }

  /* One full-width main action; the demo is a quiet second action. */
  #hero .btn-premium,
  #hero .btn-premium-outline {
    width: 100% !important;
    min-height: 52px !important;
    padding: 14px 20px !important;
    justify-content: center !important;
    font-size: 16px !important;
  }

  #hero .btn-premium-outline {
    min-height: 48px !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #hero .btn-premium + .btn-premium-outline,
  #hero .btn-premium-outline {
    margin-top: 4px;
  }

  #hero .hero-feature-pills,
  #hero .hero-trust-row {
    margin: 0 !important;
  }

  #hero .hero-feature-pills {
    margin-top: 22px !important;
  }

  #hero .hero-trust-row {
    margin-top: 8px !important;
  }

  #hero .hero-feature-pills > div,
  #hero .hero-trust-row > div {
    width: auto !important;
    min-height: 44px;
    padding: 8px 14px 8px 8px !important;
    border-radius: 999px !important;
    scroll-snap-align: start;
  }

  #hero .hero-feature-pills > div > div:last-child > div:first-child,
  #hero .hero-trust-row .hero-trust-copy > *:first-child {
    font-size: 14px !important;
    white-space: nowrap;
  }

  /* The second line of each chip ("Intent & tone AI") is too small to read on a phone; the title says it. */
  #hero .hero-feature-pills > div > div:last-child > :not(:first-child),
  #hero .hero-trust-row .hero-trust-copy > :not(:first-child) {
    display: none !important;
  }

  /* The product picture (Instagram post, comment and the brand's reply) under the buttons. */
  #hero-anim-root {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  #hero-anim-root > .flex {
    position: relative !important;
    align-items: center !important;
  }

  /* The comment and the brand's reply sit over the lower part of the post, as on desktop, instead of below it. */
  #hero-anim-root .hero-comments-card {
    position: absolute !important;
    left: 14px !important;
    right: -10px !important;
    bottom: -36px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  #hero-anim-root .relative.w-\[320px\] {
    padding-bottom: 44px;
  }

  /* The dashboard demo is not shown on phones (owner, 2026-10-22); tablets and desktops keep it. */
  #dashboard {
    display: none !important;
  }

  /* ------------------------------------------------------------ home: every section shares one rhythm */
  #automate,
  #how-it-works,
  #dashboard,
  #pricing,
  #testimonials,
  #faq,
  #about,
  section.final-cta {
    padding-top: var(--m-section-y) !important;
    padding-bottom: var(--m-section-y) !important;
  }

  #automate > .max-w-container-max,
  #how-it-works > .container,
  #dashboard > .container,
  #pricing > .container,
  #testimonials > .container,
  #faq > .max-w-container-max,
  #about > .max-w-container-max,
  section.final-cta > .max-w-container-max {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-inline: calc(var(--m-gutter) + var(--m-safe-l)) calc(var(--m-gutter) + var(--m-safe-r)) !important;
  }

  /* Section intros: eyebrow, heading, one paragraph, left-aligned on one edge. */
  #automate > .max-w-container-max > .text-center,
  #how-it-works > .container > .text-center,
  #dashboard > .container > .text-center,
  #pricing > .container > .text-center,
  #testimonials > .container.text-center,
  #faq > .max-w-container-max > .text-center,
  section.final-cta .max-w-3xl {
    max-width: none !important;
    margin: 0 0 28px !important;
    text-align: left !important;
  }

  #automate h2,
  #how-it-works h2,
  #dashboard h2,
  #pricing h2,
  #testimonials h2,
  #faq h2,
  #about h2,
  section.final-cta h2 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin: 12px 0 12px !important;
    text-align: left !important;
    text-wrap: balance;
  }

  #automate h2 br,
  #dashboard h2 br,
  section.final-cta h2 br {
    display: none;
  }

  #automate .text-center > p,
  #how-it-works .section-desc,
  #dashboard .section-desc,
  #pricing .section-desc,
  #faq .text-center > p,
  section.final-cta .max-w-3xl > p {
    max-width: none !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  /* ------------------------------------------------------------ home: features */
  #automate .grid.mt-stack-lg {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    margin-top: 0 !important;
  }

  #feature-accordion {
    min-height: 0 !important;
  }

  /* The demo phone, a little smaller so the section stays short. */
  #automate .grid.mt-stack-lg > div:last-child {
    height: 470px !important;
    overflow: visible !important;
  }

  #automate .grid.mt-stack-lg > div:last-child > [class*='h-[570px]'] {
    transform: scale(0.82) !important;
    transform-origin: top center !important;
  }

  #feature-accordion > .feature-accordion-item {
    width: 100% !important;
    margin: 0 0 10px !important;
  }

  /* ------------------------------------------------------------ home: how it works (swipe row) */
  #how-it-works .grid.grid-cols-1 > .glass-panel {
    padding: 16px !important;
  }


  /* ------------------------------------------------------------ home: dashboard demo as a phone app screen
     The desktop demo is a 1600x900 drawing scaled down; on a phone that would be 4 px text. Here the same cards
     re-flow into one readable column, and the sidebar menu becomes swipeable tabs. */
  #boostingr-dash-v2 {
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }

  #boostingr-dash-v2 [data-dash-canvas] {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #boostingr-dash-v2 .bd2-side {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px 0 12px !important;
    flex-direction: row !important;
  }

  #boostingr-dash-v2 .bd2-side > :not(.bd2-navlist) {
    display: none !important;
  }

  #boostingr-dash-v2 .bd2-navlist {
    flex-direction: row !important;
    margin: 0 !important;
    gap: 6px !important;
  }

  #boostingr-dash-v2 .bd2-nav {
    height: 44px !important;
    padding: 0 14px !important;
    white-space: nowrap;
    font-size: 14px !important;
  }

  #boostingr-dash-v2 .bd2-nav.is-on {
    box-shadow: inset 0 -3px 0 var(--pt-shadow-abfb7910, #15D7B1) !important;
  }

  #boostingr-dash-v2 .bd2-nav .bd2-chev,
  #boostingr-dash-v2 .bd2-subnav {
    display: none !important;
  }

  #boostingr-dash-v2 .bd2-view {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
  }

  #boostingr-dash-v2 .bd2-view-inner {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 18px 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  #boostingr-dash-v2 .bd2-view-inner > * {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  /* A fixed app window: long screens scroll inside it and fade at the bottom, like a phone app. */
  #boostingr-dash-v2 .bd2-view.is-active {
    height: 560px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
  }

  #boostingr-dash-v2 .bd2-view.is-active::-webkit-scrollbar {
    display: none;
  }

  #boostingr-dash-v2 .bd2-view-inner div {
    min-width: 0;
  }

  /* Card pieces placed at fixed coordinates on desktop stack in order on a phone. */
  #boostingr-dash-v2 .bd2-view-inner .bd2-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  #boostingr-dash-v2 .bd2-view-inner .bd2-card > div,
  #boostingr-dash-v2 .bd2-view-inner .bd2-card div:not(.bd2-thumb):not(.bd2-thumb *) {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    transform: none !important;
  }

  #boostingr-dash-v2 .bd2-view-inner div:not(.bd2-navlist) {
    flex-wrap: wrap;
  }

  /* Table rows (Audience): each row grows with its content; the column titles are not needed in one column. */
  #boostingr-dash-v2 .bd2-row {
    height: auto !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    padding-block: 12px !important;
  }

  #boostingr-dash-v2 .bd2-thead {
    display: none !important;
  }

  #boostingr-dash-v2 .bd2-botpill {
    width: auto !important;
    align-self: flex-start;
  }

  #boostingr-dash-v2 .bd2-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  /* ------------------------------------------------------------ home: pricing (plans swipe, Pro first) */
  #pricing .container > .flex.justify-center {
    justify-content: flex-start !important;
    gap: 12px !important;
    margin: 0 0 20px !important;
  }

  #pricing #billing-monthly-label,
  #pricing #billing-yearly-label {
    font-size: 15px !important;
  }

  #pricing #billing-yearly-label > span {
    font-size: 12px !important;
  }

  /* 44 px to tap; the visible switch stays its size (the transparent border is part of the tap area). */
  #pricing #billing-toggle-btn {
    box-sizing: content-box !important;
    border: 6px solid transparent !important;
    background-clip: padding-box !important;
    margin: -6px 0 !important;
  }

  #pricing .pricing-cards {
    padding-top: 18px !important;
    align-items: stretch !important;
  }

  #pricing .price-card {
    padding: 22px 20px !important;
    transform: none !important;
  }

  #pricing .price-card > p:first-of-type,
  #pricing .price-card > div + p:first-of-type {
    font-size: 12px !important;
  }

  #pricing .price-card .billing-term,
  #pricing .price-card > p.text-xs {
    font-size: 14px !important;
  }

  #pricing .price-card .popular-tag {
    font-size: 12px !important;
  }

  #pricing .price-card .price-features {
    gap: 10px !important;
  }

  #pricing .price-card .btn {
    min-height: 48px !important;
  }

  #pricing .m-more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }

  #pricing .price-features li.m-hidden {
    display: none !important;
  }

  /* ------------------------------------------------------------ home: testimonials (swipe, no auto-slide) */
  #testimonials .hover-pause {
    animation: none !important;
    transform: none !important;
    width: auto !important;
  }

  /* The second half of the track repeats the first for the desktop loop. */
  #testimonials .hover-pause > .testi-card:nth-child(n + 7) {
    display: none !important;
  }

  #testimonials .testi-card {
    padding: 22px 20px !important;
  }

  /* ------------------------------------------------------------ home: FAQ */
  #faq .flex.justify-center.mb-12 {
    justify-content: flex-start !important;
    margin: 0 0 20px !important;
  }

  #faq .inline-flex.p-1\.5 {
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    border: 0 !important;
    background: none !important;
    padding-block: 0 !important;
  }

  #faq .faq-tab {
    min-height: 44px !important;
    white-space: nowrap;
    border: 1px solid var(--m-line) !important;
  }

  #faq .max-w-\[760px\] {
    max-width: none !important;
  }

  #faq .faq-acc-trigger {
    min-height: 56px !important;
    padding: 16px 16px !important;
    gap: 12px !important;
    text-align: left !important;
  }

  #faq .faq-acc-trigger > span {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  #faq .faq-acc-item {
    margin-bottom: 10px !important;
  }

  #faq .faq-acc-item.m-hidden {
    display: none !important;
  }

  #faq .m-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    border: 1px solid var(--m-line);
    border-radius: 14px;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
  }

  /* ------------------------------------------------------------ home: about */
  #about .grid.lg\:grid-cols-12 {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  #about .grid.lg\:grid-cols-12 > div:first-child {
    position: static !important;
  }

  #about .grid.lg\:grid-cols-12 > div:last-child > * {
    padding: 22px 20px !important;
  }

  #about [class*='font-mono'],
  #about .text-\[10px\],
  #about .text-\[11px\] {
    font-size: 12px !important;
  }

  /* ------------------------------------------------------------ home: final call to action */
  section.final-cta .max-w-3xl {
    text-align: left !important;
  }

  section.final-cta .max-w-3xl > .flex {
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 24px !important;
  }

  section.final-cta .max-w-3xl > .flex > a {
    width: 100% !important;
    min-height: 52px !important;
    justify-content: center !important;
  }

  section.final-cta .max-w-3xl > span {
    font-size: 12px !important;
  }

  /* ------------------------------------------------------------ home: sticky "Start free" bar */
  .m-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    padding: 10px calc(var(--m-gutter) + var(--m-safe-r)) calc(10px + var(--m-safe-b)) calc(var(--m-gutter) + var(--m-safe-l));
    background: color-mix(in srgb, var(--m-surface) 88%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--m-line);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.28s;
  }

  .m-sticky-cta.is-shown {
    transform: none;
    visibility: visible;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  }

  /* While the bar shows, the cookie notice sits above it rather than under it. */
  .m-sticky-cta .m-btn {
    min-height: 52px;
  }

  /* ------------------------------------------------------------ team, contact and legal pages (main.legal-shell)
     Full-width bands with one side margin, as on the home page. */
  main.legal-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: calc(var(--m-header) + env(safe-area-inset-top, 0px)) 0 0 !important;
    gap: 0 !important;
  }

  main.legal-shell > header.legal-hero {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 32px calc(var(--m-gutter) + var(--m-safe-r)) 36px calc(var(--m-gutter) + var(--m-safe-l)) !important;
    border-radius: 0 0 28px 28px !important;
  }

  main.legal-shell > header.legal-hero > * {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  main.legal-shell > header.legal-hero span.legal-eyebrow,
  main.legal-shell .legal-eyebrow {
    width: auto !important;
    align-self: flex-start;
    font-size: 12px !important;
  }

  main.legal-shell h1 {
    font-size: 34px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    margin: 0 !important;
    text-wrap: balance;
  }

  main.legal-shell > header.legal-hero p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  main.legal-shell .legal-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  main.legal-shell .legal-meta > span {
    width: auto !important;
    font-size: 13px !important;
  }

  /* Legal articles: one readable column, sections separated by a line. */
  main.legal-shell article.legal-article {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  main.legal-shell .legal-section {
    margin: 0 !important;
    padding: 28px calc(var(--m-gutter) + var(--m-safe-r)) 28px calc(var(--m-gutter) + var(--m-safe-l)) !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--m-line) !important;
    background: none !important;
    box-shadow: none !important;
  }

  main.legal-shell .legal-section h2 {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin: 0 0 12px !important;
  }

  main.legal-shell .legal-section h3 {
    font-size: 18px !important;
  }

  main.legal-shell .legal-section p,
  main.legal-shell .legal-section li {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  main.legal-shell .legal-section a {
    overflow-wrap: anywhere;
  }

  /* "On this page" jump menu for the legal pages. */
  .m-jump {
    position: sticky;
    top: calc(var(--m-header) + env(safe-area-inset-top, 0px));
    z-index: 40;
    padding: 10px calc(var(--m-gutter) + var(--m-safe-r)) 10px calc(var(--m-gutter) + var(--m-safe-l));
    background: color-mix(in srgb, var(--m-surface) 92%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--m-line);
  }

  .m-jump select {
    width: 100%;
    min-height: 44px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--m-line);
    border-radius: 12px;
    background: var(--m-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b6f85' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    color: var(--m-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
  }

  /* Contact: the form first, in one column, then the ways to reach us. */
  main.legal-shell .contact-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px calc(var(--m-gutter) + var(--m-safe-r)) 40px calc(var(--m-gutter) + var(--m-safe-l)) !important;
  }

  main.legal-shell .contact-form-card,
  main.legal-shell .contact-trust,
  main.legal-shell .contact-trust > article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  main.legal-shell .contact-form-card {
    padding: 22px 18px !important;
  }

  main.legal-shell .contact-form-card h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  main.legal-shell .contact-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  main.legal-shell .contact-field {
    width: 100% !important;
  }

  main.legal-shell .contact-field input,
  main.legal-shell .contact-field select,
  main.legal-shell .contact-field textarea {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 16px !important;
  }

  main.legal-shell .contact-word-count {
    font-size: 14px !important;
  }

  main.legal-shell .contact-submit {
    width: 100% !important;
    min-height: 52px !important;
  }

  main.legal-shell .contact-trust {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  main.legal-shell .contact-trust > article {
    padding: 20px 18px !important;
  }

  /* Team page. */
  main.legal-shell > section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 40px calc(var(--m-gutter) + var(--m-safe-r)) 40px calc(var(--m-gutter) + var(--m-safe-l)) !important;
    border-radius: 0 !important;
  }

  main.legal-shell .team-hero h1 {
    font-size: 30px !important;
  }

  main.legal-shell .team-hero-copy,
  main.legal-shell .team-ai-lab,
  main.legal-shell .team-section-kicker,
  main.legal-shell .team-dna-copy,
  main.legal-shell .team-dna-visual,
  main.legal-shell .team-section-heading {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  main.legal-shell .team-section-kicker,
  main.legal-shell .team-dna-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  main.legal-shell .team-section-heading {
    text-align: left !important;
  }

  main.legal-shell > section h2 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  main.legal-shell > section p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  main.legal-shell .team-loop-grid,
  main.legal-shell .team-members-grid {
    margin-top: 22px !important;
  }

  main.legal-shell .team-dna-visual {
    height: auto !important;
    max-height: 420px;
    overflow: hidden;
    border-radius: 22px;
  }

  main.legal-shell .team-dna-visual img {
    width: 100% !important;
    height: auto !important;
  }

  main.legal-shell .team-build-points {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  main.legal-shell .team-belief-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  main.legal-shell .team-belief-strip > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  main.legal-shell .team-belief-strip > div > span {
    width: auto !important;
  }

  main.legal-shell small,
  main.legal-shell .team-ai-lab span,
  main.legal-shell .team-members-section span,
  main.legal-shell .team-dna-caption span,
  main.legal-shell .team-member-card span {
    font-size: max(12px, 1em) !important;
  }

  /* ------------------------------------------------------------ log in, sign up, forgot / reset password
     The form first, full width; the purple promo panel follows as a short band. */
  #navbar-root {
    position: sticky !important;
    top: 0;
    z-index: 60;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  :root body[class] nav.auth-public-nav.auth-public-nav .auth-nav-logo,
  :root body[class] nav.auth-public-nav.auth-public-nav .auth-nav-logo img {
    margin: 0 !important;
    padding-left: 0 !important;
  }

  :root body[class] nav.auth-public-nav.auth-public-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: var(--m-header) !important;
    margin: 0 !important;
    padding: env(safe-area-inset-top, 0px) calc(var(--m-gutter) + var(--m-safe-r)) 0 calc(var(--m-gutter) + var(--m-safe-l)) !important;
    border-radius: 0 !important;
  }

  :root body[class] nav.auth-public-nav.auth-public-nav .auth-nav-links,
  :root body[class] nav.auth-public-nav.auth-public-nav [data-public-session-actions],
  :root body[class] nav.auth-public-nav.auth-public-nav .auth-nav-mobile {
    display: none !important;
  }

  :root body[class] nav.auth-public-nav.auth-public-nav .auth-nav-logo {
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
  }

  :root body[class] nav.auth-public-nav.auth-public-nav .auth-nav-logo img {
    height: 30px !important;
    width: auto !important;
  }

  :root body[class] nav.auth-public-nav.auth-public-nav .pub-header-end {
    position: static !important;
    display: flex !important;
    gap: 8px !important;
    width: auto !important;
    margin-left: auto !important;
    transform: none !important;
  }

  :root body[class] nav.auth-public-nav.auth-public-nav .ui-theme-menu-button {
    width: 44px !important;
    height: 44px !important;
  }

  :root body[class] .login-container.login-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  :root body[class] .login-container.login-container .login-right {
    order: 1;
    width: 100% !important;
    padding: 0 !important;
  }

  :root body[class] .login-container.login-container .login-form-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 24px calc(var(--m-gutter) + var(--m-safe-r)) 32px calc(var(--m-gutter) + var(--m-safe-l)) !important;
    gap: 14px !important;
  }

  :root body[class] .login-container.login-container .login-left {
    order: 2;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  :root body[class] .login-container.login-container .login-left-content {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 28px calc(var(--m-gutter) + var(--m-safe-r)) calc(32px + var(--m-safe-b)) calc(var(--m-gutter) + var(--m-safe-l)) !important;
    border-radius: 28px 28px 0 0 !important;
  }

  /* The promo band keeps its headline, line and three points; the metrics card is for big screens. */
  :root body[class] .login-container.login-container .login-left-content .auth-metrics,
  :root body[class] .login-container.login-container .login-left-content .auth-proof-card {
    display: none !important;
  }

  :root body[class] .login-container.login-container .login-hero {
    width: 100% !important;
    max-width: none !important;
  }

  :root body[class] .login-container.login-container .login-hero h1,
  :root body[class] .login-container.login-container .login-hero h2 {
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  :root body[class] .login-container.login-container .login-header h1,
  :root body[class] .login-container.login-container .login-header h2 {
    font-size: 30px !important;
    line-height: 1.1 !important;
  }

  :root body[class] .login-container.login-container input:not([type='checkbox']):not([type='radio']),
  :root body[class] .login-container.login-container select,
  :root body[class] .login-container.login-container textarea {
    min-height: 48px !important;
    font-size: 16px !important;
  }

  :root body[class] .login-container.login-container .tabs > *,
  :root body[class] .login-container.login-container .tab {
    min-height: 44px !important;
  }

  :root body[class] .login-container.login-container .btn-google,
  :root body[class] .login-container.login-container .btn-outline,
  :root body[class] .login-container.login-container button[type='submit'] {
    min-height: 52px !important;
  }

  :root body[class] .login-container.login-container .forgot-link {
    display: inline-flex !important;
    align-items: center;
    min-height: 44px;
  }

  :root body[class] .login-container.login-container .password-visibility-toggle,
  :root body[class] .login-container.login-container .eye-icon {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  :root body[class] .login-container.login-container .login-left-content small,
  :root body[class] .login-container.login-container .login-left-content span {
    font-size: max(12px, 1em) !important;
  }

  :root body[class] .login-container.login-container .mode-copy,
  :root body[class] .login-container.login-container .password-example,
  :root body[class] .login-container.login-container .password-rule {
    font-size: 14px !important;
  }

  /* ------------------------------------------------------------ footer: about one screen */
  footer.site-footer {
    --m-line: rgba(255, 255, 255, 0.16);
    padding: 40px 0 calc(24px + var(--m-safe-b)) !important;
  }

  footer.site-footer > .container {
    padding-inline: calc(var(--m-gutter) + var(--m-safe-l)) calc(var(--m-gutter) + var(--m-safe-r)) !important;
    max-width: none !important;
  }

  footer.site-footer .footer-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  footer.site-footer .footer-brand-col {
    padding: 0 0 20px !important;
    margin: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  footer.site-footer .footer-brand-col .footer-desc {
    max-width: 34ch;
    margin: 12px 0 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  footer.site-footer .footer-proof-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }

  footer.site-footer .footer-proof-row span {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }

  footer.site-footer .social-links {
    gap: 10px !important;
    margin-top: 16px !important;
  }

  footer.site-footer .social-links a {
    width: 44px !important;
    height: 44px !important;
  }

  footer.site-footer .footer-links-col {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--m-line) !important;
  }

  footer.site-footer .footer-links-col::before,
  footer.site-footer .footer-links-col::after {
    display: none !important;
  }

  footer.site-footer .footer-links-col > h3,
  footer.site-footer .footer-links-col > h4 {
    width: 100% !important;
  }

  footer.site-footer .footer-links-col > h3,
  footer.site-footer .footer-links-col > h4 {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    margin: 0 !important;
    font-size: 16px !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  footer.site-footer .footer-links-col > h3::after,
  footer.site-footer .footer-links-col > h4::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  footer.site-footer .footer-links-col.m-foot-open > h3::after,
  footer.site-footer .footer-links-col.m-foot-open > h4::after {
    transform: rotate(45deg);
  }

  footer.site-footer .footer-links-col > ul {
    display: none !important;
    margin: 0 !important;
    padding: 0 0 12px !important;
    gap: 0 !important;
  }

  footer.site-footer .footer-links-col.m-foot-open > ul {
    display: flex !important;
    flex-direction: column;
  }

  footer.site-footer .footer-links-col > ul > li > a,
  footer.site-footer .footer-links-col > ul > li > span {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    font-size: 15px !important;
  }

  footer.site-footer .footer-contact-item {
    display: flex !important;
    align-items: center;
    gap: 10px !important;
    min-height: 44px;
    padding: 4px 0 !important;
    border: 0 !important;
    background: none !important;
  }

  footer.site-footer .footer-support-strip {
    position: static !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 18px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--m-line) !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  footer.site-footer .footer-support-logos {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  footer.site-footer .footer-support-logo {
    flex: 0 0 auto !important;
    width: auto !important;
    padding: 6px 10px !important;
  }

  footer.site-footer .footer-support-logo span,
  footer.site-footer .footer-support-kicker {
    font-size: 12px !important;
  }

  footer.site-footer .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    text-align: left !important;
  }

  footer.site-footer .footer-bottom p {
    margin: 0 !important;
    font-size: 14px !important;
    text-align: left !important;
  }

  footer.site-footer .footer-orb,
  footer.site-footer .footer-watermark {
    display: none !important;
  }

  /* ------------------------------------------------------------ cookie notice: compact bottom sheet */
  html body .cookie-consent {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }

  html body .cookie-consent__card {
    width: 100% !important;
    max-width: none !important;
    padding: 16px calc(var(--m-gutter) + var(--m-safe-r)) calc(14px + var(--m-safe-b)) calc(var(--m-gutter) + var(--m-safe-l)) !important;
    border-radius: 20px 20px 0 0 !important;
  }

  html body .cookie-consent__title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }

  html body .cookie-consent__copy {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  html body .cookie-consent__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  html body .cookie-consent__button {
    min-height: 48px !important;
    width: 100% !important;
    font-size: 15px !important;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto !important;
    }

    .m-menu-panel,
    .m-menu-panel .m-menu-links a,
    .m-menu-panel .m-menu-actions,
    .m-menu-button span {
      transition: none !important;
      transform: none !important;
    }
  }
}

/* Small phones (360 px and less): a 16 px side margin. */
@media (max-width: 360px) {
  :root {
    --m-gutter: 16px;
  }
}

/* Phone-only nodes never show on tablets or desktops. */
@media (min-width: 768px) {
  .m-only,
  .m-rail-dots,
  .m-menu-button,
  .m-menu-standin,
  .m-menu-panel,
  .m-sticky-cta,
  .m-jump,
  .m-more {
    display: none !important;
  }
}

/* ================================================================ Mobile revamp (owner 2026-11-02)
   "Our clients told us the website is worst on mobile and declined the deal." Every row that ran off the right edge
   with the next card peeking (hero chips, steps, plans, FAQ topics, About and Team cards) now fits the screen:
   chips wrap, cards stack, topics sit in a 2x2 grid. Only the testimonials stay a slider, one whole card at a time.
   Phones only (under 768 px); tablets and desktops are untouched. */
@media (max-width: 767.98px) {
  /* -- hero chips: six small tiles in a 3x2 grid (icon above the label), all visible on every phone width */
  #hero .hero-feature-pills,
  #hero .hero-trust-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    padding-bottom: 0 !important;
    gap: 8px !important;
  }

  #hero .hero-trust-row {
    margin-top: 8px !important;
  }

  #hero .hero-feature-pills > *,
  #hero .hero-trust-row > * {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 78px !important;
    padding: 10px 6px !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
    border-radius: 14px !important;
  }

  #hero .hero-feature-pills > div,
  #hero .hero-trust-row > div {
    padding: 10px 6px !important;
    border-radius: 14px !important;
  }

  #hero .hero-feature-pills > * > *,
  #hero .hero-trust-row > * > *,
  #hero .hero-feature-pills > div > div:last-child > div:first-child,
  #hero .hero-trust-row .hero-trust-copy > *:first-child {
    min-width: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  #hero .hero-feature-pills > * svg,
  #hero .hero-trust-row > * svg,
  #hero .hero-feature-pills > * img,
  #hero .hero-trust-row > * img {
    flex: 0 0 auto;
  }

  /* -- hero product picture: the desktop composition exactly (post on the left, the comment and the reply floating
     beside it), zoomed out to the screen width by mobile.js (--m-hero-zoom), instead of the phone layout that laid the
     comments over the photo (owner 2026-11-02). */
  #hero-anim-root {
    width: 585px !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    zoom: var(--m-hero-zoom, 0.6);
  }

  #hero-anim-root > .flex {
    width: 585px !important;
    align-items: flex-start !important;
  }

  #hero-anim-root .relative.w-\[320px\] {
    padding-bottom: 0 !important;
  }

  #hero-anim-root .hero-comments-card {
    position: absolute !important;
    top: 8% !important;
    left: 300px !important;
    right: auto !important;
    bottom: auto !important;
    width: 285px !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* -- how it works: the three steps stack, each a full card */
  #how-it-works .grid.grid-cols-1 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  #how-it-works .grid.grid-cols-1 > * {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* -- pricing: plans stack, Pro first; the price reads big but no longer shouts */
  #pricing .pricing-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  #pricing .pricing-cards > * {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  #pricing .pricing-cards > .price-card.popular {
    order: -1;
    scale: none !important;
    translate: none !important;
  }

  #pricing .price-card .price-val {
    font-size: clamp(34px, 10vw, 42px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
  }

  /* -- testimonials: one whole card at a time, inside the side margins; dots show where you are */
  #testimonials [data-m-rail][data-m-rail-full] {
    margin-inline: 0 !important;
    padding-inline: calc(var(--m-gutter) + var(--m-safe-l)) calc(var(--m-gutter) + var(--m-safe-r)) !important;
    scroll-padding-inline: var(--m-gutter) !important;
    gap: calc(var(--m-gutter) * 2) !important;
  }

  #testimonials [data-m-rail][data-m-rail-full] > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* -- FAQ topics: a 2x2 grid that fits the screen */
  #faq .inline-flex.p-1\.5 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding: 0 !important;
  }

  #faq .faq-tab {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 8px 10px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    font-size: 13.5px !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
  }

  #faq .flex.justify-center.mb-12 {
    width: 100% !important;
  }

  /* -- about: the four promises stack */
  #about .grid.lg\:grid-cols-12 > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  #about .grid.lg\:grid-cols-12 > div:last-child > * {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* -- team page: the four "how we think" steps in a 2x2 grid, team members stacked */
  main.legal-shell .team-loop-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  main.legal-shell .team-members-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  main.legal-shell .team-loop-grid > *,
  main.legal-shell .team-members-grid > * {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* Member photos in a 4:3 frame on the face, so the four members do not take five screens. */
  main.legal-shell .team-member-card > img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    object-position: 50% 22% !important;
  }

  /* -- festival reminder: smaller, and out of the way while the page scrolls */
  .site-floater {
    --fl-size: 48px;
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .site-floater.is-left {
    left: calc(14px + env(safe-area-inset-left, 0px));
  }

  html.m-scrolling .site-floater:not(.is-dragging) {
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }
}
