/* Stamford Bridge Technologies — static build (port of the WordPress.com design)
   Palette: navy #0A1628 / amber #FFB800 / off-white #EAEEF4. Font: Plus Jakarta Sans. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0a1628;
  background: #ffffff;
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #0a1628;
  border-bottom: 1px solid rgba(255,184,0,.25);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-logo img { height: 80px; width: auto; }
@media (max-width: 860px) { .site-logo img { height: 64px; } }
nav.sbt-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
nav.sbt-nav a {
  color: #eaeef4; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .02em;
}
nav.sbt-nav a:hover { color: #ffb800; }
.nav-toggle, .nav-close {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: #eaeef4; margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, #0a1628 0%, #101f38 55%, #0a1628 100%);
  color: #ffffff; text-align: center; padding: 92px 22px 84px;
}
.hero.hero-home {
  background:
    linear-gradient(rgba(10,22,40,.66), rgba(10,22,40,.72)),
    url('/images/hero-1.jpg') center 40% / cover no-repeat;
  min-height: calc(100vh - 110px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 90px 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 auto 14px; max-width: 820px; font-weight: 800;
}
.hero .hero-rule { width: 74px; height: 4px; background: #ffb800; margin: 22px auto; border-radius: 2px; }
.hero p.tagline { color: #eaeef4; font-size: 1.25rem; margin: 0 auto; max-width: 640px; }

/* ---------- Sections ---------- */
.section { padding: 64px 22px; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section.alt { background: #eaeef4; }
.section.dark { background: #0a1628; color: #eaeef4; }

h2.center {
  text-align: center; font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; margin: 0 0 12px;
}
h2.center::after {
  content: ""; display: block; width: 64px; height: 4px; background: #ffb800; margin: 14px auto 0; border-radius: 2px;
}
.section.dark h2.center { color: #ffffff; }
.lede { text-align: center; max-width: 760px; margin: 18px auto 0; font-size: 1.08rem; }

/* ---------- Cards ---------- */
.sbt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 42px; }
.sbt-card {
  background: #ffffff; border-top: 4px solid #ffb800; border-radius: 10px;
  padding: 28px 26px; box-shadow: 0 8px 28px rgba(10,22,40,.09);
}
.sbt-card h3 { margin: 0 0 10px; font-size: 1.18rem; font-weight: 800; }
.sbt-card p { margin: 0; color: #33415c; }

/* ---------- Stats ---------- */
.sbt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 42px; text-align: center; }
.sbt-stat .num { color: #ffb800; font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.sbt-stat .label { color: #eaeef4; margin-top: 8px; }

/* ---------- Trusted chips ---------- */
.sbt-trusted { text-align: center; margin-top: 48px; }
.sbt-trusted .kicker { letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #8fa1bd; }
.sbt-clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
.sbt-client {
  background: #101f38; color: #eaeef4; border-bottom: 3px solid #ffb800;
  padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: .95rem;
}

/* ---------- Who we help ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 42px; }
.help-card { background: #ffffff; border-radius: 10px; padding: 26px; box-shadow: 0 8px 28px rgba(10,22,40,.08); }
.help-card h3 { color: #0a1628; margin: 0 0 8px; font-size: 1.12rem; font-weight: 800; }
.help-card h3::after { content: ""; display: block; width: 40px; height: 3px; background: #ffb800; margin-top: 8px; }
.help-card p { margin: 0; color: #33415c; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 42px; }
.blog-card {
  background: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(10,22,40,.09);
  display: flex; flex-direction: column; text-decoration: none;
}
.blog-card img { aspect-ratio: 1200/650; object-fit: cover; }
.blog-card .pad { padding: 20px 22px 24px; }
.blog-card h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 800; color: #0a1628; line-height: 1.35; }
.blog-card .date { color: #64748b; font-size: .85rem; }
.blog-card p.excerpt { color: #33415c; font-size: .95rem; margin: 10px 0 0; }
.blog-list .blog-card { flex-direction: row; }
.blog-list .blog-card img { width: 340px; aspect-ratio: auto; }
.blog-list { display: flex; flex-direction: column; gap: 26px; margin-top: 42px; }

/* ---------- Forms (navy card) ---------- */
.form-card {
  background: #ffffff; color: #0a1628; border-radius: 12px; padding: 36px 34px;
  max-width: 720px; margin: 42px auto 0; box-shadow: 0 12px 36px rgba(10,22,40,.25);
  border-top: 5px solid #ffb800;
}
.form-card h2 { color: #0a1628; margin-top: 0; }
.form-card label { display: block; font-weight: 700; font-size: .92rem; margin: 18px 0 6px; color: #0a1628; }
.form-card input[type=text], .form-card input[type=email], .form-card textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #c6d0e0;
  background: #f4f6fa; color: #0a1628; font-family: inherit; font-size: 1rem;
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid #ffb800; border-color: #ffb800; }
.form-card textarea { min-height: 130px; resize: vertical; }
.form-card .stars { display: flex; gap: 6px; font-size: 1.7rem; cursor: pointer; user-select: none; }
.form-card .stars span { color: #33415c; transition: color .15s; }
.form-card .stars span.on { color: #ffb800; }
.btn-amber {
  display: inline-block; background: linear-gradient(135deg, #ffd34d, #ffb800 55%, #e09b00); color: #0a1628; box-shadow: 0 4px 12px rgba(255,184,0,.4); font-weight: 800;
  padding: 14px 30px; border-radius: 8px; border: 0; cursor: pointer; font-size: 1rem;
  text-decoration: none; margin-top: 22px; font-family: inherit;
}
.btn-amber:hover { filter: brightness(1.06); }
.contact-line { text-align: center; margin-top: 26px; font-size: 1.05rem; }
.contact-line a { color: #ffb800; font-weight: 700; text-decoration: none; }
.section.dark .contact-line { color: #eaeef4; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 46px; align-items: stretch; }
.sbt-price-card { border-radius: 12px; padding: 36px 32px; box-shadow: 0 12px 36px rgba(10,22,40,.14); display: flex; flex-direction: column; }
.sbt-price-card.flagship { background: #ffb800; color: #0a1628; }
.sbt-price-card.flagship h2::after { background: #0a1628; }
.sbt-price-card.annual { background: #ffffff; border: 1px solid #d8dfea; }
.sbt-price-card h2 { font-size: 1.4rem; font-weight: 800; margin: 0; }
.sbt-price-card h2::after { content: ""; display: block; width: 56px; height: 4px; background: #ffb800; margin-top: 10px; border-radius: 2px; }
.price { font-size: 2.9rem; font-weight: 800; margin: 18px 0 4px; }
.price small { font-size: 1.1rem; font-weight: 700; }
.sbt-price-card ul { padding-left: 20px; margin: 18px 0; }
.sbt-price-card li { margin: 9px 0; }
.fineprint { font-weight: 700; margin-top: auto; }
.sbt-price-card .btn-navy {
  display: inline-block; background: #0a1628; color: #ffffff; font-weight: 800;
  padding: 14px 30px; border-radius: 8px; text-decoration: none; margin-top: 20px; text-align: center;
}
.sbt-price-card.annual .btn-navy { background: #ffb800; color: #0a1628; }
.badge { display: inline-block; background: #0a1628; color: #ffb800; font-size: .78rem; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.sbt-price-card.annual .badge { background: #eaeef4; color: #0a1628; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 46px auto 0; }
.faq .qa { background: #ffffff; border-radius: 10px; padding: 24px 28px; margin-bottom: 18px; box-shadow: 0 6px 22px rgba(10,22,40,.07); }
.faq h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; }
.faq p { margin: 0; color: #33415c; }

/* ---------- Prose (about, products, posts) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; font-weight: 800; }
.prose h2 { font-size: 1.45rem; font-weight: 800; margin-top: 2.2em; }
.prose h2::after { content: ""; display: block; width: 48px; height: 3px; background: #ffb800; margin-top: 8px; border-radius: 2px; }
.prose ul li { margin: 8px 0; }
.post-meta { color: #64748b; font-size: .9rem; margin-bottom: 26px; }
.post-hero { border-radius: 12px; margin: 26px 0 34px; box-shadow: 0 10px 32px rgba(10,22,40,.14); }
.byline { margin-top: 40px; font-weight: 700; }

/* ---------- Section photos ---------- */
.photo-band img { border-radius: 12px; box-shadow: 0 12px 36px rgba(10,22,40,.16); margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1628; color: #eaeef4; padding: 54px 22px 40px; text-align: center; }
.site-footer .fname { font-weight: 800; font-size: 1.15rem; color: #ffffff; }
.site-footer .ftag { color: #8fa1bd; margin: 8px 0 18px; }
.site-footer a { color: #ffb800; text-decoration: none; font-weight: 700; }
.site-footer .fsocial { margin-top: 16px; display: flex; gap: 18px; justify-content: center; }
.site-footer .legal { color: #64748b; font-size: .82rem; margin-top: 26px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .sbt-cards, .sbt-stats, .help-grid, .blog-grid, .price-grid { grid-template-columns: 1fr; }
  .blog-list .blog-card { flex-direction: column; }
  .blog-list .blog-card img { width: 100%; }
  .nav-toggle { display: block; }
  .header-inner { justify-content: center; position: relative; }
  .nav-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
  nav.sbt-nav {
    display: none; position: fixed; inset: 0; background: #ffffff; z-index: 99; padding: 96px 34px 34px;
  }
  nav.sbt-nav.open { display: block; }
  nav.sbt-nav ul { flex-direction: column; gap: 8px; align-items: flex-start; }
  nav.sbt-nav a { font-size: 1.7rem; font-weight: 800; display: block; padding: 10px 0; color: #0a1628; }
  nav.sbt-nav a:hover { color: #ffb800; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-close {
    display: block; position: fixed; top: 18px; right: 18px; z-index: 100;
    background: none; border: 0; color: #0a1628; font-size: 2.2rem; cursor: pointer;
  }
}

/* ---------- Services showcase (below hero) ---------- */
.svc-lede { text-align:center; max-width: 760px; margin: 0 auto; }
.svc-lede .big { font-size: 1.2rem; font-weight: 800; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 46px; align-items: stretch; }
.svc-card {
  border-radius: 14px; padding: 34px 30px; display: flex; flex-direction: column;
  box-shadow: 0 14px 40px rgba(10,22,40,.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(10,22,40,.24); }
.svc-card .icon { width: 52px; height: 52px; margin-bottom: 18px; }
.svc-card h3 { font-size: 1.35rem; font-weight: 800; margin: 0 0 12px; }
.svc-card p { margin: 0 0 12px; line-height: 1.6; }
.svc-card .svc-btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; font-weight: 800; font-size: 1rem;
  border-radius: 8px; text-decoration: none;
}
.svc-amber { background: #ffb800; color: #0a1628; }
.svc-amber .badge { background: #0a1628; color: #ffb800; }
.svc-amber h3::after { content:""; display:block; width:48px; height:4px; background:#0a1628; margin-top:10px; border-radius:2px; }
.svc-amber .svc-btn { background: #0a1628; color: #ffffff; }
.svc-navy { background: #0a1628; color: #eaeef4; }
.svc-navy .badge { background: rgba(255,184,0,.15); color: #ffb800; }
.svc-navy h3 { color: #ffffff; }
.svc-navy h3::after { content:""; display:block; width:48px; height:4px; background:#ffb800; margin-top:10px; border-radius:2px; }
.svc-navy .svc-btn { background: #ffb800; color: #0a1628; }
.svc-white { background: #ffffff; color: #0a1628; border: 1px solid #d8dfea; border-top: 5px solid #ffb800; padding-left: 29px; padding-right: 29px; }
.svc-white .badge { background: #eaeef4; color: #0a1628; }
.svc-white h3::after { content:""; display:block; width:48px; height:4px; background:#ffb800; margin-top:10px; border-radius:2px; }
.svc-white .svc-btn { background: #0a1628; color: #ffffff; }
.svc-strip { text-align:center; margin-top: 34px; font-weight: 700; }
.svc-strip a { color: #0a1628; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Products feature bands ---------- */
.feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.feat.rev { grid-template-columns: 1fr 1.1fr; }
.feat h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 12px 0 16px; }
.feat h2::after { content:""; display:block; width:56px; height:4px; background:#ffb800; margin-top:12px; border-radius:2px; }
.feat p { line-height: 1.7; }
.section.dark .feat h2 { color: #ffffff; }
.check-card { border-radius: 14px; padding: 32px 30px; box-shadow: 0 16px 44px rgba(10,22,40,.2); }
.check-card.amber { background: #ffb800; color: #0a1628; }
.check-card.white { background: #ffffff; color: #0a1628; border-top: 5px solid #ffb800; }
.check-card.has-photo { padding-top: 0; overflow: hidden; }
.check-card .card-photo { width: calc(100% + 60px); margin: 0 -30px 22px; height: 210px; object-fit: cover; display: block; max-width: none; }
.check-card { transition: transform .18s ease, box-shadow .18s ease; }
.check-card:hover { transform: translateY(-4px); box-shadow: 0 22px 56px rgba(10,22,40,.28); }
.check-card h3 { margin: 0 0 16px; font-size: 1.05rem; font-weight: 800; letter-spacing: .04em; }
.check-card ul { list-style: none; margin: 0; padding: 0; }
.check-card li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-weight: 600; }
.check-card li svg { flex: 0 0 22px; margin-top: 2px; }
.feat .badge { margin-bottom: 4px; }
.feat-cta { margin-top: 22px; }

/* ---------- Roadmap strip ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.step { background: #ffffff; border-radius: 12px; padding: 26px 24px; box-shadow: 0 10px 30px rgba(10,22,40,.1); position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(10,22,40,.2); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: #ffb800; color: #0a1628;
  font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; }
.step p { margin: 0; color: #33415c; font-size: .95rem; }
.step.now { outline: 3px solid #ffb800; }
.step .tag { position: absolute; top: 16px; right: 16px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; color: #b8860b; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btns { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.cta-band .btns a { margin-top: 0; display: inline-flex; align-items: center; justify-content: center; line-height: 1.2; }
.cta-band .btn-outline {
  background: #ffffff; border: 2px solid #ffffff; color: #0a1628; font-weight: 800;
  padding: 13px 28px; border-radius: 8px; text-decoration: none;
}
@media (max-width: 860px) {
  .feat, .feat.rev { grid-template-columns: 1fr; gap: 32px; }
  .roadmap { grid-template-columns: 1fr; }
}

/* ---------- Homepage card photos (v16) ---------- */
.svc-card.has-photo { padding-top: 0; overflow: hidden; }
.svc-card .card-photo { width: calc(100% + 60px); margin: 0 -30px 22px; height: 180px; object-fit: cover; display: block; max-width: none; }
.svc-white.has-photo .card-photo { width: calc(100% + 58px); margin: 0 -29px 22px; }
.help-card { transition: transform .18s ease, box-shadow .18s ease; }
.help-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,22,40,.16); }
.help-card.has-photo { padding-top: 0; overflow: hidden; }
.help-card .card-photo { width: calc(100% + 52px); margin: 0 -26px 18px; height: 170px; object-fit: cover; display: block; max-width: none; }
