/* Homepage founder composition; the legacy portrait layout is no longer mounted. */
.logic-flow-page .founder-section-inner {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: clamp(72px, 7vw, 100px);
}

.logic-flow-page .founder-profile {
  display: grid;
  grid-template-columns: minmax(0, 370px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.logic-flow-page .founder-profile-portrait {
  width: 100%;
  margin: 0;
}

.logic-flow-page .founder-portrait-window {
  width: 100%;
}

.logic-flow-page .founder-profile-image {
  display: block;
  width: 100%;
  height: auto;
}

.logic-flow-page .founder-profile-copy {
  min-width: 0;
  padding: 8px 0;
}

.logic-flow-page .founder-profile-name {
  margin: 0;
  color: #f4f0ff;
  font-family: var(--font-title);
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
}

.logic-flow-page .founder-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

.logic-flow-page .founder-profile-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid rgba(201, 177, 255, 0.48);
  border-radius: 999px;
  color: #f4efff;
  background: rgba(159, 128, 214, 0.2);
  font-family: var(--taop1-public-small-family, var(--font-copy));
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.logic-flow-page .founder-profile-detail {
  margin: 0;
  font-family: var(--font-copy);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
}

.logic-flow-page .founder-profile-detail {
  color: rgba(239, 237, 253, 0.7);
}

.logic-flow-page .founder-profile-detail + .founder-profile-detail {
  margin-top: 12px;
}

/* Keep each sphere intact and reserve a separate caption area beneath it. */
.logic-flow-page .trust-case-grid {
  margin-bottom: 94px;
}

.logic-flow-page .trust-case > .trust-case-support {
  font-family: var(--font-title);
  font-weight: 900;
  position: absolute;
  top: calc(100% + 22px);
  left: -12px;
  width: calc(100% + 24px);
  max-width: none;
  color: var(--taop1-public-small-muted, #dcd3ee);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 900px) and (min-width: 721px) {
  .logic-flow-page .founder-profile {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 28px;
  }

  .logic-flow-page .founder-profile-detail {
    font-size: 16px;
  }
}

@media (max-width: 720px) {
  .logic-flow-page .founder-section-inner {
    width: var(--content-width);
    padding-bottom: 64px;
  }

  .logic-flow-page .founder-profile {
    grid-template-columns: minmax(0, .43fr) minmax(0, .57fr);
    grid-template-areas:
      "heading heading"
      "portrait details"
      "cards cards";
    gap: 12px;
    align-items: center;
  }

  .logic-flow-page .founder-profile-heading {
    grid-area: heading;
    min-width: 0;
    text-align: center;
  }

  .logic-flow-page .founder-profile-details {
    grid-area: details;
    min-width: 0;
  }

  .logic-flow-page .founder-profile-portrait {
    grid-area: portrait;
    width: 100%;
    justify-self: stretch;
  }

  .logic-flow-page .founder-profile-copy {
    display: contents;
    padding: 0;
  }

  .logic-flow-page .founder-profile-name {
    font-size: clamp(20px, 4.9vw, 30px);
  }

  .logic-flow-page .founder-profile-tags {
    justify-content: center;
    gap: 5px;
    margin: 10px 0 12px;
  }

  .logic-flow-page .founder-profile-tag {
    padding: 4px 7px;
    font-size: clamp(10px, 2.65vw, 13px);
  }

  .logic-flow-page .founder-profile-detail {
    font-size: clamp(12px, 3.1vw, 16px);
    line-height: 1.7;
  }

  .logic-flow-page .founder-profile-detail + .founder-profile-detail {
    margin-top: 8px;
  }

  .logic-flow-page .trust-case-grid {
    margin-bottom: 78px;
  }

  .logic-flow-page .trust-case > .trust-case-support {
    top: calc(50% - 8px);
    left: 0;
    width: 100%;
    font-size: clamp(16px, 4.7vw, 20px);
    line-height: 1.08;
    letter-spacing: 0;
  }
}

/* Static services within the founder's introduction column. */
.logic-flow-page .founder-service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 720px);
  gap: 8px;
  margin-top: 18px;
}

.logic-flow-page .founder-service-card {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(201, 177, 255, 0.5);
  border-radius: 22px;
  background: rgba(152, 109, 214, 0.08);
}

.logic-flow-page .founder-service-title {
  margin: 0 0 4px;
  color: #f4efff;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.logic-flow-page .founder-service-description {
  margin: 0;
  color: #dcd3ee;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .logic-flow-page .founder-service-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .logic-flow-page .founder-service-cards {
    grid-area: cards;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    width: min(100%, 490px);
    justify-self: center;
  }

  .logic-flow-page .founder-service-card {
    padding: 8px 10px;
  }

  .logic-flow-page .founder-service-title {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .logic-flow-page .founder-service-description {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* Desktop uses the original portrait card bounds, excluding its surrounding black canvas. */
@media (min-width: 981px) {
  .logic-flow-page .founder-section-inner {
    width: min(1200px, calc(100% - 64px));
    padding-top: 48px;
  }

  .logic-flow-page .founder-profile {
    --founder-portrait-column-width: 425px;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    grid-template-columns: var(--founder-portrait-column-width) minmax(0, 490px);
    align-items: stretch;
    gap: 32px;
  }

  .logic-flow-page .founder-profile-copy {
    padding: 0;
  }

  .logic-flow-page .founder-profile-portrait {
    position: relative;
    min-height: 0;
  }

  .logic-flow-page .founder-portrait-window {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: min(100%, calc(var(--founder-portrait-column-width) * 1219 / 976));
    aspect-ratio: 976 / 1219;
    overflow: hidden;
  }

  .logic-flow-page .founder-profile-image {
    position: absolute;
    top: calc(-96 / 1219 * 100%);
    left: calc(-113 / 976 * 100%);
    width: calc(1099 / 976 * 100%);
    max-width: none;
    height: auto;
  }

  .logic-flow-page .founder-service-cards {
    width: min(100%, 490px);
    gap: 10px;
    margin-top: 20px;
    align-items: stretch;
  }

  .logic-flow-page .founder-service-card {
    padding: 16px 14px 18px;
  }

  .logic-flow-page .founder-service-description {
    line-height: 1.55;
    text-wrap: balance;
  }
}

@media (min-width: 721px) {
  .logic-flow-page .trust-case-core {
    transform: translateY(-50px);
  }

  .logic-flow-page .trust-case > .trust-case-support {
    top: calc(50% - 24px);
    left: 0;
    width: 100%;
    font-size: clamp(26px, 2.45vw, 34px);
    line-height: 1.12;
  }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .logic-flow-page .founder-section-inner {
    width: calc(100% - 48px);
  }

  .logic-flow-page .founder-profile {
    --founder-portrait-column-width: 365px;
    gap: 20px;
  }

  .logic-flow-page .founder-profile-name {
    font-size: 34px;
  }

  .logic-flow-page .founder-profile-tags {
    margin: 12px 0 14px;
  }

  .logic-flow-page .founder-profile-detail {
    font-size: 15px;
    line-height: 1.65;
  }

  .logic-flow-page .founder-profile-detail + .founder-profile-detail {
    margin-top: 8px;
  }

  .logic-flow-page .founder-service-cards {
    gap: 8px;
    margin-top: 16px;
  }

  .logic-flow-page .founder-service-card {
    padding: 14px 12px 16px;
  }

  .logic-flow-page .founder-service-title {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .logic-flow-page .founder-service-description {
    font-size: 13px;
    line-height: 1.6;
  }
}

.logic-flow-page .trust-case-core strong {
  font-family: var(--font-copy);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.2;
}

.logic-flow-page .trust-case-index {
  color: #f4efff;
  font-size: 11px;
}

@media (max-width: 720px) {
  .logic-flow-page .trust-case-core {
    transform: translateY(-24px);
  }

  .logic-flow-page .trust-case-core strong {
    font-size: clamp(13px, 3.5vw, 17px);
  }

  .logic-flow-page .trust-case-index {
    font-size: 9px;
  }
}

/* Blend the masked image at the arc layer so its black canvas reveals the page. */
.logic-flow-page .system-meetings-arc {
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 34%, #000 65%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 34%, #000 65%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.logic-flow-page .system-meetings-arc-image {
  filter: contrast(1.22);
  mix-blend-mode: normal;
}

/* Mobile-only founder identity pill inside the existing accessible heading. */
.logic-flow-page .founder-profile-name-desktop {
  display: inline;
}

.logic-flow-page .founder-profile-eyebrow {
  display: none;
}

@media (max-width: 720px) {
  .logic-flow-page .founder-profile-name {
    display: flex;
    justify-content: center;
    margin: 0;
    font-size: 0;
    line-height: 1;
  }

  .logic-flow-page .founder-profile-name-desktop {
    display: none;
  }

  .logic-flow-page .founder-profile-eyebrow {
    display: inline-flex;
    margin: 0;
  }
}

/* Mobile-only role pairs and the visible portrait-card crop. */
.logic-flow-page .founder-profile-details-mobile {
  display: none;
}

@media (max-width: 720px) {
  .logic-flow-page .founder-profile-details {
    display: none;
  }

  .logic-flow-page .founder-profile-details-mobile {
    display: grid;
    grid-area: details;
    min-width: 0;
    margin: 0;
    gap: 8px;
  }

  .logic-flow-page .founder-profile-detail-pair {
    min-width: 0;
  }

  .logic-flow-page .founder-profile-detail-pair dt,
  .logic-flow-page .founder-profile-detail-pair dd {
    margin: 0;
    overflow-wrap: anywhere;
  }

  .logic-flow-page .founder-profile-detail-pair dt {
    color: #f4efff;
    font-family: var(--font-title);
    font-size: clamp(13px, 3.25vw, 16px);
    font-weight: 700;
    line-height: 1.45;
  }

  .logic-flow-page .founder-profile-detail-pair dd {
    color: rgba(239, 237, 253, 0.7);
    font-family: var(--font-copy);
    font-size: clamp(12px, 2.85vw, 14px);
    font-weight: 300;
    line-height: 1.55;
  }

  .logic-flow-page .founder-profile-tags {
    display: none;
  }

  .logic-flow-page .founder-profile-portrait {
    position: relative;
    min-height: 0;
    aspect-ratio: 976 / 1219;
  }

  .logic-flow-page .founder-portrait-window {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    aspect-ratio: 976 / 1219;
    overflow: hidden;
  }

  .logic-flow-page .founder-profile-image {
    position: absolute;
    top: calc(-96 / 1219 * 100%);
    left: calc(-113 / 976 * 100%);
    width: calc(1099 / 976 * 100%);
    max-width: none;
    height: auto;
  }

  .logic-flow-page .founder-profile .founder-service-cards {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .logic-flow-page .trust-case-core strong {
    font-size: clamp(11px, 2.9vw, 15px);
  }

  .logic-flow-page .trust-case > .trust-case-support {
    font-size: clamp(13px, 3.8vw, 18px);
  }

  .logic-flow-page .logic-flow-trust-stage {
    padding-bottom: clamp(56px, 13vw, 72px);
  }
}

@media (max-width: 720px) {
  .logic-flow-page .founder-profile-name {
    margin: 0 0 6px;
  }
}

/* Reverse the mobile story composition: wide copy left, compact timeline right. */
@media (max-width: 720px) {
  .logic-flow-page .hero-story-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    column-gap: clamp(12px, 4vw, 22px);
    width: calc(100vw - 32px);
    min-height: 0;
    padding: 48px 0 64px;
  }

  .logic-flow-page .hero-story-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin: 0;
    text-align: right;
  }

  .logic-flow-page .hero-story-title {
    font-size: clamp(19px, 5.5vw, 28px);
    line-height: 1.36;
    text-wrap: balance;
  }

  .logic-flow-page .hero-story-copy p {
    margin-top: 14px;
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.65;
  }

  .logic-flow-page .story-timeline {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .logic-flow-page .story-timeline::before {
    display: none;
  }

  .logic-flow-page .story-timeline::after {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
  }

  .logic-flow-page .story-timeline-list {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    gap: clamp(8px, 2.4vw, 14px);
    padding: 0 0 0 16px;
    text-align: left;
  }

  .logic-flow-page .story-timeline-item {
    display: block;
    min-width: 0;
    text-align: left;
  }

  .logic-flow-page .story-timeline-item::before {
    top: 0.45em;
    right: auto;
    left: -20px;
  }

  .logic-flow-page .story-timeline-item time,
  .logic-flow-page .story-timeline-item span {
    min-width: 0;
    display: block;
    text-align: left;
  }

  .logic-flow-page .story-timeline-item time {
    font-size: clamp(11px, 3vw, 15px);
    line-height: 1;
    white-space: nowrap;
  }

  .logic-flow-page .story-timeline-item span {
    margin-top: 4px;
    font-size: clamp(11px, 2.6vw, 13px);
    line-height: 1.32;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Independent target-DOM sphere proposal; not linked by any candidate. */
.logic-flow-page .trust-case-core strong {
  color: rgba(244, 240, 255, 0.64);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 23px);
}

@media (max-width: 720px) {
  .logic-flow-page .trust-case-core strong {
    font-size: clamp(11px, 2.9vw, 15px);
  }
}

.logic-flow-page .trust-case > .trust-case-support {
  color: #f4f0ff;
  font-family: var(--font-title);
  font-weight: 900;
}

/* Standalone candidate override for the homepage three-card benefits group. */
.logic-flow-page .system-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  width: min(100%, 1120px);
  margin: clamp(38px, 4vw, 54px) auto 0;
  padding: 0;
  list-style: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  align-content: start;
  min-width: 0;
  padding: clamp(22px, 2.2vw, 30px);
  overflow: visible;
  border: 1px solid rgba(201, 177, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(110% 55% at 52% 0%, rgba(150, 118, 214, 0.16), transparent 72%),
    linear-gradient(180deg, #151020 0%, #080612 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 18px 42px rgba(3, 0, 20, 0.28);
}

.logic-flow-page .system-offer-grid > .system-offer-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(ellipse at 72% 100%, rgba(148, 101, 255, 0.16), transparent 62%);
  content: "";
  pointer-events: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > * {
  position: relative;
  z-index: 1;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
  position: absolute;
  z-index: 2;
  top: -10px;
  right: 15px;
  color: #b5a1e0;
  background: linear-gradient(180deg, #b5a1e0 0%, #3a285c 100%);
  background-clip: text;
  font-family: var(--font-title);
  font-size: clamp(50px, 5.2vw, 76px);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.9;
  opacity: 0.96;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  padding-right: clamp(42px, 4vw, 62px);
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-pain {
  display: block;
  color: #f2ecff;
  font-family: var(--font-title);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.35;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-name {
  display: block;
  margin-top: 8px;
  color: #f5efff;
  font-family: var(--font-title);
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.12;
  white-space: normal;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  margin: 13px 0 0;
  color: rgba(215, 201, 239, 0.86);
  font-family: var(--font-copy);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  white-space: normal;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall {
  grid-column: 1;
  grid-row: 3;
  width: 100%;
  aspect-ratio: 5 / 2;
  min-height: 0;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid rgba(201, 177, 255, 0.28);
  border-radius: 12px;
  padding: 5px;
  background: rgba(9, 3, 31, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 7px;
  object-fit: contain;
  object-position: center;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list {
  grid-column: 1;
  grid-row: 4;
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 20px 0 0;
  border-top: 1px solid rgba(201, 177, 255, 0.22);
  padding: 17px 0 0;
  list-style: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
  position: relative;
  min-width: 0;
  padding-left: 21px;
  color: rgba(230, 220, 247, 0.82);
  font-family: var(--font-copy);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li::before {
  position: absolute;
  top: 0.16em;
  left: 0;
  width: auto;
  height: auto;
  color: #c7a5ff;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  content: "✦";
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 720px) {
  .logic-flow-page .system-offer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(100%, 560px);
    margin-top: 34px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card {
    padding: 22px 20px 24px;
    border-radius: 22px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
    top: -10px;
    right: 14px;
    font-size: 54px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title {
    padding-right: 48px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-name {
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1.16;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
    font-size: 15px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
    font-size: 14px;
  }
}

@media (min-width: 600px) and (max-width: 720px) {
  .logic-flow-page .system-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card {
    padding: 17px 13px 18px;
    border-radius: 19px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
    top: -8px;
    right: 9px;
    font-size: 40px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title {
    padding-right: 23px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-pain {
    font-size: 12px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-name {
    margin-top: 6px;
    font-size: clamp(17px, 3vw, 21px);
    line-height: 1.18;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.5;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall {
    margin-top: 13px;
    padding: 3px;
    border-radius: 9px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list {
    gap: 7px;
    margin-top: 13px;
    padding-top: 12px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
    padding-left: 15px;
    font-size: 12px;
    line-height: 1.5;
  }
}

.logic-flow-page .hero-story-copy {
  container-type: inline-size;
}

.logic-flow-page .hero-story-title {
  font-size: min(8.3cqi, clamp(35px, 3.3vw, 48px));
}

.logic-flow-page .hero-story-title > span {
  white-space: nowrap;
}

@media (min-width: 721px) and (max-width: 980px) {
  .logic-flow-page .hero-story-title {
    font-size: min(8.3cqi, clamp(30px, 3.6vw, 35px));
  }
}

@media (max-width: 720px) {
  .logic-flow-page .hero-story-title {
    font-size: min(8.3cqi, 28px);
  }

  .logic-flow-page .story-timeline-item {
    display: block;
  }

  .logic-flow-page .story-timeline-item time {
    display: inline;
    white-space: nowrap;
  }

  .logic-flow-page .story-timeline-item span {
    display: inline;
    margin: 0 0 0 4px;
    white-space: normal;
  }
}

/* Independent strict-proportion fidelity proposal; not linked by any candidate. */
@media (max-width: 720px) {
  .logic-flow-page .hero-story {
    container-type: inline-size;
    width: calc(100% - 24px);
    margin-inline: auto;
  }

  .logic-flow-page .hero-story-inner {
    container-type: normal;
    display: grid;
    grid-template-columns: 43.36% minmax(0, 1fr);
    column-gap: 4.18cqi;
    width: 100%;
    min-height: 0;
    padding: 4.34cqi 0 2.3cqi;
    align-items: start;
  }

  .logic-flow-page .hero-story-copy {
    container-type: normal;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  .logic-flow-page .hero-story-title {
    font-size: 4.58cqi;
    line-height: 1.60;
  }

  .logic-flow-page .hero-story-title > span,
  .logic-flow-page .hero-story-copy p > span {
    display: block;
    white-space: nowrap;
  }

  .logic-flow-page .hero-story-copy p {
    margin-top: 3.25cqi;
    font-size: 2.34cqi;
    line-height: 1.86;
  }

  .logic-flow-page .story-timeline {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding-top: 0;
  }

  .logic-flow-page .story-timeline::before {
    display: none;
  }

  .logic-flow-page .story-timeline::after {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 0.15cqi;
    background: linear-gradient(180deg, rgba(201, 177, 255, 0.82), rgba(147, 130, 255, 0.18) 88%, transparent);
    box-shadow: 0 0 1.31cqi rgba(147, 130, 255, 0.3);
  }

  .logic-flow-page .story-timeline-list {
    display: grid;
    grid-auto-rows: 7.21cqi;
    grid-template-rows: repeat(5, 7.21cqi) 2.23cqi;
    gap: 0;
    margin: 0;
    padding: 0 4.35cqi 0 0;
    text-align: right;
  }

  .logic-flow-page .story-timeline-item {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: baseline;
    column-gap: 0.82cqi;
    text-align: right;
  }

  .logic-flow-page .story-timeline-item::before {
    top: 1.48cqi;
    right: -5.02cqi;
    left: auto;
    width: 1.48cqi;
    height: 1.48cqi;
    border-width: 0.15cqi;
    box-shadow: 0 0 0 0.41cqi rgba(147, 130, 255, 0.14), 0 0 1.31cqi rgba(147, 130, 255, 0.78);
  }

  .logic-flow-page .story-timeline-item time,
  .logic-flow-page .story-timeline-item span {
    min-width: 0;
    text-align: right;
    white-space: nowrap;
  }

  .logic-flow-page .story-timeline-item time {
    grid-column: 2;
    grid-row: 1;
    font-size: 2.17cqi;
    line-height: 1;
  }

  .logic-flow-page .story-timeline-item span {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
    font-size: 1.75cqi;
    line-height: 1.35;
  }
}

/* Tighten the two text groups inside each logic-flow sphere without changing
   their typography, wrapping, circle geometry, or centered alignment. */

/* Desktop baseline: move the upper group down 3px and the lower group up 3px
   for a 6px total reduction while preserving their shared center. */
@media (min-width: 721px) {
  .logic-flow-page .trust-case-core {
    transform: translateY(-47px);
  }

  .logic-flow-page .trust-case > .trust-case-support {
    top: calc(50% - 27px);
  }
}

/* Mobile: use the same centered inward adjustment at half the desktop amount. */
@media (max-width: 720px) {
  .logic-flow-page .trust-case-core {
    transform: translateY(-22.5px);
  }

  .logic-flow-page .trust-case > .trust-case-support {
    top: calc(50% - 9.5px);
  }
}

/* Standalone fidelity candidate for the reference three-card benefits group. */
.logic-flow-page .system-offer-grid {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.46vw, 21px);
  width: min(100%, 1120px);
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card {
  position: relative;
  isolation: isolate;
  container-type: normal;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  min-width: 0;
  min-height: 62.06cqw;
  padding: 6.14cqw 2.92cqw 3.07cqw;
  overflow: visible;
  border: 1px solid rgba(177, 153, 235, 0.22);
  border-radius: 2.76cqw;
  background:
    radial-gradient(100% 46% at 50% 0%, rgba(139, 105, 201, 0.14), transparent 78%),
    linear-gradient(180deg, #151020 0%, #080612 100%);
  box-shadow: inset 0 1px rgba(246, 240, 255, 0.045), 0 15px 34px rgba(3, 0, 20, 0.22);
}

.logic-flow-page .system-offer-grid > .system-offer-card > * {
  position: relative;
  z-index: 1;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
  position: absolute;
  z-index: 2;
  top: -1.08cqw;
  right: 1.69cqw;
  color: #b5a1e0;
  background: linear-gradient(180deg, #b5a1e0 0%, #3a285c 100%);
  background-clip: text;
  font-family: var(--font-title);
  font-size: 12.29cqw;
  font-weight: 900;
  letter-spacing: -0.13em;
  line-height: 0.9;
  opacity: 0.94;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  padding-right: 0;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-pain {
  display: block;
  color: #f0ebfa;
  font-family: var(--font-title);
  font-size: 2.46cqw;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-name {
  display: block;
  margin-top: 0.92cqw;
  color: #f8f4ff;
  background: none;
  font-family: var(--font-title);
  font-size: 3.53cqw;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.14;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  margin: 1.38cqw 0 0;
  color: rgba(227, 217, 243, 0.9);
  font-family: var(--font-copy);
  font-size: 1.84cqw;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media:is(.system-course-cover-wall, .system-knowledge-screen-wall, .system-system-preview-wall) {
  grid-column: 1;
  grid-row: 3;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 170 / 65;
  align-self: start;
  min-height: 0;
  margin: 2.46cqw 0 0;
  overflow: hidden;
  border: 1px solid rgba(192, 169, 239, 0.28);
  border-radius: 1.54cqw;
  padding: 0.61cqw;
  background: rgba(6, 3, 20, 0.68);
  box-shadow: inset 0 1px rgba(246, 240, 255, 0.06);
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media:is(.system-course-cover-wall, .system-knowledge-screen-wall, .system-system-preview-wall) img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 0.92cqw;
  object-fit: contain;
  object-position: center;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-course-cover-wall,
.logic-flow-page .system-offer-grid > .system-offer-card > .system-knowledge-screen-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-course-cover-wall img,
.logic-flow-page .system-offer-grid > .system-offer-card > .system-knowledge-screen-wall img {
  min-width: 0;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-course-cover-wall img {
  object-fit: cover;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-knowledge-screen-wall img {
  object-fit: cover;
  object-position: center top;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list {
  grid-column: 1;
  grid-row: 4;
  display: grid;
  align-content: start;
  gap: 1.08cqw;
  min-width: 0;
  margin: 2.3cqw 0 0;
  border-top: 1px solid rgba(191, 170, 237, 0.2);
  padding: 1.84cqw 0 0;
  list-style: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
  position: relative;
  min-width: 0;
  padding-left: 2.3cqw;
  color: rgba(225, 215, 242, 0.78);
  font-family: var(--font-copy);
  font-size: 1.77cqw;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li::before {
  position: absolute;
  top: 0.16em;
  left: 0;
  width: auto;
  height: auto;
  color: #c7a5ff;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  content: "✦";
  font-size: 1.69cqw;
  line-height: 1;
}

@media (max-width: 720px) {
  .logic-flow-page .system-offer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 560px);
    margin-top: 32px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card {
    min-height: 0;
    padding: 34px 20px 22px;
    border-radius: 20px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
    top: -8px;
    right: 13px;
    font-size: min(29.4cqw, 108px);
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-name {
    padding-right: 0;
    font-size: clamp(24px, 7vw, 30px);
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-pain {
    font-size: 16px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
    font-size: 14px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media:is(.system-course-cover-wall, .system-knowledge-screen-wall, .system-system-preview-wall) {
    margin-top: 16px;
    border-radius: 10px;
    padding: 4px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media:is(.system-course-cover-wall, .system-knowledge-screen-wall, .system-system-preview-wall) img {
    border-radius: 6px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list {
    gap: 7px;
    margin-top: 15px;
    padding-top: 12px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
    padding-left: 15px;
    font-size: 14px;
    line-height: 1.6;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li::before {
    font-size: 11px;
  }
}

@media (min-width: 600px) and (max-width: 720px) {
  .logic-flow-page .system-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card {
    padding: 32px 13px 18px;
    border-radius: 18px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
    top: -8px;
    right: 8px;
    font-size: 46px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title {
    padding-right: 0;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-pain {
    font-size: 12px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-name {
    font-size: clamp(17px, 3vw, 21px);
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
    font-size: 12px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-course-cover-wall,
  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-knowledge-screen-wall,
  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall {
    margin-top: 12px;
    padding: 3px;
    border-radius: 9px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list {
    gap: 5px;
    margin-top: 12px;
    padding-top: 10px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
    padding-left: 13px;
    font-size: 11px;
    line-height: 1.45;
  }
}

/* Final alignment owner for the third legacy preview wall. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall {
  align-self: start;
  height: auto;
  aspect-ratio: 170 / 65;
}

/* Space around the scaled mobile timeline, before the founder section. */
@media (max-width: 720px) {
  .logic-flow-page .hero-story-inner {
    padding-block: calc(4.34cqi + clamp(20px, 5.45vw, 30px)) calc(2.3cqi + clamp(24px, 6.36vw, 36px));
  }
}

/* Equalize the two-line lead slot only while the cards are in three columns. */
@media (min-width: 600px) {
  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
    min-height: 2.9em;
  }
}
/* Offer-card trim: let each index straddle the card edge by half its line box. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
  top: 0;
  transform: translateY(-50%);
}

/* The banner itself owns the rounding; the media wrapper is only a layout box. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media:is(.system-course-cover-wall, .system-knowledge-screen-wall, .system-system-preview-wall) {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media:is(.system-course-cover-wall, .system-knowledge-screen-wall, .system-system-preview-wall) img {
  border-radius: clamp(6px, 0.92cqw, 10px);
}

/* The single system banner keeps its source aspect ratio while filling the card width. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall {
  aspect-ratio: auto;
  height: auto;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Keep the original list spacing without the decorative divider. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list {
  border-top: 0;
  padding-top: 0;
}

/* In the single-column phone layout the protruding index needs its own row. */
@media (max-width: 599px) {
  .logic-flow-page .system-offer-grid {
    gap: 36px;
  }
}

/* Desktop story-to-founder spacing: use the compact 72px tier at every desktop width. */
@media (min-width: 721px) {
  .logic-flow-page .hero-story-inner {
    padding-block: 72px;
  }

  /* Remove the separate desktop founder offset so the story padding is the only gap. */
  .logic-flow-page .founder-section-inner {
    padding-top: 0;
  }
}

/* The 721–980px founder copy had an extra 8px top inset; retain its bottom rhythm. */
@media (min-width: 721px) and (max-width: 980px) {
  .logic-flow-page .founder-profile-copy {
    padding-top: 0;
  }
}

/* Restore the compact two-column founder composition through the narrow middle range. */
@media (width > 720px) and (width < 860px) {
  .logic-flow-page .founder-section-inner {
    width: var(--content-width);
    padding-bottom: 64px;
  }

  .logic-flow-page .founder-profile {
    grid-template-columns: minmax(0, .43fr) minmax(0, .57fr);
    grid-template-areas:
      "heading heading"
      "portrait details"
      "cards cards";
    gap: 12px;
    align-items: center;
  }

  .logic-flow-page .founder-profile-heading {
    grid-area: heading;
    min-width: 0;
    text-align: center;
  }

  .logic-flow-page .founder-profile-details-mobile {
    display: grid;
    grid-area: details;
    min-width: 0;
    margin: 0;
    gap: 8px;
  }

  .logic-flow-page .founder-profile-details {
    display: none;
  }

  .logic-flow-page .founder-profile-detail-pair,
  .logic-flow-page .founder-profile-detail-pair dt,
  .logic-flow-page .founder-profile-detail-pair dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .logic-flow-page .founder-profile-detail-pair dt {
    color: #f4efff;
    font-family: var(--font-title);
    font-size: clamp(13px, 3.25vw, 16px);
    font-weight: 700;
    line-height: 1.45;
  }

  .logic-flow-page .founder-profile-detail-pair dd {
    color: rgba(239, 237, 253, 0.7);
    font-family: var(--font-copy);
    font-size: clamp(12px, 2.85vw, 14px);
    font-weight: 300;
    line-height: 1.55;
  }

  .logic-flow-page .founder-profile-portrait {
    position: relative;
    grid-area: portrait;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 976 / 1219;
  }

  .logic-flow-page .founder-portrait-window {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    aspect-ratio: 976 / 1219;
    overflow: hidden;
  }

  .logic-flow-page .founder-profile-image {
    position: absolute;
    top: calc(-96 / 1219 * 100%);
    left: calc(-113 / 976 * 100%);
    width: calc(1099 / 976 * 100%);
    max-width: none;
    height: auto;
  }

  .logic-flow-page .founder-profile-copy {
    display: contents;
    padding: 0;
  }

  .logic-flow-page .founder-profile-name {
    display: flex;
    justify-content: center;
    margin: 0 0 6px;
    font-size: 0;
    line-height: 1;
  }

  .logic-flow-page .founder-profile-name-desktop {
    display: none;
  }

  .logic-flow-page .founder-profile-eyebrow {
    display: inline-flex;
    margin: 0;
  }

  .logic-flow-page .founder-profile-tags {
    display: none;
  }

  .logic-flow-page .founder-service-cards {
    display: grid;
    grid-area: cards;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin-top: 16px;
    justify-self: stretch;
  }

  .logic-flow-page .founder-service-card {
    padding: 8px 10px;
  }

  .logic-flow-page .founder-service-title {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .logic-flow-page .founder-service-description {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* Restore the original small-desktop right-column cards before the full desktop tier. */
@media (width >= 860px) and (width < 981px) {
  .logic-flow-page .founder-section-inner {
    width: calc(100% - 48px);
  }

  .logic-flow-page .founder-profile {
    --founder-portrait-column-width: 365px;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    grid-template-columns: var(--founder-portrait-column-width) minmax(0, 490px);
    align-items: stretch;
    gap: 20px;
  }

  .logic-flow-page .founder-profile-copy {
    display: block;
    min-width: 0;
    padding: 0;
  }

  .logic-flow-page .founder-profile-portrait {
    position: relative;
    min-width: 0;
    min-height: 0;
  }

  .logic-flow-page .founder-portrait-window {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: min(100%, calc(var(--founder-portrait-column-width) * 1219 / 976));
    aspect-ratio: 976 / 1219;
    overflow: hidden;
  }

  .logic-flow-page .founder-profile-image {
    position: absolute;
    top: calc(-96 / 1219 * 100%);
    left: calc(-113 / 976 * 100%);
    width: calc(1099 / 976 * 100%);
    max-width: none;
    height: auto;
  }

  .logic-flow-page .founder-profile-name {
    font-size: 34px;
  }

  .logic-flow-page .founder-profile-tags {
    margin: 12px 0 14px;
  }

  .logic-flow-page .founder-profile-detail {
    font-size: 15px;
    line-height: 1.65;
  }

  .logic-flow-page .founder-profile-detail + .founder-profile-detail {
    margin-top: 8px;
  }

  .logic-flow-page .founder-service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 490px);
    gap: 8px;
    margin-top: 16px;
    align-items: stretch;
  }

  .logic-flow-page .founder-service-card {
    padding: 14px 12px 16px;
  }

  .logic-flow-page .founder-service-title {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .logic-flow-page .founder-service-description {
    font-size: 13px;
    line-height: 1.6;
    text-wrap: balance;
  }
}

/* Desktop spacing refinement for the trust-to-offer transition. */
@media (min-width: 721px) {
  /* Founder bottom -> trust eyebrow: retain a compact 64–68px desktop gap. */
  .logic-flow-page .founder-section-inner {
    padding-bottom: clamp(64px, 4.7vw, 68px);
  }

  /* Trust eyebrow -> heading -> circles. */
  .logic-flow-page .trust-case-heading .trust-eyebrow {
    margin-bottom: 10px;
  }

  .logic-flow-page .trust-case-grid {
    margin-top: clamp(45px, 3.4vw, 52px);
    margin-bottom: clamp(74px, calc(144px - 5vw), 88px);
  }

  /* Circles -> the next section's colored arc container. */
  .logic-flow-page .logic-flow-trust-stage {
    padding-bottom: clamp(136px, 12vw, 156px);
  }
}

/* Keep an 8px flow gap after the subtitle, then add exactly half of the
   current index line box on each card. Since the cards are children of the
   inline-size grid container, 5.5305cqw matches 12.29cqw × .9 ÷ 2 at every
   desktop grid width, while preserving the half-exposed index treatment. */
@media (min-width: 721px) {
  .logic-flow-page .system-offer-grid {
    margin-top: 8px;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card {
    margin-block-start: 5.5305cqw;
  }
}

/* At 390px the measured gap is 7px; add 4px. Keep the 600–720px
   three-column layout unchanged because its measured gap is already 15px. */
@media (max-width: 599px) {
  .logic-flow-page .system-offer-grid {
    margin-top: 36px;
  }
}

@media (min-width: 600px) and (max-width: 720px) {
  .logic-flow-page .system-offer-grid {
    margin-top: 32px;
  }
}

/* Scoped increment for #service-cards; append after the existing offer-card rules. */
.solution-choice-grid#service-cards {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.solution-choice-grid#service-cards > li {
  display: flex;
  min-width: 0;
  min-height: 0;
}

.solution-choice-grid#service-cards > li > .solution-choice-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.solution-choice-grid#service-cards .solution-choice-benefits {
  flex: 1 1 auto;
  align-content: stretch;
}

@media (max-width: 720px) {
  .solution-choice-grid#service-cards {
    grid-auto-rows: minmax(0, 1fr);
  }

  .solution-choice-grid#service-cards > li > .solution-choice-card {
    min-height: 0;
  }
}

/* Horizontal, full-height day/night comparison for the workbench card. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare {
  --split: 50;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1400 / 634;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: #11131b;
  box-shadow: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: inherit;
  object-fit: contain;
  object-position: center;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__image--dark {
  z-index: 0;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__image--light {
  z-index: 1;
  clip-path: inset(0 calc(100% - (var(--split) * 1%)) 0 0);
}

.taop1-theme-compare__divider {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: calc(var(--split) * 1%);
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(16, 20, 35, 0.2), 0 0 14px rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.taop1-theme-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 42px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(16, 20, 35, 0.68);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.taop1-theme-compare__handle::before,
.taop1-theme-compare__handle::after {
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  content: "";
  transform: translateY(-50%);
}

.taop1-theme-compare__handle::before {
  left: 4px;
  border-right: 5px solid #fff;
}

.taop1-theme-compare__handle::after {
  right: 4px;
  border-left: 5px solid #fff;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__control {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  cursor: ew-resize;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__control input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
  touch-action: pan-y;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__control input:focus-visible {
  outline: none;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__control:has(input:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .taop1-theme-compare__image,
  .taop1-theme-compare__divider {
    transition: none;
  }
}

/* Signature stays inside the portrait window without changing layout geometry. */
.logic-flow-page .founder-portrait-window > .founder-profile-signature {
  position: absolute;
  z-index: 2;
  right: 5.5%;
  bottom: 5.5%;
  display: block;
  width: min(23%, 92px);
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}
/* Scale the existing three-card composition against the 1120px desktop grid. */
@media (max-width: 720px) {
  .logic-flow-page .system-loop-section {
    container-type: inline-size;
    padding: 6.4286cqw 0 9.2857cqw;
  }

  .logic-flow-page .system-loop-inner {
    container-type: inline-size;
    width: var(--content-width);
    max-width: 1120px;
    margin-inline: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .logic-flow-page .system-loop-heading {
    max-width: 85.7143cqw;
    margin: 0 auto;
  }

  .logic-flow-page .system-loop-heading .system-loop-eyebrow {
    gap: 0.8929cqw;
    min-height: 3.0357cqw;
    margin-bottom: 1.6071cqw;
    padding: 0.7143cqw 1.4286cqw;
    border-width: 0.0893cqw;
    font-size: 0.9821cqw;
    letter-spacing: 0.18em;
    box-shadow: inset 0 0.0893cqw rgba(255, 255, 255, 0.08), 0 0 1.9643cqw rgba(148, 101, 255, 0.1);
  }

  .logic-flow-page .system-loop-heading .system-loop-eyebrow::before {
    width: 0.5357cqw;
    height: 0.5357cqw;
  }

  .logic-flow-page .system-loop-heading .system-loop-title {
    font-size: 5.1429cqw;
    line-height: 1.25;
  }

  .logic-flow-page .system-loop-heading .system-loop-subtitle {
    max-width: 76.7857cqw;
    margin-top: 2.8571cqw;
    font-size: 1.7357cqw;
    line-height: 1.75;
  }

  .logic-flow-page .system-offer-grid {
    container-type: inline-size;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.875cqw;
    width: 100%;
    margin: 0.7143cqw auto 0;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card {
    container-type: normal;
    min-height: 62.06cqw;
    margin-block-start: 5.5305cqw;
    padding: 6.14cqw 2.92cqw 3.07cqw;
    border-radius: 2.76cqw;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-index {
    top: 0;
    right: 1.69cqw;
    font-size: 12.29cqw;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title {
    gap: 0.625cqw;
    padding-right: 0;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-pain {
    font-size: 2.46cqw;
    line-height: 1.35;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-name {
    margin-top: 0.92cqw;
    font-size: 3.53cqw;
    line-height: 1.14;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
    min-block-size: 2lh;
    margin-top: 1.38cqw;
    font-size: 1.84cqw;
    line-height: 1.45;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall:not(.taop1-theme-compare) {
    height: auto;
    margin-top: 2.46cqw;
    border-radius: 1.54cqw;
    padding: 0;
    aspect-ratio: auto;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall:not(.taop1-theme-compare) img {
    height: auto;
    border-radius: 0.92cqw;
    object-fit: contain;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare {
    height: auto;
    margin-top: 2.46cqw;
    border-radius: 1.54cqw;
    aspect-ratio: 1400 / 634;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list {
    gap: 1.08cqw;
    margin-top: 2.3cqw;
    padding-top: 0;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
    padding-left: 2.3cqw;
    font-size: 1.77cqw;
    line-height: 1.45;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li::before {
    font-size: 1.69cqw;
  }

  /* Keep the comparison affordance proportional to the source desktop control. */
  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__divider {
    width: 0.1786cqw;
    transform: translateX(-0.0893cqw);
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__handle {
    width: 2.3214cqw;
    height: 3.75cqw;
    border-width: 0.0893cqw;
    box-shadow: 0 0.2679cqw 1.0714cqw rgba(0, 0, 0, 0.28);
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__handle::before,
  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__handle::after {
    border-top-width: 0.4464cqw;
    border-bottom-width: 0.4464cqw;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__handle::before {
    left: 0.3571cqw;
    border-right-width: 0.4464cqw;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__handle::after {
    right: 0.3571cqw;
    border-left-width: 0.4464cqw;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-media.system-system-preview-wall.taop1-theme-compare .taop1-theme-compare__control:has(input:focus-visible) {
    outline-width: 0.1786cqw;
    outline-offset: -0.2679cqw;
  }
}
/* Keep all three card leads on one shared cqw line, including the longest copy. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
  min-block-size: 0;
  font-size: 1.49cqw;
  white-space: nowrap;
  text-wrap: nowrap;
}

/* Tighten only the card title stack while preserving its desktop/mobile ratio. */
.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title {
  gap: 0.3125cqw;
}

.logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-card-title .system-offer-card-pain {
  color: rgba(244, 240, 255, 0.64);
}
/* Mobile-only outer spacing for the offer-to-review-to-customer sequence. */
@media (max-width: 720px) {
  .logic-flow-page .solution-choice-section {
    padding-bottom: clamp(32px, 7.3vw, 40px);
  }

  .logic-flow-page .trust-close-section {
    padding-top: clamp(28px, 6.4vw, 34px);
  }

  .logic-flow-page .trust-close-section .home-love-wall {
    margin-top: clamp(22px, 6.4vw, 28px);
    padding-bottom: clamp(18px, 4.5vw, 24px);
  }

  .logic-flow-page .trust-review-proof + .trust-customer-proof {
    margin-top: clamp(48px, 12.7vw, 56px);
  }
}
/* Keep the homepage service cards as a readable, equal-height three-column row on phones. */
@media (max-width: 720px) {
  .logic-flow-page .solution-choice-grid#service-cards {
    container-type: inline-size;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.8cqw;
    width: 100%;
    margin-inline: 0;
  }

  .logic-flow-page .solution-choice-grid#service-cards > li {
    display: flex;
    min-width: 0;
    min-height: 0;
    align-items: stretch;
  }

  .logic-flow-page .solution-choice-grid#service-cards > li > .solution-choice-card.solution-choice-card--image-layout {
    display: flex;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 1.8cqw;
    border-radius: 2.8cqw;
  }

  .logic-flow-page .solution-choice-grid#service-cards > li > .solution-choice-card.solution-choice-card--image-layout .solution-choice-card-media {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 828 / 436;
    margin: 0 0 1.45cqw;
    border-radius: 1.45cqw;
    object-fit: contain;
    object-position: center;
  }

  .logic-flow-page .solution-choice-grid#service-cards > li > .solution-choice-card.solution-choice-card--image-layout .solution-choice-benefits-title {
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: clamp(8px, 2.2cqw, 14px);
    font-weight: 700;
    line-height: 1.45;
  }

  .logic-flow-page .solution-choice-grid#service-cards > li > .solution-choice-card.solution-choice-card--image-layout .solution-choice-benefits {
    display: grid;
    gap: 1.2cqw;
    margin: 0.9cqw 0 0;
    padding: 0;
  }

  .logic-flow-page .solution-choice-grid#service-cards > li > .solution-choice-card.solution-choice-card--image-layout .solution-choice-benefits li {
    min-width: 0;
    padding-left: 1.8cqw;
    color: #fff;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: clamp(8px, 2.2cqw, 14px);
    font-weight: 600;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .logic-flow-page .solution-choice-grid#service-cards > li > .solution-choice-card.solution-choice-card--image-layout .solution-choice-benefits li::before {
    top: 0.55em;
    left: 0.2cqw;
    width: 0.65cqw;
    height: 0.65cqw;
  }
}
/* Keep the mobile system-card edge clear while preserving the scaled section padding. */
@media (max-width: 720px) {
  .logic-flow-page .solution-choice-section {
    --solution-funnel-grow: clamp(16px, calc(9.2857vw - 16px), 52px);
  }
}
/* Mobile-only readability pass for the three core-benefit cards. Keep the
   three-column geometry, numbering, imagery, and authored single-line leads. */
@media (max-width: 720px) {
  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-lead {
    /* Preserve the shared single-line size; add only weight and contrast. */
    font-size: 1.49cqw;
    font-weight: 700;
    color: rgba(227, 217, 243, 0.9);
    white-space: nowrap;
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li {
    font-size: 2.15cqw;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(220, 211, 238, 0.84);
  }

  .logic-flow-page .system-offer-grid > .system-offer-card > .system-offer-list li::before {
    font-size: 2.05cqw;
  }
}
