/* FlyForms — Features page layout (featurespage.py), after the weDevs product features pages:
   centred section headings over large soft cards with the title top-left and the illustration
   bottom-right, varied per section so the page has a rhythm:
     #building    2-column grid of large cards
     #publishing  one wide card (text left, picture right), then two cards side by side
     #collecting  heading pinned on the left while the cards scroll on the right
     #reading     three cards in a row, picture on top and text below
   Colours, type and components are the site's own; only the layout and card look change. */

[data-page=features] :is(#building, #publishing, #collecting, #reading) {
  --fx-gap: 20px;
  --fx-radius: 24px;
}

/* Section heading: centred */
[data-page=features] :is(#building, #publishing, #reading) > .max-w-form {
  max-width: 760px; margin-inline: auto; text-align: center;
}
[data-page=features] :is(#building, #publishing, #reading) > .max-w-form .wh-kicker { margin-inline: auto; width: fit-content; }
[data-page=features] :is(#building, #publishing, #collecting, #reading) > .max-w-form h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; }
[data-page=features] :is(#building, #publishing, #collecting, #reading) > .max-w-form p.text-body { margin-top: 16px; }
[data-page=features] :is(#building, #publishing, #collecting, #reading) > .grid { margin-top: 56px; gap: var(--fx-gap); }

/* Cards: big soft panels, title and text first, illustration anchored bottom-right */
[data-page=features] :is(#building, #publishing, #collecting, #reading) .ill-article {
  border-radius: var(--fx-radius); --ill-pad: 40px; --ill-z: .78;
}
[data-page=features] :is(#building, #publishing, #collecting) .ill-text { order: -1; padding: var(--ill-pad) var(--ill-pad) 0; }
[data-page=features] :is(#building, #publishing, #collecting, #reading) .ill-copy h3 {
  margin-top: 0; font-family: var(--wh-display); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.18;
  font-weight: 600; letter-spacing: -.015em; max-width: 18ch;
}
[data-page=features] :is(#building, #publishing, #collecting, #reading) .ill-copy p {
  margin-top: 12px; font-size: 16px; line-height: 1.6; max-width: 40ch;
}
[data-page=features] :is(#building, #publishing, #collecting) .ill-article .ill {
  height: auto; min-height: 230px; flex: 1 0 auto;
}
[data-page=features] :is(#building, #publishing, #collecting) .ill-article .mk-screen {
  left: auto; top: auto;
  right: calc(var(--ill-pad) / var(--ill-z)); bottom: calc(var(--ill-pad) / var(--ill-z));
  width: var(--fx-shot, 56%); max-height: none;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 16px 40px rgb(0 0 0 / .07);
}

/* What you can ask for: 2 columns of large cards */
@media (min-width: 900px) {
  [data-page=features] #building > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-page=features] #building .ill-article { min-height: 440px; }
}

/* One link that never changes: a wide first card, then two */
@media (min-width: 900px) {
  [data-page=features] #publishing > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-page=features] #publishing > .grid > :first-child { grid-column: 1 / -1; }
  [data-page=features] #publishing > .grid > :first-child .ill-article { flex-direction: row; min-height: 340px; }
  [data-page=features] #publishing > .grid > :first-child .ill-text {
    flex: 0 0 44%; display: flex; flex-direction: column; justify-content: center; padding: var(--ill-pad);
  }
  [data-page=features] #publishing > .grid > :first-child .ill { flex: 1 1 auto; min-height: 0; }
  [data-page=features] #publishing > .grid > :first-child .mk-screen { --fx-shot: 72%; bottom: auto; top: 50%; translate: 0 -50%; }
  [data-page=features] #publishing > .grid > :not(:first-child) .ill-article { min-height: 400px; }
}

/* It works where your site is: heading pinned left, cards stacked right */
@media (min-width: 1100px) {
  [data-page=features] #collecting {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 112px); align-items: start;
  }
  [data-page=features] #collecting > .max-w-form { position: sticky; top: 120px; max-width: none; }
  [data-page=features] #collecting > .grid { margin-top: 0; grid-template-columns: 1fr; }
  [data-page=features] #collecting .ill-article { min-height: 360px; }
  [data-page=features] #collecting .mk-screen { --fx-shot: 50%; }
}
@media (max-width: 1099px) {
  [data-page=features] #collecting > .max-w-form { max-width: 760px; margin-inline: auto; text-align: center; }
  [data-page=features] #collecting > .max-w-form .wh-kicker { margin-inline: auto; width: fit-content; }
}

/* The answers, in one place: three across, picture on top, text below */
[data-page=features] #reading .ill-article { min-height: 100%; }
[data-page=features] #reading .ill-article .ill { height: 250px; }
[data-page=features] #reading .ill-text { padding: 8px var(--ill-pad) var(--ill-pad); }
[data-page=features] #reading .ill-copy h3 { font-size: clamp(21px, 1.6vw, 24px); }
[data-page=features] #reading .ill-article .mk-screen {
  left: 50%; right: auto; top: 50%; bottom: auto; translate: -50% -50%; width: 74%;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 16px 40px rgb(0 0 0 / .07);
}

/* Phones and small tablets */
@media (max-width: 899px) {
  [data-page=features] :is(#building, #publishing, #collecting, #reading) > .grid { grid-template-columns: 1fr; margin-top: 40px; }
  [data-page=features] :is(#building, #publishing, #collecting, #reading) .ill-article { --ill-pad: 28px; }
  [data-page=features] :is(#building, #publishing, #collecting) .ill-article .ill { min-height: 210px; }
  [data-page=features] :is(#building, #publishing, #collecting) .ill-article .mk-screen { --fx-shot: 70%; }
}

/* ---------- Hero: copy left, builder screenshot on a violet panel bleeding off the right edge ---------- */
[data-page=features] { overflow-x: clip; }
[data-page=features] .wh-hero-features {
  --fxh-bleed: calc(var(--wh-gutter, 24px) + max(0px, (100vw - var(--container-page, 100vw)) / 2));
}
[data-page=features] .fxh {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center; column-gap: clamp(40px, 6vw, 112px);
}
[data-page=features] .fxh-copy h1 { text-align: start; max-width: 11ch; margin: 0; }
[data-page=features] .fxh-lead {
  margin-top: 28px; max-width: 30em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6;
  color: var(--wh-grey, #6b6b72);
}
[data-page=features] .fxh-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
[data-page=features] .fxh-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--wh-button, #222); color: #fbfaf9; font-size: 16px; font-weight: 500;
  box-shadow: var(--wh-btn-dark, 0 2px 0 #000);
  transition: background-color .25s ease;
}
[data-page=features] .fxh-btn:hover { background: #1c1c1c; }
[data-page=features] .fxh-btn:hover svg { transform: translateX(2px); }
[data-page=features] .fxh-btn svg { transition: transform .25s ease; }
[data-page=features] .fxh-btn:focus-visible { outline: 2px solid var(--wh-accent, #7147eb); outline-offset: 3px; }

[data-page=features] .fxh-visual { margin-right: calc(-1 * var(--fxh-bleed)); min-width: 0; }
[data-page=features] .fxh-panel {
  position: relative; overflow: hidden;
  height: clamp(420px, 44vw, 640px);
  border-radius: 28px 0 0 28px;
  background: #e9e3f6 url("../img/tour-bg-build.webp") center / cover no-repeat;
}
[data-page=features] .fxh-shot {
  position: absolute; top: 12%; left: 9%;
  width: max(760px, 118%); max-width: none; height: auto;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgb(20 10 50 / .12), 0 30px 70px rgb(40 20 90 / .22);
}

@media (max-width: 1023px) {
  [data-page=features] .fxh { grid-template-columns: 1fr; row-gap: 48px; }
  [data-page=features] .fxh-copy h1 { max-width: 14ch; }
  [data-page=features] .fxh-panel { height: clamp(300px, 62vw, 520px); }
  [data-page=features] .fxh-shot { width: max(560px, 112%); left: 7%; top: 10%; }
}
@media (max-width: 640px) {
  [data-page=features] .fxh-panel { border-radius: 22px 0 0 22px; }
  [data-page=features] .fxh-btn { width: 100%; justify-content: center; }
}

/* ---------- The three rows under the hero: stacked soft-grey cards, text left, picture right ---------- */
/* !important: the site-wide band rule (responsive.css) gives every band 144px top and bottom. */
[data-page=features] .fxr { --band: var(--wh-white, #fff); padding-block: 10px !important; }
[data-page=features] .fxr.fxr-first { padding-top: var(--wh-section, 144px) !important; }
[data-page=features] .fxr.fxr-last { padding-bottom: var(--wh-section, 144px) !important; }
[data-page=features] .fxr > .grid {
  background: #f2f2f3; border-radius: 32px;
  padding: clamp(32px, 5.5vw, 96px); column-gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
[data-page=features] .fxr > .grid > * { order: 0; }                       /* text always on the left */
[data-page=features] .fxr .max-w-form h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.12; }
[data-page=features] .fxr .wh-kicker { background: #fff; }
[data-page=features] .fxr .ill-panel .ill {
  height: clamp(300px, 27vw, 380px); background: transparent; border: 0; border-radius: 0; overflow: visible;
}
[data-page=features] .fxr .ill-panel .mk-screen {
  left: 4%; right: 4%; top: 50%; bottom: auto; translate: 0 -50%;
  border-bottom: 1px solid var(--mk-line); border-radius: 18px;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 18px 44px rgb(0 0 0 / .08);
}
@media (max-width: 1023px) {
  [data-page=features] .fxr > .grid { row-gap: 36px; }
  [data-page=features] .fxr .ill-panel .ill { height: 300px; }
}
@media (max-width: 640px) {
  [data-page=features] .fxr > .grid { border-radius: 24px; padding: 28px 22px; }
  [data-page=features] .fxr .ill-panel .ill { height: 260px; }
  [data-page=features] .fxr .ill-panel .mk-screen { left: 0; right: 0; }
}

/* Hero adjustments: the panel stops at the content edge (same right margin as the header's Log in
   button) with all corners rounded, and the hero leaves 144px below it. */
[data-page=features] .fxh-visual { margin-right: 0; }
[data-page=features] .fxh-panel { border-radius: 28px; }
[data-page=features] .wh-hero-features { padding-bottom: var(--wh-section, 144px); }
@media (max-width: 640px) { [data-page=features] .fxh-panel { border-radius: 22px; } }

/* Heading above the three app cards, centred like the other section headings */
[data-page=features] .fxr-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
[data-page=features] .fxr-head .wh-kicker { margin-inline: auto; width: fit-content; }
[data-page=features] .fxr-head h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; }
[data-page=features] .fxr-head p.text-body { margin-top: 16px; }
@media (max-width: 640px) { [data-page=features] .fxr-head { margin-bottom: 36px; } }

/* The three app cards show the live site's screenshots, anchored to the card's bottom-right corner:
   flush with its right and bottom edges, cropped by the card, top-left corner rounded. */
[data-page=features] .fxr > .grid {
  --fxr-pad: clamp(32px, 5.5vw, 96px);
  overflow: hidden; padding: var(--fxr-pad) 0 0 var(--fxr-pad); align-items: stretch;
}
[data-page=features] .fxr > .grid > .min-w-0:not(.flyforms-scene) { align-self: center; padding-bottom: var(--fxr-pad); }
[data-page=features] .fxr .flyforms-scene { align-self: end; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
[data-page=features] .fxr .flyforms-scene > .flyforms-arrive { width: 100%; }
[data-page=features] .fxr-shot { position: relative; overflow: hidden; margin-top: 24px; }
[data-page=features] .fxr-shot img {
  display: block; width: 118%; max-width: none; height: auto;
  border: 1px solid #e3e3e7; border-right: 0; border-bottom: 0; border-radius: 16px 0 0 0;
  box-shadow: 0 2px 6px rgb(0 0 0 / .05), 0 24px 60px rgb(0 0 0 / .10);
}
@media (max-width: 1023px) {
  [data-page=features] .fxr > .grid > .min-w-0:not(.flyforms-scene) { padding-right: var(--fxr-pad); padding-bottom: 0; }
  [data-page=features] .fxr-shot img { width: 140%; }
}
@media (max-width: 640px) {
  [data-page=features] .fxr > .grid { --fxr-pad: 24px; padding: 28px 0 0 24px; }
  [data-page=features] .fxr-shot img { width: 170%; border-radius: 12px 0 0 0; }
}

/* ---------- "What you can ask for": wePOS-style cards ----------
   Big bold title and a larger description top-left; below, one small still illustration at its own
   natural width, placed bottom-right, right-centre or bottom-centre. No cursors, no animation. */
/* Title and description: the same sizes as the Publishing cards (the shared card rules above). */
[data-page=features] #building .ill-article { --ill-pad: 40px; min-height: 480px; }
[data-page=features] #building .fxb-art { flex: 1 1 auto; display: flex; min-height: 220px; padding: 28px var(--ill-pad) var(--ill-pad); }
/* Every illustration sits in the card's bottom-right corner. */
.fxb-br, .fxb-r, .fxb-bc { align-items: flex-end; justify-content: flex-end; }

.fxb-art { font-family: var(--font-sans, "Inter", system-ui, sans-serif); color: #18181b; }
.fxb-art > * { zoom: .76; }   /* illustrations about three-quarters size */
.fxb-art svg { display: block; }
.fxb-ui { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 14px 34px rgb(0 0 0 / .08); }
.fxb-in { display: block; height: 20px; border: 1px solid #e4e4e7; border-radius: 7px; }
.fxb-l { display: block; height: 7px; border-radius: 4px; background: #e9e9ee; }
.fxb-l.w40 { width: 40%; } .fxb-l.w45 { width: 45%; } .fxb-l.w55 { width: 55%; } .fxb-l.w60 { width: 60%; } .fxb-l.w70 { width: 70%; }
.fxb-mbtn { display: inline-block; font-size: 11px; font-weight: 600; color: #fff; background: var(--wh-accent, #7147eb); padding: 5px 10px; border-radius: 6px; }

/* 20 question types: an "Add a question" picker */
.fxb-picker { width: min(100%, 350px); padding: 8px; }
.fxb-search { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid #eeeef1; font-size: 15px; color: #52525b; }
.fxb-search svg { width: 18px; height: 18px; color: #a1a1aa; }
.fxb-caret { width: 2px; height: 18px; margin-left: auto; background: var(--wh-accent, #7147eb); border-radius: 1px; }
.fxb-opt { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px; border-radius: 12px; }
.fxb-opt.on { background: #f5f2fe; }
.fxb-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #ede8fd; color: var(--wh-accent, #7147eb); }
.fxb-ico svg { width: 19px; height: 19px; }
.fxb-opt-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fxb-opt-t b { font-size: 15px; font-weight: 600; }
.fxb-opt-t small { font-size: 13px; color: #71717a; }
.fxb-opt kbd { font: 500 12px/1 var(--font-sans, system-ui); padding: 5px 7px; border: 1px solid #e4e4e7; border-radius: 6px; color: #71717a; background: #fff; }

/* 27 themes: overlapping theme circles, your own colour, and the contrast check */
.fxb-themes { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.fxb-swatches { display: flex; }
.fxb-sw {
  width: 70px; height: 70px; margin-left: -14px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 0 0 4px #f2f2f3, 0 10px 24px rgb(0 0 0 / .10);
}
.fxb-sw:first-child { margin-left: 0; }
.fxb-sw i { width: 22px; height: 22px; border-radius: 50%; }
.fxb-sw-own { background: #fff; color: #71717a; }
.fxb-sw-own svg { width: 22px; height: 22px; }
.fxb-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px;
  background: #fff; color: #16794f; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgb(0 0 0 / .07);
}
.fxb-pill svg { width: 16px; height: 16px; }

/* Screens: welcome -> questions -> thank you */
.fxb-flow { display: flex; align-items: center; gap: 12px; }
.fxb-mini { width: 118px; height: 148px; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; border-radius: 14px; }
.fxb-mini small { font-size: 11px; font-weight: 600; color: #52525b; }
.fxb-mini .fxb-mbtn { margin-top: auto; align-self: flex-start; }
.fxb-mini-end { align-items: center; }
.fxb-mini-end small { align-self: flex-start; }
.fxb-done { width: 38px; height: 38px; margin: 10px 0 4px; border-radius: 50%; display: grid; place-items: center; background: #e3f6ee; color: #16794f; }
.fxb-done svg { width: 20px; height: 20px; }
.fxb-arrow { color: #a1a1aa; }
.fxb-arrow svg { width: 18px; height: 18px; }

/* Questions side by side: first and last name in one row */
.fxb-row { width: min(100%, 390px); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.fxb-row label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fxb-row small { font-size: 12px; font-weight: 600; color: #52525b; }
.fxb-row .fxb-in { height: auto; padding: 10px 12px; font-size: 14px; color: #18181b; }
.fxb-row .fxb-ph { color: #a1a1aa; }
.fxb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-radius: 10px; outline: 1.5px dashed rgb(var(--wh-accent-rgb, 113 71 235) / .45); outline-offset: 7px; }

/* Workspaces and roles: three people, three roles */
.fxb-people { width: min(100%, 370px); display: flex; flex-direction: column; gap: 10px; }
.fxb-person { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; }
.fxb-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--t); font-size: 12px; font-weight: 700; }
.fxb-person b { flex: 1; font-size: 15px; font-weight: 600; min-width: 0; }
.fxb-role { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #f4f4f5; color: #52525b; }
.fxb-role.fxb-owner { background: var(--wh-accent, #7147eb); color: #fff; }

/* English and Arabic: a right-to-left form */
.fxb-rtl { width: min(100%, 320px); padding: 16px; }
.fxb-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 10px; background: #f4f4f5; font-size: 13px; font-weight: 500; color: #71717a; text-align: center; }
.fxb-seg span { padding: 7px 0; border-radius: 7px; }
.fxb-seg .on { background: #fff; color: #18181b; box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.fxb-rtl-body { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.fxb-rtl-body small { font-size: 14px; font-weight: 600; color: #3f3f46; }
.fxb-rtl-body .fxb-in { height: 40px; }
.fxb-send { align-self: flex-start; margin-top: 6px; font-size: 13px; padding: 8px 18px; border-radius: 8px; }

@media (max-width: 640px) {
  [data-page=features] #building .ill-article { min-height: 0; }
  [data-page=features] #building .fxb-art { min-height: 0; padding-top: 32px; }
  .fxb-themes { align-items: flex-end; }
  .fxb-sw { width: 54px; height: 54px; margin-left: -12px; }
  .fxb-flow { gap: 6px; }
  .fxb-mini { width: 82px; height: 118px; padding: 10px 8px; }
  .fxb-arrow svg { width: 14px; height: 14px; }
}

/* ---------- "What you can ask for" in dark mode ----------
   Near-black navy band (as the home page's How it works), darker cards, light text, and dark versions
   of the six illustrations. Same accent violet, lifted for a dark background. */
[data-page=features] #building {
  --band: #11131a;
  --fxd-card: #1b1e27; --fxd-ui: #262a35; --fxd-ui-2: #2f3441;
  --fxd-ink: #f4f4f6; --fxd-muted: rgb(255 255 255 / .66); --fxd-faint: rgb(255 255 255 / .45);
  --fxd-line: rgb(255 255 255 / .10); --fxd-accent: #b6a1fc;
  color: var(--fxd-ink);
}
[data-page=features] #building > .max-w-form h2 { color: #fff; }
[data-page=features] #building .wh-accent { color: var(--fxd-accent); }
[data-page=features] #building > .max-w-form p.text-body { color: var(--fxd-muted); }
[data-page=features] #building .wh-kicker { background: rgb(255 255 255 / .08); color: #ddd4fd; box-shadow: none; }

[data-page=features] #building .ill-article { background: var(--fxd-card); border: 1px solid rgb(255 255 255 / .06); }
[data-page=features] #building .ill-copy h3 { color: #fff; }
[data-page=features] #building .ill-copy p { color: var(--fxd-muted); }

/* Illustrations, dark */
#building .fxb-art { color: var(--fxd-ink); }
#building .fxb-ui { background: var(--fxd-ui); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 16px 36px rgb(0 0 0 / .38); }
#building .fxb-l { background: rgb(255 255 255 / .12); }
#building .fxb-in { border-color: rgb(255 255 255 / .14); }
#building .fxb-search { border-bottom-color: var(--fxd-line); color: var(--fxd-muted); }
#building .fxb-search svg { color: var(--fxd-faint); }
#building .fxb-caret { background: var(--fxd-accent); }
#building .fxb-opt.on { background: rgb(182 161 252 / .12); }
#building .fxb-ico { background: rgb(182 161 252 / .16); color: #c9bbfd; }
#building .fxb-opt-t small { color: var(--fxd-faint); }
#building .fxb-opt kbd { background: transparent; border-color: rgb(255 255 255 / .16); color: var(--fxd-muted); }
#building .fxb-sw { box-shadow: 0 0 0 4px var(--fxd-card), 0 10px 24px rgb(0 0 0 / .35); }
#building .fxb-sw-own { background: var(--fxd-ui); color: var(--fxd-muted); }
#building .fxb-pill { background: var(--fxd-ui); color: #6ee7b7; box-shadow: 0 8px 20px rgb(0 0 0 / .3); }
#building .fxb-mini small, #building .fxb-row small { color: var(--fxd-muted); }
#building .fxb-done { background: rgb(16 185 129 / .16); color: #6ee7b7; }
#building .fxb-arrow { color: rgb(255 255 255 / .35); }
#building .fxb-row .fxb-in { color: var(--fxd-ink); }
#building .fxb-row .fxb-ph { color: var(--fxd-faint); }
#building .fxb-pair { outline-color: rgb(182 161 252 / .5); }
#building .fxb-role { background: rgb(255 255 255 / .08); color: var(--fxd-muted); }
#building .fxb-role.fxb-owner { background: var(--wh-accent, #7147eb); color: #fff; }
#building .fxb-av { filter: saturate(1.1); }
#building .fxb-seg { background: rgb(255 255 255 / .06); color: var(--fxd-faint); }
#building .fxb-seg .on { background: var(--fxd-ui-2); color: #fff; box-shadow: none; }
#building .fxb-rtl-body small { color: rgb(255 255 255 / .82); }

/* ---------- "What you can ask for": design 4, Colour wash (chosen from building-variations.html) ----------
   Near-black band; dark cards, each with its own colour washing in softly from the bottom-right corner;
   dark glassy illustrations. (:not(.bv) keeps it off the five designs on building-variations.html.) */
[data-page=features] #building:not(.bv) { --band: #0c0d12; }
[data-page=features] #building:not(.bv) .grid > :nth-child(1) { --t: 124 92 255; }
[data-page=features] #building:not(.bv) .grid > :nth-child(2) { --t: 244 114 182; }
[data-page=features] #building:not(.bv) .grid > :nth-child(3) { --t: 56 189 248; }
[data-page=features] #building:not(.bv) .grid > :nth-child(4) { --t: 52 211 153; }
[data-page=features] #building:not(.bv) .grid > :nth-child(5) { --t: 251 191 36; }
[data-page=features] #building:not(.bv) .grid > :nth-child(6) { --t: 96 165 250; }
[data-page=features] #building:not(.bv) .ill-article {
  position: relative; isolation: isolate; overflow: hidden;
  background: #13151c; border: 1px solid rgb(255 255 255 / .06); border-radius: 28px;
}
[data-page=features] #building:not(.bv) .ill-article > * { position: relative; z-index: 1; }
[data-page=features] #building:not(.bv) .ill-article::after {
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 100% 100%, rgb(var(--t) / .2), transparent 70%),
    radial-gradient(40% 40% at 85% 75%, rgb(var(--t) / .08), transparent 70%);
}
#building:not(.bv) .fxb-ui { background: rgb(20 22 30 / .72); border: 1px solid rgb(255 255 255 / .10); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
#building:not(.bv) .fxb-sw { box-shadow: 0 0 0 4px rgb(255 255 255 / .9), 0 10px 24px rgb(0 0 0 / .35); }

/* ---------- Collecting: small still pictures, bottom-right in each card (after the wePOS cards) ---------- */
[data-page=features] #collecting .fxb-art { flex: 1 1 auto; display: flex; min-height: 180px; padding: 24px var(--ill-pad) var(--ill-pad); }

/* ---------- Publishing and Reading: three frameless cards ----------
   A rounded grey box with a small picture centred in it; the title and description centred below. */
@media (min-width: 900px) {
  [data-page=features] :is(#publishing, #reading) > .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  [data-page=features] #publishing > .grid > :first-child { grid-column: auto; }
  [data-page=features] #publishing > .grid > :first-child .ill-article { flex-direction: column; }
  [data-page=features] #publishing > .grid > :first-child .ill-text { flex: none; display: block; }
}
[data-page=features] :is(#publishing, #reading) .ill-article,
[data-page=features] :is(#publishing, #reading) > .grid > * .ill-article {
  background: none; border: 0; border-radius: 0; min-height: 0; overflow: visible;
}
[data-page=features] :is(#publishing, #reading) .fxb-art {
  order: 0; flex: none; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 11 / 10; padding: 28px; border-radius: 24px; background: #f2f2f3;
}
[data-page=features] :is(#publishing, #reading) .ill-text,
[data-page=features] #publishing > .grid > :first-child .ill-text { order: 1; padding: 24px 12px 0; text-align: center; }
[data-page=features] :is(#publishing, #reading) .ill-copy h3 { margin-inline: auto; max-width: 20ch; }
[data-page=features] :is(#publishing, #reading) .ill-copy p { margin-inline: auto; max-width: 36ch; }

/* ---------- The widgets (light, the site's own colours) ---------- */
.fxb-c { align-items: center; justify-content: center; }
.fxc-field { width: min(100%, 340px); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.fxc-field label { display: flex; flex-direction: column; gap: 6px; }
.fxc-field small { font-size: 12px; font-weight: 600; color: #52525b; }
.fxc-field .fxb-in { height: auto; padding: 10px 12px; font-size: 14px; color: #18181b; display: flex; align-items: center; justify-content: space-between; }
.fxc-bad { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgb(248 113 113 / .14); }
.fxc-msg { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #dc2626; }
.fxc-msg svg { width: 14px; height: 14px; flex: none; }
.fxc-good { border-color: #a7e3c4 !important; }
.fxc-ok { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #16a34a; color: #fff; }
.fxc-ok svg { width: 12px; height: 12px; }
.fxc-list { width: min(100%, 390px); display: flex; flex-direction: column; gap: 10px; }
.fxc-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; }
.fxc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fxc-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxc-t small { font-size: 12px; color: #71717a; }
.fxc-bot { --c: #f4f4f5; --t: #a1a1aa; }
.fxc-bot svg { width: 16px; height: 16px; }
.fxc-tag { display: inline-flex; align-items: center; gap: 5px; flex: none; white-space: nowrap; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.fxc-tag svg { width: 13px; height: 13px; }
.fxc-tag-ok { background: #e3f6ee; color: #16794f; }
.fxc-tag-no { background: #fdecec; color: #c42b2b; }
.fxc-sites { width: min(100%, 360px); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.fxc-head { margin-bottom: 4px; font-size: 12px; font-weight: 600; color: #52525b; }
.fxc-site { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #ececef; border-radius: 10px; }
.fxc-site b { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.fxc-globe, .fxp-globe { color: #a1a1aa; }
.fxc-globe svg, .fxp-globe svg { width: 16px; height: 16px; }
.fxc-off b { color: #a1a1aa; text-decoration: line-through; }

.fxp-embed, .fxp-domain { width: min(100%, 360px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fxp-code { width: 100%; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.fxp-code-top { display: flex; align-items: center; justify-content: space-between; }
.fxp-dots { display: flex; gap: 5px; }
.fxp-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e4e4e7; }
.fxp-copy { font-size: 11px; font-weight: 600; color: #fff; background: var(--wh-accent, #7147eb); padding: 4px 10px; border-radius: 6px; }
.fxp-code code { display: block; font: 12px/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: #3f3f46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxp-code .t { color: #7147eb; } .fxp-code .a { color: #0e7490; } .fxp-code .v { color: #b45309; }
.fxp-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / .06); font-size: 12px; font-weight: 500; color: #71717a; }
.fxp-modes span { padding: 6px 12px; border-radius: 999px; }
.fxp-modes .on { background: #18181b; color: #fff; }
.fxp-url { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 999px; font-size: 14px; color: #52525b; }
.fxp-url b { color: #18181b; font-weight: 600; }
.fxp-lock { color: #16a34a; }
.fxp-lock svg { width: 16px; height: 16px; }
.fxp-domain .fxc-row { width: 100%; }
.fxp-qr { display: flex; align-items: center; gap: 16px; padding: 16px; }
.fxp-qrcode { width: 104px; height: 104px; flex: none; }
.fxp-qr-t { display: flex; flex-direction: column; gap: 3px; }
.fxp-qr-t b { font-size: 14px; font-weight: 600; }
.fxp-qr-t small { font-size: 12px; color: #71717a; }
.fxp-dl { display: flex; gap: 6px; margin-top: 10px; }
.fxp-dl span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border: 1px solid #e4e4e7; border-radius: 7px; font-size: 12px; font-weight: 600; color: #3f3f46; }
.fxp-dl svg { width: 13px; height: 13px; }

.fxr-search { width: min(100%, 350px); padding: 8px; display: flex; flex-direction: column; }
.fxr-q { color: #18181b; }
.fxr-hits { padding: 10px 6px 6px; display: flex; flex-direction: column; gap: 6px; }
.fxr-hits small { font-size: 11px; font-weight: 600; color: #a1a1aa; text-transform: uppercase; letter-spacing: .04em; padding: 0 6px; }
.fxr-hit { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; }
.fxr-hit:first-of-type { background: #faf8ff; }
.fxr-hit b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.fxr-hit > span:last-child { margin-left: auto; font-size: 12px; color: #71717a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxr-hit .fxb-av { width: 28px; height: 28px; font-size: 11px; }
.fxr-export { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; margin: 4px 6px 6px; padding: 7px 12px; border-radius: 8px; background: #18181b; color: #fff; font-size: 12px; font-weight: 600; }
.fxr-export svg { width: 14px; height: 14px; }
.fxr-mail { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #ede8fd; color: var(--wh-accent, #7147eb); }
.fxr-mail svg { width: 17px; height: 17px; }
.fxr-time { flex: none; font-size: 12px; color: #a1a1aa; }
.fxr-confirm { width: min(100%, 290px); padding: 22px 20px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.fxr-warn { width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center; background: #fef3c7; color: #b45309; }
.fxr-warn svg { width: 20px; height: 20px; }
.fxr-confirm b { font-size: 15px; font-weight: 600; }
.fxr-confirm small { font-size: 12px; color: #71717a; line-height: 1.5; }
.fxr-btns { width: 100%; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; font-weight: 600; }
.fxr-btns span { padding: 8px 0; border-radius: 8px; background: #f4f4f5; color: #3f3f46; }
.fxr-btns .fxr-del { background: #dc2626; color: #fff; }

@media (max-width: 899px) {
  [data-page=features] :is(#publishing, #reading) > .grid { gap: 36px; }
  [data-page=features] :is(#publishing, #reading) .fxb-art { aspect-ratio: 4 / 3; }
}

/* ---------- "And the smaller things": bordered icon tiles (design 1, smaller-variations.html) ---------- */
[data-page=features] .fxs > .max-w-form { max-width: 760px; margin-inline: auto; text-align: center; }
[data-page=features] .fxs > .max-w-form h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; }
.fxs-grid {
  margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #e6e6ea; border-left: 1px solid #e6e6ea;
}
.fxs-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 180px; padding: 28px 22px; text-align: center;
  border-right: 1px solid #e6e6ea; border-bottom: 1px solid #e6e6ea;
  font-size: 15px; line-height: 1.45; color: #3f3f46; text-wrap: balance;
}
.fxs-tile svg { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; color: var(--wh-accent, #7147eb); }
@media (max-width: 1023px) { .fxs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .fxs-tile { min-height: 150px; padding: 22px 14px; font-size: 14px; } }
/* Smaller things tiles: white on hover. */
.fxs-tile { transition: background-color .25s ease; }
.fxs-tile:hover { background-color: #fff; }
@media (prefers-reduced-motion: reduce) { .fxs-tile { transition: none; } }
/* Smaller things icons: neutral grey by default, violet only on hover. */
.fxs-tile svg { color: #52525b; transition: color .25s ease; }
.fxs-tile:hover svg { color: var(--wh-accent, #7147eb); }
@media (prefers-reduced-motion: reduce) { .fxs-tile svg { transition: none; } }

