/* ============================================================
   GoNesting — Features page
   Same palette as the rest of the site: brand blue, with the
   blue→indigo gradient of the logo and primary button on icon
   badges. Components read the --t-* aliases below, never raw hex.
   ============================================================ */

:root {
  --t-50:  var(--blue-50);
  --t-100: var(--blue-100);
  --t-200: var(--blue-200);
  --t-300: var(--blue-300);
  --t-500: var(--blue-500);
  --t-600: var(--blue-600);
  --t-700: var(--blue-700);
  --t-rgb: 37 99 235;
  --t-grad: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
}

/* ── Icons (sprite at the top of the page) ────────────────── */
.fx-i {
  width: 1.25rem; height: 1.25rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.fx-i.sm { width: 1rem; height: 1rem; }
.fx-i.xs { width: 0.8rem; height: 0.8rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.fx-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(32rem 32rem at 100% -10%, rgb(59 130 246 / 0.15), transparent 70%),
    radial-gradient(24rem 24rem at -4% 105%, rgb(99 102 241 / 0.10), transparent 70%),
    linear-gradient(160deg, #ffffff 0%, var(--blue-50) 55%, #ffffff 100%);
}
.fx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--blue-100) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blue-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.fx-hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem 3.5rem;
}
@media (min-width: 1024px) {
  .fx-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; padding-block: 5.5rem 5rem; }
}
.fx-hero-title {
  margin-top: 1.25rem;
  font-size: clamp(2.15rem, 4.6vw, 3.3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  text-wrap: balance;
}
.fx-rainbow {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--indigo-600) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fx-hero-sub {
  margin-top: 1.25rem;
  max-width: 37rem;
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--gray-600);
}
.fx-hero .hero-ctas { margin-top: 2rem; }

.fx-facts {
  list-style: none;
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.fx-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem 0.3rem 0.3rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--t-200);
  box-shadow: var(--shadow-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}
.fx-fact-icon {
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-full);
  background: var(--t-100);
  color: var(--t-700);
}

/* Feature map: the hero's index of every section */
.fx-map {
  background: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-2xl);
}
.fx-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem 0.875rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.fx-map-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.fx-map-hint { font-size: 0.75rem; color: var(--gray-400); }
.fx-map-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}
.fx-map-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
  padding: 0.875rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--t-100);
  background: linear-gradient(160deg, var(--t-50) 0%, #ffffff 85%);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.fx-map-tile:hover,
.fx-map-tile:focus-visible {
  border-color: var(--t-300);
  box-shadow: 0 14px 26px -18px rgb(var(--t-rgb) / 0.75);
  transform: translateY(-2px);
}
.fx-map-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  color: #ffffff;
  background: var(--t-grad);
  box-shadow: 0 6px 14px -6px rgb(var(--t-rgb) / 0.75);
}
.fx-map-num {
  position: absolute;
  top: 0.625rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--t-600);
}
.fx-map-name {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}
@media (max-width: 479px) {
  .fx-map { padding: 0.875rem; }
  .fx-map-hint { display: none; }
  .fx-map-grid { gap: 0.5rem; }
  .fx-map-tile { padding: 0.7rem 0.55rem; gap: 0.5rem; }
  .fx-map-icon { width: 2rem; height: 2rem; }
  .fx-map-num { display: none; }
  .fx-map-name { font-size: 0.74rem; }
}

/* ── Sticky jump bar ──────────────────────────────────────── */
.fx-subnav {
  position: sticky;
  top: calc(4rem + 1px);
  z-index: 90;
  background: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.fx-subnav-list {
  position: relative;
  list-style: none;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.55rem 0.25rem;
  margin-inline: -0.25rem;
}
.fx-subnav-list::-webkit-scrollbar { display: none; }
/* Auto margins centre the row when it fits and collapse to zero when it
   overflows, so the first pill is never clipped on a narrow screen. */
.fx-subnav-list > li:first-child { margin-left: auto; }
.fx-subnav-list > li:last-child  { margin-right: auto; }
.fx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.fx-pill:hover { background: var(--t-50); color: var(--t-700); }
.fx-pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--t-500);
}
.fx-pill.is-active {
  background: var(--t-50);
  color: var(--t-700);
  box-shadow: inset 0 0 0 1.5px var(--t-200);
}

/* ── Section shell ────────────────────────────────────────── */
.fx-sec {
  position: relative;
  padding-block: 5.5rem;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  scroll-margin-top: 7rem;
}
.fx-sec.tinted {
  background: var(--gray-50);
}
.fx-sec > .container { position: relative; }
@media (max-width: 767px) { .fx-sec { padding-block: 4rem; } }

.fx-head {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  max-width: 52rem;
}
@media (min-width: 640px) { .fx-head { grid-template-columns: auto 1fr; gap: 1.5rem; } }
.fx-badge {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  color: #ffffff;
  background: var(--t-grad);
  box-shadow: 0 14px 28px -14px rgb(var(--t-rgb) / 0.85), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.fx-badge .fx-i { width: 1.625rem; height: 1.625rem; }
.fx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-700);
}
.fx-kicker-num {
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--t-100);
}
.fx-title {
  margin-top: 0.625rem;
  font-size: clamp(1.7rem, 3.3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  text-wrap: balance;
}
.fx-sub {
  margin-top: 0.875rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--gray-600);
}
.fx-body { margin-top: 3rem; }
.fx-h3 {
  margin: 3.5rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--gray-900);
}
.fx-h3 .fx-i { color: var(--t-600); }
.fx-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--gray-500);
}
.fx-link {
  color: var(--t-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--t-300);
  text-underline-offset: 3px;
}
.fx-link:hover { text-decoration-color: currentColor; }

/* ── Layout helpers ───────────────────────────────────────── */
.fx-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) {
  .fx-split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .fx-split.middle { align-items: center; }
  .fx-split.flip > :first-child { order: 2; }
}
.fx-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 768px) { .fx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Cards ────────────────────────────────────────────────── */
.fx-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fx-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--t-100);
  background: linear-gradient(90deg, var(--t-50), #ffffff);
}
.fx-card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
}
.fx-card-title .fx-i { color: var(--t-600); }
.fx-card-body { padding: 1.25rem; }
.fx-card-foot {
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--gray-50);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--gray-500);
}
.fx-fig { display: block; width: 100%; max-width: 34rem; height: auto; margin-inline: auto; color: var(--t-600); }
.fx-fig-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gray-500);
}

/* ── Chips ────────────────────────────────────────────────── */
.fx-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--t-100);
  color: var(--t-700);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fx-chip.neutral { background: var(--gray-100); color: var(--gray-600); }
.fx-chip.pro     { background: #fef3c7; color: #92400e; }
.fx-chip.beta    { background: #ecfeff; color: #0e7490; }
.fx-chip.brand   { background: var(--blue-100); color: var(--blue-700); }

/* ── Tick list ────────────────────────────────────────────── */
.fx-ticks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.75rem;
}
.fx-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-600);
}
.fx-ticks.compact { gap: 0.625rem; margin-top: 0; }
.fx-ticks.compact li { font-size: 0.875rem; }
.fx-ticks strong { font-weight: 600; color: var(--gray-900); }
.fx-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.1rem;
  border-radius: var(--radius-full);
  background: var(--t-100);
  color: var(--t-700);
}
.fx-tick .fx-i { width: 0.75rem; height: 0.75rem; stroke-width: 3; }

/* ── Callout ──────────────────────────────────────────────── */
.fx-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--t-200);
  background: var(--t-50);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-700);
}
.fx-callout strong { color: var(--gray-900); }
.fx-callout-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  background: #ffffff;
  color: var(--t-600);
  box-shadow: var(--shadow-xs);
}

/* ── Icon cards (steps, tools, preview features) ──────────── */
.fx-steps { list-style: none; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .fx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fx-steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fx-steps.stack { grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 1024px) { .fx-steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-step {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.fx-step:hover {
  border-color: var(--t-300);
  box-shadow: 0 16px 30px -22px rgb(var(--t-rgb) / 0.75);
  transform: translateY(-2px);
}
.fx-step-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--t-100);
  background: var(--t-50);
  color: var(--t-600);
}
.fx-step-num {
  position: absolute;
  top: 1rem;
  right: 1.125rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--t-300);
}
.fx-step-title {
  margin-top: 0.875rem;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--gray-900);
}
.fx-step-text {
  margin-top: 0.375rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--gray-600);
}
.fx-step.row { display: flex; gap: 0.875rem; align-items: flex-start; }
.fx-step.row .fx-step-title { margin-top: 0; }

/* ── Rotation modes ───────────────────────────────────────── */
.fx-modes { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .fx-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fx-modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-mode {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.fx-mode:hover {
  border-color: var(--t-300);
  box-shadow: 0 16px 30px -22px rgb(var(--t-rgb) / 0.75);
  transform: translateY(-2px);
}
.fx-mode.featured {
  border-color: var(--t-300);
  background: linear-gradient(150deg, var(--t-50) 0%, #ffffff 75%);
  box-shadow: 0 18px 36px -26px rgb(var(--t-rgb) / 0.9);
}
.fx-mode-top { display: flex; align-items: center; gap: 0.875rem; }
.fx-dial { flex: none; width: 3rem; height: 3rem; color: var(--t-600); }
.fx-mode-name { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--gray-900); }
.fx-mode-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.3rem; }
.fx-mode-desc { font-size: 0.875rem; line-height: 1.6; color: var(--gray-600); }
.fx-mode-best {
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  background: var(--t-50);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray-600);
}
.fx-mode.featured .fx-mode-best { background: #ffffff; }
.fx-mode-best b { font-weight: 700; color: var(--t-700); }
.fx-meter {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}
.fx-meter-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.fx-meter-value { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; color: var(--gray-600); }
.fx-meter-bars { display: inline-flex; gap: 3px; }
.fx-meter-bars i { width: 0.95rem; height: 0.35rem; border-radius: 99px; background: var(--gray-200); }
.fx-meter-bars i.on { background: var(--t-500); }

/* ── Spacing settings ─────────────────────────────────────── */
.fx-settings { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .fx-settings { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-setting {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.fx-setting:hover { border-color: var(--t-300); box-shadow: 0 16px 30px -22px rgb(var(--t-rgb) / 0.75); }
.fx-setting-fig {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--t-100);
  background: linear-gradient(160deg, var(--t-50), #ffffff);
}
.fx-setting-fig .fx-fig { max-width: 20rem; }
.fx-setting-body { flex: 1; display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem; }
.fx-setting-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}
.fx-setting-name h3 { font-size: inherit; font-weight: inherit; }
.fx-range {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--t-700);
}
.fx-range small { margin-left: 0.2rem; font-size: 0.8rem; font-weight: 700; color: var(--gray-400); }
.fx-setting-text { font-size: 0.875rem; line-height: 1.6; color: var(--gray-600); }
.fx-quick {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  font-size: 0.75rem;
  color: var(--gray-500);
}
.fx-quick .k {
  padding: 0.05rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--t-200);
  background: var(--t-50);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--t-700);
}

/* ── Sheet sizes ──────────────────────────────────────────── */
.fx-sizes { list-style: none; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .fx-sizes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fx-size {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.125rem 0.5rem 0.875rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #ffffff;
  text-align: center;
}
.fx-size.popular { border-color: var(--t-300); background: linear-gradient(160deg, var(--t-50), #ffffff); }
.fx-size.custom { border-style: dashed; border-color: var(--t-300); }
.fx-size-thumb { display: grid; place-items: center; height: 2.25rem; }
.fx-size-thumb i {
  display: block;
  border-radius: 3px;
  border: 1.5px solid var(--t-500);
  background: var(--t-100);
}
.fx-size.custom .fx-size-thumb { color: var(--t-600); }
.fx-size-dim { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; color: var(--gray-800); }
.fx-size-unit { font-size: 0.68rem; color: var(--gray-400); font-weight: 600; }
.fx-size-tag {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--t-700);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Import ───────────────────────────────────────────────── */
.fx-flow { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .fx-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.fx-flow { list-style: none; }
.fx-flow .fx-step { height: 100%; }
@media (min-width: 900px) {
  .fx-flow > li { position: relative; }
  .fx-flow > li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.95rem;
    width: 0.6rem;
    height: 0.6rem;
    border-top: 2px solid var(--t-300);
    border-right: 2px solid var(--t-300);
    transform: translateY(-50%) rotate(45deg);
  }
}

.fx-entities { display: grid; gap: 0.75rem; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 560px)  { .fx-entities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fx-entities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-entity {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  height: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: #ffffff;
}
.fx-entity-glyph {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  border: 1px solid var(--t-100);
  background: var(--t-50);
  color: var(--t-600);
}
.fx-entity-name { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--t-700); }
.fx-entity-text { margin-top: 0.15rem; font-size: 0.84rem; line-height: 1.5; color: var(--gray-600); }

/* ── Preview: shortcuts and part check ────────────────────── */
.fx-keys { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .fx-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } }
.fx-keys-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-700);
}
.fx-key-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--gray-600);
}
.fx-key-row:last-child { border-bottom: 0; }
.fx-kbds { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.25rem; margin-left: auto; font-size: 0.75rem; color: var(--gray-400); }
.fx-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
}

.fx-check-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.fx-check-fig {
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--gray-50);
}
.fx-check-fig .fx-fig { max-width: 12rem; }
.fx-check-fig figcaption {
  display: flex;
  align-items: flex-start;
  line-height: 1.35;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gray-600);
}
.fx-dot { width: 0.5rem; height: 0.5rem; margin-top: 0.22rem; border-radius: 99px; flex: none; }
.fx-check-list { list-style: none; margin-top: 1rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.fx-check-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.875rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.fx-check-list li:last-child { border-bottom: 0; }
.fx-check-name { font-weight: 600; color: var(--gray-800); }
.fx-check-what { display: block; font-size: 0.76rem; font-weight: 400; color: var(--gray-500); margin-top: 0.1rem; }
.fx-check-ok {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 700;
}

/* ── Export ───────────────────────────────────────────────── */
.fx-dl {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.fx-dl-top { display: flex; align-items: center; gap: 1rem; }
.fx-dl-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  color: #ffffff;
  background: var(--t-grad);
  box-shadow: 0 10px 20px -12px rgb(var(--t-rgb) / 0.85);
}
.fx-dl-title { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); }
.fx-dl-meta { margin-top: 0.15rem; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; color: var(--t-700); }
.fx-dl-foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--border); font-size: 0.8rem; line-height: 1.55; color: var(--gray-500); }

.fx-order { display: grid; }
@media (min-width: 900px) { .fx-order { grid-template-columns: 1.1fr 1fr; } }
.fx-order-fig {
  padding: 1.25rem;
  border-bottom: 1px solid var(--t-100);
  background: linear-gradient(160deg, var(--t-50), #ffffff);
}
@media (min-width: 900px) { .fx-order-fig { border-bottom: 0; border-right: 1px solid var(--t-100); } }
.fx-layers { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── History ──────────────────────────────────────────────── */
.fx-cols { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fx-cols li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem 0.3rem 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--t-100);
  background: var(--t-50);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
}
.fx-cols b {
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.2rem;
  padding-inline: 0.2rem;
  border-radius: 0.3rem;
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--t-600);
}

/* ── Plans strip ──────────────────────────────────────────── */
.fx-plans {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .fx-plans { grid-template-columns: 1.5fr 1fr; } }
.fx-plans-main { padding: 2rem; }
.fx-plans-main .fx-title { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.fx-plan-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.fx-plan-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--t-200);
  background: var(--t-50);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t-700);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.fx-plan-chips a:hover { border-color: var(--t-300); background: var(--t-100); }
.fx-plans-pro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem;
  border-top: 1px solid var(--blue-100);
  background: linear-gradient(160deg, var(--blue-50) 0%, #eef2ff 100%);
}
@media (min-width: 1024px) { .fx-plans-pro { border-top: 0; border-left: 1px solid var(--blue-100); } }
.fx-plans-pro-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 800; color: var(--blue-700); }
.fx-plans-pro .btn-secondary { align-self: flex-start; margin-top: 0.25rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
.fx-faq { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .fx-faq { grid-template-columns: 22rem minmax(0, 1fr); gap: 4rem; align-items: start; }
  .fx-faq-intro { position: sticky; top: 8.5rem; }
}
.fx-faq-intro .fx-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.fx-faq-intro .fx-sub { font-size: 0.95rem; }
.fx-faq-intro .btn-secondary { margin-top: 1.5rem; }
.fx-faq .faq-list { margin-top: 0; }
.fx-faq .faq-item { box-shadow: var(--shadow-xs); }
.fx-faq .faq-item.open { border-color: var(--t-300); box-shadow: 0 16px 30px -24px rgb(var(--t-rgb) / 0.8); }
.fx-faq .faq-item.open .faq-icon { background: var(--t-100); color: var(--t-700); }
.fx-faq-h { font-size: inherit; font-weight: inherit; }
.fx-faq .faq-btn { justify-content: flex-start; gap: 0.875rem; padding: 1rem 1.25rem; }
.fx-faq .faq-btn:hover { background: var(--t-50); }
.fx-faq-tag {
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  border: 1px solid var(--t-100);
  background: var(--t-50);
  color: var(--t-600);
}
.fx-faq-q { flex: 1; line-height: 1.45; }
.fx-faq .faq-body { padding: 0 1.25rem 1.25rem; color: var(--gray-600); }
@media (min-width: 640px) { .fx-faq .faq-body { padding-left: calc(1.25rem + 2rem + 0.875rem); padding-right: 3.5rem; } }

/* ── Motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fx-map-tile, .fx-step, .fx-mode, .fx-setting { transition: none; }
  .fx-map-tile:hover, .fx-step:hover, .fx-mode:hover { transform: none; }
}
