/* Tuotu Astro-projektista: src/styles/legacy-framework.css (bin/sync-astro.py). */
/* Adapter for the original rails components. Site opts legacy pages in; the
   approved ServiceSection/SEO pages are excluded. Keep the existing server-side
   band grouping, DOM order, anchors and widgets. Mobile layers are declared first
   and therefore retain priority for important typography/spacing declarations. */
@layer legacy-framework {
  body.is-legacy-framework {
    --framework-width: min(1350px, calc(100% - clamp(3rem, 12vw, 12rem)));
    --framework-space: 6rem;
    --framework-gap: clamp(3rem, 7vw, 7rem);
    --framework-flow: 1rem;
    --framework-reading: 46rem;
    --framework-rule: #21262d;
  }

  /* Only outer component wrappers own page gutters; nested demos keep theirs. */
  body.is-legacy-framework main :where(
    .split-hero--rails, .feature-row--rails, .rails-intro, .rails-cols-band,
    .landing-section--rails, .icon-cards--rails, .feature-trio--rails,
    .faq-accordion--rails, .contact-band, .contact-band-grid, .case-figures,
    .compare-table--rails, .pricing--rails, .logo-wall--rails, .wp-toc, .wp-archive-filter,
    .wp-pagination
  ) > .wrap:not(.wrap .wrap):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    width: var(--framework-width) !important;
    max-width: none !important;
    margin-inline: auto !important;
    border-inline: 0 !important;
  }

  body.is-legacy-framework main :where(
    .split-hero--rails, .feature-row--rails, .rails-intro, .landing-section--rails,
    .icon-cards--rails, .feature-trio--rails, .faq-accordion--rails,
    .contact-band, .contact-band-grid, .rails-cols-band
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    margin-top: 0 !important;
    border-inline: 0 !important;
  }

  body.is-legacy-framework main :where(
    .feature-row-copy, .feature-row-media, .split-hero-copy, .split-hero-card:not(.service-hero *)
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    min-width: 0;
    border: 0 !important;
  }

  /* Text always precedes its supporting image, including old flipped rows. */
  body.is-legacy-framework main .feature-row-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { order: 0 !important; }
  body.is-legacy-framework main .feature-row-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { order: 1 !important; }
  body.is-legacy-framework main .feature-row--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border: 0 !important;
    position: relative;
  }
  body.is-legacy-framework main .feature-row-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    position: relative;
    margin: 0 !important;
  }
  body.is-legacy-framework main .feature-row-media:is(.is-piece, .is-demo, .opas-row-media) > .gd:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
  html.theme-light body.is-legacy-framework main [data-band='white'] .feature-row-media:is(.is-piece, .is-demo, .opas-row-media):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    padding: 2rem !important;
    border-radius: 14px !important;
    background: var(--tile, #f7f7f5) !important;
  }
  body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .feature-row-media:is(.is-piece, .is-demo, .opas-row-media):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    background: transparent !important;
  }
  body.is-legacy-framework main .case-intro .section-intro.is-column:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    margin-inline: 0 !important;
  }
  /* Older guide intros used a short decorative accent above their title. The
     complete section boundaries now provide that hierarchy. */
  body.is-legacy-framework main :is(.section-intro, .section-intro > h2, .section-intro > h3, .feature-row-copy > h2, .feature-row-copy > h3):not(:where(
    .gd *, .opt *, .ai-demo *, .aic *, .quiz *, .est-ui *
  )):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
    content: none !important;
    display: none !important;
  }
  body.is-legacy-framework main .agent-form-heading:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    letter-spacing: -0.01em !important;
  }
  body.is-legacy-framework main .fl-referenssin-kategoria:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  body.is-legacy-framework main .wp-post-info:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
  }
  body.is-legacy-framework main .fl-referenssin-kategoria:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0.4rem 0.8rem; }
  body.is-legacy-framework main .wp-post-info:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0.35rem 0.5rem; }
  body.is-legacy-framework main .case-figures:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    overflow-x: clip;
  }
  body.is-legacy-framework main .case-figures-title:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    position: relative;
    padding-inline: 0 !important;
  }
  body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .case-figures-title:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border-bottom: 0 !important;
  }
  body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .case-figures-title:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    border-top: 1px solid var(--framework-rule);
    pointer-events: none;
  }
  @media (max-width: 800px) {
    body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .case-figure:nth-child(n + 3):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      border-top: 0 !important;
    }
    body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .case-figure:nth-child(3):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      position: relative;
    }
    body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .case-figure:nth-child(3):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      content: '';
      position: absolute;
      top: 0;
      left: calc(100% - 50vw);
      width: 100vw;
      border-top: 1px solid var(--framework-rule);
      pointer-events: none;
    }
  }

  /* Beginner-guide facts belong to the hero but still need their own complete
     top rule. Their figures retain the component's numeric type scale. */
  body.is-legacy-framework main.site-main > .opas-hero-figures[data-band='navy'] {
    border-top: 1px solid var(--framework-rule) !important;
    overflow-x: clip;
  }
  body.is-legacy-framework main .opas-hero-figures > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    width: var(--framework-width) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding: 0 !important;
    align-items: stretch !important;
    border: 0 !important;
  }
  body.is-legacy-framework main .opas-hero-figure:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    position: relative;
    padding: 2rem !important;
    border: 0 !important;
  }
  @media (min-width: 1001px) {
    body.is-legacy-framework main .opas-hero-figure + .opas-hero-figure:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      border-left: 1px solid var(--framework-rule) !important;
    }
  }
  @media (min-width: 641px) and (max-width: 1000px) {
    body.is-legacy-framework main .opas-hero-figure:nth-child(even):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      border-left: 1px solid var(--framework-rule) !important;
    }
    body.is-legacy-framework main .opas-hero-figure:nth-child(3):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      content: '';
      position: absolute;
      top: 0;
      left: calc(100% - 50vw);
      width: 100vw;
      border-top: 1px solid var(--framework-rule);
      pointer-events: none;
    }
  }

  /* Component families with their own legacy markup: UKK finder/accordion,
     PriceEstimator/ServiceFeatures, the Tapio and ROI intros, the indexing
     explorer, and search controls.
     Adapt their outer shells; retain filtering, pricing subgrid, numbers and UI. */
  body.is-legacy-framework main :where(
    .ukk-band, .est, .est-intro, .svc-intro, .svc-tabbar,
    .tk-band, .tk-grid, .kann-intro, .gei-band, .site-search-more
  ) > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    width: var(--framework-width) !important;
    max-width: none !important;
    margin-inline: auto !important;
    border-inline: 0 !important;
  }
  body.is-legacy-framework main :where(.ukk-band-grid, .est-grid, .est-case-list, .tk-cols):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border-inline: 0 !important;
  }
  body.is-legacy-framework main .est-case:last-child:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { border-right: 0 !important; }
  body.is-legacy-framework main .site-search:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    width: 100% !important;
    max-width: var(--framework-reading) !important;
  }
  /* Search results are one explicit white band in light mode. Dark mode keeps
     a complete frame across the page, with card dividers meeting both rules. */
  html:not(.theme-light) body.is-legacy-framework.is-search main .site-search-results:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border-block: 1px solid var(--framework-rule) !important;
  }
  html:not(.theme-light) body.is-legacy-framework.is-search main .site-search-results > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    padding-block: 0 !important;
  }
  body.is-legacy-framework main .ukk-band-side:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    position: relative;
    min-width: 0;
    border: 0 !important;
  }
  body.is-legacy-framework main .ukk-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    display: flex;
    flex-direction: column;
    gap: var(--framework-flow) !important;
  }
  body.is-legacy-framework main .ukk-intro > *:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-block: 0 !important; }
  body.is-legacy-framework main .ukk-band[data-band]:not(:where(.theme-light [data-band='white'])) .ukk-band-side:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--framework-space));
    bottom: calc(-1 * var(--framework-space));
    left: calc(var(--framework-gap) / -2);
    border-left: 1px solid var(--framework-rule);
    pointer-events: none;
  }
  body.is-legacy-framework main .ukk-band[data-band]:not(:where(.theme-light [data-band='white'])) .ukk-q:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border: 0 !important;
  }
  body.is-legacy-framework main .ukk-band[data-band]:not(:where(.theme-light [data-band='white'])) .ukk-q + .ukk-q:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(var(--framework-gap) / -2);
    right: calc((var(--framework-width) - 100vw) / 2);
    border-top: 1px solid var(--framework-rule);
    pointer-events: none;
  }
  html.theme-light body.is-legacy-framework main .ukk-band[data-band='white'] .ukk-q:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  html.theme-light body.is-legacy-framework main .tk-grid[data-band='white'] .tk-cell:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  html.theme-light body.is-legacy-framework main .est[data-band='white'] :where(.est-col, .est-case):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--tile, #f7f7f5) !important;
  }
  html.theme-light body.is-legacy-framework main .ukk-band[data-band='white'] .ukk-list:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  html.theme-light body.is-legacy-framework main .tk-grid[data-band='white'] > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  html.theme-light body.is-legacy-framework main .est[data-band='white'] :where(.est-grid, .est-case-list):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    gap: 1rem !important;
  }
  html.theme-light body.is-legacy-framework main .est[data-band='white'] :where(
    .est-grid, .est-strip, .est-pick, .est-col, .est-case-list, .est-case
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before,
  html.theme-light body.is-legacy-framework main .est[data-band='white'] :where(
    .est-grid, .est-strip, .est-pick, .est-col, .est-case-list, .est-case
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::after {
    content: none !important;
  }

  /* The band owns its horizontal boundary, never an outer side frame. */
  body.is-legacy-framework main.site-main > [data-band] {
    /* Viewport-wide rules can include the scrollbar gutter. Clip the rule at
       the actual band edge without creating a scroll container for sticky UI. */
    overflow-x: clip;
  }
  body.is-legacy-framework main.site-main > [data-band]:not(:where(.theme-light [data-band='white'])) {
    --gh-border: var(--framework-rule);
    --border: var(--framework-rule);
    border-block: 1px solid var(--framework-rule) !important;
  }
  body.is-legacy-framework main.site-main > [data-band='navy'] + [data-band='navy'],
  html:not(.theme-light) body.is-legacy-framework main.site-main > [data-band] + [data-band] {
    border-top: 0 !important;
  }
  /* Keep content on the common grid. Each row paints the same horizontal
     rule across the gutters even when a featured card spans several columns. */
  main.site-main :is(.icon-cards--rails, .rails-cols-band, .feature-trio--rails, .contact-band-grid, .tk-grid):is([data-band='navy'], [data-band='navy'] *, html:not(.theme-light) *):not(.is-post .wp-trio) {
    overflow: clip;
    --card-rule: var(--framework-rule, #21262d);
    border-block-end: 1px solid var(--card-rule) !important;

    & > .wrap {
      gap: 0 !important;
      padding-block: 0 !important;
      border-inline: 0 !important;
      align-items: stretch;
    }
    & > .wrap > :is(.icon-card, .rails-cell, .feature-trio-cell, .contact-band-cell, .tk-cell) {
      position: relative;
      border-block: 0 !important;
      border-radius: 0 !important;
      border-color: var(--card-rule) !important;
    }
    & > .wrap > :is(.icon-card, .rails-cell, .feature-trio-cell, .contact-band-cell, .tk-cell)::before {
      content: '';
      position: absolute;
      inset: 0 -100vw auto;
      height: 1px;
      background: var(--card-rule);
      pointer-events: none;
      z-index: 1;
    }
    & .icon-card:has(a):is(:hover, :focus-within) { background: #181834 !important; }
    & .icon-card-go {
      color: #49c5b6 !important;
      border-color: currentColor !important;
      background: transparent !important;
    }
    & .icon-card:is(:hover, :focus-within) .icon-card-go {
      color: #000024 !important;
      background: #49c5b6 !important;
      border-color: #49c5b6 !important;
    }
    & .wp-card-link:focus-visible { outline: none; }
    & .wp-card-link:focus-visible::after {
      outline: 2px solid #49c5b6;
      outline-offset: -3px;
    }
  }
  body.is-legacy-framework main.site-main > .band > :where(
    .rails-intro, .landing-section--rails, .feature-row--rails, .icon-cards--rails,
    .feature-trio--rails, .faq-accordion--rails, .contact-band, .contact-band-grid
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border-block: 0 !important;
  }
  body.is-legacy-framework main :where(.split-hero--rails, .split-hero-rails-inner):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border: 0 !important;
  }
  html.theme-light body.is-legacy-framework main.site-main > .split-hero--rails[data-band] {
    border: 0 !important;
  }
  body.is-legacy-framework main.site-main > .band:has(> .split-hero--rails) {
    border-top: 0 !important;
  }
  html:not(.theme-light) body.is-legacy-framework main .split-hero--rails:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border-bottom: 1px solid var(--framework-rule) !important;
  }

  html.theme-light body.is-legacy-framework main [data-band='white'],
  html.theme-light body.is-legacy-framework main [data-band='white'] :where(
    .wrap, .rails-intro, .landing-section--rails, .feature-row--rails,
    .icon-cards--rails, .icon-card, .feature-trio--rails, .feature-trio-cell,
    .rails-cols-band, .rails-cell, .faq-accordion--rails, .faq-panel details,
    .contact-band, .contact-band-grid, .contact-band-cell
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border: 0 !important;
    box-shadow: none !important;
  }
  html.theme-light body.is-legacy-framework main [data-band='white'] :where(
    .icon-card, .rails-cell, .feature-trio-cell, .contact-band-cell, .faq-panel details
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    background: var(--tile, #f7f7f5) !important;
    border-radius: 14px !important;
  }
  html.theme-light body.is-legacy-framework main :is(.compare-table--rails[data-band='white'], [data-band='white'] .compare-table--rails),
  html.theme-light body.is-legacy-framework main :is(.compare-table--rails[data-band='white'], [data-band='white'] .compare-table--rails) :where(table, thead, tbody, tr, th, td):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border: 0 !important;
    box-shadow: none !important;
  }
  html.theme-light body.is-legacy-framework main :is(.compare-table--rails[data-band='white'], [data-band='white'] .compare-table--rails) table:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    background: var(--tile, #f7f7f5) !important;
  }
  html.theme-light body.is-legacy-framework main [data-band='white'] .faq-panel details + details:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    margin-top: 1rem !important;
  }
  html.theme-light body.is-legacy-framework main [data-band='white'] .faq-panel details:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    padding: 1.5rem !important;
  }
  html.theme-light body.is-legacy-framework main [data-band='white'] .faq-panel summary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    padding: 0 !important;
  }
  body.is-legacy-framework main .faq-accordion-body.is-single:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    max-width: none !important;
    margin-top: 2rem !important;
  }
  body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .faq-accordion-body.is-single details:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    position: relative;
    border: 0 !important;
  }
  body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .faq-accordion-body.is-single details:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    border-top: 1px solid var(--framework-rule);
    pointer-events: none;
  }

  /* Body copy stays a reading column. Full tables and images can be wider;
     media rows and card grids intentionally use the whole page container. */
  body.is-legacy-framework main .wp-section:not(.is-full) :where(
    .section-intro.is-column, .wp-section-body, .wp-section-cta
  ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  body.is-legacy-framework main .wp-raw > .wp-prose:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  body.is-legacy-framework main .feature-row.is-text-only .feature-row-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    width: 100% !important;
    max-width: var(--framework-reading) !important;
    margin-inline: auto !important;
  }
  body.is-legacy-framework main .wp-section.is-full :where(.section-intro.is-column, .wp-section-body):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
  body.is-legacy-framework main .wp-section-image:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    max-width: 64rem !important;
  }
  body.is-legacy-framework.is-legal main .wp-opener :where(.split-hero-copy, .split-hero-card):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    width: 100% !important;
    max-width: var(--framework-reading) !important;
    margin-inline: auto !important;
    text-align: left !important;
  }
  body.is-legacy-framework.is-legal main .wp-opener h1:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
  html[lang='en'] body.is-legacy-framework main .wp-booking h1:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
    hyphens: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* Full-height divider for an entire navy copy/media row. No line through a
     demo itself, and no extra vertical frame around cards. */
  body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .feature-row-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
    content: '';
    position: absolute;
    left: calc(var(--framework-gap) / -2);
    top: calc(-1 * var(--framework-space));
    bottom: calc(-1 * var(--framework-space));
    border-left: 1px solid var(--framework-rule);
    pointer-events: none;
  }

  @media (min-width: 641px) {
    html.theme-light body.is-legacy-framework main .est[data-band='white'] .est-grid:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      column-gap: 1rem !important;
      row-gap: 0 !important;
    }
    html.theme-light body.is-legacy-framework main .est[data-band='white'] .est-col:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 2rem !important;
    }
    html.theme-light body.is-legacy-framework main .est[data-band='white'] .est-strip:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      min-height: 0;
      padding: 0 0 1rem !important;
    }
    html.theme-light body.is-legacy-framework main .est[data-band='white'] :where(.est-pick, .est-foot):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
    }
    html.theme-light body.is-legacy-framework main .est[data-band='white'] .est-price:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 1rem 0 0 !important;
    }
    html.theme-light body.is-legacy-framework main .est[data-band='white'] .est-options:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 1rem 0 !important;
      gap: 1rem;
    }
    body.is-legacy-framework main :where(
      .section-intro h2, .wp-section-body > h2, .feature-row-title, .faq-accordion > .wrap > h2,
      .contact-band-heading, .case-figures-title, .service-hero-section-heading
    ):not(:where(.gd *, .opt *, .ai-demo *, .aic *, .quiz *, .est-ui *)):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: 100% !important;
      margin: 0 !important;
      color: var(--gh-text);
      font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
      font-size: clamp(30px, 2.75vw, 44px) !important;
      font-weight: 700 !important;
      line-height: 1.12 !important;
      letter-spacing: -0.04em !important;
    }
    body.is-legacy-framework main :where(.lede, .wp-lede, .svc-cell-lede, .ukk-lede):not(:where(
      .gd *, .opt *, .ai-demo *, .aic *, .quiz *, .est-ui *
    )):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      font-family: 'Source Sans 3 Variable', 'Source Sans 3', sans-serif !important;
      font-size: clamp(26px, 2vw, 32px) !important;
      font-weight: 300 !important;
      line-height: 1.35 !important;
    }
    body.is-legacy-framework main :where(
      .section-intro, .demo-side-text, .feature-row-copy, .guide-hero-text,
      .split-hero.has-side .split-hero-copy
    ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      display: flex !important;
      flex-direction: column !important;
      gap: var(--framework-flow) !important;
    }
    body.is-legacy-framework main :where(
      .section-intro, .demo-side-text, .feature-row-copy, .guide-hero-text,
      .split-hero.has-side .split-hero-copy
    ) > *:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-block: 0 !important;
    }
    body.is-legacy-framework main .split-hero.has-side :where(.lede, .wp-prose):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: 100% !important;
    }
    body.is-legacy-framework main :where(.guide-hero-text, .wp-section-body, .wp-section-cta):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-top: var(--framework-flow) !important;
    }
    body.is-legacy-framework main :where(.wp-prose, .rails-intro-text, .feature-row-extra) > :where(p, ul, ol):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-block: 0 !important;
    }
    body.is-legacy-framework main :where(.wp-prose, .rails-intro-text, .feature-row-extra) > * + *:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-top: var(--framework-flow) !important;
    }
    body.is-legacy-framework main :where(.wp-prose, .rails-intro-text, .feature-row-extra) :where(p, li):not(:where(
      .gd *, .opt *, .ai-demo *, .aic *, .quiz *, .est-ui *, .ref-show *,
      .salary-figures *, .service-offer-figures *, .case-figure *,
      .aeo-hero-fact-figure, .aeo-hero-fact-lead, .case-card-value,
      .lede, .wp-lede, .svc-cell-lede, .ukk-lede,
      .pricing-price, .offer-price, .service-offer-price
    )):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      font-family: 'Source Sans 3 Variable', 'Source Sans 3', sans-serif !important;
      font-size: 19px !important;
      line-height: 1.6 !important;
    }
    body.is-legacy-framework main :where(.icon-card, .rails-cell, .feature-trio-cell) :where(h3, .wp-card-title):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    body.is-legacy-framework main .faq-panel summary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    body.is-legacy-framework main :where(.tk-cell h3, .ukk-q-title, .est-name):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: none !important;
      font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
      font-size: 23px !important;
      font-weight: 700 !important;
      line-height: 1.25 !important;
      letter-spacing: -0.01em !important;
    }
    body.is-legacy-framework main .wp-card-title :where(a, span):not(.case-card-value, .case-card-label):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      font: inherit !important;
    }
    body.is-legacy-framework main .tk-cell h3 a:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { font: inherit !important; }
    body.is-legacy-framework main .est-ui :where(.est-pitch, .est-hint, .est-includes li, .est-includes strong, .est-includes span):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      font-family: 'Source Sans 3 Variable', 'Source Sans 3', sans-serif !important;
      font-size: 17px !important;
      line-height: 1.6 !important;
    }
    body.is-legacy-framework main .icon-card :where(.wp-card-text, p:not(.icon-card-label, .wp-card-title)):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: none !important;
      font-family: 'Source Sans 3 Variable', 'Source Sans 3', sans-serif !important;
      font-size: 17px !important;
      line-height: 1.6 !important;
    }
    body.is-legacy-framework main :where(.section-intro, .feature-row-copy, .wp-section-body) a:not(.btn):not(:where(
      .gd *, .opt *, .ai-demo *, .aic *, .quiz *, .est-ui *
    )):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      text-decoration: underline;
      text-decoration-thickness: 2px;
      text-underline-offset: 0.2em;
    }
  }

  @media (min-width: 961px) {
    body.is-legacy-framework main :where(.landing-section--rails, .faq-accordion--rails):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-block: var(--framework-space) !important;
    }
    body.is-legacy-framework main :where(.rails-intro, .contact-band):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
    }
    body.is-legacy-framework main :where(.rails-intro, .contact-band) .section-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: var(--framework-space) 0 3rem !important;
    }
    body.is-legacy-framework main .landing-section--rails .section-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
    }
    body.is-legacy-framework main .landing-section--rails:has(+ :is(.icon-cards--rails, .wp-trio, .compare-table--rails)):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-bottom: 2rem !important;
    }
    /* The embedded WordPress buying test continues the preceding introduction. */
    body.is-legacy-framework main .wp-section:has(+ .wp-raw #rb-testi):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-bottom: 0 !important;
    }
    body.is-legacy-framework main .wp-section + .wp-raw:has(#rb-testi):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: 2rem !important;
    }
    html:not(.theme-light) body.is-legacy-framework main .wp-raw #rb-testi:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: 0 !important;
    }
    body.is-legacy-framework main .section-intro:not(.is-column):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    body.is-legacy-framework main .rails-intro .section-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: 52rem !important;
      margin-inline: 0 !important;
      text-align: left !important;
    }
    body.is-legacy-framework main .section-intro .lede:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: 46rem !important;
      margin-inline: 0 !important;
    }
    body.is-legacy-framework main .feature-row--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) !important;
      gap: var(--framework-gap) !important;
      padding: var(--framework-space) 0 !important;
      align-items: stretch !important;
    }
    body.is-legacy-framework main .feature-row--rails.is-text-only > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: minmax(0, 1fr) !important;
    }
    body.is-legacy-framework main .feature-row--rails.kann-price > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.is-legacy-framework main .feature-row--rails :where(.feature-row-copy, .feature-row-media):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
      max-width: none !important;
      align-self: stretch !important;
    }
    body.is-legacy-framework main .feature-row--rails .feature-row-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      justify-content: center !important;
    }
    body.is-legacy-framework main .feature-row--rails .feature-row-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      width: 100% !important;
    }
    body.is-legacy-framework main .feature-row--rails.is-text-only .feature-row-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: var(--framework-reading) !important;
    }
    /* A separate chapter introduction already owns its top padding. */
    body.is-legacy-framework main .rails-intro + .feature-row--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: 0 !important;
    }
    body.is-legacy-framework main .rails-intro + .feature-row--rails .feature-row-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      top: 0;
    }
    body.is-legacy-framework main .ukk-band-grid:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 2rem var(--framework-gap) !important;
      padding-block: var(--framework-space) !important;
    }
    body.is-legacy-framework main :where(.ukk-band-main, .ukk-band-side, .ukk-find-text, .ukk-toc, .ukk-find-side):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
    }
    body.is-legacy-framework main .ukk-q-summary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 1.5rem 2.5rem 1.5rem 0 !important;
    }
    body.is-legacy-framework main .ukk-q-summary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::after { right: 0.5rem; }
    body.is-legacy-framework main .ukk-a:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 2.5rem 1.5rem 0 !important; }
    html.theme-light body.is-legacy-framework main .ukk-band[data-band='white'] .ukk-q:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-inline: 2rem !important;
    }
    body.is-legacy-framework main :where(.est-intro, .svc-intro, .kann-intro, .tk-band .section-intro):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: var(--framework-space) 0 2rem !important;
    }
    body.is-legacy-framework main :where(.est-intro, .svc-intro, .kann-intro) .section-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 !important; }
    body.is-legacy-framework main .gei-lead:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-bottom: 2rem !important; }
    body.is-legacy-framework main .gei-band-inner:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 0 var(--framework-space) !important; }
    body.is-legacy-framework main .est-cases:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-block: var(--framework-space) !important; }
    body.is-legacy-framework main .tk-grid > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-bottom: var(--framework-space) !important; }
    body.is-legacy-framework main .tk-cell:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 2rem !important; }
    /* A service hero's offer fills its column from the accent strip to the last link. */
    body.is-legacy-framework main .split-hero--rails:not(.service-hero) :where(.split-hero-copy, .split-hero-card):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: var(--framework-space) 0 !important;
    }
    /* Stacked TextBlock/SplitHero openers have their title and introduction in
       separate DOM cells. Together they are one hero, not two padded sections. */
    body.is-legacy-framework main .split-hero--rails.is-stacked:has(.split-hero-card) .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-bottom: 0 !important;
    }
    body.is-legacy-framework main .split-hero--rails.is-stacked .split-hero-card:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: var(--framework-flow) !important;
    }
    body.is-legacy-framework main .wp-booking h1:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      max-width: 100% !important;
      font-size: clamp(36px, 3.25vw, 48px) !important;
      line-height: 1.12 !important;
    }
    body.is-legacy-framework main .split-hero--rails.has-side:not(.service-hero) > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: var(--framework-gap) !important;
    }
    body.is-legacy-framework main .split-hero--rails.has-side:not(.service-hero) > .wrap:has(
      > .split-hero-card > :is(picture, img):not(.wp-form-arrow)
    ):not(:has(.wp-form)):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) !important;
    }
    body.is-legacy-framework main .split-hero--rails.is-stacked.has-media > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) !important;
      column-gap: var(--framework-gap) !important;
    }
    body.is-legacy-framework main .guide-hero > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: minmax(0, min(100%, 52rem)) !important;
      justify-content: center !important;
    }
    body.is-legacy-framework main :where(.icon-card, .rails-cell, .feature-trio-cell, .contact-band-cell):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      min-height: 0 !important;
      padding: 2rem !important;
    }
    body.is-legacy-framework main .icon-card > :where(h3, .wp-card-title, .wp-card-text, .icon-card-label):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-block: 0 1rem !important;
    }
    body.is-legacy-framework main .icon-cards--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-block: var(--framework-space) !important;
    }
    body.is-legacy-framework main :where(.rails-intro, .landing-section--rails, .tk-band, .kann-intro) + .icon-cards--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: 0 !important;
    }
    html.theme-light body.is-legacy-framework main [data-band='white'] :where(
      .icon-cards--rails, .feature-trio--rails, .rails-cols-band, .contact-band-grid
    ) > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      gap: 1rem !important;
    }
    html.theme-light body.is-legacy-framework main :where(
      .icon-cards--rails, .feature-trio--rails, .rails-cols-band, .contact-band-grid
    )[data-band='white'] > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      gap: 1rem !important;
    }
    /* The WordPress renderer sometimes split article H3 topics into three
       columns. Long-form articles keep those topics in their reading order. */
    body.is-legacy-framework.is-post main .wp-trio > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      width: min(var(--framework-reading), var(--framework-width)) !important;
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 2rem !important;
      padding-bottom: var(--framework-space) !important;
    }
    body.is-legacy-framework.is-post main .wp-trio .feature-trio-cell:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
    }
    body.is-legacy-framework.is-post main .wp-section + .wp-section.is-untitled:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: 0 !important;
    }
  }

  @media (max-width: 960px) {
    body.is-legacy-framework {
      --framework-width: calc(100% - 3rem);
      --framework-space: 4rem;
      --framework-gap: 3rem;
    }
    body.is-legacy-framework main .feature-row--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: minmax(0, 1fr) !important;
    }
    body.is-legacy-framework main .ukk-band-grid:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 2rem !important;
      padding-block: var(--framework-space) !important;
    }
    body.is-legacy-framework main .ukk-find-grid:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      grid-template-areas: 'text' 'side' 'toc' !important;
      grid-template-rows: auto !important;
    }
    body.is-legacy-framework main :where(.ukk-band-main, .ukk-band-side, .ukk-find-text, .ukk-toc, .ukk-find-side):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
    }
    body.is-legacy-framework main .ukk-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { position: static; }
    body.is-legacy-framework main .ukk-band[data-band]:not(:where(.theme-light [data-band='white'])) .ukk-band-side:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      left: calc(50% - 50vw);
      top: -1rem;
      bottom: auto;
      width: 100vw;
      border-left: 0;
      border-top: 1px solid var(--framework-rule);
    }
    body.is-legacy-framework main .ukk-band[data-band]:not(:where(.theme-light [data-band='white'])) .ukk-q + .ukk-q:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      left: calc(50% - 50vw);
      right: auto;
      width: 100vw;
    }
    body.is-legacy-framework main :where(.est-intro, .svc-intro, .kann-intro, .tk-band .section-intro):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: var(--framework-space) 0 2rem !important;
    }
    body.is-legacy-framework main :where(.est-intro, .svc-intro, .kann-intro) .section-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 !important; }
    body.is-legacy-framework main .gei-lead:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-bottom: 2rem !important; }
    body.is-legacy-framework main .gei-band-inner:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 0 var(--framework-space) !important; }
    body.is-legacy-framework main .est-cases:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-block: var(--framework-space) !important; }
    body.is-legacy-framework main .tk-grid > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-bottom: var(--framework-space) !important; }
    body.is-legacy-framework main [data-band]:not(:where(.theme-light [data-band='white'])) .feature-row-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      left: calc(50% - 50vw);
      right: auto;
      top: 0;
      bottom: auto;
      width: 100vw;
      border-left: 0;
      border-top: 1px solid var(--framework-rule);
    }
  }
  @media (max-width: 640px) {
    html.theme-light body.is-legacy-framework main [data-band='white'] .feature-row-media:is(.is-piece, .is-demo, .opas-row-media):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 1.25rem !important;
    }
    body.is-legacy-framework {
      --framework-space: 3rem;
      --framework-gap: 2rem;
      --framework-flow: 0.75rem;
    }
    html.theme-light body.is-legacy-framework main [data-band='white'] .faq-panel details:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 1.25rem !important;
    }
    html.theme-light body.is-legacy-framework main .ukk-band[data-band='white'] .ukk-q:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html.theme-light body.is-legacy-framework main .tk-grid[data-band='white'] .tk-cell:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-inline: 1.25rem !important;
    }
    body.is-legacy-framework main .opas-hero-figure:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 1.5rem 0 !important;
    }
    body.is-legacy-framework main .opas-hero-figure + .opas-hero-figure:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      content: '';
      position: absolute;
      top: 0;
      left: calc(50% - 50vw);
      width: 100vw;
      border-top: 1px solid var(--framework-rule);
      pointer-events: none;
    }
  }
}
