/*
Theme Name: KnockMap Starter
Theme URI: https://knockmap.com
Author: KnockMap
Description: Blank starter theme for KnockMap marketing site.
Version: 0.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
Text Domain: knockmap-starter
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Syne:wght@500;700;800&display=swap");

:root {
    --bg: #f3f5f4;
    --surface: #ffffff;
    --ink: #102017;
    --muted: #607269;
    --line: #d8e1db;
    --brand: #0f8f79;
    --brand-strong: #0a6f5e;
    --accent: #ff7f3f;
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 26px 60px rgba(16, 32, 23, 0.11);
    --max-width: 1100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% -10%, #d8eee7 0%, transparent 38%),
        radial-gradient(circle at 80% -5%, #ffe9da 0%, transparent 34%),
        var(--bg);
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-shell {
    min-height: 100vh;
    padding: 1.2rem 0 2.6rem;
}

.container {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    text-align: center;
}

.site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    padding: 0.35rem 0 0.8rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    text-decoration: none;
}

.brand__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(239, 107, 46, 0.18);
}

.brand__text {
    font-family: "Syne", "Segoe UI", sans-serif;
    font-size: 1.34rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.7rem 1.16rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.btn--ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
}

.btn--ghost:hover {
    box-shadow: var(--shadow-soft);
}

.btn--primary {
    background: var(--brand);
    color: #fff;
}

.btn--primary:hover {
    background: var(--brand-strong);
    box-shadow: 0 14px 28px rgba(10, 111, 94, 0.28);
}

.hero {
    text-align: center;
    padding: 2rem 0 1.3rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 0.9rem;
}

.hero h1 {
    margin: 0;
    font-family: "Syne", "Segoe UI", sans-serif;
    font-size: clamp(2.2rem, 5.1vw, 4.4rem);
    line-height: 1.01;
    letter-spacing: -0.02em;
    max-width: 15ch;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.55vw, 1.1rem);
    max-width: 62ch;
}

.hero__cta {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.72rem;
}

.visual-stage {
    margin-top: 1.55rem;
    background: linear-gradient(160deg, #f8fcfa, #f5f8f7);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    min-height: 420px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-content: center;
}

.visual-stage::before,
.visual-stage::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.visual-stage::before {
    width: 320px;
    height: 320px;
    background: rgba(15, 143, 121, 0.12);
    top: -130px;
    left: -100px;
}

.visual-stage::after {
    width: 260px;
    height: 260px;
    background: rgba(255, 127, 63, 0.12);
    right: -70px;
    bottom: -120px;
}

.map-frame {
    width: min(860px, calc(100% - 1.8rem));
    min-height: 320px;
    border-radius: 20px;
    border: 1px solid #c9d7cf;
    background:
        linear-gradient(90deg, rgba(22, 45, 35, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(22, 45, 35, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, #fdfefe, #eef3f1);
    background-size: 22px 22px, 22px 22px, 100% 100%;
    position: relative;
    display: grid;
    place-content: center;
    text-align: center;
    z-index: 1;
}

.map-frame strong {
    font-family: "Syne", "Segoe UI", sans-serif;
    font-size: 1.06rem;
}

.map-frame span {
    margin-top: 0.45rem;
    color: #4f645b;
    font-size: 0.9rem;
}

.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(255, 127, 63, 0.18);
}

.map-pin--a {
    top: 23%;
    left: 19%;
}

.map-pin--b {
    top: 34%;
    right: 24%;
}

.map-pin--c {
    bottom: 20%;
    left: 42%;
}

.map-pin--d {
    bottom: 28%;
    right: 17%;
}

.stat-strip {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
}

.stat {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.9rem;
    text-align: center;
}

.stat strong {
    display: block;
    font-family: "Syne", "Segoe UI", sans-serif;
    font-size: 1.06rem;
    margin-bottom: 0.2rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.86rem;
}

.process {
    padding: 2rem 0 1rem;
    text-align: center;
}

.process h2 {
    margin: 0;
    font-family: "Syne", "Segoe UI", sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.process-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.process-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1rem 0.9rem;
}

.process-card b {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    font-size: 0.82rem;
}

.process-card h3 {
    margin: 0.68rem 0 0;
    font-size: 1rem;
    font-family: "Syne", "Segoe UI", sans-serif;
}

.final-cta {
    margin: 2rem auto 0;
    max-width: 760px;
    text-align: center;
    background: linear-gradient(145deg, rgba(15, 143, 121, 0.95), rgba(10, 111, 94, 0.95));
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 1.8rem 1.2rem;
    box-shadow: 0 22px 44px rgba(10, 111, 94, 0.34);
}

.final-cta h2 {
    margin: 0;
    font-family: "Syne", "Segoe UI", sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.final-cta p {
    margin: 0.6rem auto 0;
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.9);
}

.final-cta .hero__cta {
    margin-top: 1rem;
}

.final-cta .btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.site-footer {
    padding-top: 1.4rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 980px) {
    .stat-strip,
    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(var(--max-width), calc(100% - 1.25rem));
    }

    .btn {
        padding: 0.68rem 1rem;
        font-size: 0.92rem;
    }

    .visual-stage {
        min-height: 340px;
    }

    .map-frame {
        min-height: 250px;
    }
}
