/* Apollo landing — shared Olymp shell with a blue product accent and
   Apollo-specific product mockups. */

body.theme-apollo {
  --section-space: 56px;
  --frame-image: url("/assets/images/responsive/backgrounds/apollo-security-1280.webp");
  --frame-image: image-set(
    url("/assets/images/responsive/backgrounds/apollo-security-640.avif") type("image/avif") 1x,
    url("/assets/images/responsive/backgrounds/apollo-security-1280.avif") type("image/avif") 2x,
    url("/assets/images/responsive/backgrounds/apollo-security-640.webp") type("image/webp") 1x,
    url("/assets/images/responsive/backgrounds/apollo-security-1280.webp") type("image/webp") 2x
  );
  --frame-overlay: linear-gradient(180deg, rgba(22, 38, 62, .08), rgba(22, 38, 62, .24));
  background-color: var(--bg);

  /* product-mockup palette — Apollo (cool / finance) */
  --pm-bg: #f4f8ff;
  --pm-surface: #ffffff;
  --pm-surface-2: #f5f8fe;
  --pm-surface-3: #eef3fc;
  --pm-border: #e5ebf5;
  --pm-border-soft: #eef2f9;
  --pm-primary: #224c98;      /* navy */
  --pm-primary-soft: #e8f0fc;
  --pm-primary-line: #bcd2f0;
  --pm-accent: #2f61bd;       /* action blue */
  --pm-accent-soft: #e7effb;
  --pm-text: #16233a;
  --pm-text-2: #47546a;
  --pm-muted: #7a879b;
  --pm-danger: #c0392b;
  --pm-success: #16a07a;
  --pm-warm: #f6d8ae;
}

/* Artemis is the spacing master: use one vertical rhythm for every top-level
   block and let major rounded panels span the full content wrap. */
body.theme-apollo .hero,
body.theme-apollo .strip,
body.theme-apollo .section {
  padding-block: var(--section-space);
}
body.theme-apollo main > section.hero:first-child {
  padding-top: calc(var(--first-section-pad) + var(--nav-offset));
}

@media (max-width: 640px) {
  body.theme-apollo {
    --section-space: 42px;
    overflow-x: clip;
  }
}

/* Match Artemis's compact proof-point band exactly. */
body.theme-apollo .stats-section {
  padding-block: 0 clamp(32px, 4vw, 48px);
}
body.theme-apollo .stat {
  min-height: 180px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 640px) {
  body.theme-apollo .stats-section { padding-block: 36px 44px; }
  body.theme-apollo .stat { min-height: 160px; padding: 28px 24px; }
}
@media (max-width: 480px) {
  body.theme-apollo .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body.theme-apollo .stat {
    min-height: 150px;
    padding: 16px 14px;
  }
  body.theme-apollo .stat .n { font-size: 36px; }
  body.theme-apollo .stat .k {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.35;
  }
}

/* Give the stat cards the same hover lift used on Artemis. */
.stat { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) and (pointer: fine) {
  .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .stat { transition: none; }
  .stat:hover { transform: none; }
}

/* Keep the hero background flat so the light-blue page is uniform */
.hero::before { display: none; }

/* Match the Artemis hero proportions and typography. */
body.theme-apollo .hero__grid { grid-template-columns: 1fr 1.1fr; gap: 44px; }
body.theme-apollo .hero h1.display {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 550;
  line-height: 1.02;
  text-wrap: balance;
}
body.theme-apollo .hero h1.display .display__accent {
  color: var(--accent);
  white-space: nowrap;
}
body.theme-apollo .hero .lead { max-width: 480px; text-wrap: pretty; }
@media (max-width: 480px) {
  body.theme-apollo .hero h1.display {
    font-size: clamp(28px, 8.9vw, 35px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

/* Framed hero mockup — fresco frame behind the app card.
   Same frame dimensions as Artemis' framed mockups (show-frame-1). */
body.theme-apollo .hero__visual {
  position: relative;
  padding: clamp(16px, 1.9vw, 26px);
  border-radius: 24px;
  background: #2b2622 url("/assets/images/responsive/backgrounds/apollo-daphne-770.webp") center 44% / cover no-repeat;
  background: #2b2622 image-set(
    url("/assets/images/responsive/backgrounds/apollo-daphne-480.avif") type("image/avif") 1x,
    url("/assets/images/responsive/backgrounds/apollo-daphne-770.avif") type("image/avif") 2x,
    url("/assets/images/responsive/backgrounds/apollo-daphne-480.webp") type("image/webp") 1x,
    url("/assets/images/responsive/backgrounds/apollo-daphne-770.webp") type("image/webp") 2x
  ) center 44% / cover no-repeat;
  box-shadow: 0 30px 66px -34px rgba(20, 45, 40, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
  overflow: hidden;
}
body.theme-apollo .hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 26, 22, .1), rgba(18, 26, 22, .32));
  pointer-events: none;
}
body.theme-apollo .hero__visual > .pm { position: relative; z-index: 1; }

/* Use the same compact product-preview layout as the Artemis hero. */
body.theme-apollo .hero__visual .pm-app { grid-template-columns: 58px 1fr; min-height: 0; }
body.theme-apollo .hero__visual .pm-brand,
body.theme-apollo .hero__visual .pm-chead { height: 60px; box-sizing: border-box; }
body.theme-apollo .hero__visual .pm-brand { justify-content: center; padding: 13px 0; }
body.theme-apollo .hero__visual .pm-brand b { display: none; }
body.theme-apollo .hero__visual .pm-sec-head { display: none; }
body.theme-apollo .hero__visual .pm-clients { padding: 12px 6px 0; }
body.theme-apollo .hero__visual .pm-crow { justify-content: center; padding: 7px 8px; }
body.theme-apollo .hero__visual .pm-crow .nm { display: none; }
body.theme-apollo .hero__visual .pm-foot a { justify-content: center; }
body.theme-apollo .hero__visual .pm-foot a span { display: none; }
body.theme-apollo .hero__visual .pm-chead { padding-top: 10px; padding-bottom: 10px; }
body.theme-apollo .hero__visual .pm-msgs { padding: 14px 20px 12px; }
body.theme-apollo .hero__visual .pm-input { margin-bottom: 12px; }
body.theme-apollo .hero__cta { gap: 12px; }
body.theme-apollo .hero__cta .btn { flex: 0 0 auto; }

@media (max-width: 980px) {
  body.theme-apollo .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  body.theme-apollo .hero__copy { display: contents; }
  body.theme-apollo .hero h1.display { order: 1; }
  body.theme-apollo .hero .lead {
    order: 2;
    font-size: 17px;
  }
  body.theme-apollo .hero__visual {
    order: 3;
    margin-top: 32px;
  }
  body.theme-apollo .hero__cta { order: 4; }
}

@media (min-width: 641px) and (max-width: 980px) {
  body.theme-apollo .hero h1.display,
  body.theme-apollo .hero .lead,
  body.theme-apollo .hero__visual,
  body.theme-apollo .hero__cta {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  body.theme-apollo .hero__grid,
  body.theme-apollo .hero__copy,
  body.theme-apollo .hero__visual,
  body.theme-apollo .show-row,
  body.theme-apollo .show-copy,
  body.theme-apollo .show-visual,
  body.theme-apollo .pm,
  body.theme-apollo .pm-main,
  body.theme-apollo .pm-brief,
  body.theme-apollo .pm-sync,
  body.theme-apollo .feature-carousel-frame,
  body.theme-apollo .fcar,
  body.theme-apollo .fcar__stage {
    min-width: 0;
    max-width: 100%;
  }
  body.theme-apollo .hero h1.display {
    overflow-wrap: normal;
    hyphens: manual;
  }
  body.theme-apollo .show-copy .btn,
  body.theme-apollo .show-cta-mobile {
    width: 100%;
    max-width: 100%;
  }
  body.theme-apollo .hero__visual {
    width: 92%;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  body.theme-apollo .hero__visual::before { display: none; }
  body.theme-apollo .hero__visual .pm {
    min-width: 0;
    border-radius: 12px;
  }
  body.theme-apollo .hero__visual .pm-top {
    gap: 5px;
    padding: 9px 10px;
  }
  body.theme-apollo .hero__visual .pm-top i {
    width: 8px;
    height: 8px;
  }
  body.theme-apollo .hero__visual .pm-top .pm-url {
    min-width: 0;
    margin-left: 4px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.theme-apollo .hero__visual .pm-app { grid-template-columns: minmax(0, 1fr); }
  body.theme-apollo .hero__visual .pm-side { display: none; }
  body.theme-apollo .hero__visual .pm-chead {
    height: auto;
    min-height: 54px;
    padding: 9px 12px;
  }
  body.theme-apollo .hero__visual .pm-chead .sp { display: none; }
  body.theme-apollo .hero__visual .pm-chead > span:nth-child(2) { min-width: 0; }
  body.theme-apollo .hero__visual .pm-chead .sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.theme-apollo .hero__visual .pm-msgs { padding: 12px; }
  body.theme-apollo .hero__visual .pm-msg { max-width: 94%; }
  body.theme-apollo .hero__visual .pm-bubble {
    padding: 8px 10px;
    font-size: 11.5px;
  }
  body.theme-apollo .hero__visual .pm-file {
    min-width: 0;
    gap: 7px;
    padding: 7px 8px;
  }
  body.theme-apollo .hero__visual .pm-file > span:nth-child(2) { min-width: 0; }
  body.theme-apollo .hero__visual .pm-file .fn {
    overflow: hidden;
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.theme-apollo .hero__visual .pm-file .fs { display: none; }
  body.theme-apollo .hero__visual .pm-input {
    min-width: 0;
    margin: 0 12px 12px;
    padding-left: 11px;
  }
  body.theme-apollo .hero__visual .pm-input .ph {
    min-width: 0;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.theme-apollo .hero__visual .pm-pill { display: none; }
  body.theme-apollo .hero__grid {
    padding-top: 18px;
    gap: 0;
  }
  body.theme-apollo .hero h1.display {
    width: min(340px, 100%);
    margin-inline: auto;
    font-size: clamp(30px, 8.2vw, 34px);
    line-height: 1.14;
    text-align: center;
    text-wrap: balance;
  }
  body.theme-apollo .hero .lead {
    width: min(344px, 100%);
    margin: 24px auto 0;
    font-size: 16px;
    line-height: 1.62;
    text-align: center;
    text-wrap: pretty;
  }
  body.theme-apollo .hero__visual {
    width: calc(100% - 24px);
    margin: 28px auto 0;
    padding: 8px;
  }
  body.theme-apollo .hero__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: calc(100% - 24px);
    margin: 22px auto 0;
    gap: 10px;
  }
  body.theme-apollo .hero__cta .btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 10px;
    justify-content: center;
    font-size: 13px;
    white-space: nowrap;
  }
  body.theme-apollo .hero__cta .btn svg { width: 16px; height: 16px; }
  body.theme-apollo .hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 24px);
    margin: 18px auto 0;
    gap: 8px;
  }
  body.theme-apollo .hero__trust .trust-item {
    min-width: 0;
    margin: 0;
    padding: 4px 2px;
    justify-content: flex-start;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 12px;
    line-height: 1.35;
  }
  body.theme-apollo .hero__trust .trust-item:first-child { grid-column: 1 / -1; }
}

/* Partner / trust marquee — matches Artemis */
.logos-marquee {
  position: relative; overflow: hidden; margin-top: 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos-track {
  display: flex; align-items: center; width: max-content;
  animation: logos-scroll 40s linear infinite;
}
.logos-group { display: flex; align-items: center; gap: 72px; padding-right: 72px; flex: none; }
.logos-group a { display: flex; align-items: center; flex: none; border-radius: 6px; }
.logos-group a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.logos-track img {
  height: 48px; width: auto; max-width: 210px; object-fit: contain; flex: none;
  opacity: .62; filter: grayscale(1); transition: opacity .2s, filter .2s;
}
.logos-group a:hover img,
.logos-group a:focus-visible img { opacity: 1; filter: grayscale(0); }
.logos-track .logo-lg { height: 64px; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } }

/* ============================================================
   PRODUCT MOCKUP LIBRARY (.pm-*) — Apollo app replica (navy)
   ============================================================ */
.pm {
  font-family: var(--sans);
  background: var(--pm-surface);
  border: 1px solid var(--pm-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 34px 70px -26px rgba(20, 45, 95, .3), 0 6px 16px rgba(20, 45, 95, .07);
  color: var(--pm-text);
  line-height: 1.5;
  user-select: none;
}
.pm-top { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--pm-surface-2); border-bottom: 1px solid var(--pm-border-soft); }
.pm-top i { width: 11px; height: 11px; border-radius: 50%; background: #d7deea; display: inline-block; }
.pm-top i:nth-child(1) { background: #e6a29a; } .pm-top i:nth-child(2) { background: #eccf9a; } .pm-top i:nth-child(3) { background: #a7cdb2; }
.pm-top .pm-url { margin-left: 10px; font-size: 12px; color: var(--pm-muted); display: inline-flex; align-items: center; gap: 7px; }
.pm-top .pm-url svg { width: 12px; height: 12px; }

.pm-app { display: grid; grid-template-columns: 210px 1fr; min-height: 430px; }
.pm-side { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.35)), var(--pm-surface-2); border-right: 1px solid var(--pm-border); display: flex; flex-direction: column; min-height: 0; }
.pm-brand { display: flex; align-items: center; gap: 9px; padding: 13px 14px; border-bottom: 1px solid var(--pm-border-soft); }
.pm-brand .m { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #224c98, #1b3b77); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.pm-brand b { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--pm-text); letter-spacing: .02em; }
.pm-sec-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 7px; }
.pm-sec-head span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pm-muted); }
.pm-sec-head .a { display: flex; gap: 4px; }
.pm-sec-head .a b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--pm-muted); }
.pm-sec-head .a b svg { width: 13px; height: 13px; }
.pm-clients { padding: 0 8px; display: flex; flex-direction: column; gap: 2px; }
.pm-crow { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 10px; }
.pm-crow.on { background: #fff; box-shadow: 0 1px 2px rgba(20,30,40,.05); }
.pm-crow .av { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; }
.pm-crow .nm { font-size: 13px; font-weight: 500; color: var(--pm-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-crow.on .nm { color: var(--pm-primary); font-weight: 600; }
.pm-foot { margin-top: auto; padding: 10px 8px; border-top: 1px solid var(--pm-border-soft); display: flex; flex-direction: column; gap: 2px; }
.pm-foot a { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 9px; font-size: 12.5px; color: var(--pm-text-2); font-weight: 500; }
.pm-foot a.on { background: #fff; color: var(--pm-primary); box-shadow: 0 1px 2px rgba(20,30,40,.05); }
.pm-foot a svg { width: 15px; height: 15px; color: var(--pm-muted); }
.pm-foot a.on svg { color: var(--pm-primary); }

.pm-main { display: flex; flex-direction: column; min-width: 0; background: var(--pm-surface); position: relative; }
.pm-chead { display: flex; align-items: center; gap: 11px; padding: 12px 18px; border-bottom: 1px solid var(--pm-border-soft); }
.pm-chead .av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; flex: none; }
.pm-chead .nm { font-weight: 600; font-size: 14px; color: var(--pm-text); }
.pm-chead .sub { font-size: 11.5px; color: var(--pm-muted); display: flex; align-items: center; gap: 5px; }
.pm-chead .sub svg { width: 12px; height: 12px; }
.pm-chead .sp { margin-left: auto; display: flex; gap: 6px; color: var(--pm-muted); }
.pm-chead .sp svg { width: 17px; height: 17px; }
.pm-msgs { flex: 1; padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.pm-day { align-self: center; font-size: 10.5px; color: var(--pm-muted); background: var(--pm-surface-2); border: 1px solid var(--pm-border-soft); border-radius: 999px; padding: 4px 12px; letter-spacing: .04em; margin-bottom: 4px; }
.pm-msg { max-width: 84%; display: flex; flex-direction: column; }
.pm-msg.bot { align-self: flex-start; align-items: flex-start; }
.pm-msg.user { align-self: flex-end; align-items: flex-end; }
.pm-bubble { padding: 9px 13px 10px; border-radius: 15px; font-size: 13px; line-height: 1.5; }
.pm-msg.bot .pm-bubble { background: var(--pm-surface-2); border: 1px solid var(--pm-border-soft); border-bottom-left-radius: 4px; color: var(--pm-text); }
.pm-msg.user .pm-bubble { background: var(--pm-primary); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 1px 2px rgba(34,76,152,.2); }
.pm-meta { font-size: 9.5px; color: var(--pm-muted); margin-top: 3px; letter-spacing: .03em; }

.pm-file { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 11px; background: #fff; border: 1px solid var(--pm-border); border-radius: 11px; }
.pm-file .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--pm-primary-soft); color: var(--pm-primary); display: grid; place-items: center; flex: none; }
.pm-file .ic svg { width: 15px; height: 15px; }
.pm-file .fn { font-size: 12.5px; font-weight: 600; color: var(--pm-text); }
.pm-file .fs { font-size: 10.5px; color: var(--pm-muted); }
.pm-file .dl { margin-left: auto; color: var(--pm-accent); }
.pm-file .dl svg { width: 14px; height: 14px; }

/* portfolio pill row inside a bubble */
.pm-stats { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pm-statpill { background: #fff; border: 1px solid var(--pm-border); border-radius: 9px; padding: 7px 11px; }
.pm-statpill b { display: block; font-size: 13px; color: var(--pm-text); font-weight: 700; }
.pm-statpill span { font-size: 10px; color: var(--pm-muted); }
.pm-statpill.up b { color: #16a07a; }

.pm-input { margin: 0 18px 16px; background: var(--pm-surface); border: 1px solid var(--pm-border); border-radius: 16px; box-shadow: 0 4px 14px rgba(20,45,95,.06); padding: 8px 8px 8px 15px; display: flex; align-items: center; gap: 8px; }
.pm-input .ph { flex: 1; font-size: 12.5px; color: var(--pm-muted); }
.pm-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--pm-text-2); border: 1px solid var(--pm-border); background: var(--pm-surface); }
.pm-pill svg { width: 13px; height: 13px; }
.pm-send { width: 32px; height: 32px; border-radius: 50%; background: var(--pm-accent); color: #fff; display: grid; place-items: center; flex: none; }
.pm-send svg { width: 14px; height: 14px; }

/* --- document auto-fill mockup --- */
.pm-save { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--pm-muted); font-size: 10.5px; }
.pm-save > span { width: 7px; height: 7px; border-radius: 50%; background: #3ca77b; box-shadow: 0 0 0 3px rgba(60, 167, 123, .12); }
.pm-doc { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(180px, .8fr); min-height: 430px; background: #e9eceb; }
.pm-canvas { padding: 18px; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.pm-page { width: 100%; min-height: 390px; padding: 27px 30px 30px; overflow: hidden; background: #fff; position: relative; box-shadow: 0 3px 14px rgba(31, 49, 44, .11); border: 1px solid #dfe3e1; }
.pm-report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid #e5e8e6; }
.pm-report-kicker { display: block; margin-bottom: 4px; color: var(--pm-primary); font-size: 8.5px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.pm-page h4 { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--pm-text); margin: 0; }
.pm-report-head p { margin: 4px 0 0; color: var(--pm-text-2); font-size: 11px; font-weight: 600; }
.pm-report-logo { width: 64px; flex: none; color: #224c98; text-align: center; }
.pm-report-logo svg { display: block; width: 48px; height: 39px; margin: -4px auto 1px; }
.pm-report-logo span { display: block; color: var(--pm-muted); font-size: 7px; font-weight: 700; line-height: 1.2; }
.pm-report-data { display: grid; gap: 6px; margin: 17px 0 15px; }
.pm-report-data > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.pm-report-data dt, .pm-report-data dd { margin: 0; font-size: 9.5px; line-height: 1.45; }
.pm-report-data dt { color: var(--pm-text); font-weight: 700; }
.pm-report-data dd { color: var(--pm-text-2); min-width: 0; }
.pm-report-section { margin-top: 13px; }
.pm-report-section h5 { margin: 0 0 4px; color: var(--pm-text); font-size: 10px; font-weight: 700; }
.pm-report-section p { margin: 0; color: var(--pm-text-2); font-size: 9.5px; line-height: 1.65; }
.pm-fill { border-radius: 4px; padding: 1px 6px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.pm-fill.hi { background: #dcecff; color: #1c4f9c; box-shadow: inset 0 0 0 1px #bcd6f7; }
.pm-fill.mid { background: #fbeecb; color: #9a6a12; box-shadow: inset 0 0 0 1px #f0dca0; }
.pm-report-data .pm-fill, .pm-report-section .pm-fill { padding: 1px 3px; font-size: inherit; white-space: normal; }
.pm-side2 { background: var(--pm-surface-2); border-left: 1px solid var(--pm-border); padding: 18px; display: flex; flex-direction: column; min-width: 0; }
.pm-side2 .h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.pm-side2 .h b { font-size: 12.5px; font-weight: 600; color: var(--pm-text); }
.pm-side2 .h span { font-size: 11px; color: var(--pm-muted); }
.pm-side2 .h .pm-complete { padding: 2px 7px; border-radius: 999px; background: var(--pm-primary-soft); color: var(--pm-primary); font-weight: 700; }
.pm-side-intro { margin: 3px 0 8px; color: var(--pm-muted); font-size: 10.5px; line-height: 1.45; }
.pm-fields { display: flex; flex-direction: column; gap: 8px; }
.pm-field { display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: #fff; border: 1px solid var(--pm-border); border-radius: 10px; box-shadow: 0 2px 6px rgba(31, 49, 44, .025); }
.pm-field .ck { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.pm-field .ck.hi { background: #dcecff; color: #1c4f9c; } .pm-field .ck.mid { background: #fbeecb; color: #9a6a12; }
.pm-field .ck svg { width: 12px; height: 12px; }
.pm-field .fk { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--pm-text); }
.pm-field .fv { display: block; margin-top: 1px; font-size: 10.5px; line-height: 1.25; color: var(--pm-muted); }
.pm-side2 .go { margin-top: auto; }
.pm-side2 .go .pm-btn { width: 100%; }
.pm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 14px; border-radius: 9px; font-size: 12.5px; font-weight: 500; }
.pm-btn.pri { background: var(--pm-primary); color: #fff; } .pm-btn.pri svg { width: 14px; height: 14px; }

/* --- meeting-prep brief mockup --- */
.pm-brief { padding: 20px 22px; min-height: 430px; }
.pm-bhead { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pm-bhead .av { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 13px; flex: none; }
.pm-bhead h4 { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--pm-text); margin: 0; }
.pm-bhead .s { font-size: 11.5px; color: var(--pm-muted); }
.pm-bhead .tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #e6f6ee; color: #16855f; font-size: 11px; font-weight: 600; }
.pm-bhead .tag .d { width: 7px; height: 7px; border-radius: 50%; background: #16a07a; }
.pm-bcard { border: 1px solid var(--pm-border); border-radius: 12px; background: #fff; padding: 14px 16px; margin-bottom: 10px; }
.pm-bcard .t { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-muted); margin-bottom: 9px; }
.pm-brow { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; color: var(--pm-text-2); }
.pm-brow .ico { width: 22px; height: 22px; border-radius: 7px; background: var(--pm-primary-soft); color: var(--pm-primary); display: grid; place-items: center; flex: none; }
.pm-brow .ico svg { width: 12px; height: 12px; }
.pm-brow b { color: var(--pm-text); font-weight: 600; }
.pm-brow .r { margin-left: auto; color: var(--pm-muted); font-size: 11.5px; }
.pm-agenda { display: flex; flex-direction: column; gap: 2px; }
.pm-ai { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--pm-text-2); padding: 5px 0; }
.pm-ai .n { width: 18px; height: 18px; border-radius: 50%; background: var(--pm-primary-soft); color: var(--pm-primary); display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }

/* --- CRM sync activity list mockup --- */
.pm-sync { padding: 20px 22px; min-height: 430px; }
.pm-shead { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pm-shead .dot { width: 9px; height: 9px; border-radius: 50%; background: #16a07a; box-shadow: 0 0 0 4px rgba(22,160,122,.16); }
.pm-shead b { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--pm-text); }
.pm-slist { display: flex; flex-direction: column; }
.pm-sitem { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--pm-border-soft); }
.pm-sitem:last-child { border-bottom: 0; }
.pm-sitem .ck { width: 26px; height: 26px; border-radius: 8px; background: #e6f6ee; color: #16855f; display: grid; place-items: center; flex: none; }
.pm-sitem .ck svg { width: 14px; height: 14px; }
.pm-sitem .nm { font-size: 13px; font-weight: 600; color: var(--pm-text); }
.pm-sitem .sub { font-size: 11px; color: var(--pm-muted); }
.pm-sitem .tm { margin-left: auto; font-size: 11px; color: var(--pm-muted); font-variant-numeric: tabular-nums; }

/* avatar helpers */
.av-navy { background: linear-gradient(135deg, #224c98, #4f7fd6); }
.av-plum { background: linear-gradient(135deg, #5f5aa6, #8a86cf); }
.av-teal { background: linear-gradient(135deg, #12756a, #2fa192); }
.av-slate { background: linear-gradient(135deg, #566179, #8592ac); }
.pm .av { overflow: hidden; }
.pm .av picture { display: contents; }
.pm .av img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.pm .av img.avatar-top { object-position: center 15%; }

/* ---------- How-it-works showcase layout — matches Artemis' treatment ---------- */
.showcase { display: grid; gap: 32px; margin: 48px -24px 0; grid-auto-rows: 1fr; }
/* Each step sits in a framed panel; grid-auto-rows:1fr keeps all three the same
   height, and align-items:center vertically centres copy + mockup. */
.show-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 3.2vw, 48px);
  background: var(--tint-2);
  border: 1px solid rgba(196, 186, 170, .38);
  border-radius: 30px;
  box-shadow: 0 26px 60px -38px rgba(99, 83, 65, .18), inset 0 1px 0 rgba(255, 255, 255, .55);
  overflow: hidden;
}
.show-row.flip { grid-template-columns: 2fr 1fr; }
.show-row.flip .show-copy { order: 2; }

/* The fresco extends into the outer panel's padding on the non-copy sides. */
.show-visual {
  --picture-expand: clamp(10px, 1.2vw, 18px);
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 3.2vw, 52px);
  border-radius: 24px;
}
.show-visual::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--picture-expand)) calc(-1 * var(--picture-expand)) calc(-1 * var(--picture-expand)) 0;
  z-index: 0;
  border-radius: 24px;
  border: 0;
  background-color: #2b2622;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 66px -34px rgba(20, 45, 95, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
  pointer-events: none;
}
.show-row.flip .show-visual::before {
  inset: calc(-1 * var(--picture-expand)) 0 calc(-1 * var(--picture-expand)) calc(-1 * var(--picture-expand));
}
.show-visual > .pm { position: relative; z-index: 1; width: 100%; }
.show-row:nth-child(1).is-bg-loaded .show-visual::before {
  background-image: linear-gradient(180deg, rgba(18, 26, 22, .12), rgba(18, 26, 22, .34)), url("/assets/images/responsive/backgrounds/apollo-phaeton-865.webp");
  background-image: linear-gradient(180deg, rgba(18, 26, 22, .12), rgba(18, 26, 22, .34)), image-set(
    url("/assets/images/responsive/backgrounds/apollo-phaeton-480.avif") type("image/avif") 1x,
    url("/assets/images/responsive/backgrounds/apollo-phaeton-865.avif") type("image/avif") 2x,
    url("/assets/images/responsive/backgrounds/apollo-phaeton-480.webp") type("image/webp") 1x,
    url("/assets/images/responsive/backgrounds/apollo-phaeton-865.webp") type("image/webp") 2x
  );
}
.show-row:nth-child(2).is-bg-loaded .show-visual::before {
  background-image: linear-gradient(180deg, rgba(18, 26, 22, .12), rgba(18, 26, 22, .34)), url("/assets/images/responsive/backgrounds/apollo-sirens-848.webp");
  background-image: linear-gradient(180deg, rgba(18, 26, 22, .12), rgba(18, 26, 22, .34)), image-set(
    url("/assets/images/responsive/backgrounds/apollo-sirens-480.avif") type("image/avif") 1x,
    url("/assets/images/responsive/backgrounds/apollo-sirens-848.avif") type("image/avif") 2x,
    url("/assets/images/responsive/backgrounds/apollo-sirens-480.webp") type("image/webp") 1x,
    url("/assets/images/responsive/backgrounds/apollo-sirens-848.webp") type("image/webp") 2x
  );
}
.show-row:nth-child(3).is-bg-loaded .show-visual::before {
  background-image: linear-gradient(180deg, rgba(18, 26, 22, .12), rgba(18, 26, 22, .34)), url("/assets/images/responsive/backgrounds/apollo-sky-1280.webp");
  background-image: linear-gradient(180deg, rgba(18, 26, 22, .12), rgba(18, 26, 22, .34)), image-set(
    url("/assets/images/responsive/backgrounds/apollo-sky-640.avif") type("image/avif") 1x,
    url("/assets/images/responsive/backgrounds/apollo-sky-1280.avif") type("image/avif") 2x,
    url("/assets/images/responsive/backgrounds/apollo-sky-640.webp") type("image/webp") 1x,
    url("/assets/images/responsive/backgrounds/apollo-sky-1280.webp") type("image/webp") 2x
  );
}

.show-step { display: inline-flex; align-items: center; gap: 14px; font-size: 21px; font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.show-step b { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 24px; }
.show-copy h3 { font-family: var(--serif); font-size: clamp(27px, 3.1vw, 36px); color: var(--ink); margin: 18px 0 14px; line-height: 1.15; letter-spacing: -.01em; }
.show-copy p { font-size: 17.5px; color: var(--text); }
.show-copy ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.show-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--text-2, #46525f); }
.show-copy .btn { margin-top: 26px; }
.show-copy li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }
.show-cta-mobile { display: none; }

/* Testimonials — the same seamless review marquee as Artemis. */
.testi__quote strong { font-weight: inherit; color: inherit; }
.testi-marquee {
  position: relative; width: 100vw; margin: 48px 0 0 calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.testi-track {
  display: flex; align-items: stretch; width: max-content;
  animation: apollo-testi-scroll 42s linear infinite;
}
.testi-group {
  display: flex; align-items: stretch; gap: 24px; padding: 12px 24px 36px 0;
  flex: none;
}
@keyframes apollo-testi-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testi {
  display: flex; flex-direction: column; align-items: flex-start;
  width: max(430px, calc((100vw - 72px) / 3)); height: 240px; margin: 0; padding: 22px 26px; flex: none;
  border: 1px solid var(--border-strong); border-radius: 22px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 18px 42px -32px rgba(34, 76, 152, .28);
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.testi:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 20px 44px -30px rgba(34, 76, 152, .38);
}
.testi__who { margin: 0 0 16px; display: flex; align-items: center; gap: 13px; }
.testi__av {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex: none;
  background: linear-gradient(135deg, var(--navy), #4f7fd6);
  box-shadow: 0 4px 12px -5px rgba(34, 76, 152, .4);
  transition: transform .28s ease, box-shadow .28s ease;
}
.testi:hover .testi__av { transform: scale(1.06); box-shadow: 0 8px 18px -7px rgba(34, 76, 152, .55); }
.testi__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi__meta { text-align: left; }
.testi__meta b { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; }
.testi__meta span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.testi__quote {
  margin: 0; align-self: stretch;
  font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.48;
  color: var(--ink); text-wrap: pretty;
}

@media (max-width: 940px) {
  .showcase { grid-auto-rows: auto; }
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 26px; }
  .show-row.flip .show-copy { order: 0; }
  .show-row.flip .show-visual { order: 1; }
  .show-cta-desktop { display: none; }
  .show-cta-mobile { display: inline-flex; justify-self: start; order: 2; }
  .show-visual { padding: 18px; }
  .show-visual::before,
  .show-row.flip .show-visual::before {
    inset: 0 calc(-1 * var(--picture-expand)) calc(-1 * var(--picture-expand));
  }
  .pm-app { grid-template-columns: 74px 1fr; }
  .pm-brand b, .pm-sec-head span, .pm-crow .nm, .pm-foot a span { display: none; }
  .pm-crow { justify-content: center; } .pm-foot a { justify-content: center; }
  .pm-doc { grid-template-columns: 1fr; }
  .pm-side2 { border-left: 0; border-top: 1px solid var(--pm-border); }
  .pm-side2 .go { margin-top: 18px; }
}
@media (max-width: 640px) {
  .hero__visual {
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .hero__visual::before { display: none; }

  .showcase { margin-inline: 0; }
  .show-row {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .show-visual { padding: 0; }
  .show-visual::before,
  .show-row.flip .show-visual::before { display: none; }

  .testi {
    width: min(340px, calc(100vw - 32px));
    height: auto;
    min-height: 230px;
    padding: 20px 22px;
  }
  .testi__quote { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .testi, .testi__av { transition: none; }
  .testi:hover, .testi:hover .testi__av { transform: none; }
  .testi-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .testi-track { animation: none; }
}
@media (hover: none) and (pointer: coarse) {
  .testi-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .testi-marquee::-webkit-scrollbar { display: none; }
  .testi-track { animation: none; }
  .testi-group[aria-hidden="true"] { display: none; }
  .testi { scroll-snap-align: center; }
}
@media (max-width: 560px) {
  .pm-top .pm-url,
  .pm-bhead > div,
  .pm-brow,
  .pm-shead b,
  .pm-sitem > span:nth-child(2) {
    min-width: 0;
  }
  .pm-top .pm-url,
  .pm-bhead > div,
  .pm-shead b,
  .pm-sitem > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pm-doc { grid-template-columns: 1fr; }
  .pm-save { display: none; }
  .pm-canvas { padding: 10px; }
  .pm-page { min-height: 0; padding: 20px 17px 22px; }
  .pm-report-head { gap: 10px; }
  .pm-report-logo { width: 52px; }
  .pm-report-logo svg { width: 42px; height: 34px; }
  .pm-report-data > div { grid-template-columns: 82px minmax(0, 1fr); gap: 7px; }
  .pm-report-data dt, .pm-report-data dd,
  .pm-report-section p { font-size: 8.5px; }
  .pm-side2 { padding: 16px; }
  .pm-side2 .pm-side-intro { display: none; }
  .pm-side2 .h { margin-bottom: 12px; }
  .pm-side2 .h b { font-size: 11.5px; }
  .pm-field { padding: 7px 9px; }
  .pm-field .fv { display: none; }
  .pm-side2 .go { margin-top: 12px; }
  .pm-msg { max-width: 92%; }
  .hero__visual { padding: 0; border-radius: 20px; }
  .hero__visual .pm-app { grid-template-columns: 1fr; min-height: 380px; }
  .hero__visual .pm-side { display: none; }
  .hero__visual .pm-chead .sub,
  .hero__visual .pm-input .pm-pill { display: none; }
  .pm-bhead .tag,
  .pm-brow .r,
  .pm-sitem .tm { display: none; }
}

/* ---------- Static feature stories ---------- */
#features .head p { margin-top: 12px; }
.apollo-feature-wrap { max-width: 1200px; }
.apollo-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.apollo-feature-row {
  --feature-text: var(--ink);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
  background: var(--accent-soft);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-base) var(--ease-layout),
    box-shadow var(--duration-base) var(--ease-layout);
}
@media (hover: hover) {
  .apollo-feature-row:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
}
.apollo-feature-row--reverse .apollo-feature-card { order: 2; }
.apollo-feature-row--reverse .apollo-feature-media { order: 1; }
.apollo-feature-card {
  min-width: 0;
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 8px 8px;
  color: var(--feature-text);
  background: transparent;
}
.apollo-feature-card h3 {
  max-width: 100%;
  margin: 0 0 12px;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}
.apollo-feature-card p {
  margin: 0;
  color: inherit;
  font-size: clamp(15.5px, 1.45vw, 18px);
  line-height: 1.58;
}
.apollo-feature-media {
  min-width: 0;
  order: 1;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #fff;
}
.apollo-feature-list:not(.is-expanded) > .apollo-feature-row:nth-child(n + 4) {
  display: none;
}
.apollo-feature-toggle {
  width: fit-content;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border: 1px solid rgba(34, 76, 152, .24);
  border-radius: 999px;
  color: var(--pm-primary);
  background: rgba(255, 255, 255, .72);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.apollo-feature-toggle::after {
  content: "+";
  width: 18px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
.apollo-feature-toggle[aria-expanded="true"]::after { content: "−"; }
.apollo-feature-toggle:hover { border-color: rgba(34, 76, 152, .44); }
.apollo-feature-toggle:focus-visible {
  outline: 2px solid var(--pm-primary);
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .apollo-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .apollo-feature-list {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }
  .apollo-feature-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px;
    border-radius: 22px;
  }
  .apollo-feature-card {
    order: 2;
    min-height: 0;
    padding: 24px 6px 8px;
  }
  .apollo-feature-row--reverse .apollo-feature-card { order: 2; }
  .apollo-feature-row--reverse .apollo-feature-media { order: 1; }
  .apollo-feature-card h3 { font-size: clamp(23px, 5.4vw, 27px); }
  .apollo-feature-media {
    order: 1;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
}

/* ---------- Feature carousel: same 3D cover-flow foundation as the home
   and Artemis carousels, plain-card style (no per-feature photography). ---------- */
#features .head p { margin-top: 12px; }
#features .fcar { margin-top: 20px; }

.fcar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 48px; }

.fcar__stage {
  position: relative;
  height: clamp(310px, 36vw, 370px);
  perspective: 1400px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.fcar__stage:active { cursor: grabbing; }
.fcar__stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

.fcar .features {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 0;
  transform-style: preserve-3d;
}

.fcar .feature {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(480px, 94%);
  height: 330px;
  padding: 40px 38px;
  margin: 0;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1), opacity .55s ease, box-shadow .55s ease;
  pointer-events: none;
}
.fcar .feature .ic { width: 56px; height: 56px; border-radius: 15px; }
.fcar .feature .ic svg { width: 28px; height: 28px; }
.fcar .feature h3 {
  margin: 24px 0 12px;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.fcar .feature p { font-size: 17px; line-height: 1.55; }
.fcar .feature:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); }

.fcar .feature.is-center {
  transform: translate(-50%, -50%) translateZ(80px);
  opacity: 1;
  z-index: 30;
  pointer-events: auto;
  box-shadow: var(--shadow-md);
}
.fcar .feature.is-center:hover {
  transform: translate(-50%, -50%) translateZ(100px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.fcar .feature.is-left {
  transform: translate(calc(-50% - 42%), -50%) translateZ(-60px) rotateY(32deg) scale(.86);
  opacity: .72;
  z-index: 20;
}

.fcar .feature.is-right {
  transform: translate(calc(-50% + 42%), -50%) translateZ(-60px) rotateY(-32deg) scale(.86);
  opacity: .72;
  z-index: 20;
}

.fcar .feature.is-behind {
  transform: translate(-50%, -50%) translateZ(-220px) scale(.72);
  opacity: 0;
  z-index: 10;
}

.fcar__btn {
  width: 48px; height: 48px; border-radius: 50%; flex: none; padding: 0;
  display: grid; place-items: center;
  background: var(--surface); color: var(--accent);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: background .16s ease, color .16s ease, opacity .16s ease;
  z-index: 40;
}
.fcar__btn svg { width: 20px; height: 20px; }
.fcar__btn:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.fcar__btn:disabled { opacity: .3; cursor: default; }

.fcar__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.fcar__dot {
  position: relative;
  width: 24px; height: 24px; border-radius: 50%; padding: 0; border: none;
  background: transparent;
  cursor: pointer;
}
.fcar__dot::before {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  content: "";
  transition: background .2s ease, transform .2s ease;
}
.fcar__dot.is-active::before { background: var(--accent); transform: scale(1.25); }

@media (max-width: 640px) {
  .fcar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }
  .fcar__stage {
    grid-column: 1 / -1;
    grid-row: 1;
    height: clamp(300px, 82vw, 340px);
    perspective: none;
  }
  .fcar .feature {
    width: min(360px, 100%);
    height: auto;
    min-height: 0;
    padding: 28px 22px;
  }
  .fcar .feature .ic { width: 52px; height: 52px; }
  .fcar .feature .ic svg { width: 26px; height: 26px; }
  .fcar .feature h3 {
    margin: 20px 0 10px;
    font-size: clamp(18px, 5.4vw, 21px);
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .fcar .feature p { font-size: 16px; }
  .fcar .feature.is-center,
  .fcar .feature.is-center:hover {
    transform: translate(-50%, -50%);
  }
  .fcar .feature.is-left,
  .fcar .feature.is-right,
  .fcar .feature.is-behind {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.94);
  }
  .fcar__btn {
    position: static;
    width: 42px;
    height: 42px;
    transform: none;
  }
  .fcar__btn:first-child {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }
  .fcar__btn:last-child {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
  .fcar__btn svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .fcar .feature { transition-duration: .01ms; }
}
