/* Pitters Payroll public site — colours follow pittersaccountingpros.com */
:root {
    --blue: #3a5bbf;
    --blue-dark: #2b4796;
    --blue-deep: #1f356f;
    --sky: #4aa3df;
    --orange: #f7941d;
    --orange-dark: #e07b00;
    --olive: #7b8a1c;
    --maroon: #8c1d40;
    --ink: #23262d;
    --muted: #5f6470;
    --line: #e3e7ef;
    --soft: #f5f7fc;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 18px 40px -18px rgba(31, 53, 111, 0.45);
    --font-brand: "Montserrat", "Segoe UI", Arial, sans-serif;
    --font-nav: "Merriweather", Georgia, serif;
    --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
}

a { color: inherit; }

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.center { text-align: center; }
.muted { color: var(--muted); }

/* Masthead */
.masthead { background: var(--white); }

.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark { width: 64px; height: 64px; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--blue);
}

.brand-sub {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-dark);
    margin-top: 4px;
}

.brand-tagline {
    font-family: var(--font-brand);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sky);
    margin-top: 6px;
}

.masthead-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: var(--font-nav);
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }

.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }

.btn-outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-ghost { background: transparent; color: var(--blue-dark); border-color: rgba(43, 71, 150, 0.35); }
.btn-ghost:hover { border-color: var(--blue-dark); }

.btn-block { width: 100%; }
.btn-lg { padding: 14px 30px; font-size: 18px; }

/* Navigation bar */
.navbar {
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
    border-bottom: 5px solid var(--sky);
    position: sticky;
    top: 0;
    z-index: 20;
}

.navbar-inner {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-link {
    padding: 16px 20px;
    color: var(--white);
    font-family: var(--font-nav);
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover { background: rgba(255, 255, 255, 0.12); }
.nav-link.is-active { background: var(--sky); }
.nav-link-strong { font-weight: 700; }
.nav-spacer { flex: 1; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(247, 148, 29, 0.12), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(123, 138, 28, 0.12), transparent 40%),
        var(--soft);
    padding: 64px 0 0;
}

.hero-words {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    opacity: 0.09;
    user-select: none;
}

.hero-words .w { position: absolute; line-height: 1; }
.w-tax { top: 2%; right: 4%; font-size: 180px; color: var(--orange); }
.w-business { top: 34%; left: 30%; font-size: 150px; color: var(--olive); }
.w-accounting { bottom: 8%; left: -2%; font-size: 140px; color: var(--olive); }
.w-payroll { top: 8%; left: 3%; font-size: 64px; color: var(--maroon); }
.w-clients { bottom: 22%; right: 8%; font-size: 96px; color: var(--maroon); }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange-dark);
}

.hero h1 {
    margin: 0 0 18px;
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: clamp(32px, 4.4vw, 50px);
    line-height: 1.12;
    color: var(--blue-deep);
}

.accent-orange { color: var(--orange); }

.lead { margin: 0 0 20px; font-size: 19px; color: #3a3f4a; max-width: 600px; }

.hero-points {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.hero-points li { padding-left: 30px; position: relative; font-weight: 600; }

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--olive);
    box-shadow: inset 0 0 0 5px #e8edcf;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-caption {
    position: relative;
    margin: 56px 0 0 auto;
    width: fit-content;
    padding: 18px 32px;
    background: rgba(70, 70, 70, 0.85);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 24px;
}

/* Login card */
.login-card {
    background: var(--white);
    border-radius: var(--radius);
    border-top: 6px solid var(--blue);
    box-shadow: var(--shadow);
    padding: 30px;
    scroll-margin-top: 90px;
}

.login-card h2 {
    margin: 0 0 4px;
    font-family: var(--font-brand);
    font-size: 24px;
    color: var(--blue-deep);
}

.login-card .muted { margin: 0 0 20px; }

.login-card label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 600;
    font-size: 15px;
}

.login-card input[type="email"],
.login-card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c9d0de;
    border-radius: 6px;
    font: inherit;
    background: #fbfcff;
}

.login-card input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(58, 91, 191, 0.2);
}

.login-card input.has-error { border-color: var(--maroon); }

.field-error { margin: 6px 0 0; color: var(--maroon); font-size: 14px; font-weight: 600; }

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 20px;
    font-size: 15px;
}

.login-card .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
}

.link { color: var(--blue); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

.login-foot { margin: 18px 0 0; font-size: 15px; color: var(--muted); text-align: center; }
.login-card .btn + .btn { margin-top: 10px; }

/* Sections */
.section { padding: 80px 0; }
.section-soft { background: var(--soft); }

.section-title {
    margin: 0 auto 44px;
    max-width: 720px;
    text-align: center;
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    color: var(--blue-deep);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.feature h3 { margin: 16px 0 8px; font-family: var(--font-brand); font-size: 19px; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 18px;
    color: var(--white);
}

.icon-blue { background: var(--blue); }
.icon-orange { background: var(--orange); }
.icon-olive { background: var(--olive); }
.icon-maroon { background: var(--maroon); }

/* Steps */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 26px 26px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 5px solid var(--orange);
}

.step:nth-child(2) { border-left-color: var(--olive); }
.step:nth-child(3) { border-left-color: var(--blue); }

.step-number {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 40px;
    line-height: 1;
    color: var(--sky);
}

.step h3 { margin: 12px 0 8px; font-family: var(--font-brand); font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

/* Plans */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.plan-featured {
    border: 2px solid var(--orange);
    box-shadow: var(--shadow);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plan h3 { margin: 0; font-family: var(--font-brand); font-size: 22px; color: var(--blue-deep); }

.plan-price {
    margin: 14px 0 4px;
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: 40px;
    color: var(--ink);
}

.plan-price .currency { font-size: 20px; vertical-align: top; margin-right: 2px; }
.plan-price .per { font-size: 15px; font-weight: 600; color: var(--muted); }

.plan-limit { margin: 0 0 18px; color: var(--olive); font-weight: 600; }

.plan ul { margin: 0 0 24px; padding: 0 0 0 20px; color: var(--muted); flex: 1; }
.plan li { margin-bottom: 6px; }

/* Call to action band */
.cta-band {
    background: linear-gradient(120deg, var(--blue-deep), var(--blue));
    color: var(--white);
    padding: 56px 0;
    border-top: 5px solid var(--orange);
    scroll-margin-top: 60px;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-band h2 { margin: 0 0 6px; font-family: var(--font-brand); font-size: 28px; }
.cta-band p { margin: 0; opacity: 0.9; }

/* Footer */
.footer { background: #1a2547; color: #c9d1e8; padding: 40px 0 24px; font-size: 15px; }

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand strong { display: block; color: var(--white); font-family: var(--font-brand); }
.footer-brand span { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--sky); }

.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #c9d1e8; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

.footer-copy {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #8f9bbd;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: 1fr; }
    .w-business, .w-accounting { font-size: 90px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .masthead-inner { flex-direction: column; align-items: flex-start; }
    .masthead-actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
    .masthead-actions .btn { flex: 1; }
    .brand-mark { width: 48px; height: 48px; }
    .brand-name { font-size: 22px; }
    .brand-sub { font-size: 12px; letter-spacing: 1px; }
    .brand-tagline { font-size: 9px; letter-spacing: 2px; }
    .nav-link { padding: 14px; font-size: 15px; }
    .hero { padding-top: 40px; }
    .hero-caption { font-size: 18px; margin-top: 36px; }
    .feature-grid { grid-template-columns: 1fr; }
    .login-card { padding: 24px 20px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
