/*
 * TidyFax brand layer
 * Loaded after Tidy.UI and site.css. This file owns the public TidyFax visual identity.
 */

@font-face {
    font-family: "Inter";
    src: url("/fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --fax-ink: #101014;
    --fax-ink-2: #23232a;
    --fax-muted: #696a73;
    --fax-line: #e8e7e4;
    --fax-soft: #f7f7f4;
    --fax-cream: #fbfaf6;
    --fax-violet: #6d4aff;
    --fax-violet-deep: #4c2ed6;
    --fax-violet-soft: #eee9ff;
    --fax-lilac: #c9b8ff;
    --fax-mint: #d9f7e8;
    --fax-coral: #ff8f70;
    --fax-yellow: #ffe287;
    --fax-radius-lg: 28px;
    --fax-radius-md: 18px;
    --fax-shadow: 0 24px 70px rgba(28, 24, 48, .12);
    --fax-shadow-soft: 0 12px 36px rgba(28, 24, 48, .07);
}

html, body { font-family: "Inter", system-ui, sans-serif !important; }
body { color: var(--fax-ink-2); background: #fff; }
h1, h2, h3, h4, h5, h6 { color: var(--fax-ink); font-family: "Inter", system-ui, sans-serif; }
::selection { background: #dcd2ff; color: #17131f; }

/* Header */
.tf-site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(232, 231, 228, .9);
    backdrop-filter: saturate(150%) blur(18px);
}
.tf-site-header .navbar { min-height: 74px; padding: 0; }
.tf-nav-shell { min-height: 74px; }
.tf-brand { gap: 10px; color: var(--fax-ink) !important; font-weight: 810; letter-spacing: -.035em; }
.tf-brand-word { font-size: 1.24rem; }
.tf-brand-mark {
    position: relative;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: var(--fax-ink);
    overflow: hidden;
    box-shadow: 0 5px 14px rgba(16, 16, 20, .12);
}
.tf-brand-mark-sheet {
    width: 15px;
    height: 19px;
    border-radius: 3px;
    background: #fff;
    transform: translateY(-1px);
}
.tf-brand-mark-sheet::after {
    content: "";
    display: block;
    width: 7px;
    height: 2px;
    margin: 5px auto 0;
    border-radius: 99px;
    background: var(--fax-violet);
    box-shadow: 0 4px 0 #bbb3ff, 0 8px 0 #d9d5ee;
}
.tf-brand-mark-line {
    position: absolute;
    width: 15px;
    height: 4px;
    bottom: 4px;
    border-radius: 99px;
    background: var(--fax-coral);
}
.tf-site-header .nav-link {
    padding: 10px 13px !important;
    color: #4c4c54;
    font-size: .87rem;
    font-weight: 560;
    border-radius: 10px;
}
.tf-site-header .nav-link:hover { color: var(--fax-ink); background: #f5f4f1; }
.tf-nav-actions { display: flex; align-items: center; gap: 16px; }
.tf-nav-track { color: var(--fax-ink); font-size: .86rem; font-weight: 620; text-decoration: none; }
.tf-nav-track:hover { color: var(--fax-violet-deep); }
.tf-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    color: #fff !important;
    background: var(--fax-ink);
    border: 1px solid var(--fax-ink);
    border-radius: 12px;
    box-shadow: none;
    font-size: .84rem;
    font-weight: 680;
}
.tf-nav-cta:hover { background: #2a2930; border-color: #2a2930; transform: translateY(-1px); }

/* Hero */
.tf-home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 7vw, 96px) 0 clamp(60px, 8vw, 112px);
    background: #fff;
    border: 0;
}
.tf-home-hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    left: -330px;
    top: -300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 74, 255, .08), transparent 68%);
    pointer-events: none;
}
.hero-copy { max-width: 680px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    color: #3f3956;
    background: #f6f3ff;
    border: 1px solid #e5defe;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: -.01em;
}
.tf-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #36bf78; box-shadow: 0 0 0 4px rgba(54,191,120,.12); }
.hero-title {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--fax-ink);
    font-size: clamp(3.05rem, 5.7vw, 5.65rem);
    line-height: .98;
    font-weight: 680;
    letter-spacing: -.065em;
    text-wrap: balance;
}
.hero-sub {
    max-width: 615px;
    margin: 26px 0 0;
    color: #65656d;
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    line-height: 1.65;
    letter-spacing: -.012em;
}
.tf-hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.tf-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 22px;
    color: #fff !important;
    background: var(--fax-ink);
    border: 1px solid var(--fax-ink);
    border-radius: 13px;
    font-weight: 680;
    box-shadow: 0 12px 26px rgba(16,16,20,.14);
}
.tf-hero-primary:hover { background: #29282f; transform: translateY(-1px); }
.tf-hero-secondary { color: #3f3f46; font-size: .89rem; font-weight: 620; text-decoration: none; border-bottom: 1px solid #c9c8c5; padding-bottom: 2px; }
.tf-hero-secondary:hover { color: var(--fax-violet-deep); border-color: var(--fax-violet-deep); }
.tf-hero-proof {
    display: flex;
    margin-top: 38px;
    border-top: 1px solid var(--fax-line);
    border-bottom: 1px solid var(--fax-line);
}
.tf-hero-proof > div { display: flex; flex-direction: column; min-width: 128px; padding: 17px 26px 17px 0; margin-right: 26px; }
.tf-hero-proof > div:not(:last-child) { border-right: 1px solid var(--fax-line); }
.tf-hero-proof strong { color: var(--fax-ink); font-size: 1.08rem; font-weight: 760; letter-spacing: -.025em; }
.tf-hero-proof span { margin-top: 1px; color: #85858c; font-size: .72rem; }
.tf-hero-microcopy { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 17px; color: #777780; font-size: .72rem; font-weight: 540; }
.tf-hero-microcopy i { color: #4f4f57; margin-right: 4px; }

/* Product stage */
.tf-product-stage {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 58px 42px;
    border-radius: var(--fax-radius-lg);
    background:
        linear-gradient(145deg, rgba(255,255,255,.24), rgba(255,255,255,0)),
        linear-gradient(135deg, #8a68ff 0%, #c8b0ff 36%, #ffb192 70%, #ffe18a 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.34);
    overflow: hidden;
}
.tf-product-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .42;
    background-image: radial-gradient(rgba(255,255,255,.58) .7px, transparent .7px);
    background-size: 6px 6px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.tf-product-stage::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -220px;
    z-index: -2;
    border-radius: 42% 58% 64% 36%;
    background: rgba(255,255,255,.23);
    transform: rotate(18deg);
}
.tf-stage-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(.2px); }
.tf-stage-orb-one { width: 105px; height: 105px; left: 20px; top: 95px; background: rgba(255,230,124,.78); }
.tf-stage-orb-two { width: 72px; height: 72px; right: 24px; top: 42px; background: rgba(195,255,227,.7); }
.tf-stage-label {
    position: absolute;
    top: 21px;
    left: 25px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(32,24,47,.75);
    font-size: .73rem;
    font-weight: 650;
}
.tf-product-stage .tf-checkout-card { position: relative; z-index: 2; width: min(100%, 500px); margin: 0; }
.tf-stage-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 35px rgba(45,30,76,.12);
    backdrop-filter: blur(14px);
}
.tf-stage-note > i { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; border-radius: 9px; background: #f0ecff; color: var(--fax-violet-deep); }
.tf-stage-note span { display: flex; flex-direction: column; }
.tf-stage-note strong { color: #26222f; font-size: .73rem; font-weight: 720; }
.tf-stage-note small { color: #77727e; font-size: .65rem; }
.tf-stage-note-left { left: 10px; bottom: 32px; }
.tf-stage-note-right { right: 10px; top: 115px; }

/* Form */
.tf-checkout-card {
    border: 1px solid rgba(255,255,255,.92) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.965) !important;
    box-shadow: 0 28px 65px rgba(45,30,76,.19) !important;
    backdrop-filter: blur(18px);
}
.tf-checkout-card { padding: 24px !important; }
.tf-checkout-heading { align-items: flex-start !important; justify-content: space-between; gap: 20px; padding: 0 0 18px !important; border-bottom: 1px solid #efeeeb !important; }
.tf-checkout-kicker { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: #76727e; font-size: .7rem; font-weight: 620; }
.tf-checkout-kicker > span { width: 7px; height: 7px; border-radius: 50%; background: #42c47d; }
.tf-checkout-heading h2 { color: var(--fax-ink); font-size: 1.25rem !important; font-weight: 730 !important; letter-spacing: -.035em; }
.tf-checkout-heading p { max-width: 315px; color: #818087 !important; line-height: 1.5; }
.tf-checkout-price-chip { min-width: 73px; padding: 8px 10px; text-align: right; border-radius: 11px; background: #f5f3ef; }
.tf-checkout-price-chip small { display: block; color: #8a898d; font-size: .58rem; text-transform: uppercase; letter-spacing: .05em; }
.tf-checkout-price-chip strong { display: block; color: var(--fax-ink); font-size: .92rem; font-weight: 780; }
.tf-form-step { padding: 17px 0 !important; border-bottom: 1px solid #efeeeb !important; }
.tf-step-number { background: #efebff !important; color: var(--fax-violet-deep) !important; }
.tf-step-label strong { color: #29282e !important; font-weight: 680 !important; }
.tf-upload-zone { min-height: 72px; border-color: #d8d6d1 !important; border-radius: 13px !important; background: #faf9f6 !important; }
.tf-upload-zone:hover, .tf-upload-zone.dragover { border-color: #9279ee !important; background: #f6f2ff !important; }
.tf-upload-icon-wrap { border: 0 !important; background: #eee9ff !important; color: var(--fax-violet-deep) !important; }
.tf-checkout-card .form-control, .tf-checkout-card .form-select { min-height: 45px; border-color: #dcdbd7; border-radius: 11px; background: #fff; font-size: .86rem; }
.tf-checkout-card .form-control:focus, .tf-checkout-card .form-select:focus { border-color: #8c73e9; box-shadow: 0 0 0 4px rgba(109,74,255,.10); }
.tf-addon-section { border-color: #e5e3de !important; border-radius: 13px !important; }
.tf-addon-toggle { background: #f8f7f4 !important; }
.tf-price-summary { background: #f7f6f2 !important; border-radius: 13px !important; }
.tf-price-total { color: var(--fax-ink) !important; }
.tf-checkout-submit {
    min-height: 51px;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--fax-ink) !important;
    box-shadow: none !important;
    font-weight: 690 !important;
}
.tf-checkout-submit:hover { background: #29282f !important; }
.tf-checkout-assurance { color: #77767b !important; }
.tf-checkout-assurance i { color: #4b4b52 !important; }
.tf-privacy-note { max-width: 500px; margin: 12px auto 0 !important; border: 0 !important; background: rgba(255,255,255,.64) !important; backdrop-filter: blur(10px); }

/* Confidence rail */
.tf-confidence-rail { padding: 0 0 22px; background: #fff; }
.tf-confidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--fax-line); border-bottom: 1px solid var(--fax-line); }
.tf-confidence-grid > div { display: flex; align-items: center; gap: 12px; padding: 24px 22px; }
.tf-confidence-grid > div:not(:last-child) { border-right: 1px solid var(--fax-line); }
.tf-confidence-grid i { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 10px; background: #f4f2ee; color: #59585f; }
.tf-confidence-grid span { display: flex; flex-direction: column; }
.tf-confidence-grid strong { color: var(--fax-ink); font-size: .77rem; font-weight: 700; }
.tf-confidence-grid small { margin-top: 1px; color: #8b8a90; font-size: .66rem; }

/* Editorial section */
.tf-after-purchase { padding: clamp(72px, 8vw, 118px) 0; }
.tf-editorial-copy { max-width: 590px; }
.tf-editorial-copy h2 { margin: 13px 0 20px; font-size: clamp(2.25rem, 4.5vw, 4.25rem); line-height: 1.02; font-weight: 650; letter-spacing: -.06em; text-wrap: balance; }
.tf-editorial-copy p { max-width: 560px; color: #6d6c73; font-size: 1rem; line-height: 1.75; }
.tf-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--fax-ink); font-size: .86rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid #b7b5b0; padding-bottom: 3px; }
.tf-text-link:hover { color: var(--fax-violet-deep); border-color: var(--fax-violet-deep); }
.tf-status-preview {
    position: relative;
    padding: 24px;
    border-radius: 25px;
    background: #17171c;
    color: #fff;
    box-shadow: var(--fax-shadow);
    overflow: hidden;
}
.tf-status-preview::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(109,74,255,.48), transparent 65%); }
.tf-status-preview-top, .tf-preview-destination, .tf-preview-actions, .tf-preview-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.tf-mini-brand { display: inline-flex; align-items: center; gap: 7px; color: #d9d7df; font-size: .72rem; font-weight: 650; }
.tf-mini-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--fax-coral); }
.tf-preview-id { color: #77747f; font-size: .65rem; font-family: ui-monospace, monospace; }
.tf-preview-state { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin: 34px 0 28px; padding: 20px; border: 1px solid #37363e; border-radius: 16px; background: #202026; }
.tf-preview-state-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 12px; background: #392a22; color: #ffb68b; }
.tf-preview-state span:last-child { display: flex; flex-direction: column; }
.tf-preview-state small { color: #a6a3ad; font-size: .69rem; }
.tf-preview-state strong { margin-top: 2px; color: #fff; font-size: .88rem; }
.tf-preview-destination { padding: 15px 0; border-top: 1px solid #2e2e35; border-bottom: 1px solid #2e2e35; }
.tf-preview-destination span { color: #85828c; font-size: .68rem; }
.tf-preview-destination strong { font-size: .82rem; }
.tf-preview-actions { gap: 10px; margin-top: 20px; justify-content: flex-start; }
.tf-preview-actions > span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 10px; font-size: .71rem; font-weight: 670; }
.tf-preview-primary { background: #fff; color: #18171c; }
.tf-preview-secondary { border: 1px solid #3c3b43; color: #d5d3dc; }
.tf-preview-foot { margin-top: 21px; color: #77747f; font-size: .63rem; }

/* Shared sections */
.tf-section { padding: clamp(72px, 8vw, 112px) 0 !important; }
.tf-section-soft { background: var(--fax-soft) !important; border-color: #efeeeb !important; }
.section-eyebrow, .tf-eyebrow { color: var(--fax-violet-deep) !important; font-size: .69rem !important; font-weight: 760 !important; letter-spacing: .08em !important; }
.tf-section-header { margin-bottom: 42px !important; }
.tf-section-header h2 { max-width: 820px; margin: 12px auto 12px !important; font-size: clamp(2.15rem, 4vw, 3.65rem) !important; line-height: 1.04; font-weight: 650 !important; letter-spacing: -.055em; text-wrap: balance; }
.tf-section-header p { max-width: 650px; margin-inline: auto; color: #727178 !important; }
.tf-step-card, .tf-use-card, .tf-resource-card, .tf-guide-card { border-color: #e7e5e0 !important; border-radius: 18px !important; box-shadow: none !important; }
.tf-step-card, .tf-use-card { padding: 26px !important; }
.tf-step-card:hover, .tf-use-card:hover, .tf-resource-card:hover, .tf-guide-card:hover { transform: translateY(-3px); border-color: #d7d2e7 !important; box-shadow: var(--fax-shadow-soft) !important; }
.tf-step-card-icon, .tf-use-icon, .tf-resource-icon, .tf-guide-card-icon { background: var(--fax-violet-soft) !important; color: var(--fax-violet-deep) !important; border-radius: 12px !important; }
.tf-comparison-card { border-color: #e6e4df !important; border-radius: 20px !important; box-shadow: none !important; }
.tf-comparison-table .tf-highlight-column { background: #f2eeff !important; color: #4c2ed6 !important; }
.tf-security-section { padding: clamp(80px, 9vw, 125px) 0 !important; background: #17171c !important; }
.tf-security-card { border-color: #313038 !important; border-radius: 18px !important; background: #202026 !important; }
.tf-security-icon { background: #30294d !important; color: #cdbfff !important; }
.tf-country-grid { gap: 10px !important; }
.country-badge { border-color: #e4e2dd !important; box-shadow: none !important; }
.tf-faq .accordion-item { border-color: #e6e4df !important; border-radius: 14px !important; }
.tf-faq .accordion-button { padding: 18px 20px; font-weight: 650 !important; }

/* Directory and transactional surfaces */
.tf-directory-hero, .tf-directory-detail-hero, .tf-resource-index-hero { background: var(--fax-cream) !important; }
.tf-directory-card, .tf-fax-number-card, .tf-directory-info-card { border-color: #e7e5e0 !important; border-radius: 18px !important; box-shadow: none !important; }
.tf-directory-card:hover { border-color: #d7d2e7 !important; box-shadow: var(--fax-shadow-soft) !important; }
.tf-directory-card-icon { background: var(--fax-violet-soft) !important; color: var(--fax-violet-deep) !important; }
.tf-result-page { background: var(--fax-cream) !important; }
.tf-result-shell { border-color: #e6e4df !important; border-radius: 24px !important; box-shadow: var(--fax-shadow-soft) !important; }

/* Footer */
.site-footer { padding-top: 72px !important; background: #151519 !important; }
.site-footer .tf-brand-mark { background: #fff; }
.site-footer .tf-brand-mark-sheet { background: #151519; }
.site-footer .tf-brand-mark-sheet::after { background: var(--fax-violet); box-shadow: 0 4px 0 #6e6b79, 0 8px 0 #3b3941; }
.site-footer .tf-brand-word { color: #fff; }
.site-footer .footer-description { max-width: 420px; color: #92909a !important; }
.site-footer .footer-heading { color: #fff !important; }
.site-footer a { color: #9b99a3 !important; }
.site-footer a:hover { color: #fff !important; }

@media (max-width: 1199.98px) {
    .tf-product-stage { min-height: 660px; padding-inline: 28px; }
    .tf-stage-note { display: none; }
}

@media (max-width: 991.98px) {
    .tf-nav-actions { align-items: stretch; flex-direction: column; padding: 12px 0 18px; gap: 8px; }
    .tf-nav-track { padding: 9px 2px; }
    .tf-nav-cta { justify-content: center; }
    .tf-home-hero { padding-top: 52px; }
    .hero-copy { max-width: 760px; }
    .tf-product-stage { min-height: auto; margin-top: 18px; padding: 54px 24px; }
    .tf-confidence-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-confidence-grid > div:nth-child(2) { border-right: 0; }
    .tf-confidence-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--fax-line); }
}

@media (max-width: 767.98px) {
    .tf-nav-shell { min-height: 66px; }
    .tf-site-header .navbar { min-height: 66px; }
    .hero-title { font-size: clamp(2.75rem, 13vw, 4.15rem); }
    .hero-sub { margin-top: 20px; }
    .tf-hero-actions { align-items: stretch; flex-direction: column; gap: 13px; }
    .tf-hero-secondary { align-self: flex-start; }
    .tf-hero-proof { justify-content: space-between; }
    .tf-hero-proof > div { min-width: 0; flex: 1; margin: 0; padding: 15px 10px 15px 0; }
    .tf-hero-proof > div:not(:last-child) { margin-right: 10px; }
    .tf-hero-microcopy { gap: 7px 14px; }
    .tf-product-stage { margin-inline: -2px; padding: 45px 12px 30px; border-radius: 22px; }
    .tf-product-stage .tf-checkout-card { width: 100%; }
    .tf-checkout-card { padding: 18px !important; }
    .tf-checkout-price-chip { min-width: 66px; }
    .tf-confidence-grid { grid-template-columns: 1fr; }
    .tf-confidence-grid > div { border-right: 0 !important; border-bottom: 1px solid var(--fax-line); }
    .tf-confidence-grid > div:last-child { border-bottom: 0; }
    .tf-after-purchase { padding: 72px 0; }
    .tf-status-preview { padding: 18px; }
}


/* ==========================================================
   TidyFax checkout refinement V2
   More breathing room and stronger product-form hierarchy.
   ========================================================== */
@media (min-width: 992px) {
    .tf-home-hero .container {
        max-width: 1480px;
    }

    .tf-home-hero .row {
        --bs-gutter-x: clamp(3rem, 5vw, 6rem);
    }

    .tf-product-stage {
        min-height: 820px;
        padding: 76px 58px 64px;
    }

    .tf-product-stage .tf-checkout-card {
        width: min(100%, 620px);
    }

    .tf-stage-note-left {
        left: 22px;
        bottom: 34px;
    }

    .tf-stage-note-right {
        right: 22px;
        top: 122px;
    }
}

.tf-checkout-card {
    padding: clamp(24px, 3vw, 34px) !important;
    border-radius: 26px !important;
}

.tf-checkout-heading {
    gap: 28px !important;
    padding-bottom: 24px !important;
}

.tf-checkout-heading h2 {
    font-size: 1.42rem !important;
}

.tf-checkout-heading p {
    max-width: 390px;
    margin-top: 5px;
    font-size: .86rem !important;
    line-height: 1.55;
}

.tf-checkout-price-chip {
    min-width: 86px;
    padding: 11px 13px;
    border-radius: 14px;
}

.tf-checkout-price-chip strong {
    margin-top: 2px;
    font-size: 1.04rem;
}

.tf-form-step {
    padding: 24px 0 !important;
}

.tf-step-label {
    margin-bottom: 14px !important;
    gap: 11px !important;
}

.tf-step-number {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    font-size: .72rem !important;
}

.tf-step-label strong {
    font-size: .91rem !important;
}

.tf-step-label span:not(.tf-step-number) {
    margin-top: 2px;
    line-height: 1.4;
}

.tf-upload-zone {
    min-height: 92px;
    padding: 17px 18px !important;
    border-radius: 16px !important;
}

.tf-upload-zone-inner {
    gap: 14px !important;
}

.tf-upload-icon-wrap {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    border-radius: 13px !important;
}

.tf-upload-zone strong {
    font-size: .9rem;
}

.tf-checkout-card .form-control,
.tf-checkout-card .form-select,
.tf-country-static {
    min-height: 52px !important;
    padding: .72rem .9rem;
    border-radius: 13px !important;
    font-size: .9rem;
}

.tf-country-static {
    height: auto !important;
}

.tf-checkout-card .form-text {
    margin-top: 8px;
    font-size: .73rem;
}

.tf-addon-section {
    margin-top: 22px !important;
    border-radius: 16px !important;
    overflow: hidden;
}

.tf-addon-toggle {
    min-height: 70px;
    padding: 15px 17px !important;
}

.tf-addon-toggle .fw-semibold {
    font-size: .9rem;
}

.tf-addon-list {
    padding: 8px 12px 13px !important;
}

.tf-addon-option {
    min-height: 64px;
    padding: 12px !important;
    border-radius: 12px;
}

.tf-price-summary {
    margin-top: 18px !important;
    padding: 17px 18px !important;
    border-radius: 16px !important;
}

.tf-price-summary > .d-flex {
    padding-bottom: 13px;
}

.tf-price-total {
    padding-top: 14px !important;
    font-size: 1rem;
}

.tf-checkout-submit {
    min-height: 58px;
    margin-top: 14px;
    border-radius: 14px !important;
    font-size: .94rem;
}

.tf-checkout-assurance {
    justify-content: center !important;
    gap: 10px 20px !important;
    margin-top: 14px !important;
    font-size: .68rem !important;
}

.tf-privacy-note {
    max-width: 620px;
    margin-top: 16px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
}

.tf-stage-note {
    min-width: 194px;
    padding: 12px 14px;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .tf-product-stage {
        padding-inline: 32px;
    }

    .tf-product-stage .tf-checkout-card {
        width: min(100%, 560px);
    }

    .tf-stage-note {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .tf-checkout-card {
        padding: 22px 18px !important;
        border-radius: 20px !important;
    }

    .tf-checkout-heading {
        gap: 14px !important;
    }

    .tf-checkout-heading p {
        font-size: .8rem !important;
    }

    .tf-form-step {
        padding: 21px 0 !important;
    }

    .tf-upload-zone {
        min-height: 86px;
    }

    .tf-checkout-assurance {
        align-items: center;
        flex-wrap: wrap;
    }
}


/* ==========================================================
   TidyFax checkout refinement V3
   The checkout is now the primary visual, not a card floating
   in unused gradient space.
   ========================================================== */
@media (min-width: 992px) {
    .tf-home-hero .container {
        max-width: 1540px;
    }

    .tf-home-hero .row {
        --bs-gutter-x: clamp(2.5rem, 4vw, 5rem);
    }

    .tf-product-stage {
        min-height: 0 !important;
        padding: 64px 34px 32px !important;
    }

    .tf-product-stage-grid {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 22px;
        align-items: start;
        width: 100%;
    }

    .tf-product-form-column {
        min-width: 0;
    }

    .tf-product-stage .tf-checkout-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .tf-product-side-rail {
        display: grid;
        gap: 14px;
        padding-top: 72px;
    }

    .tf-stage-delivery-card {
        width: min(100%, 430px);
        margin: -8px 0 0 18px;
    }
}

.tf-product-stage {
    overflow: hidden;
}

.tf-product-stage-grid {
    position: relative;
    z-index: 2;
}

.tf-checkout-card {
    border: 1px solid rgba(255,255,255,.82) !important;
    background: rgba(255,255,255,.975) !important;
    box-shadow:
        0 28px 70px rgba(59, 36, 91, .16),
        0 3px 12px rgba(59, 36, 91, .08) !important;
}

.tf-checkout-heading {
    align-items: flex-start !important;
}

.tf-checkout-heading > div:first-child {
    flex: 1;
    min-width: 0;
}

.tf-checkout-heading h2 {
    font-size: clamp(1.55rem, 2vw, 1.9rem) !important;
    letter-spacing: -.04em !important;
}

.tf-checkout-heading p {
    max-width: 470px !important;
    font-size: .9rem !important;
}

.tf-checkout-price-chip {
    min-width: 92px !important;
    padding: 13px 15px !important;
    border: 1px solid #eeeae4;
    background: #f8f6f2 !important;
}

.tf-checkout-price-chip strong {
    font-size: 1.14rem !important;
}

.tf-form-step {
    padding: 26px 0 !important;
}

.tf-step-label {
    margin-bottom: 16px !important;
}

.tf-step-number {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    background: #EFF6FF !important;
    color: #2563EB !important;
}

.tf-step-label strong {
    font-size: .96rem !important;
    color: #1f1c25 !important;
}

.tf-step-label span:not(.tf-step-number) {
    font-size: .76rem !important;
    color: #77727e !important;
}

.tf-upload-zone {
    min-height: 112px !important;
    padding: 22px 22px !important;
    border-color: #d8d0df !important;
    border-radius: 17px !important;
    background: #fcfbfd !important;
}

.tf-upload-zone:hover,
.tf-upload-zone.dragover {
    border-color: #60A5FA !important;
    background: #faf8ff !important;
}

.tf-upload-icon-wrap {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #efe8ff !important;
    color: #2563EB !important;
    font-size: 1.05rem;
}

.tf-upload-zone strong {
    font-size: .97rem !important;
    color: #28242d;
}

.tf-upload-zone .small {
    margin-top: 3px;
    font-size: .78rem !important;
}

.tf-checkout-card .form-control,
.tf-checkout-card .form-select,
.tf-country-static {
    min-height: 56px !important;
    padding: .82rem 1rem !important;
    border: 1px solid #d8d5d1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    font-size: .92rem !important;
}

.tf-checkout-card .form-control:hover,
.tf-checkout-card .form-select:hover,
.tf-country-static:hover {
    border-color: #bbb4c7 !important;
}

.tf-checkout-card .form-control:focus,
.tf-checkout-card .form-select:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important;
}

.tf-country-static {
    gap: 10px;
}

.tf-addon-section {
    margin-top: 24px !important;
    border-color: #e4e0dc !important;
    background: #faf9f7 !important;
}

.tf-addon-toggle {
    min-height: 76px !important;
    padding: 17px 19px !important;
    background: transparent !important;
}

.tf-addon-toggle .fw-semibold {
    font-size: .94rem !important;
    color: #28242e;
}

.tf-addon-toggle .small {
    margin-top: 3px;
    font-size: .76rem !important;
}

.tf-price-summary {
    margin-top: 18px !important;
    padding: 19px 20px !important;
    background: #f8f6f2 !important;
    border: 1px solid #efebe5;
}

.tf-price-total {
    font-size: 1.08rem !important;
}

.tf-checkout-submit {
    min-height: 62px !important;
    margin-top: 16px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: #111116 !important;
    box-shadow: 0 10px 24px rgba(17,17,22,.14) !important;
    font-size: .96rem !important;
    font-weight: 720 !important;
}

.tf-checkout-submit:hover,
.tf-checkout-submit:focus {
    background: #26232c !important;
    transform: translateY(-1px);
}

.tf-checkout-assurance {
    padding-top: 2px;
    color: #77727e !important;
    font-size: .72rem !important;
}

.tf-checkout-assurance i {
    color: #67616f !important;
}

.tf-product-side-rail {
    position: relative;
    z-index: 3;
}

.tf-rail-card {
    display: flex;
    gap: 12px;
    padding: 17px 16px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 17px;
    background: rgba(255,255,255,.91);
    box-shadow: 0 12px 30px rgba(66,44,86,.08);
    backdrop-filter: blur(12px);
}

.tf-rail-card-muted {
    margin-top: 72px;
    background: rgba(255,250,248,.88);
}

.tf-rail-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #EFF6FF;
    color: #2563EB;
}

.tf-rail-card > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tf-rail-card strong {
    color: #28242e;
    font-size: .78rem;
    font-weight: 750;
}

.tf-rail-card span:not(.tf-rail-icon) {
    color: #716b78;
    font-size: .69rem;
    line-height: 1.5;
}

.tf-stage-delivery-card {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 15px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 24px rgba(66,44,86,.08);
}

.tf-stage-delivery-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #EFF6FF;
    color: #2563EB;
}

.tf-stage-delivery-card > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tf-stage-delivery-card strong {
    color: #29252f;
    font-size: .74rem;
    font-weight: 740;
}

.tf-stage-delivery-card small {
    color: #77717c;
    font-size: .65rem;
    line-height: 1.45;
}

/* Retire the old absolutely-positioned callouts. */
.tf-stage-note {
    display: none !important;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .tf-product-stage {
        padding-inline: 24px !important;
    }

    .tf-product-stage-grid {
        grid-template-columns: minmax(0, 1fr) 190px;
        gap: 16px;
    }

    .tf-product-side-rail {
        padding-top: 54px;
    }

    .tf-rail-card-muted {
        margin-top: 36px;
    }
}

@media (max-width: 991.98px) {
    .tf-product-stage-grid {
        display: block;
    }

    .tf-product-side-rail {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
        padding-top: 0;
    }

    .tf-rail-card,
    .tf-rail-card-muted {
        margin-top: 0;
    }

    .tf-stage-delivery-card {
        width: 100%;
        margin: 12px 0 0;
    }
}

@media (max-width: 767.98px) {
    .tf-product-stage {
        padding: 46px 10px 18px !important;
    }

    .tf-checkout-card {
        padding: 22px 18px !important;
    }

    .tf-product-side-rail {
        grid-template-columns: 1fr;
    }

    .tf-upload-zone {
        min-height: 98px !important;
    }

    .tf-checkout-card .form-control,
    .tf-checkout-card .form-select,
    .tf-country-static {
        min-height: 52px !important;
    }
}


/* ==========================================================
   TidyFax hero balance V4
   Keep the hero inside the same site container and let the
   fax form be the only dominant visual on the right.
   ========================================================== */
.tf-home-hero .container {
    max-width: var(--bs-breakpoint-xxl, 1320px) !important;
}

.tf-home-hero .row {
    --bs-gutter-x: clamp(2.5rem, 4vw, 4.75rem) !important;
}

.tf-home-hero .hero-copy {
    max-width: 520px !important;
}

.tf-home-hero .hero-title {
    max-width: 500px;
    font-size: clamp(3rem, 4.7vw, 5rem) !important;
    line-height: .94 !important;
    letter-spacing: -.065em !important;
}

.tf-home-hero .hero-sub {
    max-width: 470px;
    margin-top: 22px !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

.tf-home-hero .tf-hero-actions {
    margin-top: 28px !important;
}

.tf-home-hero .tf-hero-proof {
    max-width: 430px;
    margin-top: 32px !important;
    padding-top: 22px;
    border-top: 1px solid #e9e7e4;
}

.tf-home-hero .tf-hero-microcopy {
    display: none !important;
}

.tf-home-hero .tf-product-stage {
    width: 100%;
    min-height: 0 !important;
    padding: 62px 34px 28px !important;
}

.tf-product-stage-main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.tf-product-stage-main .tf-checkout-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.tf-product-side-rail,
.tf-product-stage-grid,
.tf-stage-delivery-card {
    display: none !important;
}

.tf-stage-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.tf-stage-benefit {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 9px 22px rgba(66,44,86,.06);
    backdrop-filter: blur(10px);
}

.tf-stage-benefit > i {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #EFF6FF;
    color: #2563EB;
    font-size: .76rem;
}

.tf-stage-benefit > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.tf-stage-benefit strong {
    color: #2c2732;
    font-size: .69rem;
    font-weight: 760;
    line-height: 1.25;
}

.tf-stage-benefit small {
    color: #77717d;
    font-size: .61rem;
    line-height: 1.35;
}

.tf-stage-purpose-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    max-width: 610px;
    margin: 11px auto 0;
    color: rgba(69, 57, 79, .72);
    font-size: .62rem;
    line-height: 1.4;
    text-align: center;
}

.tf-stage-purpose-note i {
    color: #2563EB;
}

@media (min-width: 1200px) {
    .tf-home-hero {
        padding-top: 74px !important;
        padding-bottom: 82px !important;
    }

    .tf-home-hero .row {
        align-items: center !important;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .tf-home-hero .hero-title {
        font-size: clamp(2.8rem, 4.4vw, 4rem) !important;
    }

    .tf-home-hero .tf-product-stage {
        padding-inline: 24px !important;
    }

    .tf-stage-benefits {
        grid-template-columns: 1fr;
    }

    .tf-stage-benefit {
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .tf-home-hero .hero-copy {
        max-width: 680px !important;
    }

    .tf-home-hero .hero-title {
        max-width: 650px;
        font-size: clamp(3rem, 9vw, 4.7rem) !important;
    }

    .tf-home-hero .tf-product-stage {
        margin-top: 8px;
    }

    .tf-stage-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .tf-home-hero .hero-title {
        font-size: clamp(2.65rem, 12vw, 3.65rem) !important;
        line-height: .98 !important;
    }

    .tf-home-hero .tf-product-stage {
        padding: 48px 10px 18px !important;
    }

    .tf-stage-benefits {
        grid-template-columns: 1fr;
    }

    .tf-stage-purpose-note {
        padding-inline: 10px;
    }
}


/* ==========================================================
   TidyFax V5 - compact above-the-fold checkout
   Three required inputs should not consume an entire viewport.
   ========================================================== */
@media (min-width: 992px) {
    .tf-home-hero {
        min-height: calc(100svh - 64px);
        padding-top: 34px !important;
        padding-bottom: 42px !important;
        display: flex;
        align-items: center;
    }

    .tf-home-hero > .container {
        width: 100%;
    }

    .tf-home-hero .row {
        align-items: center !important;
    }

    .tf-home-hero .hero-copy {
        padding-top: 0 !important;
        transform: translateY(-8px);
    }

    .tf-home-hero .hero-title {
        font-size: clamp(2.85rem, 4.25vw, 4.45rem) !important;
        line-height: .95 !important;
    }

    .tf-home-hero .hero-sub {
        margin-top: 17px !important;
        font-size: .92rem !important;
        line-height: 1.58 !important;
    }

    .tf-home-hero .tf-hero-actions {
        margin-top: 20px !important;
    }

    .tf-home-hero .tf-hero-proof {
        margin-top: 22px !important;
        padding-top: 16px !important;
    }

    .tf-home-hero .tf-product-stage {
        padding: 42px 22px 18px !important;
    }

    .tf-product-stage-main {
        max-width: 720px !important;
    }
}

.tf-checkout-card {
    padding: 20px 22px !important;
    border-radius: 21px !important;
}

.tf-checkout-heading {
    gap: 18px !important;
    padding-bottom: 14px !important;
}

.tf-checkout-kicker {
    margin-bottom: 3px !important;
    font-size: .62rem !important;
}

.tf-checkout-heading h2 {
    font-size: 1.34rem !important;
}

.tf-checkout-heading p {
    max-width: 440px !important;
    margin-top: 2px !important;
    font-size: .75rem !important;
    line-height: 1.42 !important;
}

.tf-checkout-price-chip {
    min-width: 76px !important;
    padding: 9px 11px !important;
    border-radius: 12px !important;
}

.tf-checkout-price-chip small {
    font-size: .52rem !important;
}

.tf-checkout-price-chip strong {
    font-size: .94rem !important;
}

.tf-form-step {
    padding: 14px 0 !important;
}

.tf-form-step-compact {
    height: 100%;
    border-bottom: 0 !important;
}

.tf-contact-step-row {
    border-top: 1px solid #ece9e5;
    border-bottom: 1px solid #ece9e5;
}

.tf-contact-step-row > [class*="col-"] + [class*="col-"] {
    border-left: 1px solid #ece9e5;
}

.tf-step-label {
    gap: 8px !important;
    margin-bottom: 9px !important;
}

.tf-step-number {
    width: 23px !important;
    height: 23px !important;
    flex: 0 0 23px !important;
    font-size: .62rem !important;
}

.tf-step-label strong {
    font-size: .79rem !important;
}

.tf-step-label span:not(.tf-step-number) {
    margin-top: 0 !important;
    font-size: .62rem !important;
    line-height: 1.25 !important;
}

.tf-upload-zone {
    min-height: 72px !important;
    padding: 12px 14px !important;
    border-radius: 13px !important;
}

.tf-upload-zone-inner {
    gap: 11px !important;
}

.tf-upload-icon-wrap {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 10px !important;
    font-size: .82rem !important;
}

.tf-upload-zone strong {
    font-size: .78rem !important;
}

.tf-upload-zone .small {
    font-size: .65rem !important;
}

.tf-checkout-card .form-control,
.tf-checkout-card .form-select,
.tf-country-static {
    min-height: 42px !important;
    padding: .52rem .68rem !important;
    border-radius: 11px !important;
    font-size: .75rem !important;
}

.tf-checkout-card .form-text {
    margin-top: 5px !important;
    font-size: .59rem !important;
}

.tf-addon-section {
    margin-top: 12px !important;
    border-radius: 12px !important;
}

.tf-addon-toggle {
    min-height: 48px !important;
    padding: 10px 12px !important;
}

.tf-addon-toggle .fw-semibold {
    font-size: .76rem !important;
}

.tf-addon-toggle .small {
    margin-top: 1px !important;
    font-size: .61rem !important;
}

.tf-addon-list {
    padding: 6px 8px 9px !important;
}

.tf-addon-option {
    min-height: 48px !important;
    padding: 8px 9px !important;
}

.tf-price-summary {
    margin-top: 10px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: .71rem !important;
}

.tf-price-summary > .d-flex {
    padding-bottom: 8px !important;
}

.tf-price-total {
    padding-top: 8px !important;
    font-size: .82rem !important;
}

.tf-checkout-submit {
    min-height: 46px !important;
    margin-top: 10px !important;
    border-radius: 11px !important;
    font-size: .77rem !important;
}

.tf-checkout-assurance {
    gap: 7px 16px !important;
    margin-top: 8px !important;
    font-size: .56rem !important;
}

.tf-stage-benefits {
    gap: 7px !important;
    margin-top: 8px !important;
}

.tf-stage-benefit {
    gap: 7px !important;
    padding: 8px 9px !important;
    border-radius: 11px !important;
}

.tf-stage-benefit > i {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    font-size: .62rem !important;
}

.tf-stage-benefit strong {
    font-size: .59rem !important;
}

.tf-stage-benefit small {
    font-size: .52rem !important;
}

.tf-stage-purpose-note {
    margin-top: 6px !important;
    font-size: .52rem !important;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .tf-home-hero .hero-title {
        font-size: clamp(2.65rem, 4vw, 3.55rem) !important;
    }

    .tf-contact-step-row > [class*="col-"] + [class*="col-"] {
        border-left: 0;
    }
}

@media (max-width: 991.98px) {
    .tf-contact-step-row {
        border-top: 0;
        border-bottom: 0;
    }

    .tf-contact-step-row > [class*="col-"] + [class*="col-"] {
        border-left: 0;
    }

    .tf-form-step-compact {
        border-bottom: 1px solid #ece9e5 !important;
    }
}

@media (max-width: 767.98px) {
    .tf-checkout-card {
        padding: 18px 16px !important;
    }

    .tf-form-step {
        padding: 14px 0 !important;
    }

    .tf-upload-zone {
        min-height: 72px !important;
    }

    .tf-checkout-card .form-control,
    .tf-checkout-card .form-select,
    .tf-country-static {
        min-height: 46px !important;
        font-size: .8rem !important;
    }
}


/* ==========================================================
   TidyFax V6 - approved form system
   Final sizing based on the approved compact hero mockup.
   ========================================================== */

/* Price badge */
.tf-checkout-price-chip {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 112px !important;
    min-height: 54px;
    padding: 9px 11px 9px 14px !important;
}

.tf-price-chip-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.tf-price-chip-copy small {
    margin-bottom: 5px;
    color: #8b8690;
    font-size: .55rem !important;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.tf-price-chip-copy strong {
    color: #17141a;
    font-size: 1rem !important;
    font-weight: 800;
}

.tf-price-chip-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border-left: 1px solid #e4dfd8;
    color: #5c5662;
    font-size: .92rem;
}

/* Step 2: country must not feel cramped. */
.tf-contact-step-row .tf-country-static {
    min-width: 0;
}

.tf-contact-step-row .tf-country-static > div {
    min-width: 0;
}

.tf-contact-step-row .tf-country-static > div > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Bottom service cards need to be genuinely readable. */
.tf-stage-benefits {
    gap: 9px !important;
}

.tf-stage-benefit {
    min-height: 56px;
    padding: 10px 11px !important;
}

.tf-stage-benefit > i {
    width: 29px !important;
    height: 29px !important;
    flex: 0 0 29px !important;
    font-size: .72rem !important;
}

.tf-stage-benefit strong {
    font-size: .69rem !important;
    line-height: 1.25 !important;
}

.tf-stage-benefit small {
    margin-top: 2px;
    font-size: .60rem !important;
    line-height: 1.35 !important;
}

/* Legal/use-case notice: supporting text, not microscopic disclaimer. */
.tf-stage-purpose-note {
    max-width: 650px !important;
    margin-top: 9px !important;
    padding: 2px 8px 0;
    color: rgba(65, 56, 70, .78) !important;
    font-size: .63rem !important;
    line-height: 1.45 !important;
}

.tf-stage-purpose-note i {
    flex: 0 0 auto;
    font-size: .68rem;
}

/* Shared form visual language for tracking/retry and directory forms. */
.tf-action-form .form-label {
    margin-bottom: 7px;
    color: #29252e;
    font-size: .78rem;
    font-weight: 700;
}

.tf-action-form .form-control,
.tf-directory-search .form-control,
.tf-directory-search .form-select {
    min-height: 46px;
    border: 1px solid #d9d5d1;
    border-radius: 12px;
    background: #fff;
    color: #27232b;
    font-size: .82rem;
}

.tf-action-form .form-control:focus,
.tf-directory-search .form-control:focus,
.tf-directory-search .form-select:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.tf-action-form .form-text {
    color: #77717d;
    font-size: .68rem;
    line-height: 1.45;
}

.tf-action-form .btn {
    min-height: 44px;
    border-radius: 11px;
    font-size: .78rem;
    font-weight: 700;
}

/* The fax tracking cards should visually belong to the same product. */
.tf-track-card {
    border-radius: 18px !important;
}

.tf-track-card .btn-primary {
    background: #111116 !important;
    border-color: #111116 !important;
    box-shadow: none !important;
}

.tf-track-card .btn-primary:hover,
.tf-track-card .btn-primary:focus {
    background: #29262e !important;
    border-color: #29262e !important;
}

/* Desktop approved proportions. */
@media (min-width: 1200px) {
    .tf-contact-step-row > .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .tf-contact-step-row > .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
}

/*
  Medium-width desktop/tablet:
  keep steps 2 and 3 beside each other while there is enough real space,
  but give the country selector a larger share of its row.
*/
@media (min-width: 768px) and (max-width: 1199.98px) {
    .tf-contact-step-row {
        --bs-gutter-x: 1rem;
    }

    .tf-contact-step-row > .col-lg-7,
    .tf-contact-step-row > .col-lg-5 {
        flex: 0 0 auto;
        width: 50%;
    }

    .tf-contact-step-row > [class*="col-"] + [class*="col-"] {
        border-left: 1px solid #ece9e5 !important;
    }

    .tf-contact-step-row .row > .col-sm-5 {
        flex: 0 0 auto;
        width: 46%;
    }

    .tf-contact-step-row .row > .col-sm-7 {
        flex: 0 0 auto;
        width: 54%;
    }

    .tf-stage-benefit strong {
        font-size: .66rem !important;
    }

    .tf-stage-benefit small {
        font-size: .57rem !important;
    }
}

@media (max-width: 767.98px) {
    /* Required inputs stack cleanly on phones. */
    .tf-contact-step-row > .col-lg-7,
    .tf-contact-step-row > .col-lg-5 {
        width: 100%;
    }

    .tf-contact-step-row > [class*="col-"] + [class*="col-"] {
        border-left: 0 !important;
    }

    .tf-contact-step-row .row > .col-sm-5,
    .tf-contact-step-row .row > .col-sm-7 {
        width: 100%;
    }

    .tf-contact-step-row .row {
        row-gap: 8px;
    }

    .tf-country-static {
        width: 100%;
    }

    .tf-stage-benefits {
        grid-template-columns: 1fr !important;
    }

    .tf-stage-benefit {
        min-height: 52px;
        align-items: center;
    }

    .tf-stage-benefit strong {
        font-size: .76rem !important;
    }

    .tf-stage-benefit small {
        font-size: .66rem !important;
    }

    .tf-stage-purpose-note {
        max-width: 460px !important;
        font-size: .68rem !important;
    }

    .tf-checkout-price-chip {
        min-width: 104px !important;
    }
}

@media (max-width: 420px) {
    .tf-checkout-heading {
        gap: 10px !important;
    }

    .tf-checkout-price-chip {
        min-width: 94px !important;
        padding-left: 10px !important;
        gap: 8px;
    }

    .tf-price-chip-icon {
        width: 26px;
        flex-basis: 26px;
    }
}


/* ==========================================================
   TidyFax V7 - approved mockup hero structure
   One unified gradient hero shell containing BOTH marketing
   copy and checkout. This intentionally overrides V4-V6 hero
   layout rules.
   ========================================================== */

.tf-home-hero {
    min-height: 0 !important;
    padding: 22px 0 44px !important;
    background: #fff !important;
    overflow: hidden;
}

.tf-home-hero .container {
    width: 100%;
    max-width: 1380px !important;
}

.tf-hero-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: clamp(28px, 3.5vw, 52px);
    border: 1px solid rgba(37, 99, 235, .11);
    border-radius: 32px;
    background:
        radial-gradient(circle at 8% 16%, rgba(255,255,255,.72), transparent 26%),
        radial-gradient(circle at 78% 2%, rgba(255,255,255,.42), transparent 24%),
        linear-gradient(122deg, #EFF6FF 0%, #EFF6FF 34%, #f5e7ef 67%, #fff1cf 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.74),
        0 22px 60px rgba(63, 43, 92, .055);
}

.tf-hero-shell-row {
    position: relative;
    z-index: 2;
    --bs-gutter-x: clamp(2.25rem, 4vw, 4.5rem);
}

.tf-home-hero .hero-copy {
    max-width: 470px !important;
    margin: 0;
    padding: 0 !important;
    transform: none !important;
}

.tf-home-hero .hero-badge {
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px solid rgba(37, 99, 235, .18);
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    box-shadow: 0 7px 20px rgba(72, 48, 103, .05);
    backdrop-filter: blur(9px);
    color: #554d5c;
    font-size: .75rem;
    font-weight: 650;
}

.tf-home-hero .hero-title {
    max-width: 440px !important;
    margin: 0 !important;
    color: #111116;
    font-size: clamp(3.15rem, 4.55vw, 4.7rem) !important;
    font-weight: 830 !important;
    line-height: .96 !important;
    letter-spacing: -.064em !important;
}

.tf-home-hero .hero-sub {
    max-width: 430px !important;
    margin: 24px 0 0 !important;
    color: #625d67;
    font-size: .98rem !important;
    line-height: 1.68 !important;
}

.tf-home-hero .tf-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 27px !important;
}

.tf-home-hero .tf-hero-primary {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: #111116;
    color: #fff;
    box-shadow: 0 10px 22px rgba(17,17,22,.14);
    font-size: .82rem;
    font-weight: 720;
}

.tf-home-hero .tf-hero-primary:hover {
    background: #29262e;
    color: #fff;
}

.tf-home-hero .tf-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #302c34;
    font-size: .8rem;
    font-weight: 650;
    text-decoration: none;
}

.tf-home-hero .tf-hero-secondary:hover {
    color: #2563EB;
}

.tf-home-hero .tf-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 420px !important;
    margin-top: 31px !important;
    padding: 20px 0 0 !important;
    border-top: 1px solid rgba(72, 64, 79, .13) !important;
}

.tf-home-hero .tf-hero-proof > div {
    min-width: 0;
    padding: 0 18px;
    border-right: 1px solid rgba(72, 64, 79, .13);
}

.tf-home-hero .tf-hero-proof > div:first-child {
    padding-left: 0;
}

.tf-home-hero .tf-hero-proof > div:last-child {
    border-right: 0;
    padding-right: 0;
}

.tf-proof-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: .72rem;
}

.tf-proof-icon-purple {
    background: #EFF6FF;
    color: #2563EB;
}

.tf-proof-icon-green {
    background: #e8f8ed;
    color: #159447;
}

.tf-proof-icon-coral {
    background: #fff0ea;
    color: #eb6548;
}

.tf-home-hero .tf-hero-proof strong {
    display: block;
    color: #17141a;
    font-size: .92rem;
    font-weight: 800;
}

.tf-home-hero .tf-hero-proof > div > span:last-child {
    display: block;
    margin-top: 3px;
    color: #78727c;
    font-size: .62rem;
}

/* Right product area no longer owns a separate gradient container. */
.tf-home-hero .tf-product-stage {
    width: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.tf-home-hero .tf-product-stage::before,
.tf-home-hero .tf-product-stage::after {
    display: none !important;
}

.tf-home-hero .tf-stage-label {
    position: static !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px 10px;
    color: #574f5e;
    font-size: .62rem;
    font-weight: 650;
}

.tf-home-hero .tf-product-stage-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Compact white product surface closer to approved mockup. */
.tf-home-hero .tf-checkout-card {
    width: 100% !important;
    max-width: none !important;
    padding: 20px 24px !important;
    border: 1px solid rgba(255,255,255,.92) !important;
    border-radius: 23px !important;
    background: rgba(255,255,255,.965) !important;
    box-shadow:
        0 24px 56px rgba(65, 44, 83, .105),
        0 2px 10px rgba(65, 44, 83, .045) !important;
}

/* Make the required form visibly compact in the unified hero. */
.tf-home-hero .tf-checkout-heading {
    padding-bottom: 12px !important;
}

.tf-home-hero .tf-form-step {
    padding: 12px 0 !important;
}

.tf-home-hero .tf-upload-zone {
    min-height: 66px !important;
}

.tf-home-hero .tf-contact-step-row {
    margin-top: 0;
}

.tf-home-hero .tf-addon-section {
    margin-top: 9px !important;
}

.tf-home-hero .tf-addon-toggle {
    min-height: 45px !important;
}

.tf-home-hero .tf-price-summary {
    margin-top: 8px !important;
}

.tf-home-hero .tf-checkout-submit {
    min-height: 44px !important;
    margin-top: 8px !important;
}

.tf-home-hero .tf-checkout-assurance {
    margin-top: 7px !important;
}

/* Cards under the form match approved mockup and are readable. */
.tf-home-hero .tf-stage-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-top: 12px !important;
}

.tf-home-hero .tf-stage-benefit {
    min-height: 62px;
    padding: 11px 12px !important;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 14px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 8px 20px rgba(68,45,86,.05);
}

.tf-home-hero .tf-stage-benefit strong {
    font-size: .71rem !important;
}

.tf-home-hero .tf-stage-benefit small {
    font-size: .61rem !important;
}

.tf-home-hero .tf-stage-purpose-note {
    max-width: 100% !important;
    margin: 10px auto 0 !important;
    color: #655e69 !important;
    font-size: .64rem !important;
}

/* Decorative orbs belong to the unified shell. */
.tf-hero-shell > .tf-stage-orb {
    display: block !important;
    position: absolute !important;
    pointer-events: none;
    opacity: .7;
}

.tf-hero-shell > .tf-stage-orb-one {
    width: 94px !important;
    height: 94px !important;
    right: -24px !important;
    top: 28px !important;
    left: auto !important;
    bottom: auto !important;
    background: #b8f0df !important;
}

.tf-hero-shell > .tf-stage-orb-two {
    width: 220px !important;
    height: 220px !important;
    right: -75px !important;
    bottom: -105px !important;
    left: auto !important;
    top: auto !important;
    background: #ffe0a5 !important;
}

/* Tablet: copy first, form second, still one unified panel. */
@media (max-width: 991.98px) {
    .tf-home-hero {
        padding-top: 14px !important;
    }

    .tf-hero-shell {
        padding: 34px 28px 28px;
    }

    .tf-home-hero .hero-copy {
        max-width: 650px !important;
        margin-bottom: 34px;
    }

    .tf-home-hero .hero-title {
        max-width: 620px !important;
        font-size: clamp(3rem, 8vw, 4.35rem) !important;
    }

    .tf-home-hero .hero-sub {
        max-width: 590px !important;
    }

    .tf-home-hero .tf-hero-proof {
        max-width: 520px !important;
    }

    .tf-home-hero .tf-stage-label {
        margin-left: 0;
    }
}

/* Phone: no horizontal pressure and no tiny labels. */
@media (max-width: 767.98px) {
    .tf-home-hero {
        padding: 8px 0 26px !important;
    }

    .tf-home-hero .container {
        padding-inline: 12px;
    }

    .tf-hero-shell {
        padding: 24px 14px 18px;
        border-radius: 24px;
    }

    .tf-home-hero .hero-copy {
        margin-bottom: 28px;
        padding-inline: 4px !important;
    }

    .tf-home-hero .hero-badge {
        margin-bottom: 17px;
        font-size: .7rem;
    }

    .tf-home-hero .hero-title {
        max-width: 100% !important;
        font-size: clamp(2.75rem, 13vw, 3.65rem) !important;
        line-height: .98 !important;
    }

    .tf-home-hero .hero-sub {
        margin-top: 18px !important;
        font-size: .9rem !important;
    }

    .tf-home-hero .tf-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 22px !important;
    }

    .tf-home-hero .tf-hero-primary {
        width: 100%;
        justify-content: center;
    }

    .tf-home-hero .tf-hero-secondary {
        justify-content: center;
    }

    .tf-home-hero .tf-hero-proof {
        max-width: 100% !important;
        margin-top: 24px !important;
    }

    .tf-home-hero .tf-hero-proof > div {
        padding-inline: 10px;
    }

    .tf-home-hero .tf-checkout-card {
        padding: 18px 15px !important;
        border-radius: 18px !important;
    }

    .tf-home-hero .tf-stage-benefits {
        grid-template-columns: 1fr !important;
    }

    .tf-home-hero .tf-stage-benefit strong {
        font-size: .76rem !important;
    }

    .tf-home-hero .tf-stage-benefit small {
        font-size: .66rem !important;
    }

    .tf-home-hero .tf-stage-purpose-note {
        font-size: .68rem !important;
        line-height: 1.45;
    }
}


/* TidyFax V8 - obsolete floating hero label removed */
.tf-home-hero .tf-stage-label {
    display: none !important;
}


/* ==========================================================
   TidyFax V9 - destination row spacing correction
   Step 2 needs a usable country selector and a tighter phone
   input without wasting width on Bootstrap gutters.
   ========================================================== */

/* Give destination more room than email on desktop. */
@media (min-width: 992px) {
    .tf-contact-step-row > .col-lg-7 {
        flex: 0 0 62% !important;
        width: 62% !important;
    }

    .tf-contact-step-row > .col-lg-5 {
        flex: 0 0 38% !important;
        width: 38% !important;
    }

    /* Tighten the separation between Step 2 and Step 3. */
    .tf-contact-step-row {
        --bs-gutter-x: .7rem !important;
    }

    .tf-contact-step-row > [class*="col-"] + [class*="col-"] {
        border-left: 1px solid #ece9e5 !important;
        padding-left: 14px !important;
    }

    .tf-contact-step-row > [class*="col-"]:first-child {
        padding-right: 14px !important;
    }

    /* Stop Bootstrap's 5/7 split from making the country box too narrow. */
    .tf-contact-step-row .tf-form-step .row {
        --bs-gutter-x: .55rem !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
    }

    .tf-contact-step-row .tf-form-step .row > .col-sm-5 {
        flex: 0 0 164px !important;
        width: 164px !important;
        max-width: 164px !important;
    }

    .tf-contact-step-row .tf-form-step .row > .col-sm-7 {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
    }

    .tf-contact-step-row #faxNumber {
        width: 100%;
        min-width: 0;
    }

    .tf-contact-step-row .tf-country-static {
        width: 100%;
        min-width: 164px;
        padding-left: .7rem !important;
        padding-right: .65rem !important;
    }

    .tf-contact-step-row .tf-country-static > div {
        gap: .45rem !important;
    }

    .tf-contact-step-row .tf-country-static > div > span:last-child {
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap;
        font-size: .71rem;
    }
}

/* Mid-size screens: still side-by-side, but use a slightly smaller fixed selector. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .tf-contact-step-row > .col-lg-7,
    .tf-contact-step-row > .col-lg-5 {
        width: 100% !important;
    }

    .tf-contact-step-row > [class*="col-"] + [class*="col-"] {
        border-left: 0 !important;
        padding-left: calc(var(--bs-gutter-x) * .5) !important;
    }

    .tf-contact-step-row .tf-form-step .row {
        --bs-gutter-x: .6rem !important;
        flex-wrap: nowrap;
    }

    .tf-contact-step-row .tf-form-step .row > .col-sm-5 {
        flex: 0 0 176px !important;
        width: 176px !important;
        max-width: 176px !important;
    }

    .tf-contact-step-row .tf-form-step .row > .col-sm-7 {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
    }
}

/* Phones: stack country and fax number cleanly. */
@media (max-width: 767.98px) {
    .tf-contact-step-row .tf-form-step .row {
        flex-wrap: wrap !important;
        --bs-gutter-x: 0 !important;
        row-gap: 8px;
    }

    .tf-contact-step-row .tf-form-step .row > .col-sm-5,
    .tf-contact-step-row .tf-form-step .row > .col-sm-7 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tf-contact-step-row .tf-country-static {
        min-width: 0;
    }

    .tf-contact-step-row .tf-country-static > div > span:last-child {
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap;
    }
}


/* ==========================================================
   TidyFax V10 - official logo palette
   Brand:
     Blue  #2563EB
     Teal  #14B8A6
     Navy  #0F172A
   ========================================================== */
:root {
    --tf-brand-blue: #2563EB;
    --tf-brand-blue-hover: #1D4ED8;
    --tf-brand-blue-dark: #1E40AF;
    --tf-brand-teal: #14B8A6;
    --tf-brand-teal-dark: #0F766E;
    --tf-brand-navy: #0F172A;
    --tf-brand-slate: #475569;
    --tf-brand-muted: #64748B;
    --tf-brand-blue-soft: #EFF6FF;
    --tf-brand-teal-soft: #ECFDF5;
    --tf-brand-border: #DCE5F2;
}

/* Real logo mark in site chrome. */
.tf-brand {
    gap: 9px !important;
}

.tf-brand-logo {
    width: 31px;
    height: 29px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.tf-brand-word {
    color: var(--tf-brand-navy) !important;
    font-weight: 800 !important;
    letter-spacing: -.035em;
}

.site-footer .tf-brand-word {
    color: #fff !important;
}

.site-footer .tf-brand-logo {
    filter: none;
}

/* Primary brand actions. */
.tf-nav-cta,
.tf-home-hero .tf-hero-primary,
.tf-checkout-submit,
.tf-track-card .btn-primary {
    background: var(--tf-brand-navy) !important;
    border-color: var(--tf-brand-navy) !important;
    color: #fff !important;
}

.tf-nav-cta:hover,
.tf-home-hero .tf-hero-primary:hover,
.tf-checkout-submit:hover,
.tf-track-card .btn-primary:hover {
    background: #1E293B !important;
    border-color: #1E293B !important;
}

/* Unified hero now reflects the actual logo rather than purple. */
.tf-hero-shell {
    border-color: rgba(37,99,235,.13) !important;
    background:
        radial-gradient(circle at 9% 16%, rgba(255,255,255,.92), transparent 25%),
        radial-gradient(circle at 78% 0%, rgba(255,255,255,.60), transparent 24%),
        linear-gradient(122deg,
            #F8FBFF 0%,
            #EEF4FF 34%,
            #ECFBF7 72%,
            #FFF9ED 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 22px 60px rgba(15,23,42,.055) !important;
}

.tf-home-hero .hero-title,
.tf-checkout-heading h2,
.tf-step-label strong,
.tf-price-total,
.tf-fax-number,
.tf-directory-card h2,
.tf-directory-card h3 {
    color: var(--tf-brand-navy) !important;
}

.tf-home-hero .hero-sub,
.tf-step-label span:not(.tf-step-number),
.tf-checkout-heading p,
.tf-stage-purpose-note {
    color: var(--tf-brand-muted) !important;
}

.tf-home-hero .hero-badge {
    border-color: rgba(37,99,235,.16) !important;
    background: rgba(255,255,255,.76) !important;
    color: #334155 !important;
}

.tf-live-dot {
    background: var(--tf-brand-teal) !important;
    box-shadow: 0 0 0 4px rgba(20,184,166,.10);
}

/* Brand icon language. */
.tf-step-number,
.tf-upload-icon-wrap,
.tf-stage-benefit > i,
.tf-resource-icon,
.tf-guide-card-icon,
.tf-use-icon,
.tf-step-card-icon,
.tf-directory-card-icon {
    background: var(--tf-brand-blue-soft) !important;
    color: var(--tf-brand-blue) !important;
}

.tf-proof-icon-purple {
    background: var(--tf-brand-blue-soft) !important;
    color: var(--tf-brand-blue) !important;
}

.tf-proof-icon-green {
    background: var(--tf-brand-teal-soft) !important;
    color: var(--tf-brand-teal-dark) !important;
}

.tf-proof-icon-coral {
    background: #EFF6FF !important;
    color: var(--tf-brand-blue-dark) !important;
}

.section-eyebrow,
.tf-eyebrow,
.tf-card-link,
.tf-directory-search + a {
    color: var(--tf-brand-blue) !important;
}

/* Interactive/focus state uses the official blue. */
.tf-checkout-card .form-control:focus,
.tf-checkout-card .form-select:focus,
.tf-action-form .form-control:focus,
.tf-directory-search .form-control:focus,
.tf-directory-search .form-select:focus {
    border-color: var(--tf-brand-blue) !important;
    box-shadow: 0 0 0 4px rgba(37,99,235,.11) !important;
}

.tf-upload-zone:hover,
.tf-upload-zone.dragover {
    border-color: #93B4FF !important;
    background: #F7FAFF !important;
}

.tf-addon-section,
.tf-price-summary {
    border-color: #E1E8F2 !important;
}

.tf-stage-benefit {
    border-color: rgba(37,99,235,.10) !important;
    background: rgba(255,255,255,.88) !important;
}

.tf-stage-benefit strong {
    color: var(--tf-brand-navy) !important;
}

.tf-stage-benefit small {
    color: var(--tf-brand-muted) !important;
}

/* The teal from the logo is reserved for positive/reassurance cues. */
.tf-checkout-kicker .tf-live-dot,
.tf-verified-pill {
    color: var(--tf-brand-teal-dark) !important;
}

.tf-verified-pill {
    background: var(--tf-brand-teal-soft) !important;
}

/* Decorative hero accents use blue + teal. */
.tf-hero-shell > .tf-stage-orb-one {
    background: #9FE7DE !important;
    opacity: .68 !important;
}

.tf-hero-shell > .tf-stage-orb-two {
    background: #BFD4FF !important;
    opacity: .50 !important;
}

/* Header/link accents. */
.tf-site-header .nav-link:hover,
.tf-nav-track:hover,
.tf-home-hero .tf-hero-secondary:hover,
.tf-breadcrumbs a:hover {
    color: var(--tf-brand-blue) !important;
}

/* Footer stays navy: strongest expression of the logo's dark field. */
.site-footer {
    background: var(--tf-brand-navy) !important;
}

/* ==========================================================
   V10 Step 2 spacing refinement
   Small real gap, no giant Bootstrap gutter, readable country.
   ========================================================== */
@media (min-width: 992px) {
    .tf-contact-step-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1.68fr) minmax(245px, 1fr);
        column-gap: 18px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .tf-contact-step-row > .col-lg-7,
    .tf-contact-step-row > .col-lg-5 {
        width: auto !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tf-contact-step-row > .col-lg-5 {
        padding-left: 18px !important;
        border-left: 1px solid #E2E8F0 !important;
    }

    .tf-contact-step-row .tf-form-step .row {
        display: grid !important;
        grid-template-columns: 172px minmax(0, 1fr);
        column-gap: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .tf-contact-step-row .tf-form-step .row > .col-sm-5,
    .tf-contact-step-row .tf-form-step .row > .col-sm-7 {
        width: auto !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tf-contact-step-row .tf-country-static {
        width: 172px !important;
        min-width: 172px !important;
    }

    .tf-contact-step-row #faxNumber {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .tf-contact-step-row .tf-form-step .row {
        display: grid !important;
        grid-template-columns: 180px minmax(0, 1fr);
        column-gap: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .tf-contact-step-row .tf-form-step .row > .col-sm-5,
    .tf-contact-step-row .tf-form-step .row > .col-sm-7 {
        width: auto !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .tf-contact-step-row .tf-form-step .row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}


/* ==========================================================
   TidyFax V11 - full-site official brand enforcement
   No legacy purple in TidyFax-owned public UI.
   ========================================================== */
:root {
    --tf-primary: #2563EB !important;
    --tf-primary-hover: #1D4ED8 !important;
    --tf-primary-soft: #EFF6FF !important;
    --tf-ink: #0F172A !important;
    --tf-text: #334155 !important;
    --tf-muted: #64748B !important;
    --tf-success: #0F766E !important;
}

/* Links, labels, arrows, pagination and active accents. */
a:not(.btn):not(.tf-brand):not(.tf-resource-card):not(.tf-guide-card):not(.tf-directory-card) {
    text-decoration-color: rgba(37,99,235,.26);
}

.tf-card-link,
.section-eyebrow,
.tf-eyebrow,
.tf-breadcrumbs a:hover,
.tf-nav-track:hover,
.tf-site-header .nav-link:hover,
.pagination .page-link {
    color: #2563EB !important;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(37,99,235,.12) !important;
}

/* Brand cards and badges. */
.tf-step-number,
.tf-step-card-icon,
.tf-use-icon,
.tf-resource-icon,
.tf-guide-card-icon,
.tf-directory-card-icon,
.tf-upload-icon-wrap,
.tf-stage-benefit > i {
    background: #EFF6FF !important;
    color: #2563EB !important;
}

.tf-verified-pill {
    background: #ECFDF5 !important;
    color: #0F766E !important;
}

.tf-review-pill {
    background: #FFF7ED !important;
    color: #9A3412 !important;
}

/* Tables and comparison emphasis. */
.tf-comparison-table .tf-highlight-column {
    background: #EFF6FF !important;
    color: #1E40AF !important;
}

.tf-comparison-table .tf-highlight-column i {
    color: #0F766E !important;
}

/* FAQ selected/open state. */
.tf-faq .accordion-button:not(.collapsed) {
    color: #1E40AF !important;
    background: #F8FAFC !important;
}

/* Security section uses official navy/teal/blue. */
.tf-security-section {
    background: linear-gradient(135deg, #0F172A, #172554) !important;
}
.tf-security-icon {
    background: rgba(37,99,235,.22) !important;
    color: #DBEAFE !important;
}

/* Directory/product focus states. */
.tf-directory-card:hover,
.tf-resource-card:hover,
.tf-guide-card:hover {
    border-color: #BFDBFE !important;
}

.tf-related-fax-list a:hover {
    border-color: #BFDBFE !important;
}

/* Result/status icons. */
.tf-result-icon.is-success {
    background: #ECFDF5 !important;
    color: #0F766E !important;
}

/* Footer/nav real logo sizing. */
.footer-brand-link .tf-brand-logo {
    width: 34px;
    height: 32px;
}

/* Any legacy hand-built brand icon is retired. */
.tf-brand-mark,
.tf-brand-mark-sheet,
.tf-brand-mark-line {
    display: none !important;
}


/* ==========================================================
   TidyFax V12 - global icon / badge contrast system
   Official palette, stronger contrast on light surfaces.
   ========================================================== */
:root {
    --tf-badge-blue-bg: #DBEAFE;
    --tf-badge-blue-border: #93C5FD;
    --tf-badge-blue-icon: #1D4ED8;

    --tf-badge-teal-bg: #CCFBF1;
    --tf-badge-teal-border: #5EEAD4;
    --tf-badge-teal-icon: #0F766E;

    --tf-badge-navy-bg: #E2E8F0;
    --tf-badge-navy-border: #CBD5E1;
    --tf-badge-navy-icon: #0F172A;

    --tf-badge-warn-bg: #FFEDD5;
    --tf-badge-warn-border: #FDBA74;
    --tf-badge-warn-icon: #C2410C;

    --tf-badge-danger-bg: #FEE2E2;
    --tf-badge-danger-border: #FCA5A5;
    --tf-badge-danger-icon: #B91C1C;
}

/* Base treatment for all circular/square icon badges used across the public site. */
.tf-proof-icon,
.tf-step-number,
.tf-step-card-icon,
.tf-use-icon,
.tf-resource-icon,
.tf-guide-card-icon,
.tf-directory-card-icon,
.tf-upload-icon-wrap,
.tf-stage-benefit > i,
.tf-rail-icon,
.tf-stage-delivery-icon,
.tf-security-icon,
.tf-result-icon {
    border-width: 1px !important;
    border-style: solid !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

/* Default functional blue. */
.tf-step-number,
.tf-step-card-icon,
.tf-use-icon,
.tf-resource-icon,
.tf-guide-card-icon,
.tf-directory-card-icon,
.tf-upload-icon-wrap,
.tf-stage-benefit > i,
.tf-rail-icon,
.tf-stage-delivery-icon,
.tf-proof-icon-purple {
    background: var(--tf-badge-blue-bg) !important;
    border-color: var(--tf-badge-blue-border) !important;
    color: var(--tf-badge-blue-icon) !important;
}

/* Positive / success teal. */
.tf-proof-icon-green,
.tf-verified-pill,
.tf-result-icon.is-success {
    background: var(--tf-badge-teal-bg) !important;
    border-color: var(--tf-badge-teal-border) !important;
    color: var(--tf-badge-teal-icon) !important;
}

/* Neutral/navy accents for dark or non-status informational marks. */
.tf-proof-icon-coral,
.tf-result-icon:not(.is-success):not(.is-warning):not(.is-danger) {
    background: var(--tf-badge-navy-bg) !important;
    border-color: var(--tf-badge-navy-border) !important;
    color: var(--tf-badge-navy-icon) !important;
}

/* Warning state. */
.tf-review-pill,
.tf-result-icon.is-warning {
    background: var(--tf-badge-warn-bg) !important;
    border-color: var(--tf-badge-warn-border) !important;
    color: var(--tf-badge-warn-icon) !important;
}

/* Error/failure state where used. */
.tf-result-icon.is-danger,
.tf-status-danger,
.tf-error-badge {
    background: var(--tf-badge-danger-bg) !important;
    border-color: var(--tf-badge-danger-border) !important;
    color: var(--tf-badge-danger-icon) !important;
}

/* Hero proof icons specifically need stronger presence against the pale hero shell. */
.tf-home-hero .tf-proof-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    font-size: .78rem !important;
}

/* Small numbered steps stay readable without becoming visually heavy. */
.tf-step-number {
    font-weight: 800 !important;
}

/* Inline pills need text contrast as well as icon contrast. */
.tf-verified-pill,
.tf-review-pill {
    border: 1px solid currentColor !important;
    font-weight: 750 !important;
}

/* Dark security surface: keep badges visible without losing contrast. */
.tf-security-section .tf-security-icon {
    background: #1E3A8A !important;
    border-color: #3B82F6 !important;
    color: #DBEAFE !important;
}

/* Footer or dark surfaces: invert light badge treatments where needed. */
.site-footer .tf-resource-icon,
.site-footer .tf-guide-card-icon,
.site-footer .tf-use-icon {
    background: rgba(37,99,235,.18) !important;
    border-color: rgba(96,165,250,.45) !important;
    color: #BFDBFE !important;
}


/* ==========================================================
   TidyFax V13 - modern lower-homepage composition
   ========================================================== */

/* --- 3 step process: compact connected workflow, not generic cards --- */
.tf-process-section {
    background: #F8FAFC;
    border-top: 1px solid #E8EEF6;
    border-bottom: 1px solid #E8EEF6;
    padding: clamp(64px, 7vw, 96px) 0 !important;
}
.tf-process-heading { margin-bottom: 42px !important; }
.tf-process-heading h2 { max-width: 760px; margin-inline: auto; }
.tf-process-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #DCE5F2;
    border-radius: 26px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15,23,42,.055);
}
.tf-process-flow::before {
    content: "";
    position: absolute;
    left: 16.66%;
    right: 16.66%;
    top: 61px;
    height: 1px;
    background: linear-gradient(90deg,#93C5FD,#5EEAD4,#93C5FD);
    z-index: 0;
}
.tf-process-item {
    position: relative;
    z-index: 1;
    padding: 34px 34px 36px;
    min-height: 238px;
}
.tf-process-item + .tf-process-item { border-left: 1px solid #E2E8F0; }
.tf-process-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.tf-process-number {
    font-size: .74rem;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .12em;
    color: #64748B;
    background: #fff;
    padding-right: 12px;
}
.tf-process-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #fff;
    background: #2563EB;
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px #93C5FD, 0 10px 24px rgba(37,99,235,.18);
    font-size: 1.08rem;
}
.tf-process-item:nth-child(2) .tf-process-icon {
    background: #0F766E;
    box-shadow: 0 0 0 1px #5EEAD4, 0 10px 24px rgba(15,118,110,.16);
}
.tf-process-copy h3 {
    color: #0F172A;
    font-size: 1.14rem;
    font-weight: 800;
    margin-bottom: 9px;
}
.tf-process-copy p {
    color: #64748B;
    line-height: 1.65;
    margin: 0;
}
.tf-process-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 20px;
    color: #64748B;
    font-size: .78rem;
    font-weight: 650;
}
.tf-process-footer span { display:flex; align-items:center; gap:7px; }
.tf-process-footer i { color:#0F766E; }

/* --- Comparison: editorial intro + product decision table --- */
.tf-compare-section {
    background: #fff;
    padding: clamp(76px, 8vw, 116px) 0 !important;
}
.tf-compare-layout {
    display: grid;
    grid-template-columns: minmax(260px,.72fr) minmax(650px,1.65fr);
    gap: clamp(40px,5vw,78px);
    align-items: center;
}
.tf-compare-intro h2 {
    color:#0F172A;
    font-size: clamp(2.15rem,3.5vw,3.55rem);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 850;
    margin: 12px 0 20px;
}
.tf-compare-intro > p {
    color:#64748B;
    font-size:1.02rem;
    line-height:1.7;
    max-width:440px;
}
.tf-compare-callout {
    margin-top:30px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px;
    border:1px solid #BFDBFE;
    background:#F8FBFF;
    border-radius:16px;
}
.tf-compare-callout-icon {
    width:42px;height:42px;flex:0 0 42px;
    display:grid;place-items:center;
    border-radius:12px;
    background:#DBEAFE;color:#1D4ED8;
    border:1px solid #93C5FD;
}
.tf-compare-callout strong { display:block;color:#0F172A;font-size:.9rem; }
.tf-compare-callout span:not(.tf-compare-callout-icon) { display:block;color:#64748B;font-size:.76rem;margin-top:2px; }
.tf-compare-section .tf-comparison-card {
    border:1px solid #DCE5F2 !important;
    border-radius:22px !important;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(15,23,42,.055);
}
.tf-compare-section .tf-comparison-table th {
    background:#F8FAFC;
    color:#475569;
    font-size:.72rem;
    letter-spacing:.06em;
    text-transform:uppercase;
    padding:17px 18px;
}
.tf-compare-section .tf-comparison-table td {
    padding:16px 18px;
    color:#475569;
}
.tf-compare-section .tf-comparison-table td:first-child {
    color:#0F172A;
    font-weight:700;
}
.tf-compare-section .tf-comparison-table .tf-highlight-column {
    background:#EFF6FF !important;
    color:#1E40AF !important;
    font-weight:750;
}
.tf-compare-section .tf-comparison-table tbody .tf-highlight-column i { color:#0F766E !important; margin-right:6px; }
.tf-table-brand-dot {
    display:inline-block;width:8px;height:8px;border-radius:50%;
    background:#14B8A6;margin-right:8px;
    box-shadow:0 0 0 3px #CCFBF1;
}
.tf-no { color:#94A3B8; margin-right:5px; }

/* --- Common uses: more product-like, less generic bootstrap card grid --- */
.tf-uses-section {
    position:relative;
    background:linear-gradient(180deg,#F8FAFC 0%,#F5F9FF 100%);
    border-block:1px solid #E8EEF6;
    overflow:hidden;
}
.tf-uses-section::before {
    content:"";
    position:absolute;
    width:440px;height:440px;border-radius:50%;
    background:radial-gradient(circle,rgba(20,184,166,.10),rgba(20,184,166,0) 68%);
    right:-120px;top:-180px;
}
.tf-use-grid {
    position:relative;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}
.tf-uses-section .tf-use-card {
    min-height:285px;
    padding:25px 24px 22px !important;
    border:1px solid #DCE5F2 !important;
    border-radius:20px !important;
    background:rgba(255,255,255,.92) !important;
    box-shadow:0 12px 30px rgba(15,23,42,.035);
    display:flex;
    flex-direction:column;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tf-uses-section .tf-use-card:hover {
    transform:translateY(-4px);
    border-color:#93C5FD !important;
    box-shadow:0 18px 36px rgba(15,23,42,.07);
}
.tf-use-card-top { display:flex;align-items:center;justify-content:space-between;margin-bottom:34px; }
.tf-uses-section .tf-use-icon {
    width:50px;height:50px;border-radius:15px !important;
    display:grid;place-items:center;font-size:1rem;
}
.tf-use-index {
    font-size:.72rem;font-weight:850;letter-spacing:.12em;color:#94A3B8;
}
.tf-uses-section .tf-use-card h3 {
    color:#0F172A;font-size:1.12rem;font-weight:800;margin:0 0 10px;
}
.tf-uses-section .tf-use-card p {
    color:#64748B;line-height:1.62;margin:0 0 24px;
}
.tf-use-meta {
    margin-top:auto;padding-top:16px;border-top:1px solid #E8EEF6;
    color:#475569;font-size:.75rem;font-weight:700;
}
.tf-use-meta i { color:#0F766E;margin-right:6px; }
.tf-use-card-featured { border-top:3px solid #2563EB !important; }

/* --- Security left column: intentional visual anchor instead of empty dead space --- */
.tf-security-trust-row {
    margin-top:30px;
    display:flex;
    align-items:center;
    gap:10px;
}
.tf-security-trust-row > span {
    width:42px;height:42px;display:grid;place-items:center;
    border-radius:13px;
    background:rgba(37,99,235,.18);
    border:1px solid rgba(96,165,250,.42);
    color:#BFDBFE;
}
.tf-security-trust-line {
    height:1px;flex:1;
    background:linear-gradient(90deg,rgba(94,234,212,.6),rgba(94,234,212,0));
}

/* --- Guides: visually connected, stronger CTA and richer cards --- */
.tf-guides-section {
    background:linear-gradient(180deg,#fff 0%,#F8FAFC 100%);
    border-top:1px solid #E8EEF6;
}
.tf-guides-section .tf-section-header {
    padding-bottom:28px;
    border-bottom:1px solid #E2E8F0;
}
.tf-guides-cta {
    display:inline-flex !important;align-items:center;gap:10px;
    background:#0F172A !important;color:#fff !important;
    border:1px solid #0F172A !important;
    border-radius:12px !important;
    padding:12px 17px !important;
    font-weight:750 !important;
    box-shadow:0 8px 18px rgba(15,23,42,.12);
}
.tf-guides-cta:hover { background:#1E293B !important; transform:translateY(-1px); }
.tf-guides-section .tf-resource-card {
    position:relative;
    min-height:265px;
    padding:24px !important;
    border-radius:20px !important;
    border:1px solid #DCE5F2 !important;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.035);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.tf-guides-section .tf-resource-card::after {
    content:"";
    position:absolute;left:24px;right:24px;bottom:0;height:3px;
    border-radius:3px 3px 0 0;
    background:linear-gradient(90deg,#2563EB,#14B8A6);
    opacity:0;transform:scaleX(.65);
    transition:.2s ease;
}
.tf-guides-section .tf-resource-card:hover {
    transform:translateY(-4px);
    border-color:#93C5FD !important;
    box-shadow:0 18px 38px rgba(15,23,42,.075);
}
.tf-guides-section .tf-resource-card:hover::after { opacity:1;transform:scaleX(1); }
.tf-guides-section .tf-resource-icon { width:48px;height:48px;border-radius:14px !important; }
.tf-guides-section .tf-card-link { margin-top:auto;font-weight:800; }

/* --- Countries: compact utility strip now appears before help content --- */
.tf-country-grid { max-width:980px;margin-inline:auto; }
.country-badge {
    transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
.country-badge:hover {
    border-color:#93C5FD !important;background:#EFF6FF !important;transform:translateY(-1px);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .tf-compare-layout { grid-template-columns:1fr; }
    .tf-compare-intro { max-width:700px; }
    .tf-use-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 767.98px) {
    .tf-process-flow { grid-template-columns:1fr; border-radius:20px; }
    .tf-process-flow::before { display:none; }
    .tf-process-item { min-height:0;padding:25px 22px; }
    .tf-process-item + .tf-process-item { border-left:0;border-top:1px solid #E2E8F0; }
    .tf-process-visual { margin-bottom:18px; }
    .tf-process-footer { flex-wrap:wrap;gap:12px 20px;justify-content:flex-start; }
    .tf-use-grid { grid-template-columns:1fr; }
    .tf-uses-section .tf-use-card { min-height:0; }
    .tf-compare-section .tf-comparison-card { border-radius:16px !important; }
    .tf-compare-section .tf-comparison-table { min-width:720px; }
    .tf-security-trust-row { margin-bottom:8px; }
}


/* ==========================================================
   TidyFax V14 - scroll-triggered send CTA
   ========================================================== */
.tf-scroll-cta {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 1050;
    width: min(calc(100% - 32px), 560px);
    transform: translate(-50%, 130%);
    opacity: 0;
    pointer-events: none;
    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        opacity .22s ease;
}

.tf-scroll-cta.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.tf-scroll-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 10px 10px 14px;
    border: 1px solid rgba(148,163,184,.34);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow:
        0 18px 46px rgba(15,23,42,.18),
        0 2px 10px rgba(15,23,42,.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.tf-scroll-cta-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.tf-scroll-cta-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    background: #EFF6FF;
}

.tf-scroll-cta-mark img {
    width: 25px;
    height: 23px;
    display: block;
}

.tf-scroll-cta-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.tf-scroll-cta-copy strong {
    color: #0F172A;
    font-size: .82rem;
    line-height: 1.25;
    font-weight: 800;
}

.tf-scroll-cta-copy small {
    color: #64748B;
    font-size: .68rem;
    line-height: 1.3;
}

.tf-scroll-cta-button {
    min-height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #0F172A;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15,23,42,.16);
    font-size: .77rem;
    font-weight: 780;
    transition: transform .16s ease, background .16s ease;
}

.tf-scroll-cta-button:hover {
    background: #1E293B;
    transform: translateY(-1px);
}

.tf-scroll-cta-button i {
    color: #93C5FD;
}

@media (max-width: 575.98px) {
    .tf-scroll-cta {
        bottom: 12px;
        width: calc(100% - 20px);
    }

    .tf-scroll-cta-inner {
        gap: 10px;
        padding: 9px;
        border-radius: 16px;
    }

    .tf-scroll-cta-mark {
        display: none;
    }

    .tf-scroll-cta-copy strong {
        font-size: .76rem;
    }

    .tf-scroll-cta-copy small {
        font-size: .62rem;
    }

    .tf-scroll-cta-button {
        min-height: 42px;
        padding-inline: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tf-scroll-cta,
    .tf-scroll-cta-button {
        transition: none;
    }
}


/* ==========================================================
   V15 - Select / Tom Select typography lock
   ========================================================== */
.tf-checkout-card select.form-select,
.tf-checkout-card .ts-wrapper,
.tf-checkout-card .ts-wrapper.single,
.tf-checkout-card .ts-wrapper.single .ts-control,
.tf-checkout-card .ts-wrapper.single.focus .ts-control,
.tf-checkout-card .ts-wrapper.single.dropdown-active .ts-control,
.tf-checkout-card .ts-wrapper.single .ts-control .item,
.tf-checkout-card .ts-wrapper.single.focus .ts-control .item,
.tf-checkout-card .ts-wrapper.single.dropdown-active .ts-control .item,
.tf-checkout-card .ts-dropdown,
.tf-checkout-card .ts-dropdown .option,
.tf-checkout-card .ts-dropdown [data-selectable] {
    font-family: inherit !important;
    font-size: .75rem !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

.tf-checkout-card .ts-wrapper.single .ts-control,
.tf-checkout-card .ts-wrapper.single.focus .ts-control,
.tf-checkout-card .ts-wrapper.single.dropdown-active .ts-control {
    min-height: 38px !important;
    height: 38px !important;
}

@media (min-width: 992px) {
    .tf-checkout-card select.form-select,
    .tf-checkout-card .ts-wrapper.single .ts-control,
    .tf-checkout-card .ts-wrapper.single.focus .ts-control,
    .tf-checkout-card .ts-wrapper.single.dropdown-active .ts-control,
    .tf-checkout-card .ts-wrapper.single .ts-control .item,
    .tf-checkout-card .ts-wrapper.single.focus .ts-control .item,
    .tf-checkout-card .ts-wrapper.single.dropdown-active .ts-control .item,
    .tf-checkout-card .ts-dropdown .option {
        font-size: .8rem !important;
    }
}


/* ==========================================================
   V17 - Modern fax success / tracking / status surfaces
   Homepage-aligned TidyFax blue, teal and navy system.
   ========================================================== */
.tf-btn-navy,
.tf-btn-teal,
.tf-btn-quiet {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    padding: .72rem 1rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.tf-btn-navy {
    background: #0F172A !important;
    border-color: #0F172A !important;
    color: #fff !important;
}
.tf-btn-navy:hover,
.tf-btn-navy:focus {
    background: #1E293B !important;
    border-color: #1E293B !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15,23,42,.18);
}
.tf-btn-teal {
    background: #0F766E !important;
    border-color: #0F766E !important;
    color: #fff !important;
}
.tf-btn-teal:hover,
.tf-btn-teal:focus {
    background: #115E59 !important;
    border-color: #115E59 !important;
    color: #fff !important;
}
.tf-btn-quiet {
    background: #fff !important;
    border-color: #CBD5E1 !important;
    color: #334155 !important;
}
.tf-btn-quiet:hover,
.tf-btn-quiet:focus {
    background: #F8FAFC !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
}
.tf-text-link {
    color: #334155;
    font-weight: 700;
    text-decoration: none;
}
.tf-text-link:hover { color: #2563EB; }

.tf-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #1D4ED8;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tf-page-kicker-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #DBEAFE;
    border: 1px solid #BFDBFE;
    color: #1D4ED8;
    font-size: .78rem;
}
.tf-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14B8A6;
    box-shadow: 0 0 0 5px rgba(20,184,166,.10);
}
.tf-page-lead {
    color: #64748B;
    font-size: 1.04rem;
    line-height: 1.72;
}

/* Track lookup */
.tf-lookup-page {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    padding: clamp(64px, 8vw, 110px) 0;
    background:
        radial-gradient(circle at 87% 14%, rgba(20,184,166,.11), transparent 26%),
        radial-gradient(circle at 10% 18%, rgba(37,99,235,.10), transparent 28%),
        #F8FAFC;
}
.tf-lookup-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 72%);
}
.tf-lookup-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(390px,.7fr);
    gap: clamp(42px, 7vw, 92px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}
.tf-lookup-copy h1 {
    max-width: 720px;
    margin: 20px 0 18px;
    color: #0F172A;
    font-size: clamp(2.6rem, 5.5vw, 4.65rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;
}
.tf-lookup-copy .tf-page-lead { max-width: 640px; }
.tf-lookup-points {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}
.tf-lookup-points > div {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tf-lookup-points strong,
.tf-lookup-points span {
    display: block;
}
.tf-lookup-points strong {
    color: #0F172A;
    font-size: .9rem;
}
.tf-lookup-points div > div > span {
    margin-top: 2px;
    color: #64748B;
    font-size: .8rem;
}
.tf-feature-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.tf-feature-icon.is-blue { background: #DBEAFE; border: 1px solid #93C5FD; color: #1D4ED8; }
.tf-feature-icon.is-teal { background: #CCFBF1; border: 1px solid #5EEAD4; color: #0F766E; }
.tf-feature-icon.is-navy { background: #E2E8F0; border: 1px solid #CBD5E1; color: #0F172A; }

.tf-lookup-card {
    padding: clamp(24px, 3vw, 34px);
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(203,213,225,.9);
    border-radius: 24px;
    box-shadow: 0 26px 70px rgba(15,23,42,.12);
    backdrop-filter: blur(14px);
}
.tf-lookup-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
}
.tf-lookup-card-top > div:last-child span,
.tf-lookup-card-top > div:last-child strong {
    display: block;
}
.tf-lookup-card-top > div:last-child span {
    color: #64748B;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.tf-lookup-card-top > div:last-child strong {
    margin-top: 2px;
    color: #0F172A;
    font-size: 1.05rem;
}
.tf-lookup-logo {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0F172A;
    border-radius: 13px;
}
.tf-lookup-logo img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}
.tf-lookup-form .form-label,
.tf-change-number-form .form-label {
    color: #334155;
    font-size: .8rem;
    font-weight: 750;
}
.tf-lookup-input {
    position: relative;
    margin-bottom: 14px;
}
.tf-lookup-input > i {
    position: absolute;
    z-index: 2;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
}
.tf-lookup-input .form-control {
    min-height: 52px;
    padding-left: 44px;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    color: #0F172A;
    font-size: .9rem;
}
.tf-lookup-input .form-control:focus,
.tf-change-number-form .form-control:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.tf-lookup-help {
    display: flex;
    gap: 9px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
    color: #64748B;
    font-size: .76rem;
    line-height: 1.55;
}
.tf-lookup-help i { color: #2563EB; margin-top: 2px; }

/* Success / transaction page */
.tf-transaction-page {
    min-height: 72vh;
    padding: clamp(54px, 7vw, 92px) 0;
    background:
        radial-gradient(circle at 78% 12%, rgba(20,184,166,.10), transparent 29%),
        linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
}
.tf-transaction-stage {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(370px,.72fr);
    gap: clamp(38px, 6vw, 78px);
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid #DCE5F0;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(239,246,255,.88), rgba(255,255,255,.98) 48%, rgba(240,253,250,.84));
    box-shadow: 0 28px 85px rgba(15,23,42,.08);
}
.tf-transaction-status-mark {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 20px;
    background: #CCFBF1;
    border: 1px solid #5EEAD4;
    color: #0F766E;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px rgba(20,184,166,.12);
}
.tf-transaction-stage.is-processing .tf-transaction-status-mark,
.tf-transaction-stage.is-scheduled .tf-transaction-status-mark {
    background: #DBEAFE;
    border-color: #93C5FD;
    color: #1D4ED8;
    box-shadow: 0 12px 30px rgba(37,99,235,.12);
}
.tf-transaction-main h1 {
    max-width: 680px;
    margin: 18px 0 15px;
    color: #0F172A;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 800;
}
.tf-transaction-main .tf-page-lead { max-width: 640px; }
.tf-transaction-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.tf-transaction-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
    color: #64748B;
    font-size: .76rem;
    font-weight: 650;
}
.tf-transaction-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tf-transaction-trust i { color: #0F766E; }

.tf-transaction-summary {
    padding: 26px;
    border: 1px solid #D8E1EC;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 55px rgba(15,23,42,.09);
}
.tf-summary-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 19px;
    margin-bottom: 6px;
    border-bottom: 1px solid #E2E8F0;
}
.tf-summary-heading > div span,
.tf-summary-heading > div strong {
    display: block;
}
.tf-summary-heading > div span {
    color: #64748B;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.tf-summary-heading > div strong {
    margin-top: 3px;
    color: #0F172A;
    font-size: 1.02rem;
}
.tf-summary-status {
    padding: 6px 9px;
    border: 1px solid #99F6E4;
    border-radius: 999px;
    background: #F0FDFA;
    color: #0F766E;
    font-size: .68rem;
    font-weight: 800;
}
.tf-summary-list > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #EEF2F7;
}
.tf-summary-list span {
    color: #64748B;
    font-size: .76rem;
}
.tf-summary-list span i {
    width: 18px;
    color: #2563EB;
}
.tf-summary-list strong {
    max-width: 58%;
    color: #0F172A;
    font-size: .8rem;
    text-align: right;
}
.tf-tracking-id-box {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid #BFDBFE;
    border-radius: 14px;
    background: #EFF6FF;
}
.tf-tracking-id-box div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.tf-tracking-id-box span {
    color: #1E3A8A;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tf-tracking-id-box small {
    color: #64748B;
    font-size: .67rem;
}
.tf-tracking-id-box code {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 9px;
    color: #0F172A;
    font-size: .75rem;
}
.tf-summary-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 17px;
    color: #0F172A;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}
.tf-summary-link:hover { color: #2563EB; }

/* Live status page */
.tf-status-page {
    min-height: 80vh;
    padding: clamp(46px, 6vw, 78px) 0;
    background:
        radial-gradient(circle at 92% 0%, rgba(20,184,166,.08), transparent 25%),
        radial-gradient(circle at 6% 5%, rgba(37,99,235,.08), transparent 27%),
        #F8FAFC;
}
.tf-status-shell {
    max-width: 1180px;
    margin: 0 auto;
}
.tf-status-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: .82rem;
    font-weight: 650;
}
.tf-status-alert.is-success {
    border: 1px solid #99F6E4;
    background: #F0FDFA;
    color: #115E59;
}
.tf-status-alert.is-danger {
    border: 1px solid #FECACA;
    background: #FEF2F2;
    color: #991B1B;
}
.tf-status-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid #D8E3EF;
    border-radius: 28px 28px 0 0;
    background:
        linear-gradient(115deg, rgba(239,246,255,.96), rgba(255,255,255,.98) 55%, rgba(240,253,250,.92));
}
.tf-status-hero-copy { min-width: 0; }
.tf-status-hero h1 {
    margin: 17px 0 10px;
    color: #0F172A;
    font-size: clamp(2.2rem, 4.4vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
}
.tf-status-hero-copy > p {
    max-width: 690px;
    margin: 0;
    color: #64748B;
    font-size: .96rem;
    line-height: 1.65;
}
.tf-status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 22px;
    color: #64748B;
    font-size: .76rem;
}
.tf-status-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.tf-status-meta i { color: #2563EB; }
.tf-status-meta strong { color: #334155; }

.tf-status-hero-state {
    flex: 0 0 auto;
    min-width: 250px;
}
.tf-status-orb {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 17px;
    border: 1px solid #BFDBFE;
    background: rgba(255,255,255,.86);
    box-shadow: 0 10px 26px rgba(15,23,42,.06);
}
.tf-status-orb-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #DBEAFE;
    color: #1D4ED8;
}
.tf-status-orb-copy small,
.tf-status-orb-copy strong {
    display: block;
}
.tf-status-orb-copy small {
    color: #64748B;
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tf-status-orb-copy strong {
    margin-top: 2px;
    color: #0F172A;
    font-size: .88rem;
}
.tf-status-orb.is-success { border-color: #99F6E4; }
.tf-status-orb.is-success .tf-status-orb-icon { background: #CCFBF1; color: #0F766E; }
.tf-status-orb.is-danger { border-color: #FECACA; }
.tf-status-orb.is-danger .tf-status-orb-icon { background: #FEE2E2; color: #B91C1C; }
.tf-status-orb.is-warning { border-color: #FDE68A; }
.tf-status-orb.is-warning .tf-status-orb-icon { background: #FEF3C7; color: #B45309; }
.tf-live-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 9px;
    color: #64748B;
    font-size: .68rem;
    font-weight: 650;
}
.tf-live-indicator > span,
.tf-live-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #14B8A6;
    box-shadow: 0 0 0 4px rgba(20,184,166,.10);
}

.tf-status-progress {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid #D8E3EF;
    border-top: 0;
    background: #fff;
}
.tf-status-progress > div {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 22px;
    border-right: 1px solid #E2E8F0;
}
.tf-status-progress > div:last-child { border-right: 0; }
.tf-status-progress > div > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #F1F5F9;
    color: #94A3B8;
}
.tf-status-progress strong,
.tf-status-progress small {
    display: block;
}
.tf-status-progress strong { color: #64748B; font-size: .78rem; }
.tf-status-progress small { margin-top: 2px; color: #94A3B8; font-size: .66rem; }
.tf-status-progress .is-complete > span {
    background: #CCFBF1;
    color: #0F766E;
}
.tf-status-progress .is-complete strong { color: #115E59; }
.tf-status-progress .is-current {
    background: #EFF6FF;
}
.tf-status-progress .is-current > span {
    background: #DBEAFE;
    color: #1D4ED8;
}
.tf-status-progress .is-current strong { color: #1E3A8A; }
.tf-status-progress .is-error {
    background: #FFF7ED;
}
.tf-status-progress .is-error > span {
    background: #FFEDD5;
    color: #C2410C;
}
.tf-status-progress .is-error strong { color: #9A3412; }

.tf-status-grid {
    display: grid;
    grid-template-columns: minmax(0,1.58fr) minmax(330px,.72fr);
    gap: 20px;
    margin-top: 20px;
}
.tf-status-primary,
.tf-status-sidebar {
    display: grid;
    gap: 20px;
    align-content: start;
}
.tf-modern-card {
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid #D8E1EC;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15,23,42,.045);
}
.tf-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}
.tf-card-heading.compact { align-items: center; }
.tf-card-kicker {
    display: block;
    margin-bottom: 4px;
    color: #2563EB;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .075em;
}
.tf-card-heading h2,
.tf-tracking-card h2 {
    margin: 0;
    color: #0F172A;
    font-size: 1.08rem;
    font-weight: 780;
}
.tf-card-heading p {
    margin: 5px 0 0;
    color: #64748B;
    font-size: .76rem;
}
.tf-card-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.tf-card-icon.is-blue { background: #DBEAFE; border: 1px solid #BFDBFE; color: #1D4ED8; }
.tf-card-icon.is-teal { background: #CCFBF1; border: 1px solid #99F6E4; color: #0F766E; }

.tf-status-detail-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #F8FAFC;
}
.tf-status-detail-grid > div {
    min-width: 0;
    padding: 16px 17px;
    border-right: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.tf-status-detail-grid > div:nth-child(2n) { border-right: 0; }
.tf-status-detail-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.tf-status-detail-grid span,
.tf-status-detail-grid strong,
.tf-status-detail-grid code { display: block; }
.tf-status-detail-grid span {
    margin-bottom: 4px;
    color: #64748B;
    font-size: .69rem;
    font-weight: 650;
}
.tf-status-detail-grid strong,
.tf-status-detail-grid code {
    color: #0F172A;
    font-size: .8rem;
    overflow-wrap: anywhere;
}
.tf-delivery-issue-modern {
    display: flex;
    gap: 13px;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #FDE68A;
    border-radius: 14px;
    background: #FFFBEB;
}
.tf-issue-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #FEF3C7;
    color: #B45309;
}
.tf-delivery-issue-modern strong { color: #78350F; font-size: .8rem; }
.tf-delivery-issue-modern p {
    margin: 3px 0 0;
    color: #92400E;
    font-size: .76rem;
    line-height: 1.5;
}
.tf-delivery-issue-modern small {
    display: block;
    margin-top: 6px;
    color: #A16207;
}

.tf-attempt-count {
    padding: 6px 9px;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
    background: #F8FAFC;
    color: #475569;
    font-size: .67rem;
    font-weight: 750;
    white-space: nowrap;
}
.tf-attempt-timeline { position: relative; }
.tf-attempt-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid #EEF2F7;
}
.tf-attempt-item:first-child {
    padding-top: 0;
    border-top: 0;
}
.tf-attempt-item:last-child { padding-bottom: 0; }
.tf-attempt-marker {
    position: relative;
    flex: 0 0 34px;
}
.tf-attempt-marker span {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #BFDBFE;
    border-radius: 11px;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: .7rem;
    font-weight: 800;
}
.tf-attempt-content {
    flex: 1;
    min-width: 0;
}
.tf-attempt-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.tf-attempt-title > strong {
    color: #0F172A;
    font-size: .8rem;
}
.tf-attempt-status {
    padding: 4px 7px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: .62rem;
    font-weight: 800;
}
.tf-attempt-status.is-success { background: #CCFBF1; color: #0F766E; }
.tf-attempt-status.is-danger { background: #FEE2E2; color: #B91C1C; }
.tf-attempt-status.is-warning { background: #FEF3C7; color: #B45309; }
.tf-attempt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: 5px;
    color: #64748B;
    font-size: .68rem;
}
.tf-attempt-error {
    margin: 7px 0 0;
    color: #B91C1C;
    font-size: .7rem;
}
.tf-modern-empty {
    padding: 30px 20px;
    text-align: center;
    border: 1px dashed #CBD5E1;
    border-radius: 14px;
    background: #F8FAFC;
}
.tf-modern-empty > span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #DBEAFE;
    color: #1D4ED8;
}
.tf-modern-empty strong { display: block; color: #0F172A; font-size: .82rem; }
.tf-modern-empty p { margin: 4px 0 0; color: #64748B; font-size: .72rem; }

.tf-retry-ring {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #99F6E4;
    border-radius: 50%;
    background: #F0FDFA;
}
.tf-retry-ring strong {
    color: #0F766E;
    font-size: 1.1rem;
    line-height: 1;
}
.tf-retry-ring span {
    margin-top: 2px;
    color: #64748B;
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
}
.tf-retry-usage { margin-bottom: 18px; }
.tf-retry-usage-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: #64748B;
    font-size: .67rem;
}
.tf-retry-usage-label strong { color: #334155; }
.tf-retry-bar {
    overflow: hidden;
    height: 6px;
    border-radius: 999px;
    background: #E2E8F0;
}
.tf-retry-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#2563EB,#14B8A6);
}
.tf-card-copy {
    margin: 0 0 16px;
    color: #64748B;
    font-size: .76rem;
    line-height: 1.55;
}
.tf-side-note {
    display: flex;
    gap: 11px;
    padding: 14px;
    border: 1px solid #BFDBFE;
    border-radius: 13px;
    background: #EFF6FF;
}
.tf-side-note > i {
    margin-top: 2px;
    color: #2563EB;
}
.tf-side-note strong,
.tf-side-note span { display: block; }
.tf-side-note strong { color: #1E3A8A; font-size: .76rem; }
.tf-side-note span { margin-top: 3px; color: #475569; font-size: .68rem; line-height: 1.5; }
.tf-side-note.is-warning {
    border-color: #FDE68A;
    background: #FFFBEB;
}
.tf-side-note.is-warning > i,
.tf-side-note.is-warning strong { color: #92400E; }
.tf-tracking-card .tf-card-icon { margin-bottom: 15px; }
.tf-tracking-card p {
    margin: 8px 0 14px;
    color: #64748B;
    font-size: .74rem;
    line-height: 1.55;
}
.tf-tracking-card code {
    display: block;
    overflow-wrap: anywhere;
    padding: 10px;
    border-radius: 10px;
    background: #F1F5F9;
    color: #334155;
    font-size: .68rem;
}
.tf-status-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 4px 0;
    color: #64748B;
    font-size: .7rem;
}
.tf-status-footer > span {
    display: flex;
    align-items: center;
    gap: 7px;
}

/* Not found */
.tf-not-found-stage { align-items: center; }
.tf-not-found-visual {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px;
    border: 1px solid #D8E1EC;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 22px 60px rgba(15,23,42,.08);
    text-align: center;
}
.tf-not-found-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border: 1px solid #BFDBFE;
    border-radius: 22px;
    background: #EFF6FF;
    color: #2563EB;
    font-size: 1.7rem;
}
.tf-not-found-visual strong { color: #0F172A; font-size: 1rem; }
.tf-not-found-visual span {
    max-width: 310px;
    margin-top: 5px;
    color: #64748B;
    font-size: .76rem;
    line-height: 1.55;
}

@media (max-width: 991.98px) {
    .tf-lookup-stage,
    .tf-transaction-stage,
    .tf-status-grid {
        grid-template-columns: 1fr;
    }
    .tf-lookup-stage,
    .tf-transaction-stage {
        max-width: 760px;
    }
    .tf-transaction-summary { max-width: none; }
    .tf-status-hero {
        align-items: flex-start;
        flex-direction: column;
    }
    .tf-status-hero-state {
        min-width: 0;
        width: 100%;
    }
    .tf-status-orb { max-width: 290px; }
    .tf-live-indicator { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
    .tf-lookup-page,
    .tf-transaction-page,
    .tf-status-page {
        padding: 36px 0 50px;
    }
    .tf-lookup-stage { gap: 34px; }
    .tf-lookup-copy h1,
    .tf-transaction-main h1 {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
    }
    .tf-lookup-points { margin-top: 26px; }
    .tf-transaction-stage {
        gap: 30px;
        padding: 24px 18px;
        border-radius: 22px;
    }
    .tf-transaction-status-mark {
        width: 58px;
        height: 58px;
        margin-bottom: 21px;
        border-radius: 17px;
        font-size: 1.45rem;
    }
    .tf-transaction-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .tf-summary-list > div {
        flex-direction: column;
        gap: 5px;
    }
    .tf-summary-list strong {
        max-width: none;
        text-align: left;
    }
    .tf-tracking-id-box div {
        display: block;
    }
    .tf-tracking-id-box small {
        display: block;
        margin-top: 3px;
    }
    .tf-status-hero {
        padding: 25px 20px;
        border-radius: 22px 22px 0 0;
    }
    .tf-status-hero h1 { font-size: 2.25rem; }
    .tf-status-meta {
        flex-direction: column;
        gap: 7px;
    }
    .tf-status-progress {
        grid-template-columns: 1fr;
    }
    .tf-status-progress > div {
        border-right: 0;
        border-bottom: 1px solid #E2E8F0;
    }
    .tf-status-progress > div:last-child { border-bottom: 0; }
    .tf-status-detail-grid { grid-template-columns: 1fr; }
    .tf-status-detail-grid > div,
    .tf-status-detail-grid > div:nth-child(2n),
    .tf-status-detail-grid > div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid #E2E8F0;
    }
    .tf-status-detail-grid > div:last-child { border-bottom: 0; }
    .tf-modern-card { border-radius: 17px; }
    .tf-card-heading {
        flex-direction: column;
    }
    .tf-card-heading.compact {
        flex-direction: row;
    }
    .tf-status-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* V19 - stuck fax send recovery */
.tf-stuck-send-warning {
    display: flex;
    gap: 12px;
    padding: 15px;
    border: 1px solid #FDE68A;
    border-radius: 14px;
    background: #FFFBEB;
}
.tf-stuck-send-warning strong {
    display: block;
    color: #78350F;
    font-size: .8rem;
}
.tf-stuck-send-warning p {
    margin: 4px 0 0;
    color: #92400E;
    font-size: .72rem;
    line-height: 1.55;
}


/* ==========================================================
   V20 - Delivery behavior education / recovery expectations
   ========================================================== */
.tf-how-fax-works-card {
    margin-top: 20px;
}
.tf-behavior-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}
.tf-behavior-grid > div {
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    background: #F8FAFC;
}
.tf-behavior-grid strong {
    display: block;
    color: #0F172A;
    font-size: .78rem;
}
.tf-behavior-grid p {
    margin: 4px 0 0;
    color: #64748B;
    font-size: .69rem;
    line-height: 1.55;
}
.tf-delivery-expectation {
    display: flex;
    gap: 11px;
    max-width: 650px;
    margin-top: 22px;
    padding: 14px 15px;
    border: 1px solid #BFDBFE;
    border-radius: 14px;
    background: rgba(239,246,255,.72);
}
.tf-delivery-expectation > i {
    margin-top: 2px;
    color: #2563EB;
}
.tf-delivery-expectation strong,
.tf-delivery-expectation span {
    display: block;
}
.tf-delivery-expectation strong {
    color: #1E3A8A;
    font-size: .76rem;
}
.tf-delivery-expectation span {
    margin-top: 3px;
    color: #475569;
    font-size: .7rem;
    line-height: 1.55;
}
@media (max-width: 991.98px) {
    .tf-behavior-grid { grid-template-columns: 1fr; }
}
