@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");
/* FMDigital — clean, modern light look: white canvas, soft cards, one confident blue accent. Dark backup: Media Library > fmdigital-site-css-dark-backup-2026-11-06.txt */
:root {
  --fm-bg: #ffffff; --fm-bg-2: #f6f8fb; --fm-card: #ffffff; --fm-card-2: #f8fafc;
  --fm-text: #0f172a; --fm-muted: #526079; --fm-dim: #8a96aa;
  --fm-line: #e6eaf0; --fm-line-2: #d5dce6;
  --fm-cyan: #2563eb; --fm-cyan-2: #1d4ed8; --fm-violet: #7c3aed; --fm-green: #16a34a; --fm-amber: #d97706; --fm-red: #dc2626;
  --fm-tint: #eff4ff;
  --fm-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
  --fm-shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 48px rgba(15, 23, 42, .10);
  --fm-glow: 0 0 0 3px rgba(37, 99, 235, .14);
  --fm-display: "Space Grotesk", system-ui, sans-serif;
  --fm-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --fm-wrap: 1180px;
  --fm-ink: var(--fm-bg); --fm-paper: var(--fm-bg); --fm-on-ink: var(--fm-text); --fm-on-ink-muted: var(--fm-muted);
  --fm-orange: var(--fm-cyan); --fm-orange-dark: var(--fm-cyan-2); --fm-mat: var(--fm-violet);
  color-scheme: light;
}
html { background: var(--fm-bg); }
.fm-body, body {
  background-color: var(--fm-bg); color: var(--fm-text); font-family: var(--fm-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1000px 460px at 85% -10%, rgba(37, 99, 235, .07), transparent 65%), radial-gradient(800px 420px at 0% 0%, rgba(124, 58, 237, .05), transparent 60%);
  background-repeat: no-repeat;
}
::selection { background: rgba(37, 99, 235, .18); color: var(--fm-text); }
a { color: var(--fm-cyan); }
.fm-wrap { max-width: var(--fm-wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.fm a { color: inherit; }
h1, h2, h3, .fm h1, .fm h2, .fm h3 { font-family: var(--fm-display); letter-spacing: -0.025em; text-wrap: balance; color: var(--fm-text); }
.fm p { margin: 0; }
.fm-eyebrow { font: 600 12px var(--fm-body); letter-spacing: .08em; text-transform: uppercase; color: var(--fm-cyan); background: var(--fm-tint); border-radius: 999px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.fm-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fm-grad { background: linear-gradient(92deg, var(--fm-cyan), var(--fm-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px var(--fm-body); padding: 12px 20px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; transition: box-shadow .2s, background .2s, border-color .2s, transform .2s; }
.fm-btn--primary { background: var(--fm-cyan); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .25), 0 6px 16px rgba(37, 99, 235, .18); }
.fm-btn--primary:hover { background: var(--fm-cyan-2); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(37, 99, 235, .25), 0 10px 24px rgba(37, 99, 235, .22); }
.fm-btn--ghost { border-color: var(--fm-line-2); color: var(--fm-text); background: #fff; }
.fm-btn--ghost:hover { border-color: var(--fm-cyan); color: var(--fm-cyan); box-shadow: var(--fm-glow); }
.fm-btn:focus-visible { outline: 2px solid var(--fm-cyan); outline-offset: 3px; }
.fm-header { background: rgba(255, 255, 255, .85); color: var(--fm-text); border-bottom: 1px solid var(--fm-line); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.fm-header__row { display: flex; align-items: center; gap: 24px; padding-block: 14px; flex-wrap: wrap; }
.fm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fm-text); font: 700 19px var(--fm-display); letter-spacing: -0.01em; }
.fm-logo b { color: var(--fm-cyan); font-weight: 700; }
.fm-logo__mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--fm-cyan), var(--fm-violet)); position: relative; flex: none; box-shadow: 0 4px 12px rgba(37, 99, 235, .25); }
.fm-logo__mark::before { content: none; }
.fm-logo__mark::after { content: ">_"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 12px var(--fm-mono); color: #fff; }
.fm-nav { display: flex; gap: 28px; margin-left: auto; flex-wrap: wrap; align-items: center; font: 500 15px var(--fm-body); }
.fm-nav a { color: var(--fm-muted); text-decoration: none; transition: color .15s; }
.fm-nav a:hover { color: var(--fm-text); }
.fm-hero { color: var(--fm-text); padding-block: 80px 96px; overflow: hidden; position: relative; }
.fm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.fm-hero h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.03; font-weight: 700; margin: 20px 0 0; }
.fm-hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--fm-cyan), var(--fm-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-hero__lead { font-size: 18.5px; color: var(--fm-muted); max-width: 33em; margin: 22px 0 0; }
.fm-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.fm-hero__facts { display: flex; gap: 10px 24px; flex-wrap: wrap; margin: 32px 0 0; font: 500 14px var(--fm-body); color: var(--fm-muted); padding: 0; list-style: none; }
.fm-hero__facts li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(22, 163, 74, .12); color: var(--fm-green); font: 700 11px var(--fm-body); margin-right: 8px; vertical-align: 1px; }
.fm-window { background: #fff; border-radius: 14px; border: 1px solid var(--fm-line); box-shadow: var(--fm-shadow-lg); overflow: hidden; }
.fm-window__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--fm-bg-2); border-bottom: 1px solid var(--fm-line); font: 500 12px var(--fm-mono); color: var(--fm-muted); }
.fm-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dce6; display: inline-block; }
.fm-window__bar i:nth-child(1) { background: #ff6b6b; } .fm-window__bar i:nth-child(2) { background: #fbbf24; } .fm-window__bar i:nth-child(3) { background: #34d399; }
.fm-window__bar span { margin-left: 10px; }
.fm-term { padding: 20px 22px 24px; font: 13.5px/1.8 var(--fm-mono); color: #334155; min-height: 300px; }
.fm-term p { margin: 0; white-space: pre-wrap; }
.fm-term .p { color: var(--fm-violet); } .fm-term .c { color: var(--fm-cyan); } .fm-term .g { color: var(--fm-green); } .fm-term .d { color: var(--fm-dim); } .fm-term .a { color: var(--fm-amber); }
.fm-bar { display: inline-block; height: 9px; border-radius: 999px; background: linear-gradient(90deg, var(--fm-cyan), var(--fm-violet)); }
.fm-caret { display: inline-block; width: 8px; height: 16px; background: var(--fm-cyan); vertical-align: -3px; margin-left: 2px; border-radius: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .fm-caret { animation: fm-blink 1.05s steps(1) infinite; }
  @keyframes fm-blink { 50% { opacity: 0; } }
  .fm-term p { opacity: 0; animation: fm-in .35s ease forwards; }
  .fm-term p:nth-child(1) { animation-delay: .2s; } .fm-term p:nth-child(2) { animation-delay: .55s; } .fm-term p:nth-child(3) { animation-delay: .9s; }
  .fm-term p:nth-child(4) { animation-delay: 1.15s; } .fm-term p:nth-child(5) { animation-delay: 1.4s; } .fm-term p:nth-child(6) { animation-delay: 1.65s; }
  .fm-term p:nth-child(7) { animation-delay: 1.9s; } .fm-term p:nth-child(8) { animation-delay: 2.15s; } .fm-term p:nth-child(9) { animation-delay: 2.4s; }
  .fm-term p:nth-child(n+10) { animation-delay: 2.65s; }
  @keyframes fm-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
.fm-strip { border-block: 1px solid var(--fm-line); background: var(--fm-bg-2); }
.fm-strip .fm-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fm-strip .fm-wrap > div { padding: 24px 20px; border-left: 1px solid var(--fm-line); }
.fm-strip .fm-wrap > div:first-child { border-left: 0; padding-left: 0; }
.fm-strip b { display: block; font: 700 26px var(--fm-display); color: var(--fm-text); }
.fm-strip span { font: 500 13px var(--fm-body); color: var(--fm-muted); }
.fm-section { padding-block: 96px; }
.fm-section__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 40px; max-width: 42em; }
.fm-section__head h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; line-height: 1.1; margin: 0; }
.fm-section__head p { color: var(--fm-muted); font-size: 17.5px; margin: 0; }
.fm-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.fm-app { background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; box-shadow: var(--fm-shadow); transition: border-color .2s, box-shadow .2s, transform .2s; }
.fm-app:hover { border-color: var(--fm-line-2); box-shadow: var(--fm-shadow-lg); transform: translateY(-2px); }
.fm-app--live::before { content: "Live"; position: absolute; top: 20px; right: 20px; font: 600 12px var(--fm-body); color: var(--fm-green); background: rgba(22, 163, 74, .10); border-radius: 999px; padding: 3px 10px; }
.fm-app__top { display: flex; gap: 16px; align-items: center; padding-right: 54px; }
.fm-app__icon { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: 0 4px 14px rgba(15, 23, 42, .12); }
.fm-app__name { font: 700 21px/1.15 var(--fm-display); margin: 0; color: var(--fm-text); }
.fm-app__cat { font: 600 12px var(--fm-body); color: var(--fm-cyan); letter-spacing: .04em; text-transform: uppercase; margin: 5px 0 0; }
.fm-app__pitch { font-size: 16px; color: var(--fm-text); margin: 0; }
.fm-app ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--fm-muted); }
.fm-app li { padding-left: 24px; position: relative; }
.fm-app li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--fm-cyan); font: 700 13px var(--fm-body); }
.fm-app__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--fm-line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fm-price { font: 700 26px var(--fm-display); font-variant-numeric: tabular-nums; color: var(--fm-text); }
.fm-price small { font: 500 13px var(--fm-body); color: var(--fm-muted); margin-left: 4px; }
.fm-app__foot .fm-btns { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.fm-app__foot .fm-btn { padding: 10px 15px; font-size: 14.5px; }
.fm-queue { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-top: 18px; }
.fm-queue div { border: 1px dashed var(--fm-line-2); border-radius: 14px; padding: 18px 20px; background: var(--fm-bg-2); }
.fm-queue b { display: block; font: 600 16px var(--fm-display); color: var(--fm-text); margin-top: 4px; }
.fm-queue span { display: block; font-size: 14px; color: var(--fm-muted); margin-top: 4px; }
.fm-queue em { font: 600 11.5px var(--fm-body); font-style: normal; color: var(--fm-amber); letter-spacing: .06em; text-transform: uppercase; }
.fm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: fm; }
.fm-steps li { counter-increment: fm; background: var(--fm-card); border-radius: 16px; padding: 26px; border: 1px solid var(--fm-line); box-shadow: var(--fm-shadow); display: flex; flex-direction: column; gap: 8px; }
.fm-steps li::before { content: counter(fm); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--fm-tint); font: 700 15px var(--fm-display); color: var(--fm-cyan); margin-bottom: 8px; }
.fm-steps h3 { font-size: 20px; font-weight: 700; margin: 0; }
.fm-steps p { color: var(--fm-muted); font-size: 15px; margin: 0; }
.fm-band { background: linear-gradient(135deg, #eff4ff, #f5f0ff); border: 1px solid #dfe6fb; color: var(--fm-text); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; align-items: center; }
.fm-band h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; line-height: 1.1; margin: 0; }
.fm-band dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; margin: 0; }
.fm-band dt { font: 600 16px var(--fm-display); color: var(--fm-text); }
.fm-band dt::before { content: "✓ "; color: var(--fm-green); }
.fm-band dd { margin: 4px 0 0; color: var(--fm-muted); font-size: 14.5px; }
.fm-faq { display: flex; flex-direction: column; gap: 10px; max-width: 840px; }
.fm-faq details { background: var(--fm-card); border: 1px solid var(--fm-line); border-radius: 12px; padding: 4px 22px; transition: border-color .2s, box-shadow .2s; }
.fm-faq details[open] { border-color: var(--fm-line-2); box-shadow: var(--fm-shadow); }
.fm-faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--fm-text); }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: "+"; font: 500 22px/1 var(--fm-body); color: var(--fm-cyan); }
.fm-faq details[open] summary::after { content: "−"; }
.fm-faq details p { color: var(--fm-muted); padding-bottom: 18px; margin: 0; }
.fm-faq summary:focus-visible { outline: 2px solid var(--fm-cyan); outline-offset: 2px; border-radius: 6px; }
.fm-footer { background: var(--fm-bg-2); border-top: 1px solid var(--fm-line); color: var(--fm-muted); padding-block: 48px; font-size: 14.5px; margin-top: 40px; }
.fm-footer__row { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
.fm-footer nav { display: flex; gap: 22px; flex-wrap: wrap; font: 500 14px var(--fm-body); }
.fm-footer a { color: var(--fm-muted); text-decoration: none; }
.fm-footer a:hover { color: var(--fm-text); }
.fm-footer small { display: block; margin-top: 10px; font: 400 13px var(--fm-body); color: var(--fm-dim); }
@media (max-width: 900px) {
  .fm-hero { padding-block: 48px 64px; }
  .fm-hero__grid, .fm-band { grid-template-columns: minmax(0, 1fr); }
  .fm-steps { grid-template-columns: minmax(0, 1fr); }
  .fm-band { padding: 30px 22px; }
  .fm-strip .fm-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-strip .fm-wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .fm-strip .fm-wrap > div:nth-child(n+3) { border-top: 1px solid var(--fm-line); }
}
@media (max-width: 560px) {
  .fm-nav { gap: 18px; font-size: 14px; margin-left: 0; width: 100%; }
  .fm-band dl { grid-template-columns: minmax(0, 1fr); }
  .fm-section { padding-block: 64px; }
  .fm-app__foot .fm-btns { margin-left: 0; width: 100%; }
  .fm-app__foot .fm-btns .fm-btn { flex: 1; }
  .fm-term { font-size: 12px; padding: 16px; min-height: 0; }
}
.fm-page { padding-block: 56px 80px; }
.fm-page h1, .fm-page .wp-block-post-title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; margin-bottom: 26px; }
.fm-page h2 { font-size: 24px; margin-top: 34px; }
.fm-page p, .fm-page li { color: #334155; }
.fm-page a { color: var(--fm-cyan); }
.woocommerce .price, .wc-block-components-product-price, .wp-block-woocommerce-product-price { font-family: var(--fm-display); font-weight: 700; color: var(--fm-text); }
.wc-block-components-button:not(.is-link), .woocommerce a.button, .woocommerce button.button, .wp-block-button__link, .wc-block-components-checkout-place-order-button { background: var(--fm-cyan) !important; color: #fff !important; border-radius: 10px !important; font-weight: 600 !important; border: 0 !important; }
.wc-block-components-button:not(.is-link):hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .wp-block-button__link:hover { background: var(--fm-cyan-2) !important; box-shadow: 0 8px 20px rgba(37, 99, 235, .2); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .woocommerce input.input-text, .woocommerce select, .woocommerce textarea, .wc-blocks-components-select__select { background: #fff !important; color: var(--fm-text) !important; border: 1px solid var(--fm-line-2) !important; border-radius: 10px !important; }
.wc-block-components-text-input input:focus, .woocommerce input.input-text:focus, .woocommerce textarea:focus { border-color: var(--fm-cyan) !important; box-shadow: var(--fm-glow) !important; outline: 0; }
.wc-block-components-text-input label, .wc-block-components-combobox label { color: var(--fm-muted) !important; }
.wc-block-components-sidebar, .wc-block-components-totals-wrapper, .wc-block-cart-items, .woocommerce table.shop_table { border-color: var(--fm-line) !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { background: var(--fm-bg-2); border: 1px solid var(--fm-line); border-radius: 16px; padding: 20px !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; color: var(--fm-muted); font-family: var(--fm-body); font-size: 15px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--fm-tint); color: var(--fm-cyan); font-weight: 600; }
.wp-block-woocommerce-product-image-gallery img, .woocommerce-product-gallery img { border-radius: 16px; box-shadow: var(--fm-shadow-lg); }
.wc-block-mini-cart__drawer .components-modal__content, .wc-block-mini-cart__drawer { background: #fff !important; color: var(--fm-text); }
.wp-site-blocks > *, .wp-site-blocks > * > .fm-header, .wp-site-blocks .fm-footer { margin-block-start: 0; }
.wp-site-blocks > footer, .wp-site-blocks > .wp-block-template-part:last-child { margin-top: 0; }
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 40; }
.fm-header__row > * { margin-block: 0 !important; }
.fm-header .wc-block-mini-cart__button { color: var(--fm-text); padding: 6px 8px; }
.fm-header .wc-block-mini-cart__badge { background: var(--fm-cyan); color: #fff; border: 0; }
.fm-header .wc-block-mini-cart__amount { display: none; }

/* fix: button text */
.fm a.fm-btn--primary, a.fm-btn--primary, .fm a.fm-btn--primary:hover { color: #fff; }
.fm a.fm-btn--ghost { color: var(--fm-text); }
.fm a.fm-btn--ghost:hover { color: var(--fm-cyan); }
