/* getwppulse.xnettech.co.uk — same visual family as the WP Pulse portal and
   its printed report: Pulse indigo on ink-blue, soft grey ground, no webfonts,
   no framework. One page should not need 700 KB of anything. */

:root {
    --ink: #16181d;
    --head: #1c2b46;
    --soft: #526484;
    --faint: #8094ae;
    --line: #e5e9f2;
    --brand: #3b4ed8;
    --brand-dark: #2f3fae;
    --bg: #f5f6fa;
    --ok: #1ee0ac;
    --ok-ink: #0f8a6a;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
    font-size: 16px;
}

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { color: var(--head); line-height: 1.2; }

.lede { color: var(--soft); font-size: 1.05rem; }

/* --- buttons --- */

.btn {
    display: inline-block;
    padding: .7rem 1.4rem;
    border-radius: .5rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { border-color: var(--line); color: var(--head); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: .45rem .95rem; font-size: .9rem; }
.btn-wide { width: 100%; margin-top: 1rem; }

/* --- topbar --- */

.topbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
    z-index: 10;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .7rem;
    padding-bottom: .7rem;
}

.brand { display: flex; align-items: center; gap: .55rem; }
.brand-name { font-size: 1.15rem; font-weight: 800; color: var(--head); }
.brand-name em { font-style: normal; color: var(--brand); }
.brand-by { color: var(--faint); font-size: .8rem; padding-top: .15rem; }

/* --- hero --- */

.hero { background: var(--bg); border-bottom: 1px solid var(--line); }

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.hero h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--brand); }
.cta-row { display: flex; gap: .75rem; margin-top: 1.75rem; flex-wrap: wrap; }

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .75rem;
    box-shadow: 0 1rem 2.5rem rgba(28, 43, 70, .1);
    padding: 1.25rem;
}

.hero-card-head {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--faint);
    margin-bottom: .9rem;
}

.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

.hero-tiles .tile {
    background: var(--bg);
    border-radius: .5rem;
    padding: .9rem .6rem;
    text-align: center;
}

.hero-tiles .v { display: block; font-size: 1.35rem; font-weight: 800; color: var(--head); }
.hero-tiles .v.ok { color: var(--ok-ink); }
.hero-tiles .l { font-size: .75rem; color: var(--soft); }

/* --- features --- */

.features { padding: 4rem 0; }
.features h2 { font-size: 1.7rem; text-align: center; margin-bottom: 2.5rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature {
    border: 1px solid var(--line);
    border-radius: .75rem;
    padding: 1.4rem;
}

.feature h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature h3::before {
    content: "";
    display: block;
    width: 2rem;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
    margin-bottom: .8rem;
}
.feature p { color: var(--soft); font-size: .95rem; }

/* --- quote band --- */

.band { background: var(--head); color: #fff; padding: 3rem 0; }
.band-inner { max-width: 46rem; text-align: center; }
.band blockquote { font-size: 1.3rem; font-weight: 600; line-height: 1.5; }
.band-by { color: #9aa9c3; margin-top: 1rem; font-size: .9rem; }

/* --- register --- */

.register { background: var(--bg); padding: 4rem 0; border-top: 1px solid var(--line); }

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.register h2 { font-size: 1.7rem; margin-bottom: .75rem; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .75rem;
    padding: 1.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(28, 43, 70, .06);
}

.form-card label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: var(--head);
    margin: .9rem 0 .3rem;
}

.form-card label:first-child { margin-top: 0; }
.form-card .opt { color: var(--faint); font-weight: 400; }

.form-card input,
.form-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: .4rem;
    padding: .6rem .75rem;
    font: inherit;
    color: var(--ink);
}

.form-card input:focus,
.form-card textarea:focus {
    outline: 2px solid var(--brand);
    outline-offset: 0;
    border-color: var(--brand);
}

.cf-turnstile { margin-top: 1rem; }

/* The honeypot: visually gone, present for bots. display:none is what naive
   bots check for, so move it off-canvas instead. */
.trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    border-radius: .5rem;
    padding: .9rem 1rem;
    font-size: .95rem;
    margin-bottom: 1rem;
}

.notice.ok { background: #e6fbf4; color: var(--ok-ink); border: 1px solid #b8f2de; }
.notice.warn { background: #fdf3e1; color: #8a6116; border: 1px solid #f3dfae; }

/* --- footer --- */

.foot { border-top: 1px solid var(--line); padding: 1.5rem 0; }

.foot-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--faint);
    font-size: .85rem;
}

.foot a { color: var(--soft); text-decoration: none; margin-left: 1.25rem; }
.foot a:first-child { margin-left: 0; }
.foot a:hover { color: var(--brand); }

/* --- small screens --- */

@media (max-width: 860px) {
    .hero-grid, .register-grid { grid-template-columns: 1fr; gap: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .hero { text-align: left; }
    .hero h1 { font-size: 1.9rem; }
    .brand-by { display: none; }
}
