/* Feature and tool landing pages (generated by scripts/build-features.mjs). Uses only design tokens from app.css. */
.fx { overflow-x: clip; }
.fx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.fx-wrap.narrow { max-width: 780px; }
.fx .sr { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx a:not(.btn):not(.fx-card):not(.fx-tile) { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--border-strong); }
.fx a:not(.btn):not(.fx-card):not(.fx-tile):hover { text-decoration-color: currentColor; }
.fx code { font: 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }

/* Hero */
.fx-hero { padding: 40px 0 24px; text-align: center; background: var(--surface); border-bottom: 1px solid var(--border); }
.fx-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.fx-crumbs a { color: var(--muted) !important; text-decoration: none !important; }
.fx-crumbs a:hover { color: var(--text) !important; }
.fx-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.fx-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; letter-spacing: -.035em; max-width: 860px; margin: 0 auto 16px; }
.fx-sub { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 720px; margin: 0 auto 26px; }
.fx-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fx-ctas .btn { height: 48px; padding: 0 24px; font-size: 15.5px; font-weight: 600; border-radius: 10px; }
.fx-hero > .fx-wrap > .fx-ctas { justify-content: center; }
.fx-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding: 0; margin: 20px 0 34px; font-size: 13.5px; color: var(--muted); }
.fx-trust li { display: inline-flex; align-items: center; gap: 6px; }
.fx-trust .i { width: 15px; height: 15px; color: var(--success); }
.fx-shot { margin: 0 auto; max-width: 1040px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-lg); }
.fx-shot img { display: block; width: 100%; height: auto; }

/* Sections */
.fx-section { padding: 72px 0; }
.fx-section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fx-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.fx-head.left { text-align: left; margin: 0 0 20px; max-width: none; }
.fx-head h2, .fx-prose h2, .fx-band h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 12px; }
.fx-head p { color: var(--muted); font-size: 16.5px; line-height: 1.6; margin: 0; }
.fx-prose { padding: 56px 0; }
.fx-prose + .fx-prose { padding-top: 0; }
.fx-prose p { font-size: 17px; line-height: 1.75; color: var(--text-2); margin: 0 0 16px; }
.fx-bullets { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 12px; }
.fx-bullets li { display: flex; gap: 10px; font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
.fx-bullets .i { margin-top: 4px; color: var(--success); }
.fx-bullets strong, .fx-prose strong { color: var(--text); }

/* Benefits */
.fx-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fx-benefit { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.fx-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); margin-bottom: 16px; }
.fx-ic .i { width: 21px; height: 21px; }
.fx-benefit h3 { font-size: 17px; margin: 0 0 8px; }
.fx-benefit p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0; }

/* Steps */
.fx-steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.fx-steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.fx-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-text); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.fx-steps h3 { font-size: 17px; margin: 0 0 8px; }
.fx-steps p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0; }

/* Feature list */
.fx-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.fx-features > div { padding: 18px 0; border-bottom: 1px solid var(--border); }
.fx-features dt { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 6px; }
.fx-features dt .i { margin-top: 2px; color: var(--success); }
.fx-features dd { margin: 0 0 0 28px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* Comparison */
.fx-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.fx-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.fx-table th, .fx-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.fx-table tr:last-child th, .fx-table tr:last-child td { border-bottom: 0; }
.fx-table thead th { font-size: 14px; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.fx-table thead th.us { color: var(--text); }
.fx-table tbody th { font-weight: 500; color: var(--text); width: 34%; }
.fx-table td { color: var(--text-2); }
.fx-table td.us { background: var(--accent-soft); color: var(--text); font-weight: 500; }
.fx-yes .i { color: var(--success); }
.fx-no .i { color: var(--muted); }
.fx-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* FAQ */
.fx-faq details { border-bottom: 1px solid var(--border); padding: 18px 2px; }
.fx-faq details:first-child { border-top: 1px solid var(--border); }
.fx-faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--text); }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); flex: none; }
.fx-faq details[open] summary::after { content: "\2212"; }
.fx-faq p { color: var(--text-2); margin: 12px 0 0; line-height: 1.7; font-size: 15.5px; }

/* Cards */
.fx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.fx-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text); transition: border-color .12s, box-shadow .12s; }
.fx-card:hover, .fx-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow); text-decoration: none; }
.fx-card b { font-size: 15.5px; }
.fx-card span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.fx-tile { display: flex; flex-direction: column; gap: 6px; padding: 0 0 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; color: var(--text); }
.fx-tile-img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.fx-tile b, .fx-tile span, .fx-tile em { padding: 0 18px; }
.fx-tile b { font-size: 17px; }
.fx-tile span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.fx-tile em { font-style: normal; font-weight: 600; font-size: 14px; margin-top: auto; padding-top: 6px; }

/* Final CTA band: solid brand color, no gradient */
.fx-band { background: var(--accent); color: var(--on-accent); padding: 72px 0; text-align: center; }
.fx-band h2 { color: var(--on-accent); }
.fx-band p { color: var(--on-accent); opacity: .8; font-size: 17px; max-width: 620px; margin: 0 auto 26px; line-height: 1.6; }
.fx-band .btn.inverse { background: var(--on-accent); border-color: var(--on-accent); color: var(--accent); }
.fx-band .btn.inverse:hover { opacity: .92; }
.fx-band .btn.outline-inverse { background: transparent; color: var(--on-accent); border-color: color-mix(in srgb, var(--on-accent) 45%, transparent); }
.fx-band .btn.outline-inverse:hover { background: color-mix(in srgb, var(--on-accent) 10%, transparent); }
.fx-ctas.center { justify-content: center; }

@media (max-width: 900px) {
  .fx-steps { grid-template-columns: 1fr; }
  .fx-features { grid-template-columns: 1fr; }
  .fx-section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .fx-wrap { padding: 0 16px; }
  .fx-hero { padding: 28px 0 16px; }
  .fx-ctas .btn { width: 100%; }
  .fx-trust { flex-direction: column; align-items: center; gap: 6px; margin: 16px 0 24px; }
  .fx-shot { border-radius: 10px; }
  .fx-section, .fx-band { padding: 44px 0; }
  .fx-prose { padding: 40px 0; }
  .fx-prose p, .fx-bullets li { font-size: 16px; }
  .fx-benefits, .fx-grid, .fx-cards { grid-template-columns: 1fr; }
  .fx-table th, .fx-table td { padding: 12px; font-size: 14px; }
}

/* Landing content embedded in app pages */
.fx-embed-before { margin: 28px auto 32px; max-width: 1040px; }
.fx-embed .fx-hero .fx-shot { margin-top: 8px; }
.fx-embed-shot { padding: 48px 0 8px; }
.fx-embed-shot h2 { text-align: center; font-size: clamp(22px, 3vw, 30px); margin: 0 0 22px; letter-spacing: -.02em; }
@media (max-width: 640px) { .fx-embed-before { margin: 20px auto 24px; } .fx-embed-shot { padding-top: 32px; } }

.fx-card-img { padding-top: 0; overflow: hidden; }
.fx-card-img .fx-card-thumb { display: block; width: calc(100% + 2 * var(--fx-card-pad, 18px)); max-width: none; margin: 0 calc(-1 * var(--fx-card-pad, 18px)) 12px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--border); background: var(--surface-2); }

/* Comparison pages (generated by scripts/build-compare.mjs) */
.cmp-updated { font-size: 13px; color: var(--muted); margin: 18px 0 8px; }
.cmp-verdict { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius-lg); padding: 24px 28px; }
.cmp-verdict h2 { font-size: 22px; margin: 0 0 12px; }
.cmp-verdict p:last-child { margin-bottom: 0; }
.cmp-choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cmp-choose > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.cmp-choose > div:first-child { border-color: var(--accent); }
.cmp-choose h2 { font-size: 20px; margin: 0 0 8px; }
.cmp-pick { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 22px 24px; margin: 0 0 16px; }
.cmp-pick:first-of-type { border-color: var(--accent); }
.cmp-pick header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.cmp-pick header > div { flex: 1; min-width: 0; }
.cmp-pick h3 { font-size: 19px; margin: 2px 0 2px; }
.cmp-rank { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-text); font-weight: 700; font-size: 14px; }
.cmp-best { margin: 0 !important; font-size: 14px !important; color: var(--muted) !important; }
.cmp-price { flex: none; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.cmp-pick > p { font-size: 16px !important; margin: 0 0 12px !important; }
.cmp-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.cmp-proscons h4 { font-size: 14px; margin: 4px 0 0; color: var(--text); }
.cmp-proscons .fx-bullets li { font-size: 15px; }
.cmp-proscons div:last-child .fx-bullets .i { color: var(--muted); }
@media (max-width: 700px) {
  .cmp-choose, .cmp-proscons { grid-template-columns: 1fr; }
  .cmp-pick header { flex-wrap: wrap; }
  .cmp-verdict { padding: 20px; }
}
