/* HTTP Tiger: styles for pricing, saved lists, billing and comparison pages (2026-10-30).
   Brand: orange #f97316 (decorative and large text), black, cream #faf0e6.
   Small text in orange uses #9a3412, which passes WCAG AA on white and on cream. */

/* Carried over from the previous pricing page's inline styles (header, menu, a11y). */
.z-45 { z-index: 45; }
.max-w-\[85vw\] { max-width: 85vw; }
        /* ==================== ACCESSIBILITY IMPROVEMENTS ==================== */

        /* Respect user preference for reduced motion */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Better focus styles for keyboard navigation */
        :focus-visible {
            outline: 3px solid #f97316;
            outline-offset: 2px;
        }

        button:focus-visible,
        a:focus-visible {
            outline: 3px solid #f97316;
            outline-offset: 2px;
            box-shadow: 0 0 0 4px rgba(255, 0, 110, 0.2);
        }

        /* Minimum touch target size for mobile */
        @media (pointer: coarse) {
            button, a, [role="button"] {
                min-height: 44px;
                min-width: 44px;
            }
        }

        /* Skip link for keyboard users */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: #f97316;
            color: white;
            padding: 12px 16px;
            z-index: 100;
            border-radius: 0 0 8px 0;
            font-weight: 600;
        }
        .skip-link:focus { top: 0; }

        /* Screen reader only */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* ==================== RESPONSIVE UTILITIES (Missing from Tailwind build) ==================== */

        /* Hide on medium screens and up (768px+) - for mobile menu */
        @media (min-width: 768px) {
            .md\:hidden {
                display: none !important;
            }
            .md\:flex {
                display: flex !important;
            }
            .md\:block {
                display: block !important;
            }
        }

/* ---------- page layout ---------- */
.ht-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ht-hero { background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%); color: #fff; padding: 56px 0 48px; text-align: center; }
.ht-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; line-height: 1.1; margin: 0 0 16px; color: #fff; }
.ht-hero p { font-size: 1.125rem; color: #e5e7eb; max-width: 720px; margin: 0 auto; line-height: 1.6; }
.ht-section { padding: 48px 0; }
.ht-section h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); font-weight: 900; color: #111827; margin: 0 0 12px; line-height: 1.2; }
.ht-section > .ht-wrap > p.ht-lead { color: #374151; font-size: 1.0625rem; max-width: 760px; line-height: 1.6; margin: 0 0 24px; }
.ht-muted { color: #4b5563; }
.ht-small { font-size: 0.875rem; }
a.ht-link, .ht-prose a { color: #9a3412; text-decoration: underline; text-underline-offset: 2px; }
a.ht-link:hover, .ht-prose a:hover { color: #000; }

/* ---------- billing toggle ---------- */
.ht-toggle { display: inline-flex; background: #262626; border-radius: 999px; padding: 4px; margin-top: 28px; gap: 4px; }
.ht-toggle button { border: 0; background: transparent; color: #e5e7eb; font: inherit; font-weight: 700; padding: 10px 20px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.ht-toggle button[aria-pressed="true"] { background: #f97316; color: #000; }
.ht-save { display: inline-block; margin-left: 6px; font-size: 0.75rem; font-weight: 800; background: #dcfce7; color: #14532d; padding: 2px 8px; border-radius: 999px; }

/* ---------- plan cards ---------- */
.ht-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.ht-plan { background: #fff; border: 2px solid #e5e7eb; border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.ht-plan.ht-featured { border-color: #f97316; box-shadow: 0 16px 40px rgba(249, 115, 22, 0.18); }
.ht-badge { position: absolute; top: -13px; left: 24px; background: #000; color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; }
.ht-plan h3 { font-size: 1.375rem; font-weight: 900; margin: 0 0 4px; color: #111827; }
.ht-plan .ht-for { color: #4b5563; margin: 0 0 16px; font-size: 0.9375rem; min-height: 2.9em; }
.ht-price { font-size: 2.5rem; font-weight: 900; color: #111827; line-height: 1; }
.ht-price small { font-size: 1rem; font-weight: 600; color: #4b5563; }
.ht-price-note { min-height: 1.5em; color: #4b5563; font-size: 0.875rem; margin: 6px 0 18px; }
.ht-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.ht-features li { position: relative; padding: 7px 0 7px 28px; color: #1f2937; line-height: 1.45; border-bottom: 1px solid #f3f4f6; }
.ht-features li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 8px; border-left: 3px solid #15803d; border-bottom: 3px solid #15803d; transform: rotate(-45deg); }
.ht-features li.ht-soon { color: #4b5563; }
.ht-features li.ht-soon::before { border: 0; width: 12px; height: 12px; top: 11px; border-radius: 50%; background: #d1d5db; transform: none; }
.ht-soon-tag { font-size: 0.75rem; font-weight: 700; background: #f3f4f6; color: #374151; padding: 1px 6px; border-radius: 6px; margin-left: 4px; white-space: nowrap; }

/* ---------- buttons ---------- */
.ht-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 12px; font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid #000; background: #000; color: #fff; transition: background .15s, color .15s, border-color .15s; }
.ht-btn:hover { background: #f97316; border-color: #f97316; color: #000; }
.ht-btn-accent { background: #f97316; border-color: #f97316; color: #000; }
.ht-btn-accent:hover { background: #000; border-color: #000; color: #fff; }
.ht-btn-ghost { background: #fff; color: #111827; border-color: #d1d5db; }
.ht-btn-ghost:hover { background: #fff7ed; color: #111827; border-color: #f97316; }
.ht-btn-danger { background: #fff; color: #b91c1c; border-color: #fecaca; }
.ht-btn-danger:hover { background: #fef2f2; color: #991b1b; border-color: #b91c1c; }
.ht-btn-sm { min-height: 44px; padding: 8px 14px; font-size: 0.9375rem; }
.ht-btn[disabled], .ht-btn[disabled]:hover { background: #e5e7eb; border-color: #d1d5db; color: #374151; cursor: not-allowed; }
.ht-btn-block { width: 100%; }

/* ---------- tables ---------- */
.ht-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: 16px; border: 1px solid #e5e7eb; }
.ht-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ht-table th, .ht-table td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; text-align: left; vertical-align: top; }
.ht-table thead th { background: #111827; color: #fff; font-weight: 800; white-space: nowrap; }
.ht-table tbody th { font-weight: 700; color: #111827; }
.ht-table td { color: #1f2937; }
.ht-table .ht-us { background: #fff7ed; }
.ht-table caption { text-align: left; padding: 12px 14px; color: #4b5563; font-size: 0.875rem; caption-side: bottom; }
@media (max-width: 640px) { .ht-table { font-size: 0.875rem; } .ht-table th, .ht-table td { padding: 10px; } }

/* ---------- FAQ ---------- */
.ht-faq details { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 0; margin-bottom: 10px; }
.ht-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 800; color: #111827; min-height: 44px; list-style-position: inside; }
.ht-faq details > div { padding: 0 18px 16px; color: #374151; line-height: 1.6; }

/* ---------- status line / notices ---------- */
.ht-status { margin: 16px 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.ht-status-info { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }
.ht-status-success { background: #f0fdf4; color: #14532d; border: 1px solid #bbf7d0; }
.ht-status-error { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }
.ht-trust { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; color: #374151; font-size: 0.9375rem; margin-top: 24px; }
.ht-trust span { display: inline-flex; align-items: center; gap: 6px; }
.ht-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; }
.ht-contact { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: #111827; color: #fff; border-radius: 20px; padding: 24px; margin-top: 20px; }
.ht-contact h3 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 900; color: #fff; }
.ht-contact p { margin: 0; color: #d1d5db; }

/* ---------- forms (saved lists) ---------- */
.ht-field { display: block; margin-bottom: 14px; }
.ht-field > span { display: block; font-weight: 700; color: #111827; margin-bottom: 6px; }
.ht-input, .ht-textarea, .ht-select { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: 12px 14px; border: 2px solid #d1d5db; border-radius: 12px; background: #fff; color: #111827; min-height: 48px; }
.ht-textarea { min-height: 160px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; }
.ht-input:focus, .ht-textarea:focus, .ht-select:focus { border-color: #f97316; outline: 3px solid rgba(249, 115, 22, .35); outline-offset: 1px; }
.ht-check { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #1f2937; }
.ht-check input { width: 20px; height: 20px; accent-color: #c2410c; }
.ht-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ht-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

/* ---------- saved lists ---------- */
.ht-lists { display: grid; gap: 12px; }
.ht-list-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px; }
.ht-list-item h3 { margin: 0 0 4px; font-size: 1.0625rem; font-weight: 800; color: #111827; word-break: break-word; }
.ht-pill { display: inline-block; font-size: 0.8125rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #f3f4f6; color: #1f2937; margin: 2px 4px 2px 0; }
.ht-pill-ok { background: #dcfce7; color: #14532d; }
.ht-pill-warn { background: #fef3c7; color: #78350f; }
.ht-pill-bad { background: #fee2e2; color: #7f1d1d; }
.ht-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; }
.ht-url { word-break: break-all; }
.ht-plan-box { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; background: #fff; border: 2px solid #f97316; border-radius: 16px; padding: 18px 20px; margin-bottom: 20px; }
.ht-hidden { display: none !important; }

/* Tap targets of at least 44px in the shared header on these pages. */
header nav a, header a[href="/"] { display: inline-flex; align-items: center; min-height: 44px; }
/* Results tables scroll sideways on phones instead of squeezing URLs into a few characters. */
.ht-table-wide { min-width: 640px; }
