/* Surveyor Desktop Research — brand styles.
   Palette & type lifted from surveyornotes.uk (Poppins + Arvo). */

:root {
    --navy: #122C3F;          /* headings / primary text */
    --navy-700: #1d3d54;
    --slate: #464D52;         /* body text / link hover */
    --magenta: #EA5187;       /* accent + links */
    --magenta-600: #d83c73;
    --aqua: #66CDAA;          /* secondary accent */
    --teal-700: #1a7a5e;      /* "most popular" pill */
    --cream: #F7F5EF;         /* warm section background */
    --paper: #ffffff;
    --line: #e6e3db;
    --muted: #6b7680;
    --shadow: 0 10px 30px rgba(18, 44, 63, .08);
    --shadow-lg: 0 24px 60px rgba(18, 44, 63, .12);
    --radius: 16px;
    --maxw: 1140px;
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Arvo', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--slate);
    background: var(--paper);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.3px; }
h3 { font-size: 1.2rem; }

a { color: var(--magenta); text-decoration: none; }
a:hover { color: var(--slate); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; font-weight: 600; font-size: 1rem;
    padding: 14px 28px; border-radius: 999px; cursor: pointer;
    border: 2px solid transparent; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    text-align: center;
}
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 8px 20px rgba(234, 81, 135, .3); }
.btn-primary:hover { background: var(--magenta-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__badge {
    width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
    background: linear-gradient(135deg, var(--navy), var(--teal-700));
    color: #fff; font-weight: 700; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center; letter-spacing: .5px;
}
.brand__name { font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.1; }
.brand__sub { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--navy); font-weight: 500; font-size: .96rem; }
.main-nav a:hover { color: var(--magenta); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 84px 0 92px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .8rem;
    letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700);
    background: rgba(102, 205, 170, .18); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { margin: 0 0 18px; }
.hero__lead { font-size: 1.18rem; color: var(--slate); max-width: 34ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.hero__art {
    background: #fff url('/media/splash.jpg') center/cover no-repeat;
    border-radius: 24px; box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3; min-height: 320px; border: 1px solid var(--line);
}

/* trust strip */
.trust { border-top: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding: 20px 24px; }
.trust__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.trust__item { font-weight: 600; color: var(--navy-700); font-size: .92rem; }
.trust__item::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); margin-right: 8px; vertical-align: middle; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section--cream { background: var(--cream); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; color: var(--slate); }
.serif { font-family: var(--font-serif); }

/* card grids */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
    width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(234, 81, 135, .1); color: var(--magenta); font-size: 1.3rem; margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; color: var(--navy); }
.card p { margin: 0; font-size: .96rem; }
.card__meta { display: inline-block; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--teal-700); background: rgba(102,205,170,.16); padding: 4px 10px; border-radius: 999px; }

/* workflow steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step::before {
    counter-increment: step; content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; margin-bottom: 14px;
    background: var(--navy); color: #fff; font-weight: 700; font-family: var(--font-sans);
}
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; font-size: .95rem; }

/* two products / bundle — a "subscription = card + card" equation */
.bundle { display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: nowrap; }
.bundle__chip { flex: 0 0 auto; align-self: center; display: inline-block; background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.bundle__op { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-family: var(--font-serif); font-size: 2.2rem; color: var(--magenta); font-weight: 700; }
.bundle__card { flex: 1 1 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.bundle__card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.bundle__card p { margin: 0; font-size: .96rem; }
.bundle__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bundle__badge { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--magenta); background: rgba(234,81,135,.12); padding: 4px 10px; border-radius: 999px; }
.bundle__badge--alt { color: var(--teal-700); background: rgba(102,205,170,.18); }
.logo-badge { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .5px; }
.logo-badge--dr { background: linear-gradient(135deg, var(--navy), var(--teal-700)); }
.logo-badge--sd { background: var(--teal-700); }

/* why each product */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.benefits__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.benefits__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.benefits__head h3 { margin: 0; font-size: 1.15rem; }
.benefits__list { list-style: none; margin: 0; padding: 0; }
.benefits__list li { position: relative; padding: 10px 0 10px 30px; font-size: .96rem; color: var(--slate); }
.benefits__list li + li { border-top: 1px solid var(--line); }
.benefits__list li strong { color: var(--navy); }
.benefits__list li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--magenta); font-weight: 700; }
.benefits__list--alt li::before { color: var(--teal-700); }

/* ---------- Pricing ---------- */
.cms-pricing-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.cms-pricing-card, .pricing-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 34px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.cms-pricing-card--featured, .pricing-card--featured { border: 2px solid var(--teal-700); box-shadow: var(--shadow-lg); }
.cms-pricing-badge, .pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--teal-700); color: #fff; font-size: .78rem; font-weight: 600;
    padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.cms-pricing-tier, .pricing-tier { font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.cms-pricing-price, .pricing-price { font-size: 2.4rem; font-weight: 700; color: var(--navy); font-family: var(--font-sans); }
.cms-pricing-unit, .pricing-unit { font-size: 1rem; font-weight: 500; color: var(--muted); }
.cms-pricing-features, .pricing-features { list-style: none; padding: 20px 0; margin: 16px 0; border-top: 1px solid var(--line); flex: 1 1 auto; }
.cms-pricing-features li, .pricing-features li { padding: 8px 0 8px 28px; position: relative; color: var(--slate); }
.cms-pricing-features li::before, .pricing-features li::before {
    content: "✓"; position: absolute; left: 0; color: var(--teal-700); font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--teal-700)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 12px auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--cream); color: var(--navy); }

/* ---------- CMS page body ---------- */
.page-header { background: var(--cream); padding: 54px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--magenta); }
.content-body { padding: 56px 0 76px; }
.content-body .container { max-width: 820px; }
.content-body h2 { margin-top: 2em; }
.content-body .cms-lead { font-size: 1.2rem; color: var(--navy-700); }
.content-body img { border-radius: 12px; }
.cms-grid { display: grid; gap: 20px; margin: 28px 0; }
.cms-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cms-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cms-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cms-card h3 { margin-top: 0; }
.cms-cta { display: inline-block; background: var(--magenta); color: #fff !important; font-weight: 600; padding: 13px 26px; border-radius: 999px; margin-top: 8px; }
.cms-cta:hover { background: var(--magenta-600); }
.cms-page-image { max-width: 100%; height: auto; border-radius: 12px; display: block; }
.cms-page-image--responsive { width: 100%; }
.cms-page-image--margin-small { margin: 12px 0; }
.cms-page-image--margin-medium { margin: 24px 0; }
.cms-page-image--margin-large { margin: 40px 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease; color: inherit; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__img { display: block; height: 170px; background: var(--cream) center/cover no-repeat; }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.blog-card__meta { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.blog-card__title { font-family: var(--font-sans); font-weight: 700; color: var(--navy); font-size: 1.12rem; line-height: 1.25; }
.blog-card__summary { color: var(--slate); font-size: .95rem; flex: 1 1 auto; }
.blog-card__more { color: var(--magenta); font-weight: 600; font-size: .9rem; margin-top: 6px; }
.blog-post__meta { color: var(--muted); font-weight: 500; }
.blog-post__hero { width: 100%; border-radius: 14px; margin-bottom: 28px; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.blog-tag { background: rgba(102,205,170,.16); color: var(--teal-700); font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 30px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: .92rem; }
.footer-brand .brand__badge { background: linear-gradient(135deg, var(--aqua), var(--teal-700)); }
.footer-brand .brand__name, .footer-brand .brand__sub { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .84rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; padding: 56px 0; }
    .hero__art { order: -1; min-height: 220px; }
    .grid--2, .grid--3, .steps, .cms-pricing-grid, .pricing-grid, .cms-grid--2, .cms-grid--3, .footer-grid, .benefits, .blog-grid { grid-template-columns: 1fr; }
    .bundle { flex-direction: column; align-items: stretch; }
    .bundle__chip { align-self: center; }
    .bundle__op { font-size: 1.8rem; }
    .main-nav { position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
    .main-nav .btn { margin-top: 12px; }
    .nav-toggle { display: block; margin-left: auto; }
}
