/* Figma 1280:19945 — framing and layout only; the feature artwork stays untouched. */
@property --feature-frame-color {
  syntax: '<color>';
  inherits: true;
  initial-value: #fd7cda;
}

.figma-lio.fl27-home .fl-features { padding-bottom: 180px; }

.figma-lio.fl27-home .fl-features > .fl-container > .fl-display {
  max-width: 703px;
  margin-bottom: 48px;
  font-size: 58px;
  line-height: 72px;
  letter-spacing: .58px;
}

.figma-lio.fl27-home .fl-features > .fl-container { position: relative; }
.figma-lio.fl27-home .fl-features > .fl-container::before,
.figma-lio.fl27-home .fl-features > .fl-container::after {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 68px;
  background: url('feature-cube-20261120.svg') center / contain no-repeat;
  pointer-events: none;
  content: '';
}
.figma-lio.fl27-home .fl-features > .fl-container::before {
  top: 174px;
  right: -12px;
  transform: rotate(15deg);
}
.figma-lio.fl27-home .fl-features > .fl-container::after {
  top: 824px;
  left: 230px;
  transform: rotate(-15deg);
}
.figma-lio.fl27-home .fl-features.has-pink-cube > .fl-container::before,
.figma-lio.fl27-home .fl-features.has-pink-cube > .fl-container::after {
  background-image: url('feature-cube-pink-20261122.svg');
}

.figma-lio.fl27-home .fl-feature-layout {
  --feature-frame-color: #fd7cda;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 331px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  min-height: 646px;
  padding: 50px;
  border: 0;
  background: #fff;
  box-shadow: none;
  transition: --feature-frame-color 460ms cubic-bezier(.2,.75,.25,1);
}
.figma-lio.fl27-home .fl-feature-layout.has-orange-frame {
  --feature-frame-color: #ff3b00;
}

/* The Figma frame uses a row of outlined squares on each edge. */
.figma-lio.fl27-home .fl-feature-layout::before,
.figma-lio.fl27-home .fl-feature-layout::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  content: '';
}
.figma-lio.fl27-home .fl-feature-layout::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--feature-frame-color) 0 1px, transparent 1px 17px) top / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, var(--feature-frame-color) 0 1px, transparent 1px 17px) bottom / 100% 18px no-repeat,
    repeating-linear-gradient(0deg, var(--feature-frame-color) 0 1px, transparent 1px 17px) left / 18px 100% no-repeat,
    repeating-linear-gradient(0deg, var(--feature-frame-color) 0 1px, transparent 1px 17px) right / 18px 100% no-repeat;
  box-shadow: inset 0 0 0 1px var(--feature-frame-color);
  transition: background-image 460ms ease, box-shadow 460ms ease;
}
.figma-lio.fl27-home .fl-feature-layout::after {
  inset: 17px;
  border: 1px solid var(--feature-frame-color);
  transition: border-color 460ms ease;
}
.figma-lio.fl27-home .fl-feature-tabs {
  position: relative;
  top: 0;
  width: 331px;
  height: var(--fl-feature-rail-height, 547px);
  max-height: none;
  gap: 40px;
  justify-content: flex-start;
  overflow: hidden;
  /* Keep wheel/trackpad input chaining to the document at the feature rail. */
  overscroll-behavior: auto;
}
.figma-lio.fl27-home .fl-feature-tabs::before,
.figma-lio.fl27-home .fl-feature-tabs::after {
  position: absolute;
  z-index: 1;
  top: var(--fl-feature-indicator-top, 182px);
  left: var(--fl-feature-indicator-left, 0px);
  height: 5px;
  border-radius: 26px;
  pointer-events: none;
  content: '';
  transition: top 420ms cubic-bezier(.2,.75,.25,1), left 420ms cubic-bezier(.2,.75,.25,1);
}
.figma-lio.fl27-home .fl-feature-tabs::before {
  width: var(--fl-feature-indicator-width, 100%);
  background: #ffd9f5;
}
.figma-lio.fl27-home .fl-feature-tabs::after {
  width: calc(var(--fl-feature-indicator-width, 100%) * var(--fl-feature-progress-fraction, 0));
  background: #850060;
  transition: top 420ms cubic-bezier(.2,.75,.25,1), left 420ms cubic-bezier(.2,.75,.25,1), background-color 320ms ease;
}
.figma-lio.fl27-home .fl-feature-tabs.has-orange-indicator::after {
  background: #ff3b00;
}
.figma-lio.fl27-home .fl27-feature-tab-item {
  position: relative;
  flex: 0 0 32px;
  width: 100%;
  height: 32px;
  min-height: 0;
  gap: 10px;
  padding-bottom: 8px;
}
.figma-lio.fl27-home .fl27-feature-tab-item.is-active {
  flex-basis: var(--fl-feature-active-height, 187px);
  height: var(--fl-feature-active-height, 187px);
  padding-bottom: 0;
  border: 0;
}
.figma-lio.fl27-home .fl27-feature-tab-item.is-active.is-orange .fl-feature-tab,
.figma-lio.fl27-home .fl27-feature-tab-item.is-active.is-orange .fl-feature-tab a {
  color: #ff3b00;
  transition: color 320ms ease;
}
.figma-lio.fl27-home .fl-feature-tab {
  font-size: 20px;
  line-height: 24px;
}
.figma-lio.fl27-home .fl-feature-tab a {
  min-height: 24px;
}
.figma-lio.fl27-home .fl27-feature-description {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}
.figma-lio.fl27-home .fl27-feature-link {
  font-family: Poppins, sans-serif;
  font-size: 14px;
  line-height: 24px;
}
.figma-lio.fl27-home .fl27-feature-link a {
  display: inline-block;
  font: inherit;
  color: #ff3b00;
  text-decoration: none;
  transition: color 160ms ease;
}
.figma-lio.fl27-home .fl27-feature-link a:hover,
.figma-lio.fl27-home .fl27-feature-link a:focus-visible {
  color: #b02900;
}
.figma-lio.fl27-home .fl-feature-panels {
  width: 100%;
}

/* Enhance the existing native blocks without changing their no-JavaScript layout. */
.figma-lio.fl27-home .fl-feature-tabs.has-smooth-tabs .fl27-feature-tab-item { overflow: hidden; }
.figma-lio.fl27-home .fl-feature-tabs.has-smooth-tabs .fl27-feature-tab-item > * { flex-shrink: 0; }
.figma-lio.fl27-home .fl-feature-tabs.has-smooth-tabs :is(.fl27-feature-description,.fl27-feature-link) {
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}
.figma-lio.fl27-home .fl-feature-tabs.has-smooth-tabs .is-active :is(.fl27-feature-description,.fl27-feature-link) {
  opacity: 1;
  visibility: visible;
  transition: opacity 260ms ease 100ms, visibility 0s;
}
.figma-lio.fl27-home .fl-feature-panels.has-smooth-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0;
  aspect-ratio: 631 / 545;
}
.figma-lio.fl27-home .fl-feature-panels.has-smooth-panels > .fl-feature-panel {
  display: none;
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.figma-lio.fl27-home .fl-feature-panels.has-smooth-panels > .fl-feature-panel:is(.is-active,.is-leaving) { display: block; }
.figma-lio.fl27-home .fl-feature-panels.has-smooth-panels > .fl-feature-panel.is-active { z-index: 1; opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  .figma-lio.fl27-home .fl-feature-layout,
  .figma-lio.fl27-home .fl-feature-tabs::before,
  .figma-lio.fl27-home .fl-feature-tabs::after,
  .figma-lio.fl27-home .fl-feature-tabs.has-smooth-tabs :is(.fl27-feature-description,.fl27-feature-link) { transition: none; }
}

@media (max-width: 1050px) {
  .figma-lio.fl27-home .fl-features { padding-inline: 48px; padding-bottom: 128px; }
  .figma-lio.fl27-home .fl-feature-layout {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    gap: 28px;
    padding: 38px;
  }
  .figma-lio.fl27-home .fl-feature-tabs { width: 100%; }
  .figma-lio.fl27-home .fl-features > .fl-container::before,
  .figma-lio.fl27-home .fl-features > .fl-container::after { display: none; }
}
@media (max-width: 800px) {
  .figma-lio.fl27-home .fl-features { padding: 88px 32px 128px; }
  .figma-lio.fl27-home .fl-features > .fl-container > .fl-display {
    max-width: 100%;
    margin-bottom: 40px;
    font-size: clamp(42px, 6vw, 52px);
    line-height: 1.12;
  }
  .figma-lio.fl27-home .fl-feature-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    padding: 36px;
  }
  .figma-lio.fl27-home .fl-feature-tabs {
    flex-direction: row;
    width: 100%;
    height: auto;
    gap: 14px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior: auto;
  }
  .figma-lio.fl27-home .fl27-feature-tab-item,
  .figma-lio.fl27-home .fl27-feature-tab-item.is-active {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    min-height: 0;
    padding-bottom: 10px;
  }
  .figma-lio.fl27-home .fl27-feature-description,
  .figma-lio.fl27-home .fl27-feature-link { display: none !important; }
}
@media (max-width: 600px) {
  .figma-lio.fl27-home .fl-features { padding: 72px 20px 104px; }
  .figma-lio.fl27-home .fl-features > .fl-container > .fl-display {
    margin-bottom: 32px;
    font-size: 40px;
  }
  .figma-lio.fl27-home .fl-feature-layout { padding: 28px; }
}
