/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

/* ---- Palette roles ---- */
:root {
  --surface: #f2f4f6;    /* filled panels and tone-step bands */
  --brand: #0b5f9e;      /* the blue: actions, links and focus only */
  --brand-deep: #0a3a5f; /* full-bleed colour field (hero) */
  --field-ink: #ffffff;  /* text on the deep field */
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
  background: #ffffff;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Telex", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.15;
}

@font-face {
  font-family: "Telex";
  src: local("Telex");
  font-display: swap;
}

a {
  color: #0b5f9e; /* darkened from the original #2fa4e7 to clear 4.5:1 on white and #f5f5f5 */
  text-decoration: none;
}
a:hover, a:focus { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #0b5f9e;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: #0b5f9e;
  color: #ffffff;
}
.btn-primary:hover, .btn-primary:focus { background: #094c80; text-decoration: none; color: #fff; }
.btn-outline {
  border-color: #0b5f9e;
  color: #0b5f9e;
  padding: 0.4rem 0.9rem;
}
.btn-outline:hover, .btn-outline:focus { background: #0b5f9e; color: #fff; text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: #ffffff;
}
.btn-ghost:hover, .btn-ghost:focus { background: #ffffff; color: #0b5f9e; text-decoration: none; }
.btn-large { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.link-secondary { display: inline-block; margin-left: 1rem; }

/* ---- Alert bar ---- */
.alert-bar {
  background: #fcf3d9;
  color: #6b5417;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.alert-bar-inner { display: block; max-width: 80ch; margin: 0 auto; }

/* ---- Header / nav ---- */
.masthead {
  background: #ffffff;
}
.masthead-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { display: block; height: 48px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  margin: 4px 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.nav-list a:not(.btn) {
  color: #333333;
  font-size: 0.95rem;
}
.nav-list a.active {
  color: #0b5f9e;
  font-weight: 600;
}
.nav-prices { font-weight: 600; }

.nav-group { position: relative; }
.nav-group-toggle {
  background: none;
  border: none;
  font: inherit;
  color: #333333;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-group-toggle.active { color: #0b5f9e; font-weight: 600; }
.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  min-width: 200px;
  display: none;
  z-index: 20;
}
.nav-group.open .nav-submenu { display: block; }
.nav-submenu li a { display: block; padding: 0.5rem 1rem; }

.nav-actions { gap: 0.75rem; }

/* ---- Hero ---- */
.hero {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,30,50,0.35), rgba(10,30,50,0.55)); /* taste-skill-ignore: neutral scrim over photo */
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
  color: #ffffff;
}
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}
.hero-sub {
  font-size: 1.15rem;
  margin: 0 0 2rem;
  color: #eef5fb;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Offerings ---- */
.offerings { padding: 3.5rem 1.25rem; }
.offerings-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.offer-card { text-align: left; }
.offer-accent { height: 4px; margin-bottom: 1.25rem; border-radius: 2px; }
.offer-accent-green { background: #2e8b45; }
.offer-accent-orange { background: #d97a1f; }
.offer-accent-blue { background: #0b5f9e; }
.offer-icon { height: 64px; width: auto; margin-bottom: 1rem; }
.offer-icon-tall { height: 84px; }
.offer-card h2 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.offer-card p { margin: 0 0 0.75rem; color: #4a4a4a; }

/* ---- Content split ---- */
.content-split {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-main h2 { margin-top: 0; }
.content-main p { margin: 0 0 1rem; color: #333; }

.side-card {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.side-card h3 { margin: 0 0 0.6rem; font-size: 1.1rem; }
.side-card-price { background: var(--surface); border-color: var(--surface); }
.side-card-price p { margin: 0 0 1rem; color: #33474f; font-size: 0.95rem; }
.side-price-figure strong {
  display: block;
  font-family: "Telex", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.side-card-status { background: #fafafa; }
.side-card-status summary {
  cursor: pointer;
  font-weight: 600;
  color: #555555;
  font-size: 0.95rem;
}
.status-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.status-list li + li { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid #ececec; }
.status-list a { display: block; color: #555555; }
.status-date { display: block; font-size: 0.78rem; color: #8a8a8a; }
.status-title { display: block; font-size: 0.9rem; color: #444444; }

/* ---- Footer ---- */
.site-footer {
  background: #f5f5f5;
  padding: 2rem 1.25rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.trust-badges { display: flex; align-items: center; gap: 1rem; }
.footer-links { margin: 0 0 0.5rem; color: #333333; }
.footer-links a { color: #0b5f9e; }
.footer-legal { margin: 0; font-size: 0.9rem; color: #666666; }

/* ---- Sub-page layout (Send Letters / Business / Prices / Signup) ---- */
.breadcrumb {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: #666666;
  list-style: none;
  display: flex;
  gap: 0.4rem;
}
.breadcrumb a { color: #0b5f9e; }
.breadcrumb li[aria-current] { color: #333333; }

.subpage {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

.local-nav {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 0.5rem 0;
  position: sticky;
  top: 1.5rem;
}
.local-nav ul { list-style: none; margin: 0; padding: 0; }
.local-nav a {
  display: block;
  padding: 0.55rem 1rem;
  color: #333333;
  font-size: 0.92rem;
}
.local-nav a:hover, .local-nav a:focus { background: #f4f9fd; text-decoration: none; }
.local-nav a[aria-current] { color: #0b5f9e; font-weight: 600; background: #f4f9fd; }

.local-nav:empty { display: none; }
.subpage:has(> .local-nav:empty) { grid-template-columns: 1fr; }

.page-content h1 { margin-top: 0; }
.article-full {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}
.page-content h2 { margin-top: 2rem; }
.page-content p, .page-content li { color: #333333; max-width: 68ch; }
.page-content img.figure { max-width: 100%; height: auto; border-radius: 6px; margin: 1rem 0; }
.integration-badges { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin: 1rem 0; }
.integration-badges img { height: 40px; width: auto; }
.badge-fallback { font-size: 0.85rem; color: #666666; background: var(--surface); border-radius: 4px; padding: 0.35rem 0.75rem; }
.legal-note { font-size: 0.85rem; color: #666666; margin-top: 2rem; padding-top: 1rem; }
.cta-list { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.cta-list a { font-weight: 600; }

/* ---- Price calculator ---- */
.calculator-intro { max-width: 68ch; }
.calculator {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.field select, .field input[type="text"], .field input[type="email"], .field input[type="password"] {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #ffffff;
}
.field select:focus, .field input:focus {
  outline: 3px solid #0b5f9e;
  outline-offset: 1px;
  border-color: #0b5f9e;
}

.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid #ececec; }
.price-table th { color: #4a4a4a; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.price-table label { font-weight: 600; }
.price-table select {
  width: auto;
  max-width: 100%;
  min-width: 9rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #ffffff;
}
.price-table select:focus {
  outline: 3px solid #0b5f9e;
  outline-offset: 1px;
  border-color: #0b5f9e;
}

.price-table .row-note td { border-bottom: none; padding-top: 0; font-size: 0.82rem; color: #666666; }
.price-table td:last-child:not([colspan]) { white-space: nowrap; }
.price-table .row-total td { font-weight: 700; font-size: 1.05rem; border-top: 2px solid #333333; border-bottom: none; padding-top: 0.85rem; }
.calculator-disclaimer {
  background: #f4f9fd;
  border: 1px solid #cfe3f2;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #33474f;
  margin-top: 1rem;
}

/* ---- Signup form ---- */
.signup-form { margin-top: 1.5rem; }
.form-section {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section h2 { margin-top: 0; font-size: 1.2rem; }
.form-section .section-intro { color: #4a4a4a; font-size: 0.9rem; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.form-row .field-full { grid-column: 1 / -1; }
.checkbox-field { display: flex; align-items: center; gap: 0.5rem; grid-column: 1 / -1; }
.checkbox-field input { width: auto; }
.required-note { font-size: 0.82rem; color: #666666; margin: 0.5rem 0 1.25rem; }
.terms-box {
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fafafa;
  padding: 1rem 1.25rem;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.85rem;
  color: #4a4a4a;
  margin-bottom: 1rem;
}
.terms-box h3 { font-size: 0.95rem; margin: 1rem 0 0.4rem; }
.terms-box h3:first-child { margin-top: 0; }
.terms-box ul { margin: 0.4rem 0 0.8rem; padding-left: 1.2rem; }
.captcha-field {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.captcha-placeholder {
  width: 150px;
  height: 50px;
  border: 1px dashed #b7b7b7;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #888888;
  background: #f5f5f5;
  text-align: center;
  padding: 0.25rem;
}
.captcha-field .field { flex: 1; min-width: 180px; margin: 0; }
.agreement-note { font-size: 0.88rem; color: #4a4a4a; margin: 1rem 0; }


/* ---- Contact page ---- */
.contact-notice {
    background: #fcf3d9;
    border: 1px solid #ecd9a0;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: #6b5417;
    margin: 1.25rem 0;
}

.contact-form {
    margin-top: 1.5rem;
}

.contact-form textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
}

.contact-form textarea:focus {
    outline: 3px solid #0b5f9e;
    outline-offset: 1px;
    border-color: #0b5f9e;
}

.postal-address {
    font-style: normal;
    line-height: 1.7;
    border-left: 3px solid #0b5f9e;
    padding-left: 1rem;
    color: #333333;
}
/* ---- Business homepage variant ---- */
.business-hero {
  background: var(--brand-deep);
  color: var(--field-ink);
}
.business-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 5.5rem) 1.25rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.business-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  color: #ffffff;
}
.business-hero-sub {
  font-size: 1.125rem;
  color: #c9dcea;
  max-width: 52ch;
  margin: 0 0 2rem;
}
.business-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.business-hero .btn-primary { background: #ffffff; color: var(--brand-deep); }
.business-hero .btn-primary:hover, .business-hero .btn-primary:focus { background: #e9eef2; color: var(--brand-deep); text-decoration: none; }
.business-hero .btn-outline { border-color: #ffffff; color: #ffffff; }
.business-hero .btn-outline:hover, .business-hero .btn-outline:focus { background: #ffffff; color: var(--brand-deep); text-decoration: none; }
.business-hero-visual { margin: 0; }
.hero-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #082c48;
}
.hero-clip-poster { display: none; }
html.no-js .hero-clip-poster { display: block; }
.business-hero-visual figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #9fc3dd;
}

.audience-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 0;
  text-align: center;
  color: #4a4a4a;
    font-size: 1.125rem;
}

.persona-section { padding: 3.5rem 1.25rem; }
.persona-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.persona-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 1.75rem;
}
.persona-card h2 { font-size: 1.15rem; margin: 0 0 0.75rem; }
.persona-card p { margin: 0 0 1rem; color: #4a4a4a; font-size: 0.95rem; }
.persona-card ul { margin: 0; padding-left: 1.1rem; color: #4a4a4a; font-size: 0.9rem; }
.persona-card li + li { margin-top: 0.4rem; }

.capability-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}
.capability-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.capability-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 1.1rem;
  color: #333333;
}
.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #1a1a1a;
}
.capability-list strong { display: block; margin-bottom: 0.15rem; }

.cta-band {
  background: var(--brand);
  color: #ffffff;
  padding: 3rem 1.25rem;
  text-align: center;
}
.cta-band-inner { max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #ffffff; margin: 0 0 0.75rem; }
.cta-band p { margin: 0 0 1.75rem; color: #dceaf5; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #ffffff; color: #0b5f9e; }
.cta-band .btn-primary:hover, .cta-band .btn-primary:focus { background: #eef5fb; color: #094c80; }

/* ---- Royal Mail service updates band ---- */
.status-band {
  background: var(--surface);
  padding: 3rem 1.25rem 3.25rem;
}
.status-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.status-band h2 { margin: 0 0 0.75rem; font-size: 1.5rem; }
.status-band-intro p { margin: 0 0 1rem; color: #4a4a4a; max-width: 60ch; }
.status-band-list { list-style: none; margin: 0; padding: 0; }
.status-band-list li + li { margin-top: 0.4rem; }
.status-band-list a {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.9rem 1rem;
  background: #e9edf1;
  border-radius: 6px;
}
.status-band-date { flex: 0 0 9.5rem; font-size: 0.9rem; color: #666666; }
.status-band-title { font-size: 0.98rem; color: #1a1a1a; }
.status-band-list a:hover .status-band-title,
.status-band-list a:focus .status-band-title { color: #0b5f9e; }

/* ---- Work band: pictures from the subject's world ---- */
.work-band { padding: 4rem 1.25rem; }
.work-band h2 {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.work-band-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 1.25rem;
}
.work-band-item { margin: 0; }
.work-band-item img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.work-band-item figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: #4a4a4a;
}

/* ---- Security band (Cyber Essentials) ---- */
.security-band { padding: 4rem 1.25rem; }
.security-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.security-badge { display: block; margin-bottom: 1.25rem; }
.security-band h2 { margin: 0 0 0.75rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.security-band p { margin: 0 0 1.25rem; color: #333333; max-width: 60ch; }
.security-points { margin: 0; padding-left: 1.1rem; color: #4a4a4a; }
.security-points li + li { margin-top: 0.4rem; }
.security-band-visual { margin: 0; }
.security-band-visual img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
}

/* ---- Motion layer ---- */
html.js .business-hero h1 {
  clip-path: inset(0 0 100% 0);
  animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
@keyframes hero-rise {
  to { clip-path: inset(0 0 -0.1em 0); }
}
html.js .business-hero-sub,
html.js .business-hero-actions,
html.js .business-hero-visual {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade 0.8s ease forwards;
}
html.js .business-hero-sub { animation-delay: 0.45s; }
html.js .business-hero-actions { animation-delay: 0.6s; }
html.js .business-hero-visual { animation-delay: 0.75s; }
@keyframes hero-fade {
  to { opacity: 1; transform: none; }
}
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.btn { transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.btn:active { transform: translateY(1px) scale(0.99); }

@media (prefers-reduced-motion: reduce) {
  html.js .business-hero h1 { clip-path: none; animation: none; }
  html.js .business-hero-sub,
  html.js .business-hero-actions,
  html.js .business-hero-visual { opacity: 1; transform: none; animation: none; }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-clip { display: none; }
  .hero-clip-poster { display: block; }
  .btn { transition: none; }
}

/* ---- Footer credits for found media ---- */
.footer-credits {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.82rem;
  color: #6b6b6b;
  line-height: 1.6;
}
.footer-credits-inner { display: block; max-width: 90ch; margin: 0 auto; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .offerings-inner { grid-template-columns: 1fr; }
  .content-split { grid-template-columns: 1fr; }
  .subpage { grid-template-columns: 1fr; gap: 1.5rem; }
  .local-nav { position: static; }
  .local-nav ul { display: flex; flex-wrap: wrap; }
  .local-nav a { padding: 0.5rem 0.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .calculator-grid { grid-template-columns: 1fr; }
  .business-hero-inner { grid-template-columns: 1fr; text-align: left; }
  .business-hero-visual { max-width: 560px; margin: 0 auto; }
  .persona-grid { grid-template-columns: 1fr; }
  .capability-section { grid-template-columns: 1fr; }
  .status-band-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .status-band-intro p { max-width: none; }
  .work-band-grid { grid-template-columns: 1fr 1fr; }
  .work-band-item img { height: 240px; }
  .security-band-inner { grid-template-columns: 1fr; gap: 2rem; }
  .security-band-visual img { height: 240px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* taste-skill-ignore: overlay panel */
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
  }
  .masthead { position: relative; }
  .primary-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav-actions { margin-top: 0.75rem; }
  .nav-submenu { position: static; box-shadow: none; /* taste-skill-ignore: reset */ border: none; padding-left: 1rem; }
  .hero-inner { padding: 3.5rem 1.25rem 3rem; }
  .hero-actions { flex-direction: column; }
  .status-band-list a { flex-direction: column; gap: 0.1rem; }
  .status-band-date { flex-basis: auto; }
  .footer-row { flex-direction: column; gap: 1rem; }
}

@media (max-width: 600px) {
  .calculator { padding: 1rem; }

  /* Stack each calculator row: label + price on one line, dropdown and amount below */
  .price-table,
  .price-table tbody { display: block; }
  .price-table thead { display: none; }
  .price-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 1rem;
    row-gap: 0.4rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ececec;
  }
  .price-table td { display: block; padding: 0; border-bottom: none; }
  .price-table td:empty { display: none; }
  .price-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .price-table td:nth-child(4) { grid-column: 2; grid-row: 1; text-align: right; }
  .price-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .price-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; font-size: 0.85rem; color: #666666; }
  .price-table td[colspan] { grid-column: 1 / -1; grid-row: auto; text-align: left; }
  .price-table select { width: 100%; min-width: 0; }
  .price-table .row-note,
  .price-table tr:has(+ .row-note),
  .price-table tr:has(> td[colspan="4"]:only-child) { border-bottom: none; }
  .price-table .row-note,
  .price-table tr:has(> td[colspan="4"]:only-child) { padding: 0; }
  .price-table .row-total { border-top: 2px solid #333333; border-bottom: none; }
  .price-table .row-total td,
  .price-table .row-total td:nth-child(2) { border-top: none; padding-top: 0; }
  .price-table .row-total td:first-child { grid-column: 1; grid-row: 1; }
  .price-table .row-total td:nth-child(2) { grid-column: 2; grid-row: 1; }

  /* Contact form: stack captcha, answer and Send button */
  .captcha-field { flex-direction: column; align-items: stretch; }
  .captcha-placeholder { width: 100%; min-height: 50px; height: auto; }
  .captcha-field .field { min-width: 0; }
  .captcha-field .btn { display: block; width: 100%; }
}

.help-inline {
    color:red;
}

/* ---- Legacy form pages (Signup, Login, Forgot password, etc.) ----
   These pages still use Bootstrap 2 class names; styled here so they match the new design. */
.legacy-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}
.legacy-page h1 { margin-top: 0; }
.legacy-page p { max-width: 68ch; }
.legacy-page img { max-width: 100%; height: auto; }
.legacy-page iframe {
  display: block;
  max-width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  margin: 0.75rem 0;
}
.legacy-page fieldset {
  min-width: 0;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 0 0 1.5rem;
}
.legacy-page legend {
  font-family: "Telex", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  padding: 0 0.5rem;
}
.legacy-page .control-group { margin-bottom: 1.25rem; }
.legacy-page .control-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.legacy-page .controls input[type="checkbox"] { width: 1.1rem; height: 1.1rem; }
.legacy-page #businessField[style*="visibility:hidden"],
.legacy-page #businessField[style*="visibility: hidden"] { height: 0; margin: 0; overflow: hidden; }
.legacy-page input[type="text"],
.legacy-page input[type="email"],
.legacy-page input[type="password"],
.legacy-page select {
  width: 100%;
  max-width: 28rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  font-size: 0.95rem;
  background: #ffffff;
}
.legacy-page input[type="text"]:focus,
.legacy-page input[type="email"]:focus,
.legacy-page input[type="password"]:focus,
.legacy-page select:focus {
  outline: 3px solid #0b5f9e;
  outline-offset: 1px;
  border-color: #0b5f9e;
}
.legacy-page .input-block-level { display: block; margin-bottom: 0.9rem; }
.legacy-page .help-inline:not(:empty) { display: block; font-size: 0.85rem; margin-top: 0.25rem; }
.legacy-page .btn-large { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.legacy-page .alert {
  background: #fcf3d9;
  border: 1px solid #ecd9a0;
  color: #6b5417;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
}
.legacy-page .alert-error {
  background: #fdecea;
  border-color: #f2b8b5;
  color: #8a1f17;
}
.legacy-page .well {
  background: var(--surface);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.legacy-page .form-signin { width: auto !important; max-width: 24rem; margin-left: 0 !important; }
.legacy-page .row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 !important; }
.legacy-page .row > .span6 { flex: 1 1 18rem; }
.legacy-page .row > .span12 { flex: 1 1 100%; }
.legacy-page .row > .span6 .well { margin-bottom: 0; }
.legacy-page .well a { font-size: 0.85rem !important; }
