/* sellers.directory home v4 - "On the record"
   Signal Tower system: dark ink hero (the page's one ink block) with a
   floating directory window, live ticker, light editorial body.
   Tokens per DESIGN.md: Signal Teal #0891b2, Market Green #059669,
   Depth Ink #0f172a, Red Hat Display + Manrope, radii 12/16/pill. */

:root {
    --page: #f7f9fd;
    --surface: #ffffff;
    --surface-2: #f0f4f9;
    --line: #e2e8f0;
    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-500: #64748b;
    --ink-300: #94a3b8;
    --ink-200: #cbd5e1;
    --accent: #0891b2;
    --green: #059669;
    --grad: linear-gradient(135deg, #0891b2, #059669);
    --r-btn: 12px;
    --r-card: 16px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: "Red Hat Display", sans-serif;
    --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink-700);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink-900);
    margin: 0;
    text-wrap: balance;
}

p { text-wrap: pretty; }

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- Nav ---------- */

.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    transition: box-shadow 0.3s;
}
.topbar.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}
.nav .brand { display: flex; align-items: center; flex-shrink: 0; }
.nav .brand img { content: url('/assets/imgs/logos/sellers-directory-logo-v2.png'); height: 48px; width: auto; display: block; }

.navlinks {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-700);
}
.navlinks a { text-decoration: none; transition: color 0.15s; }
.navlinks a:hover { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    border-radius: var(--r-btn);
    padding: 13px 24px;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s, background-color 0.15s, border-color 0.15s;
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
    background: var(--grad);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -55%;
    width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .btn-primary::after { transition: transform 0.55s ease; }
    .btn-primary:hover::after { transform: translateX(340%) skewX(-20deg); }
}
.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35);
    transform: translateY(-1px);
}

.btn-quiet {
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-700);
}
.btn-quiet:hover { border-color: var(--ink-300); }

.btn .fa-arrow-right { font-size: 0.75em; }

/* ---------- Hero: the ink block ---------- */

.hero {
    background: var(--ink-900);
    position: relative;
    overflow: hidden;
    padding: 148px 0 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(148, 163, 184, 0.22) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 70%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 70%);
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}
.glow.g1 {
    width: 720px; height: 720px;
    top: -280px; right: -140px;
    background: radial-gradient(closest-side, rgba(8, 145, 178, 0.28), transparent);
}
.glow.g2 {
    width: 560px; height: 560px;
    bottom: -260px; left: -180px;
    background: radial-gradient(closest-side, rgba(5, 150, 105, 0.18), transparent);
}
@media (prefers-reduced-motion: no-preference) {
    .glow.g1 { animation: drift1 17s ease-in-out infinite alternate; }
    .glow.g2 { animation: drift2 22s ease-in-out infinite alternate; }
}
@keyframes drift1 { to { transform: translate(-90px, 60px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(100px, -70px) scale(1.08); } }

/* Hero backdrop layers: wind streamlines, faint US geography, latitude lines */
.wind {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 64px;
    align-items: center;
    padding-bottom: 88px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.03em;
}
.hero-copy {
    margin: 22px 0 0;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ink-200);
    max-width: 30rem;
}

/* The tower: stacked live numerals */
.tower { margin-top: 40px; max-width: 26rem; }
.tower-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
}
.tower-row + .tower-row { border-top: 1px solid rgba(148, 163, 184, 0.18); }
.tower-row b {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    min-width: 5.5ch;
}
.tower-row span { font-size: 0.9375rem; font-weight: 600; color: var(--ink-300); }
.tower-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink-200);
}
.tower-live .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
}
@media (prefers-reduced-motion: no-preference) {
    .tower-live .dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0); }
}

/* The analyst card: the live centerpiece, wrapped in a sweeping signal ring */
@property --sweep {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.glow-ring {
    position: relative;
    padding: 2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.55), rgba(148, 163, 184, 0.2) 40%, rgba(5, 150, 105, 0.55));
}
@media (prefers-reduced-motion: no-preference) {
    .glow-ring {
        background: conic-gradient(from var(--sweep),
            rgba(148, 163, 184, 0.22) 0deg,
            rgba(8, 145, 178, 0.95) 55deg,
            rgba(6, 182, 212, 0.9) 85deg,
            rgba(5, 150, 105, 0.95) 115deg,
            rgba(148, 163, 184, 0.22) 175deg,
            rgba(148, 163, 184, 0.22) 360deg);
        animation: sweep 6.5s linear infinite;
    }
}
@keyframes sweep {
    to { --sweep: 360deg; }
}
.dir-window {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-card);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.7), 0 2px 8px rgba(15, 23, 42, 0.5);
}

.analyst-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.analyst-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}
.analyst-tag .fa-bolt { color: var(--accent); font-size: 0.8em; }
.analyst-head small { font-size: 0.75rem; font-weight: 600; color: var(--ink-300); }

.analyst-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 220px;
    padding: 28px 20px;
    text-align: center;
}
.analyst-q {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-500);
    min-height: 1.5em;
}
.caret {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .caret { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }

.analyst-figure { position: relative; }
.analyst-figure b {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.75rem, 4.5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink-900);
    font-variant-numeric: tabular-nums;
    position: relative;
}
@media (prefers-reduced-motion: no-preference) {
    .analyst-figure b.pop { animation: numPop 0.5s var(--ease); }
}
@keyframes numPop {
    from { transform: scale(0.94); filter: blur(4px); opacity: 0.3; }
    to { transform: scale(1); filter: blur(0); opacity: 1; }
}
.analyst-pulse {
    position: absolute;
    left: 50%; top: 50%;
    width: 170px; height: 170px;
    margin: -85px 0 0 -85px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(8, 145, 178, 0.30), transparent);
    opacity: 0;
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .analyst-pulse.go { animation: pulseGo 0.9s var(--ease); }
}
@keyframes pulseGo {
    0% { opacity: 0.9; transform: scale(0.45); }
    100% { opacity: 0; transform: scale(1.55); }
}
.analyst-label { font-size: 0.875rem; font-weight: 600; color: var(--ink-500); }

.analyst-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
}
.analyst-foot span { font-size: 0.75rem; font-weight: 600; color: var(--ink-300); }

/* Free-offer CTA: large pulsing green, the hero's conversion moment */
.btn-free {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
    padding: 19px 28px;
    background: var(--green);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(0.9375rem, 3.6vw, 1.125rem);
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    border-radius: var(--r-btn);
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(5, 150, 105, 0.45);
    transition: transform 0.15s, background-color 0.2s;
}
.btn-free .fa-gift { font-size: 0.9em; }
.btn-free::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: -55%;
    width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .btn-free { animation: freePulse 1.8s ease-in-out infinite; }
    .btn-free::after { animation: freeShine 3.6s ease-in-out infinite; }
}
@keyframes freePulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(5, 150, 105, 0.40), 0 0 0 0 rgba(16, 185, 129, 0.55); }
    50% { box-shadow: 0 10px 38px rgba(5, 150, 105, 0.70), 0 0 0 14px rgba(16, 185, 129, 0); }
}
@keyframes freeShine {
    0%, 55% { transform: translateX(0) skewX(-20deg); }
    75%, 100% { transform: translateX(340%) skewX(-20deg); }
}
.btn-free:hover { transform: translateY(-2px); background: #0aa574; }
.btn-free:active { transform: scale(0.98); }
.free-note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-300);
}

.dir-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px;
    padding: 4px 4px 4px 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-btn);
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.dir-search:focus-within {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}
.search-icon { color: var(--ink-300); font-size: 0.875rem; flex-shrink: 0; }
.search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--ink-700);
    padding: 9px 0;
}
.search-input::placeholder { color: var(--ink-500); }
.dir-search .btn { padding: 10px 18px; }

.dir-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 20px 10px;
}
.dir-window > .dir-head:first-child { padding-top: 18px; }

/* Analyst card: cycles real aggregate stats for signed-out visitors */
.analyst {
    padding: 18px 20px 16px;
    border-bottom: 1px solid var(--line);
}
.analyst-q {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-500);
    min-height: 1.3em;
}
.analyst-q .fa-bolt { color: var(--accent); font-size: 0.8em; flex-shrink: 0; }
.caret {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .caret { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }
.analyst-a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 8px;
}
.analyst-a b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    font-variant-numeric: tabular-nums;
}
.analyst-a span { font-size: 0.8125rem; font-weight: 600; color: var(--ink-500); }
.dir-head h2 { font-size: 0.9375rem; font-weight: 800; letter-spacing: -0.01em; }
.dir-head small { font-size: 0.75rem; font-weight: 600; color: var(--ink-300); }

.dir-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
}
.dir-row b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}
.dir-row .row-meta { font-size: 0.8125rem; font-weight: 600; color: var(--ink-500); }
.row-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    background: rgba(5, 150, 105, 0.10);
    color: var(--green);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}
.row-badge .fa-check { font-size: 0.7em; }

.dir-fade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 140px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92) 58%, #fff 88%);
}

/* Live ticker: real discoveries scrolling along the hero base */
.ticker {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(148, 163, 184, 0.08);
    overflow: hidden;
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    padding: 16px 0;
}
@media (prefers-reduced-motion: no-preference) {
    .ticker-track { animation: tick 45s linear infinite; }
}
@keyframes tick {
    to { transform: translateX(-50%); }
}
.tick-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink-200);
    white-space: nowrap;
}
.tick-label .fa-satellite-dish { color: var(--accent); font-size: 0.8em; }
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }
.tick-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
}
a.tick-item b { transition: color 0.15s; }
a.tick-item:hover b { color: #5cc3dd; }
.tick-item b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: -0.01em;
    text-decoration: underline dotted rgba(148, 163, 184, 0.55);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
a.tick-item:hover b { text-decoration-color: #5cc3dd; }
.tick-item span { font-size: 0.75rem; font-weight: 600; color: var(--ink-300); }

/* ---------- Hero load-in ---------- */

@media (prefers-reduced-motion: no-preference) {
    .hero-rise {
        opacity: 0;
        transform: translateY(22px);
        animation: heroRise 0.7s var(--ease) forwards;
    }
    .hero-rise.d1 { animation-delay: 0.05s; }
    .hero-rise.d2 { animation-delay: 0.14s; }
    .hero-rise.d3 { animation-delay: 0.23s; }
    .hero-rise.d4 { animation-delay: 0.34s; }
    .hero-rise.d5 { animation-delay: 0.46s; }
}
@keyframes heroRise {
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }

.section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.12;
}
.section-head p {
    margin: 16px 0 0;
    font-size: 1.125rem;
    color: var(--ink-500);
    max-width: 36rem;
}

/* Controlled by design: sticky heading + control sequence */
.control-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
}
.control-split .section-head {
    position: sticky;
    top: 108px;
}
.controls { display: grid; gap: 0; }
.control { padding: 32px 0; }
.control + .control { border-top: 1px solid var(--line); }
.control h3 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
    gap: 12px;
}
.control h3 .fa-solid {
    color: var(--accent);
    font-size: 0.8em;
}
.control p {
    margin: 12px 0 0;
    color: var(--ink-500);
    max-width: 34rem;
}

/* Coverage: editorial columns, no cards */
.coverage-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 48px;
}
.coverage-col { padding: 8px 48px 8px 0; }
.coverage-col + .coverage-col {
    border-left: 1px solid var(--line);
    padding: 8px 0 8px 48px;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 145, 178, 0.10);
    color: var(--accent);
    border: 1px solid rgba(8, 145, 178, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 700;
}
.status-pill .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
}
.status-pill.neutral {
    background: var(--surface-2);
    border-color: var(--line);
    color: var(--ink-500);
}
.coverage-col h3 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-top: 18px;
}
.coverage-col ul {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}
.coverage-col li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-700);
}
.coverage-col .fa-check { color: var(--green); font-size: 0.8rem; margin-top: 6px; }
.coverage-col + .coverage-col li { color: var(--ink-500); }
.coverage-col + .coverage-col .fa-check { color: var(--ink-300); }

/* Closing band */
.closer {
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    padding: 96px 0;
    text-align: center;
}
.closer h2 {
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 900;
    letter-spacing: -0.025em;
}
.closer p {
    margin: 18px auto 0;
    font-size: 1.125rem;
    color: var(--ink-500);
    max-width: 36rem;
}
.closer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}
.closer-actions .btn { padding: 15px 28px; font-size: 1rem; }

/* ---------- Footer ---------- */

.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr);
    gap: 40px;
}
.footer .brand img { content: url('/assets/imgs/logos/sellers-directory-logo-v2.png'); height: 44px; width: auto; }
.footer-blurb {
    margin: 16px 0 0;
    font-size: 0.8125rem;
    color: var(--ink-300);
    line-height: 1.65;
    max-width: 22rem;
}
.footer h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--ink-900);
    margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 9px; }
.footer ul a {
    font-size: 0.875rem;
    color: var(--ink-300);
    text-decoration: none;
    transition: color 0.15s;
}
.footer ul a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    margin-top: 44px;
    padding-top: 24px;
    font-size: 0.75rem;
    color: var(--ink-300);
}

/* Seller tooltip: tile-grid US map + details, glides between ticker names */
.seller-tip {
    position: fixed;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.25);
    padding: 14px 16px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px) scale(0.97);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
                left 0.22s var(--ease), top 0.22s var(--ease);
}
.seller-tip.show { opacity: 1; transform: translateY(0) scale(1); }
.tip-map { flex-shrink: 0; line-height: 0; }
.tip-map rect { fill: #e2e8f0; }
.tip-map rect.on { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
    .tip-map rect.on { animation: stGlow 1.3s ease-in-out infinite; }
}
@keyframes stGlow {
    0%, 100% { fill: #0891b2; }
    50% { fill: #06b6d4; }
}
.tip-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.tip-body b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}
.seller-tip .tip-meta { font-size: 0.8125rem; font-weight: 600; color: var(--ink-500); }
.seller-tip .tip-foot { font-size: 0.75rem; font-weight: 600; color: var(--ink-300); }
.seller-tip .tip-foot:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
    .seller-tip { transition: opacity 0.18s; transform: none; }
    .seller-tip.show { transform: none; }
}

/* ASCII murals: faint character art in the empty zones of light sections */
.ascii-art {
    position: absolute;
    margin: 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.3;
    color: var(--ink-300);
    opacity: 0.3;
    white-space: pre;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    z-index: 0;
}
.control-split { position: relative; }
.has-art { position: relative; }
.art-ledger { left: 0; bottom: 24px; }
.art-globe { right: 0; top: -16px; font-size: 11px; opacity: 0.26; }

/* ---------- Scroll reveal ---------- */

html.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
    transition-delay: var(--rd, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile collapse (explicit) ---------- */

@media (max-width: 980px) {
    .ascii-art { display: none; }
    .hero-split { grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
    .dir-window { max-width: 560px; }
    .control-split { grid-template-columns: 1fr; gap: 40px; }
    .control-split .section-head { position: static; }
    .coverage-cols { grid-template-columns: 1fr; }
    .coverage-col { padding: 0 0 40px; }
    .coverage-col + .coverage-col { border-left: none; border-top: 1px solid var(--line); padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .navlinks { display: none; }
    .nav { height: 70px; }
    .hero { padding-top: 128px; }
    .section { padding: 64px 0; }
    .closer { padding: 72px 0; }
    .glow { filter: none; }
    .glow.g2 { display: none; }
}

@media (max-width: 560px) {
    .dir-search { flex-wrap: wrap; padding: 8px; }
    .dir-search .search-input { flex: 1 1 100%; order: -1; padding: 8px 10px; }
    .dir-search .btn { flex: 1; justify-content: center; }
    .tower-row b { min-width: 4.5ch; }
}

@media (max-width: 480px) {
    .nav-actions .btn-quiet { display: none; }
    .closer-actions .btn { width: 100%; justify-content: center; }
    .row-badge { padding: 4px 8px; }
}

.pricing-offer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
    gap: 28px;
    align-items: center;
    margin-top: 32px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid #b9e1ea;
    border-radius: 18px;
    background: #eaf8fb;
    color: #123b49;
    box-shadow: 0 12px 30px rgba(8, 75, 91, 0.08);
}
.pricing-offer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #087d91;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.pricing-offer-copy h3 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); color: #123b49; }
.pricing-offer-copy p { max-width: 680px; margin: 0; color: #496d79; line-height: 1.65; }
.pricing-offer-copy strong { color: #123b49; }
.pricing-free-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid #c8e5eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(8, 75, 91, 0.07);
}
.pricing-free-card > i { color: #0891b2; font-size: 24px; }
.pricing-free-card strong { display: block; font-size: 18px; color: #123b49; }
.pricing-free-card span { display: block; margin-top: 5px; color: #607d87; font-size: 13px; line-height: 1.5; }
@media (max-width: 760px) {
    .pricing-offer-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; border-radius: 16px; }
}

/* Homepage pricing signal */
.pricing-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    align-items: center;
    gap: 56px;
    margin-bottom: 22px;
}
.quality-visual {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 138px;
    padding: 24px 26px;
    overflow: hidden;
    border: 1px solid #cce9ee;
    border-radius: 18px;
    background: linear-gradient(145deg, #f5fcfd, #e8f8fa);
    box-shadow: 0 14px 38px rgba(8, 75, 91, .08);
}
.quality-pulse {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    background: #0891b2;
    box-shadow: 0 0 0 0 rgba(8,145,178,.24);
    animation: qualityPulse 2.6s ease-out infinite;
}
.quality-copy { position: relative; z-index: 1; }
.quality-copy span { display: block; color: #087d91; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.quality-copy strong { display: block; margin-top: 5px; color: #123b49; font-size: 21px; }
.quality-copy small { display: block; margin-top: 5px; color: #607d87; line-height: 1.45; }
.quality-bars { position: absolute; right: 18px; bottom: 12px; display: flex; align-items: end; gap: 4px; height: 26px; opacity: .16; }
.quality-bars i { width: 4px; height: 35%; border-radius: 4px; background: #0891b2; animation: qualityBars 1.5s ease-in-out infinite alternate; }
.quality-bars i:nth-child(2) { height: 70%; animation-delay: -.4s; }
.quality-bars i:nth-child(3) { height: 100%; animation-delay: -.8s; }
.quality-bars i:nth-child(4) { height: 55%; animation-delay: -.2s; }
.quality-bars i:nth-child(5) { height: 80%; animation-delay: -.6s; }
@keyframes qualityPulse { 70%,100% { box-shadow: 0 0 0 18px rgba(8,145,178,0); } }
@keyframes qualityBars { to { transform: scaleY(.38); } }

/* Windborne-inspired outreach section */
.outreach-section {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #092f3b;
}
#outreachWind, .outreach-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
#outreachWind { z-index: -3; }
.outreach-shade {
    z-index: -2;
    background: radial-gradient(circle at 70% 45%, rgba(13,125,143,.08), rgba(4,30,39,.22) 62%, rgba(3,23,30,.6));
}
.outreach-wrap { width: 100%; padding-top: 88px; padding-bottom: 88px; }
.outreach-card {
    width: 100%;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(213,245,247,.3);
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(105deg, rgba(5,35,44,.62), rgba(5,35,44,.42));
    box-shadow: 0 28px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.outreach-kicker, .modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #72dce2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.outreach-card .outreach-kicker { color: #fff; }
.outreach-card h2 { margin-top: 18px; color: #85e6b6; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; }
.outreach-card p { max-width: 880px; margin: 20px 0 30px; color: rgba(255,255,255,.86); font-size: 1.06rem; line-height: 1.75; }
.outreach-card .btn-primary { background: #15b8c4; box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* Consultation dialog */
.consultation-modal {
    width: min(680px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 22px;
    color: var(--ink-900);
    background: #fff;
    box-shadow: 0 30px 100px rgba(2,25,34,.4);
}
.consultation-modal::backdrop { background: rgba(3,24,31,.72); backdrop-filter: blur(5px); }
.consultation-form { padding: clamp(24px, 5vw, 42px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.modal-head h2 { margin-top: 7px; font-size: clamp(1.7rem, 4vw, 2.35rem); line-height: 1.08; }
.modal-close { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-500); background: var(--surface-2); cursor: pointer; }
.modal-intro { margin: 14px 0 25px; color: var(--ink-500); line-height: 1.65; }
.consultation-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consultation-fields label span { display: block; margin-bottom: 7px; color: var(--ink-700); font-size: 13px; font-weight: 700; }
.consultation-fields input, .consultation-fields textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbdde2; border-radius: 10px; color: var(--ink-900); background: #fbfefe; font: inherit; outline: none; }
.consultation-fields input:focus, .consultation-fields textarea:focus { border-color: #0891b2; box-shadow: 0 0 0 3px rgba(8,145,178,.12); }
.consultation-fields textarea { resize: vertical; min-height: 112px; }
.field-wide { grid-column: 1 / -1; }
.consultation-trap { position: absolute; left: -10000px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.form-status { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 650; }
.form-status.show { display: block; }
.form-status.success { color: #076545; background: #e8f8f1; }
.form-status.error { color: #9c2d2d; background: #fff0f0; }
body.modal-open { overflow: hidden; }

@media (max-width: 820px) {
    .pricing-intro-grid { grid-template-columns: 1fr; gap: 28px; }
    .quality-visual { max-width: 600px; }
    .outreach-section { min-height: 560px; }
}
@media (max-width: 560px) {
    .quality-visual { grid-template-columns: 46px 1fr; padding: 20px; }
    .quality-pulse { width: 46px; height: 46px; }
    .consultation-fields { grid-template-columns: 1fr; }
    .consultation-fields label { grid-column: 1; }
    .modal-actions { flex-direction: column-reverse; }
    .modal-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .quality-pulse, .quality-bars i { animation: none; }
}

/* Full-width, scan-friendly price bands */
#pricing .controls {
    gap: 8px;
    margin-top: 32px;
}
#pricing .control {
    padding: 24px 28px;
    border: 1px solid transparent;
    border-radius: 13px;
}
#pricing .control + .control { border-top: 1px solid transparent; }
#pricing .control:nth-child(odd) {
    border-color: #d8ebef;
    background: #f3fafb;
}
#pricing .control:nth-child(even) {
    border-color: #e2e8f0;
    background: #f8fafc;
}
#pricing .control p {
    width: 100%;
    max-width: none;
}
@media (max-width: 560px) {
    #pricing .control { padding: 20px; }
}

/* Marketplace coverage showcase */
#coverage .ascii-art { display: none; }
.coverage-intro {
    position: relative;
    padding: clamp(32px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid #cce8ed;
    border-radius: 24px;
    background: linear-gradient(120deg, #eaf9fb 0%, #f6fcfd 58%, #e9f8f3 100%);
    box-shadow: 0 18px 50px rgba(8,75,91,.08);
}
.coverage-intro::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -90px;
    width: 280px;
    height: 280px;
    border: 52px solid rgba(8,145,178,.055);
    border-radius: 50%;
}
.coverage-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 13px;
    color: #07859c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.coverage-intro h2 {
    position: relative;
    z-index: 1;
    max-width: 790px;
    font-size: clamp(2.15rem, 4.2vw, 3.45rem);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.04;
    color: #123b49;
}
.coverage-intro p {
    position: relative;
    z-index: 1;
    max-width: 770px;
    margin: 18px 0 0;
    color: #496d79;
    font-size: 1.08rem;
    line-height: 1.7;
}
#coverage .coverage-cols {
    gap: 22px;
    margin-top: 24px;
}
#coverage .coverage-col {
    padding: clamp(25px, 4vw, 38px);
    border: 1px solid #dbe8eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(12,55,67,.065);
}
#coverage .coverage-col + .coverage-col {
    padding: clamp(25px, 4vw, 38px);
    border: 1px solid #dbe8eb;
}
.marketplace-name { display: flex; align-items: center; gap: 15px; }
.marketplace-name small { display: block; color: #78909a; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.marketplace-name h3, #coverage .coverage-col h3 { margin: 3px 0 0; color: #153b48; font-size: 1.55rem; }
.marketplace-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 22px; }
.walmart-icon { background: #087db4; }
.walmart-icon i { color: #ffc220; }
.amazon-icon { background: #172333; }
.amazon-icon i { color: #ffad32; }
.marketplace-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 26px 0 20px;
}
.marketplace-stats > div {
    padding: 20px;
    border-radius: 13px;
    background: #eff9fa;
}
#coverage .coverage-col:nth-child(2) .marketplace-stats > div { background: #f4f6f8; }
.marketplace-stats strong {
    display: block;
    color: #087f96;
    font-family: 'Red Hat Display', sans-serif;
    font-size: clamp(1.75rem, 3.4vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1;
}
#coverage .coverage-col:nth-child(2) .marketplace-stats strong { color: #e58a16; }
.marketplace-stats span { display: block; margin-top: 7px; color: #607d87; font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
#coverage .coverage-col ul { margin-top: 10px; }
#coverage .coverage-col + .coverage-col li { color: var(--ink-700); }
#coverage .coverage-col + .coverage-col .fa-check { color: var(--green); }
@media (max-width: 980px) {
    #coverage .coverage-cols { grid-template-columns: 1fr; }
    #coverage .coverage-col + .coverage-col { border-top: 1px solid #dbe8eb; }
}
@media (max-width: 480px) {
    .marketplace-stats { grid-template-columns: 1fr; }
}

/* High-impact hero statistics and AI demonstration */
@media (min-width: 981px) {
    .hero-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 590px);
        gap: 72px;
    }
}
.tower {
    display: grid;
    gap: 9px;
    max-width: 34rem;
    margin-top: 38px;
}
.tower-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, .62fr) 1fr;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    overflow: hidden;
    border: 1px solid rgba(125,211,222,.18);
    border-radius: 13px;
    background: linear-gradient(105deg, rgba(8,145,178,.16), rgba(255,255,255,.035));
    box-shadow: inset 3px 0 0 rgba(39,205,214,.78), 0 9px 26px rgba(0,0,0,.12);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.tower-row:nth-child(2) { background: linear-gradient(105deg, rgba(5,150,105,.14), rgba(255,255,255,.035)); box-shadow: inset 3px 0 0 rgba(50,205,145,.78), 0 9px 26px rgba(0,0,0,.12); }
.tower-row:nth-child(3) { background: linear-gradient(105deg, rgba(100,116,255,.15), rgba(255,255,255,.035)); box-shadow: inset 3px 0 0 rgba(125,136,255,.82), 0 9px 26px rgba(0,0,0,.12); }
.tower-row + .tower-row { border-top: 1px solid rgba(125,211,222,.18); }
.tower-row::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.09) 48%, transparent 72%);
    transform: translateX(-120%);
    pointer-events: none;
}
.tower-row b {
    min-width: 0;
    color: #fff;
    font-size: clamp(2rem, 3.25vw, 2.85rem);
    text-shadow: 0 0 28px rgba(78,220,229,.28);
}
.tower-row span { color: #d4e2e7; font-size: .91rem; line-height: 1.35; }
.tower-live { margin: 10px 0 0 18px; }
.tower-row:hover { transform: translateX(4px); border-color: rgba(125,225,232,.42); }
@media (prefers-reduced-motion: no-preference) {
    .tower-row { animation: heroStatIn .65s var(--ease) both; }
    .tower-row:nth-child(1) { animation-delay: .28s; }
    .tower-row:nth-child(2) { animation-delay: .39s; }
    .tower-row:nth-child(3) { animation-delay: .50s; }
    .tower-row::after { animation: statShine 5.2s ease-in-out infinite; }
    .tower-row:nth-child(2)::after { animation-delay: 1.1s; }
    .tower-row:nth-child(3)::after { animation-delay: 2.2s; }
}
@keyframes heroStatIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes statShine { 0%,58% { transform: translateX(-120%); } 78%,100% { transform: translateX(120%); } }

.hero-right { position: relative; }
.glow-ring {
    padding: 3px;
    border-radius: 23px;
    box-shadow: 0 30px 100px rgba(0,0,0,.46), 0 0 55px rgba(8,145,178,.14);
}
.dir-window { border-radius: 20px; }
.analyst-card { overflow: hidden; }
.analyst-head { padding: 21px 25px; }
.analyst-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    min-height: 108px;
    text-align: center;
}
.analyst-tag { width: 100%; justify-content: center; color: #0891b2; font-size: calc(1.38rem + 6pt); }
.analyst-head small { display: block; width: 100%; padding-left: 0; font-size: .91rem; }
.analyst-stage {
    position: relative;
    min-height: 365px;
    gap: 16px;
    padding: 42px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 55%, rgba(8,145,178,.13), transparent 38%),
        linear-gradient(180deg, #fff, #f8fcfd);
}
.analyst-stage::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    top: 16%;
    background: linear-gradient(90deg, transparent, rgba(8,145,178,.65), transparent);
    box-shadow: 0 0 16px rgba(8,145,178,.4);
}
.analyst-stage::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(8,145,178,.11);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(8,145,178,.035), 0 0 0 76px rgba(8,145,178,.022);
}
.analyst-q, .analyst-figure, .analyst-label { position: relative; z-index: 2; }
.analyst-q { font-size: 1.07rem; }
.analyst-figure b { font-size: clamp(4.25rem, 7vw, 6.1rem); color: #0d3947; text-shadow: 0 8px 28px rgba(8,145,178,.18); }
.analyst-pulse { width: 280px; height: 280px; margin: -140px 0 0 -140px; background: radial-gradient(closest-side, rgba(8,145,178,.38), transparent); }
.analyst-label { font-size: 1rem; }
.analyst-foot { padding: 18px 25px; background: #fbfefe; }
.analyst-foot span { font-size: .82rem; }
.dir-search { margin: 20px; padding: 7px 7px 7px 18px; }
.search-input { font-size: 1rem; padding: 11px 0; }
@media (prefers-reduced-motion: no-preference) {
    .analyst-stage::before { animation: analystScan 3.8s ease-in-out infinite; }
    .analyst-stage::after { animation: analystOrbit 8s linear infinite; }
}
@keyframes analystScan { 0%,100% { top: 14%; opacity: .25; } 50% { top: 86%; opacity: .8; } }
@keyframes analystOrbit { to { transform: rotate(360deg) scale(1.04); } }
@media (max-width: 560px) {
    .tower-row { grid-template-columns: 1fr; gap: 3px; padding: 15px 18px; }
    .tower-row b { font-size: 2.1rem; }
    .analyst-stage { min-height: 280px; padding: 34px 18px; }
    .analyst-figure b { font-size: 4rem; }
    .analyst-head { align-items: center; flex-direction: column; }
}
