/* Faxend design system (2026-09 redesign). Loaded after tailwind.css and before each page's
   own <style>; article rules are prefixed with :root so they win over the per-page inline styles
   without touching page markup or text (seo-ops #64). */

:root {
  --bg: #F9F9F9; --bg-subtle: #F2F2F2; --surface: #FFFFFF; --surface-muted: #E9E9E9;
  --ink: #111111; --text: #3A3A3A; --muted: #666666;
  --border: #E5E5E5; --border-strong: #D2D2D2;
  --success: #2E7D32; --success-bg: #E7F1E8; --warning: #98570F; --warning-bg: #FBEFE2;
  --danger: #B3372E; --danger-bg: #F8E6E4;
  --band: #0A0A0A; --on-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 16px 40px -16px rgba(0,0,0,.14);
  --display: 'Manrope', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --wrap: 1248px;
}

:root body { background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto !important; } }

.fx-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.fx-icon { width: 16px; height: 16px; flex: none; }

/* ---------- header ---------- */
.fx-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--border); }
.fx-header__bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fx-logo { display: flex; align-items: center; color: #1c1917; text-decoration: none; }
/* Original Faxend wordmark, unchanged from the pre-redesign site: Inter 900, tracking-tighter */
.fx-logo__word { font-family: var(--body); font-weight: 900; font-size: 1.25rem; line-height: 1.75rem; letter-spacing: -.05em; }
.fx-logo--footer .fx-logo__word { font-size: 1.125rem; line-height: 1.75rem; }

.fx-nav { display: none; gap: 2px; align-items: center; }
.fx-nav__link { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); text-decoration: none; }
.fx-nav__link:hover, .fx-nav__link[aria-current="page"] { background: var(--bg-subtle); color: var(--ink); }
.fx-nav__link[aria-current="page"] { font-weight: 600; }

.fx-mega { position: relative; }
.fx-mega__panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 10px; width: 620px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; }
.fx-mega.is-open .fx-mega__panel { opacity: 1; visibility: visible; pointer-events: auto; }
.fx-mega.is-open .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown-chevron { transition: transform .2s; }
.fx-mega__card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow);
  padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.fx-mega__item { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.fx-mega__item:hover { background: var(--bg-subtle); }
.fx-mega__title { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.fx-mega__desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.fx-mega__all { grid-column: 1 / -1; margin-top: 8px; border-top: 1px solid var(--border); padding: 14px 12px 2px; font-size: 14px; font-weight: 600;
  color: var(--ink); display: flex; align-items: center; gap: 6px; text-decoration: none; }

.fx-actions { display: flex; align-items: center; gap: 8px; }
.fx-login { display: none; padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: var(--text); text-decoration: none; }
.fx-login:hover { color: var(--ink); }
.fx-btn { height: 40px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: var(--on-ink); display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fx-btn:hover { color: var(--on-ink); opacity: .88; }
.fx-btn__long { display: none; }
.fx-burger { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.fx-burger .fx-burger__close { display: none; }
.fx-header.is-drawer .fx-burger__open { display: none; }
.fx-header.is-drawer .fx-burger__close { display: block; }
#auth-placeholder { width: 32px; height: 32px; border-radius: 999px; background: var(--surface-muted); }

.fx-drawer { position: fixed; top: 65px; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 60; padding: 16px 24px 24px;
  display: flex; flex-direction: column; overflow: auto; }
.fx-drawer[hidden] { display: none; }
.fx-drawer__link { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.03em; color: var(--ink); padding: 12px 0;
  border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; text-decoration: none; }
.fx-drawer__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 8px 0 12px; border-bottom: 1px solid var(--border); }
.fx-drawer__sub a { font-size: 15px; color: var(--text); padding: 8px 0; text-decoration: none; }
.fx-drawer__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.fx-drawer__cta a { height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; text-decoration: none; }
.fx-drawer__cta .fx-drawer__primary { background: var(--ink); color: var(--on-ink); }
.fx-drawer__cta .fx-drawer__secondary { border: 1px solid var(--border-strong); color: var(--ink); }

@media (min-width: 900px) {
  .fx-nav, .fx-login { display: flex; }
  .fx-burger, .fx-drawer { display: none !important; }
  .fx-btn__long { display: inline; }
  .fx-btn__short { display: none; }
}

/* ---------- footer ---------- */
.fx-footer { margin-top: auto; background: var(--bg-subtle); border-top: 1px solid var(--border); color: var(--text); }
.fx-footer__grid { padding: 64px 24px 40px; display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.fx-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.fx-footer__badge img { height: 40px; width: auto; display: block; }
.fx-footer__col { display: flex; flex-direction: column; gap: 10px; }
.fx-footer__head { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); margin: 0 0 4px; }
.fx-footer__col a { font-size: 14.5px; color: var(--text); text-decoration: none; line-height: 1.4; }
.fx-footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.fx-footer__bottom { border-top: 1px solid var(--border); padding: 20px 24px 28px; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) {
  .fx-footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .fx-footer__brand { grid-column: auto; }
}

/* ---------- guide & blog articles (existing markup, restyled) ---------- */
:root article h1 { font-family: var(--display) !important; font-weight: 800 !important; font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.04 !important; letter-spacing: -.045em !important; color: var(--ink) !important; text-wrap: balance; }
:root nav[aria-label="Breadcrumb"] { font-size: 14px; color: var(--muted); }
:root nav[aria-label="Breadcrumb"] a:hover { color: var(--ink); }

:root .updated-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: 999px;
  background: var(--success-bg); color: var(--success); font-weight: 600; font-size: 13px; margin-bottom: 20px; border: 0;
  text-transform: none; letter-spacing: 0; }
:root .trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--text); margin-bottom: 24px; text-transform: none; letter-spacing: 0; }
:root .trust-row .item { text-transform: none; letter-spacing: 0; font-weight: 500; }
:root .reviewer-strip { border-color: var(--border) !important; }

:root .prose { color: var(--text); font-size: 17px; line-height: 1.7; }
:root .prose h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin-top: 3rem; scroll-margin-top: 96px; }
:root .prose h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
:root .prose a { color: var(--ink); text-decoration-color: var(--border-strong); text-decoration-thickness: 1px; }
:root .prose a:hover { text-decoration-color: var(--ink); }
:root .prose strong { font-weight: 600; }

:root .toc { background: var(--surface); border: 1px solid var(--border); border-left: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; margin: 2rem 0 2.5rem; }
:root .toc p { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
:root .toc li { color: var(--muted); }
:root .toc a { color: var(--text); }
:root .toc a:hover { color: var(--ink); text-decoration: underline; }

:root .callout { background: var(--bg-subtle); border: 0; border-radius: 14px; padding: 16px 18px; font-size: 15.5px; line-height: 1.6; }
:root .callout-warn { background: var(--warning-bg); color: var(--text); }

:root .data-table { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
:root .data-table th { background: var(--bg-subtle); color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: .06em; border-bottom: 1px solid var(--border); }
:root .data-table td { border-bottom: 1px solid var(--border); }
:root .data-table .num { font-family: var(--body); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
:root .compare-table { border-radius: 18px; border: 1px solid var(--border); }

:root .cta-inline { background: var(--band); border: 1px solid #222; border-radius: 22px; padding: 28px; }
:root .cta-inline h3 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; line-height: 1.2; }
:root .cta-inline p { color: #BDBDBD; }
:root .cta-inline a { height: 52px; padding: 0 22px; border-radius: 12px; background: #fff; color: #0A0A0A; font-weight: 600; font-size: 15.5px; }
:root .cta-inline a.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }

:root .step-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }

/* ---------- Tailwind utilities used in page markup but missing from the compiled tailwind.css ----------
   (these silently did nothing before; e.g. the black "Send fax to IRS now" button had no background) */
.mt-3 { margin-top: .75rem; } .pb-8 { padding-bottom: 2rem; } .mb-14 { margin-bottom: 3.5rem; } .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; } .gap-1\.5 { gap: .375rem; } .gap-y-2 { row-gap: .5rem; } .gap-y-3 { row-gap: .75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; } .h-px { height: 1px; } .rounded-2xl { border-radius: 1rem; } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.text-stone-300 { color: #D2D2D2; } .text-stone-400 { color: #8A8A8A; } .text-stone-600 { color: var(--muted); } .text-stone-700 { color: var(--text); }
.bg-stone-950 { background-color: var(--ink); } .bg-stone-200 { background-color: var(--surface-muted); } .hover\:bg-stone-800:hover { background-color: #2A2A2A; }
.border-stone-50\/40 { border-color: rgba(250,250,249,.4); } .hover\:bg-stone-50\/10:hover { background-color: rgba(250,250,249,.1); }
.text-amber-900 { color: #78350F; } .border-amber-300 { border-color: #FCD34D; }
.decoration-outline-variant { text-decoration-color: var(--border-strong); } .hover\:decoration-current:hover { text-decoration-color: currentColor; }
@media (min-width: 768px) { .md\:pt-14 { padding-top: 3.5rem; } .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; } .md\:gap-6 { gap: 1.5rem; } }
@media (min-width: 1024px) { .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; } .lg\:px-24 { padding-left: 6rem; padding-right: 6rem; } }
.text-stone-50 { color: #FAFAF9; } .hover\:bg-stone-200:hover { background-color: var(--surface-muted); }
.gap-x-6 { column-gap: 1.5rem; } .w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; } .my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.isolate { isolation: isolate; } .focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
@media (min-width: 768px) { .md\:mb-2 { margin-bottom: .5rem; } .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* backdrop-filter makes the header the containing block for fixed children, which clipped the drawer */
.fx-header.is-drawer { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }

/* ---------- home (2026-09 redesign phase 2) ---------- */
.fx-home { display: block; }
.fx-cta { height: 56px; padding: 0 24px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 16px; text-decoration: none; }
.fx-cta--primary { background: var(--ink); color: var(--on-ink); }
.fx-cta--primary:hover { color: var(--on-ink); opacity: .88; }
.fx-cta--store { background: #000; color: #fff; border: 1px solid #333; padding: 0 20px; }
.fx-cta--store:hover { color: #fff; opacity: .85; }
.fx-cta--light { background: #fff; color: #0A0A0A; }
.fx-cta--light:hover { color: #0A0A0A; opacity: .9; }
.fx-hero__apple { width: 26px; height: 26px; flex: none; }
.fx-cta__store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.fx-cta__store-small { font-size: 11px; opacity: .8; font-weight: 400; }
.fx-cta__store-big { font-size: 17px; font-weight: 600; }

.fx-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.fx-hero__dots { position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 0%, transparent 70%); }
.fx-hero__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.fx-hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.fx-hero__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7.4vw, 96px); line-height: .96; letter-spacing: -.045em; color: var(--ink); }
.fx-hero__muted { color: var(--muted); }
.fx-hero__lede { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text); max-width: 520px; text-wrap: pretty; }
.fx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fx-hero__visual { flex: 1 1 420px; min-width: 0; position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin: 0 auto; }
.fx-hero__phone { position: absolute; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.14)); }
.fx-hero__phone img { display: block; width: 100%; height: auto; }
.fx-hero__phone--center { width: 50%; left: 25%; top: 0; z-index: 2; }
.fx-hero__phone--left { width: 40%; left: 2%; top: 14%; z-index: 1; opacity: .9; }
.fx-hero__phone--right { width: 40%; right: 2%; top: 14%; z-index: 1; opacity: .9; }

.fx-section { padding: clamp(72px, 9vw, 120px) 0; }
.fx-section--subtle { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fx-section__head { display: flex; flex-direction: column-reverse; gap: 14px; margin-bottom: 48px; }
.fx-eyebrow { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fx-h2 { margin: 0 0 40px; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.035em; color: var(--ink); }
.fx-section__head .fx-h2 { margin: 0; }

.fx-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.fx-feature { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.fx-feature__icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.fx-feature__icon svg { width: 20px; height: 20px; }
.fx-feature h3 { margin: 8px 0 0; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.fx-feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

.fx-steps, .fx-prices, .fx-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.fx-step, .fx-price { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.fx-step__title, .fx-price__title { display: block; margin-bottom: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.fx-price { position: relative; transition: border-color .15s; }
.fx-price:hover { border-color: var(--ink); }
.fx-price__title { text-decoration: none; }
.fx-price__title::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.fx-price__link { position: relative; z-index: 1; }
.fx-price--featured { background: var(--ink); border-color: var(--ink); color: #C8C8C8; }
.fx-price--featured .fx-price__title { color: #fff; }
.fx-price__link { display: inline-block; margin-top: 8px; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fx-guides { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fx-guide { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; font-size: 14.5px; line-height: 1.45; color: var(--muted); transition: border-color .15s; }
.fx-guide:hover { border-color: var(--ink); }
.fx-guide__link { font-family: var(--display); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.fx-guide__link::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }

.fx-faq { max-width: 880px; }
.fx-faq__list { border-top: 1px solid var(--border); }
.fx-faq__item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.fx-faq__item h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); }
.fx-faq__item p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); }

.fx-band { background: var(--band); color: #fff; border: 1px solid #222; border-radius: 28px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.fx-band__title { color: #fff; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.fx-band__text { margin: 0 0 12px; font-size: 18px; color: #BDBDBD; max-width: 520px; }

/* ---------- pricing, support, send, history: restyled in CSS only (markup and scripts untouched) ---------- */
.transmission-watermark { display: none !important; }   /* design brief: remove the cropped "TX" watermark */
:root .ghost-border { border: 1px solid var(--border) !important; box-shadow: none !important; }
:root #pricing-cards > div { border-radius: 20px; }
@media (min-width: 768px) { :root #pricing-standard { margin-top: 0 !important; margin-bottom: 0 !important; } }
:root #pricing-cards a[href^="https://buy.stripe.com/"] { border-radius: 12px; }
:root #pricing-cards > div:not(#pricing-standard) a[href^="https://buy.stripe.com/"] { background: var(--ink); color: var(--on-ink); }
:root #pricing-cards > div:not(#pricing-standard) a[href^="https://buy.stripe.com/"]:hover { opacity: .88; }
:root main details { border-color: var(--border) !important; }
:root main details summary { font-family: var(--display); font-weight: 600; color: var(--ink); cursor: pointer; }
:root main a.group.rounded-xl, :root main .rounded-xl.border { border-radius: 20px; }
