/* ============================================================================
   RANGE CRAFT — FEATURE PAGES (feature-*.html) & FEATURES HUB (features.html)
   Loaded after styles.css + subpages.css.
   ============================================================================ */

/* ---------- Hero (beige) : text left, 3D illustration right ---------- */
.fp-hero.subpage-hero-beige {
  min-height: 88vh;
  padding: 130px 24px 150px;
  text-align: left;
}

.fp-hero .fp-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.fp-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fp-back:hover {
  color: #3563c9;
  transform: translateX(-3px);
}

.fp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #1E3A6E;
  font-family: var(--rc-font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.fp-eyebrow .rc-feature-icon {
  width: 20px;
  height: 20px;
}

.fp-hero.subpage-hero-beige .hero-title {
  margin: 0 0 18px 0 !important;
  text-align: left;
  font-size: clamp(40px, 5vw, 68px) !important;
}

.fp-hero.subpage-hero-beige .hero-subtitle {
  margin: 0 0 34px 0 !important;
  text-align: left;
  max-width: 560px !important;
}

.fp-hero .hero-smart-download-bar {
  align-items: flex-start;
  margin: 0;
}

.fp-hero .btn-hero-straight {
  padding: 16px 32px;
  font-size: 16px;
}

.fp-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.fp-hero-art::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(10px);
}

.fp-hero-art img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 440px;
  filter: drop-shadow(0 34px 50px rgba(10, 14, 26, 0.35));
  animation: fp-float 6s ease-in-out infinite;
}

@keyframes fp-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}

/* ---------- Detail section (dark) : mockup + points ---------- */
.fp-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.fp-detail-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 320px;
}

.fp-detail-media img {
  display: block;
  width: 100%;
  max-width: 520px;   /* ≈ native/2 → stays sharp on retina */
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7));
}

/* "trio" variant (Cloud Sync): laptop + desktop + phone */
.fp-detail-media.is-trio {
  aspect-ratio: 1.55;
  min-height: 0;
}

.fp-detail-media.is-trio img {
  position: absolute;
  bottom: 0;
}

.fp-detail-media.is-trio .trio-desktop { left: 18%; width: 64%; z-index: 1; }
.fp-detail-media.is-trio .trio-laptop  { left: 0;   width: 48%; z-index: 2; }
.fp-detail-media.is-trio .trio-phone   { right: 4%; width: 17%; z-index: 3; }

.fp-detail-text .section-eyebrow {
  display: inline-block;
  font-family: var(--rc-font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 14px;
}

.fp-detail-text h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 28px;
  color: #FFFFFF;
}

.fp-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fp-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  font-size: 15.5px;
  line-height: 1.5;
}

.fp-points li svg {
  flex-shrink: 0;
  color: #93C5FD;
  margin-top: 2px;
}

/* ---------- Other features ---------- */
.fp-more {
  margin-top: 110px;
  position: relative;
  z-index: 3;
}

.fp-more-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 28px;
}

.fp-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.fp-more-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(16, 20, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
  --rc-feature-icon-color: #93C5FD;
}

.fp-more-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(30, 41, 82, 0.9);
}

.fp-more-card .rc-feature-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
}

.fp-more-card strong {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.fp-more-card span.fp-more-desc {
  font-size: 13px;
  color: #94A3B8;
  max-width: 70%;
}

.fp-more-card img {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 92px;
  height: 92px;
  object-fit: contain;
  z-index: -1;
  opacity: 0.35;
  transform: rotate(-8deg);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-more-card:hover img {
  opacity: 1;
  transform: rotate(0deg) translate(-6px, -6px);
}

/* ---------- Bottom CTA ---------- */
.fp-cta {
  text-align: center;
  margin-top: 100px;
  padding: 60px 24px;
  background: rgba(16, 20, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  z-index: 3;
}

.fp-cta h2 {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.fp-cta p {
  color: #94A3B8;
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* ---------- Hub (features.html) ---------- */
.fp-hub-hero.subpage-hero-beige {
  min-height: 0;
  padding: 140px 24px 150px;
}

.fp-hub-hero .tools-grid {
  margin-top: 40px;
  text-align: left;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .fp-hero .fp-hero-grid,
  .fp-detail-grid {
    grid-template-columns: 1fr;
  }
  .fp-hero-art {
    min-height: 200px;
    order: -1;
  }
  .fp-hero-art img {
    max-height: 200px;
  }
  .fp-hero.subpage-hero-beige {
    min-height: 0;
    padding-top: 110px;
  }
  .fp-detail-grid {
    gap: 40px;
  }
  .fp-hub-hero .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }
  .fp-hub-hero .grid-intersection-dot {
    display: none;
  }
  .fp-hub-hero .tools-grid .tool-card {
    border: 1px solid var(--border-subtle-light);
  }
}

@media (max-width: 560px) {
  .fp-hub-hero .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hub (features.html) — Workflow tabs: Build / Study / Train ----------
   Sits in the dark zone, right after the arch transition. Reuses the home "Format" component
   (.audience-tabs + .project-showcase-card from styles.css) with a dark theme.
   Selectors are kept more specific than liquid-glass.css, which loads after this file. */
.fp-workflow-section .audience-tabs {
  margin: 0 0 40px;
}

.fp-workflow-section .audience-tabs .audience-tab-btn {
  padding: 16px 28px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}

.fp-workflow-section .audience-tabs .audience-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.fp-workflow-section .audience-tabs .audience-tab-btn.is-active,
.fp-workflow-section .audience-tabs .audience-tab-btn.is-active:hover {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #0F1B3D !important;
}

.fp-workflow-section .audience-tabs .audience-tab-btn:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 3px;
}

.fp-workflow-section .project-showcase-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

.fp-workflow-section .project-card-title {
  color: #FFFFFF !important;
}

.fp-workflow-section .project-card-desc {
  color: rgba(255, 255, 255, 0.72) !important;
}

.fp-workflow-section .project-mockup {
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  transform: translateX(48px);
  transition: opacity 0.3s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
}

.fp-workflow-section .project-mockup.is-active {
  transform: none;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.fp-workflow-section .project-card-text.is-active {
  animation: fp-wf-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fp-wf-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fp-workflow-section .project-mockup,
  .fp-workflow-section .project-mockup.is-active { transform: none; transition: none; }
  .fp-workflow-section .project-card-text.is-active { animation: none; }
}

@media (max-width: 560px) {
  .fp-workflow-section .audience-tabs .audience-tab-btn {
    padding: 13px 18px;
    font-size: 14px;
  }
}

/* ---------- Feature page hero: two static mockups (no float animation) ---------- */
.fp-hero-art--duo {
  height: 460px;
  min-height: 0;
}

.fp-hero-art--duo img {
  position: absolute;
  max-width: none;
  max-height: none;
  height: auto;
  animation: none;
}

.fp-hero-art--duo .fp-duo-main {
  width: 72%;
  left: 4%;
  top: 4%;
}

.fp-hero-art--duo .fp-duo-side {
  width: 29%;
  right: 4%;
  bottom: 0;
  z-index: 2;
}

/* ---------- Essentials: links inside the dark cards ---------- */
.fp-essentials .st-card p a {
  color: #93C5FD;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Cream zone after the dark zone: arch back to beige + home features grid ---------- */
.fp-cream-zone {
  position: relative;
  z-index: 6;                        /* above the dark zone, so the arch overlaps its bottom */
  background-color: var(--bg-cream, #EBE4DD);
  padding: 40px 24px 120px;
}

.fp-cream-zone .section-arch-dome {
  width: 144vw;
  height: 130px;
  background-color: var(--bg-cream, #EBE4DD);
}

.fp-cream-zone .tools-grid {
  margin-top: 40px;
  text-align: left;
}

/* Light background: same dark navy accent as the home page (subpages.css switches .italic-green to the lighter royal blue) */
.fp-cream-zone .section-title .italic-green {
  color: var(--green-italic-light, #1E3A6E);
}

/* "All features" card: no mockup, the description gets the full width */
.tools-grid .tool-card--all .tool-desc {
  max-width: 92%;
}

/* ---------- Final CTA back on cream, with the navy card of the home page ---------- */
.st-final.st-final--cream {
  background: var(--bg-cream, #EBE4DD);
}

.st-final.st-final--cream .final-cta-compact {
  background: #10204A !important;
  background-image:
    radial-gradient(120% 140% at 0% 0%, rgba(59, 130, 246, 0.28) 0%, rgba(59, 130, 246, 0) 55%),
    linear-gradient(135deg, #142A61 0%, #0E1C44 55%, #0A1433 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 50px rgba(10, 14, 26, 0.18) !important;
}

.st-final.st-final--cream .final-cta-headline { color: #FFFFFF; }
.st-final.st-final--cream .final-cta-subline { color: #94A3B8; }

.st-final.st-final--cream .final-cta-compact .final-os-tag {
  background: rgba(54, 54, 54, 0.16) !important;
  border: 1px solid rgba(54, 54, 54, 0.2) !important;
  color: #A5B4CF !important;
}

@media (max-width: 900px) {
  .fp-hero-art--duo { height: 320px; }
  .fp-hero-art--duo img { max-height: none; }
  .fp-cream-zone { padding: 24px 12px 90px; }
}

@media (max-width: 560px) {
  .fp-hero-art--duo { height: 260px; }
}


/* ============================================================================
   Range Builder: bigger mockups + editorial "specs" list (replaces the check pills)
   ============================================================================ */
.fp-hero .fp-hero-grid:has(.fp-hero-art--xl) {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.fp-hero-art--duo.fp-hero-art--xl { height: 600px; }
.fp-hero-art--duo.fp-hero-art--xl .fp-duo-main { width: 76%; left: -2%; top: 16%; }
.fp-hero-art--duo.fp-hero-art--xl .fp-duo-side { width: 33%; right: -2%; bottom: 6%; }

.fp-detail-grid--wide {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 72px;
}

.fp-detail-media--xl img {
  max-width: 760px;
  width: 112%;
  margin-left: -8%;
}

.fp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--rc-font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93C5FD;
}

.fp-kicker::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.fp-specs {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: none;
}

.fp-spec {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  padding: 22px 0;
}

.section-dark .fp-spec-body h3,
.fp-spec-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 26px;
  color: #FFFFFF;
}

.fp-spec-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.62);
}

/* small visuals in the app colors */
.fp-spec-art { margin-top: 4px; opacity: 0.9; }

.fp-spec-art--grid {
  display: grid;
  grid-template-columns: repeat(3, 12px);
  gap: 2px;
}

.fp-spec-art--grid i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #2B2F38;
}

.fp-spec-art--grid i.r { background: #E8734A; }

.fp-spec-art--mix {
  display: flex;
  width: 72px;
  height: 12px;
  margin-top: 8px;
  border-radius: 3px;
  overflow: hidden;
}

.fp-spec-art--mix i { width: var(--w); }
.fp-spec-art--mix i:first-child { background: #E8734A; }
.fp-spec-art--mix i:last-child { background: #5CC96B; }

.fp-spec-art--dots {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.fp-spec-art--dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.fp-spec-art--dots i:nth-child(1) { background: #E8734A; }
.fp-spec-art--dots i:nth-child(2) { background: #F2A48A; }
.fp-spec-art--dots i:nth-child(3) { background: #5CC96B; }
.fp-spec-art--dots i:nth-child(4) { background: #6D5BD0; }

@media (max-width: 900px) {
  .fp-hero .fp-hero-grid:has(.fp-hero-art--xl) { grid-template-columns: 1fr; }
  .fp-hero-art--duo.fp-hero-art--xl { height: 380px; }
  .fp-detail-grid--wide { grid-template-columns: 1fr; gap: 40px; }
  .fp-detail-media--xl img { width: 100%; margin-left: 0; }
}

@media (max-width: 560px) {
  .fp-hero-art--duo.fp-hero-art--xl { height: 300px; }
  /* the small infographics stay visible on mobile, on the right of each point */
  .fp-spec { gap: 14px; padding: 20px 0; }
}

.fp-detail-grid--wide .fp-detail-text h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  text-wrap: balance;
  margin-bottom: 22px;
}

/* ---------- Specs: more small visuals (app colors) ---------- */
.fp-spec-art--grid i.y { background: #E8C547; }
.fp-spec-art--grid i.d { background: #D9473F; }
.fp-spec-art--grid i.g { background: #5CC96B; }
.fp-spec-art--grid i.p { background: #6D5BD0; }

.fp-spec-art--bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
}

.fp-spec-art--bars i {
  width: 8px;
  height: var(--h);
  border-radius: 2px;
  background: #3563C9;
}

.fp-spec-art--bars i:last-child { background: #93C5FD; }

.fp-spec-art--lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 64px;
  margin-top: 6px;
}

.fp-spec-art--lines i {
  width: var(--w);
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.fp-spec-art--lines i:first-child { background: #93C5FD; }

.fp-spec-art--timer {
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.fp-spec-art--timer i {
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, #5CC96B, #E8C547 70%, #E8734A);
}

.fp-spec-art--tree {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.fp-spec-art--tree i {
  width: 40px;
  height: 7px;
  border-radius: 2px;
  background: #3563C9;
}

.fp-spec-art--tree i.sub {
  width: 30px;
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- Specs: visuals matched to each text ---------- */
.fp-spec-art svg { display: block; }

/* icons row (download / devices / folder / share) */
.fp-spec-art--icons { display: flex; align-items: center; gap: 6px; color: rgba(226, 232, 240, 0.55); }
.fp-spec-art--icons svg { width: 22px; height: 22px; }
.fp-spec-art--icons svg:first-child,
.fp-spec-art--icons svg.accent { color: #93C5FD; }
.fp-spec-art--icons svg.accent ~ svg { color: rgba(226, 232, 240, 0.55); }

/* single icon in a soft badge (instant / reference) */
.fp-spec-art--badge {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: rgba(147, 197, 253, 0.1); border: 1px solid rgba(147, 197, 253, 0.25); color: #93C5FD;
}
.fp-spec-art--badge svg { width: 20px; height: 20px; }

/* action swatches + "add" */
.fp-spec-art--acts { display: flex; gap: 5px; margin-top: 6px; }
.fp-spec-art--acts i { width: 16px; height: 16px; border-radius: 4px; font-style: normal; }
.fp-spec-art--acts .r { background: #E8734A; }
.fp-spec-art--acts .c { background: #5CC96B; }
.fp-spec-art--acts .f { background: #3A3F4B; }
.fp-spec-art--acts .add {
  display: grid; place-items: center; border: 1px dashed rgba(147, 197, 253, 0.6);
  color: #93C5FD; font-size: 13px; line-height: 1; font-weight: 600;
}

/* painted grid + cursor */
.fp-spec-art--paint { position: relative; }
.fp-paint-grid { display: grid; grid-template-columns: repeat(3, 12px); gap: 2px; }
.fp-paint-grid i { width: 12px; height: 12px; border-radius: 2px; background: #2B2F38; }
.fp-paint-grid i.r { background: #E8734A; }
.fp-spec-art--paint .fp-cursor { position: absolute; width: 16px; height: 16px; right: -2px; bottom: -6px; }

/* community avatars + check */
.fp-spec-art--avatars { display: flex; align-items: center; margin-top: 4px; }
.fp-spec-art--avatars i {
  width: 22px; height: 22px; border-radius: 50%; margin-left: -7px; border: 2px solid #0A0E1A;
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,0.85) 0 22%, transparent 23%), radial-gradient(circle at 50% 105%, rgba(255,255,255,0.85) 0 42%, transparent 43%), #3563C9;
}
.fp-spec-art--avatars i:first-child { margin-left: 0; background-color: #E8734A; }
.fp-spec-art--avatars i:nth-child(2) { background-color: #5CC96B; }
.fp-spec-art--avatars b {
  display: grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%;
  background: #93C5FD; color: #0A0E1A;
}
.fp-spec-art--avatars b svg { width: 11px; height: 11px; stroke-width: 3; }

/* free / paid tags */
.fp-spec-art--tags { display: flex; gap: 5px; margin-top: 4px; }
.fp-spec-art--tags i {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 999px;
}
.fp-spec-art--tags .free { color: #5CC96B; background: rgba(92, 201, 107, 0.12); border: 1px solid rgba(92, 201, 107, 0.4); }
.fp-spec-art--tags .paid { color: #E8C547; background: rgba(232, 197, 71, 0.12); border: 1px solid rgba(232, 197, 71, 0.4); }

/* chip stacks (stack depths) */
.fp-spec-art--stacks { display: grid; grid-template-columns: repeat(4, 10px); align-items: end; column-gap: 4px; row-gap: 4px; }
.fp-spec-art--stacks i {
  width: 10px; height: calc(var(--n) * 7px); border-radius: 2px;
  background: repeating-linear-gradient(180deg, #E8734A 0 4px, #0A0E1A 4px 5px);
}
.fp-spec-art--stacks small {
  grid-column: 1 / -1; font-family: var(--rc-font-mono, 'JetBrains Mono', monospace); font-size: 10px; color: #93C5FD; text-align: center;
}

/* phone with a chart */
.fp-spec-art--phone {
  display: grid; place-items: center; width: 26px; height: 44px; border-radius: 6px;
  border: 1.5px solid rgba(226, 232, 240, 0.55);
}
.fp-phone-grid { display: grid; grid-template-columns: repeat(3, 5px); gap: 1px; }
.fp-phone-grid i { width: 5px; height: 5px; border-radius: 1px; background: #2B2F38; }
.fp-phone-grid i.r { background: #E8734A; }
.fp-phone-grid i.g { background: #5CC96B; }

/* higher limits */
.fp-spec-art--limits { display: flex; align-items: flex-end; gap: 3px; height: 34px; color: #93C5FD; }
.fp-spec-art--limits i { width: 9px; height: var(--h); border-radius: 2px; background: rgba(255, 255, 255, 0.18); }
.fp-spec-art--limits i.up { background: #3563C9; }
.fp-spec-art--limits svg { width: 16px; height: 16px; align-self: flex-start; }

/* hand-category distribution */
.fp-spec-art--hbars { display: flex; flex-direction: column; gap: 4px; width: 64px; margin-top: 4px; }
.fp-spec-art--hbars i { height: 5px; width: var(--w); border-radius: 3px; background: #3563C9; }
.fp-spec-art--hbars i:nth-child(2) { background: #5CC96B; }
.fp-spec-art--hbars i:nth-child(3) { background: #E8C547; }
.fp-spec-art--hbars i:nth-child(4) { background: rgba(255, 255, 255, 0.2); }

/* flop · turn · river */
.fp-spec-art--streets { display: flex; align-items: center; gap: 3px; margin-top: 6px; }
.fp-spec-art--streets i { width: 11px; height: 16px; border-radius: 2px; background: #F3F4F6; }
.fp-spec-art--streets i.t { background: #93C5FD; }
.fp-spec-art--streets i.r { background: #3563C9; }
.fp-spec-art--streets b { width: 4px; }

/* grid with a gap to fix */
.fp-spec-art--grid i.gap { background: transparent; outline: 1.5px dashed #E8C547; outline-offset: -1.5px; }

/* chart as an image */
.fp-spec-art--image { padding: 4px; border-radius: 4px; background: #F3F4F6; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); transform: rotate(-4deg); }
.fp-image-grid { display: grid; grid-template-columns: repeat(3, 9px); gap: 1.5px; }
.fp-image-grid i { width: 9px; height: 9px; border-radius: 1px; background: #D9DDE5; }
.fp-image-grid i.r { background: #E8734A; }
.fp-image-grid i.g { background: #5CC96B; }

/* two hole cards */
.fp-spec-art--cards { display: flex; gap: 3px; margin-top: 2px; }
.fp-spec-art--cards i {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 20px; height: 28px; border-radius: 3px; background: #F3F4F6; color: #0A0E1A;
  font-style: normal; font-size: 11px; font-weight: 700; line-height: 1;
}
.fp-spec-art--cards i.red { color: #DC2626; }
.fp-spec-art--cards i b { font-size: 10px; font-weight: 400; }

/* time bank */
.fp-spec-art--timer { display: flex; align-items: center; gap: 6px; width: auto; height: auto; margin-top: 4px; background: none; border-radius: 0; overflow: visible; color: #E8C547; }
.fp-spec-art--timer svg { width: 18px; height: 18px; }
.fp-spec-art--timer > span { display: block; width: 52px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.fp-spec-art--timer > span i { display: block; width: var(--w); height: 100%; background: linear-gradient(90deg, #5CC96B, #E8C547 70%, #E8734A); }

/* progress trend */
.fp-spec-art--trend svg { width: 64px; height: 32px; }

/* position filter */
.fp-spec-art--pills { display: flex; gap: 4px; margin-top: 4px; }
.fp-spec-art--pills i {
  font-style: normal; font-family: var(--rc-font-mono, 'JetBrains Mono', monospace); font-size: 10px; font-weight: 600;
  padding: 3px 6px; border-radius: 6px; color: rgba(226, 232, 240, 0.6); background: rgba(255, 255, 255, 0.06);
}
.fp-spec-art--pills i.on { color: #0A0E1A; background: #93C5FD; }

/* all ranges side by side */
.fp-spec-art--grids { display: grid; grid-template-columns: repeat(2, auto); gap: 4px; }
.fp-mini-grid { display: grid; grid-template-columns: repeat(3, 5px); gap: 1px; }
.fp-mini-grid i { width: 5px; height: 5px; border-radius: 1px; background: #2B2F38; }
.fp-mini-grid i.r { background: #E8734A; }
.fp-mini-grid i.g { background: #5CC96B; }
.fp-mini-grid i.p { background: #6D5BD0; }

/* Tool cards on subpages: same line-height as the home page, otherwise the text
   (inherits 1.6 from subpages.css) runs 18px lower and slides under the hover mockup */
body.rc-subpage .tools-grid .tool-card {
  line-height: normal;
}

/* ============================================================================
   Feature mockups (assets/mockups/features/<feature>/): trimmed images, so the
   placement depends on the pair of devices
   ============================================================================ */
.fp-hero-art--xl::before { display: none; }
.fp-hero-art--duo.fp-hero-art--xl img { filter: drop-shadow(0 30px 40px rgba(10, 14, 26, 0.25)); will-change: transform; }

/* image 1 always on the left, image 2 on the right; the smaller device sits in front */
.fp-hero-art--duo.fp-hero-art--xl { height: auto; aspect-ratio: 660 / 560; }
.fp-hero-art--xl .fp-duo-a,
.fp-hero-art--xl .fp-duo-b { top: 50%; bottom: auto; left: auto; right: auto; }
.fp-hero-art--xl .fp-duo-a { left: 0; }
.fp-hero-art--xl .fp-duo-b { right: 0; }

/* monitor + phone */
.fp-duo--mp .fp-duo-a { width: 74%; transform: translateY(-54%); }
.fp-duo--mp .fp-duo-b { width: 27%; transform: translateY(-34%); z-index: 2; }
/* phone + monitor */
.fp-duo--pm .fp-duo-a { width: 27%; transform: translateY(-34%); z-index: 2; }
.fp-duo--pm .fp-duo-b { width: 74%; transform: translateY(-54%); }
/* monitor + laptop */
.fp-duo--ml .fp-duo-a { width: 64%; transform: translateY(-64%); }
.fp-duo--ml .fp-duo-b { width: 60%; transform: translateY(-30%); z-index: 2; }
/* laptop + phone */
.fp-duo--lp .fp-duo-a { width: 76%; transform: translateY(-58%); }
.fp-duo--lp .fp-duo-b { width: 27%; transform: translateY(-36%); z-index: 2; }
/* phone + laptop */
.fp-duo--pl .fp-duo-a { width: 29%; transform: translateY(-38%); z-index: 2; }
.fp-duo--pl .fp-duo-b { width: 76%; transform: translateY(-58%); }

/* per-page tuning: the phone sits low, over the lower corner of the big device */
.fp-duo-nash-ranges .fp-duo-a { width: 72%; transform: translateY(-55%); }
.fp-duo-nash-ranges .fp-duo-b { width: 26%; right: 6%; transform: translateY(-26%); }
.fp-duo-cloud-sync .fp-duo-a { width: 26%; left: 5%; transform: translateY(-27%); }
.fp-duo-cloud-sync .fp-duo-b { width: 70%; transform: translateY(-55%); }
.fp-duo-database .fp-duo-a { width: 27%; left: 5%; transform: translateY(-26%); }
.fp-duo-database .fp-duo-b { width: 74%; transform: translateY(-60%); }

/* detail section: one device, capped so it never dwarfs the text */
.fp-detail-media--xl { display: flex; justify-content: center; }
.fp-detail-media--xl img { width: auto; height: auto; max-width: min(100%, 580px); max-height: 480px; margin: 0; }
.fp-detail-media--phone img { max-height: 460px; }

@media (max-width: 900px) {
  .fp-detail-media--xl img { max-height: 380px; }
}
