@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------------------------------------------------------------- tokens */

:root {
    --bg: #FAFAF8;
    --surface: #FFFFFF;
    --surface-muted: #FCFCFA;
    --ink: #14161A;
    --ink-inverted: #FFFFFF;

    --text-body: #4A5058;
    --text-muted: #5A6169;
    --text-soft: #6B7178;
    --text-faint: #8A8F96;
    --text-mono: #9A9FA6;
    --text-on-dark: #A6ABB2;

    --accent: #1F6F3F;
    --accent-strong: #14532B;

    --line: #E5E5DF;
    --line-soft: #EFEFE9;
    --line-softest: #F4F4EE;
    --line-pill: #E2E2DC;
    --line-button: #DCDCD5;
    --line-dark: #383C42;
    --track: #EDEDE7;
    --hover-surface: #F0F0EC;

    --radius-sm: 5px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 18px;

    --shell: 1120px;
    --gutter: 32px;

    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: 'Instrument Sans', Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------------ base */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

main {
    padding: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-strong);
}

h1, h2 {
    margin: 0;
    font-weight: 600;
}

p {
    margin: 0;
}

.shell {
    max-width: var(--shell);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.mono {
    font-family: var(--mono);
}

/* ---------------------------------------------------------------- header */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand__mark {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--accent);
}

.brand__name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 8px;
}

.site-nav a:hover {
    background: var(--hover-surface);
    color: var(--ink);
}

/* ------------------------------------------------------------------ hero */

.hero {
    padding-top: 64px;
    display: grid;
    gap: 56px;
}

.hero__copy {
    max-width: 760px;
    display: grid;
    gap: 26px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 7px 13px;
    border: 1px solid var(--line-pill);
    border-radius: 999px;
    background: var(--surface);
}

.badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: scoutr-pulse 2s ease-in-out infinite;
}

.badge__label {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@keyframes scoutr-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
    .badge__dot {
        animation: none;
    }
}

.hero__title {
    font-size: 72px;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero__lede {
    max-width: 620px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-body);
    text-wrap: pretty;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.hero__note {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-faint);
}

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn--primary {
    background: var(--ink);
    color: var(--ink-inverted);
}

.btn--primary:hover {
    background: var(--accent);
    color: var(--ink-inverted);
}

.btn--secondary {
    border-color: var(--line-button);
    background: var(--surface);
    color: var(--ink);
}

.btn--secondary:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.btn--light {
    background: var(--surface);
    color: var(--ink);
}

.btn--light:hover {
    background: var(--accent);
    color: var(--ink-inverted);
}

.btn--outline-dark {
    border-color: var(--line-dark);
    color: var(--ink-inverted);
}

.btn--outline-dark:hover {
    border-color: var(--ink-inverted);
    color: var(--ink-inverted);
}

/* -------------------------------------------------------------- app demo */

.app {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 24px 48px -32px rgba(20, 22, 26, 0.25);
}

.app__chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--surface-muted);
}

.app__lights {
    display: flex;
    gap: 6px;
}

.app__lights span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line-pill);
}

.app__url {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-mono);
    margin-left: 6px;
}

.app__body {
    display: grid;
    grid-template-columns: 250px 1fr;
}

.app__filters {
    border-right: 1px solid var(--line-soft);
    padding: 22px 20px;
    display: grid;
    gap: 22px;
    align-content: start;
    background: var(--surface-muted);
}

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mono);
}

.filter {
    display: grid;
    gap: 8px;
}

.filter__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.filter__value {
    font-size: 13px;
    color: var(--text-soft);
}

.filter__track {
    height: 4px;
    border-radius: 99px;
    background: var(--track);
    overflow: hidden;
}

.filter__fill {
    height: 100%;
    background: var(--accent);
}

.app__results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line-soft);
}

.app__results-count {
    font-size: 14px;
    font-weight: 600;
}

.app__results-action {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-mono);
}

.row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.6fr 0.7fr;
    gap: 16px;
    align-items: center;
    padding: 15px 22px;
    border-bottom: 1px solid var(--line-softest);
}

.row__store {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.row__name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row__domain {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-mono);
}

.row__email {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row__meta {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text-soft);
}

/* ----------------------------------------------------------- how it works */

.section {
    padding-top: 104px;
}

.section__title {
    font-size: 38px;
    letter-spacing: -0.03em;
}

.steps {
    display: grid;
    gap: 44px;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    padding: 28px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.step__n {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
}

.step__title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.step__body {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
    text-wrap: pretty;
}

/* ------------------------------------------------------------------- faq */

.faq {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
}

.faq__title {
    align-self: start;
}

.faq__list {
    display: grid;
}

.faq__item {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    display: grid;
    gap: 8px;
}

.faq__q {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.faq__a {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 620px;
    text-wrap: pretty;
}

/* -------------------------------------------------------------------- cta */

.cta {
    border-radius: var(--radius-xl);
    background: var(--ink);
    color: var(--ink-inverted);
    padding: 64px 56px;
    display: grid;
    gap: 22px;
    justify-items: start;
}

.cta__title {
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 640px;
    text-wrap: balance;
}

.cta__body {
    font-size: 17px;
    color: var(--text-on-dark);
    max-width: 520px;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 6px;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
    margin-top: 48px;
    padding-top: 40px;
    padding-bottom: 56px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 24px;
}

.site-footer__mark {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-sm);
    background: var(--accent);
}

.site-footer__name {
    font-size: 14px;
    font-weight: 600;
}

.site-footer__year {
    font-size: 14px;
    color: var(--text-mono);
}

.site-footer__links {
    display: flex;
    gap: 20px;
    padding-top: 24px;
}

.site-footer__links a {
    font-size: 14px;
    color: var(--text-muted);
}

.site-footer__links a:hover {
    color: var(--accent);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
    :root {
        --gutter: 20px;
    }

    .hero__title {
        font-size: 46px;
    }

    .hero__lede {
        font-size: 18px;
    }

    .section,
    .hero {
        padding-top: 72px;
    }

    .section__title,
    .cta__title {
        font-size: 30px;
    }

    .steps__grid {
        grid-template-columns: 1fr;
    }

    .faq {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .app__body {
        grid-template-columns: 1fr;
    }

    .app__filters {
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .app__filters .eyebrow {
        grid-column: 1 / -1;
    }

    .row {
        grid-template-columns: 1fr auto;
        gap: 6px 16px;
    }

    .row__email {
        grid-column: 1 / -1;
    }

    .cta {
        padding: 40px 28px;
    }
}

@media (max-width: 560px) {
    .hero__title {
        font-size: 38px;
    }

    .site-nav {
        gap: 0;
    }

    .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}
