/* Hubmaster — static rebuild
   ------------------------------------------------------------------ */

:root {
  --ink:        #16202b;
  --ink-soft:   #4a5764;
  --ink-faint:  #646f7b;
  --line:       #e2e7ec;
  --bg:         #ffffff;
  --bg-soft:    #f5f7f9;
  --bg-deep:    #0f2740;
  --brand:      #1665a8;
  --brand-dark: #0f4f84;
  --brand-tint: #eaf3fa;
  --accent:     #d4212c;
  --radius:     10px;
  --wrap:       1080px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* safety net: nothing may push the page sideways */
html, body { max-width: 100%; overflow-x: hidden; }

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

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------- header / nav */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }

.brand {
  font-size: 21px; font-weight: 700; letter-spacing: -.3px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand span { color: var(--accent); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px;
  padding: 8px 11px; border-radius: 7px; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.current { color: var(--brand); font-weight: 600; }

.nav a.nav-cta { margin-left: 8px; color: #fff; font-weight: 600; }
.nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 38px;
  background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  padding: 9px 9px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  padding: 13px 22px; border-radius: 8px; border: 1px solid var(--brand);
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn:active { transform: translateY(1px); }

.btn-sm { padding: 8px 14px; font-size: 15px; }

.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }

.link-more { font-weight: 600; text-decoration: none; }
.link-more::after { content: " →"; }
.link-more:hover { text-decoration: underline; }

/* ------------------------------------------------------------------- hero */

.hero { background: linear-gradient(180deg, var(--brand-tint), #fff); border-bottom: 1px solid var(--line); }

.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 64px 22px 56px;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.9px;
  margin: 0 0 18px;
}

.lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 26px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }

.hero-note { font-size: 14px; color: var(--ink-faint); margin: 0; }

.hero-art { text-align: center; }
.hero-art img { filter: drop-shadow(0 12px 28px rgba(15,39,64,.14)); }

/* -------------------------------------------------------- inner page head */

.page-head {
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 52px 0 44px;
}
.page-head .wrap { max-width: 844px; }
.page-head h1 {
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.7px; margin: 0;
}
.page-sub { font-size: 19px; color: var(--ink-soft); margin: 12px 0 0; max-width: 62ch; }

/* ------------------------------------------------------------------ prose */

.prose { padding: 52px 22px 72px; max-width: 844px; }
.hero + .wrap.prose, .prose:has(.cards) { max-width: var(--wrap); }

.prose > h2 {
  font-size: 27px; line-height: 1.25; letter-spacing: -.4px;
  margin: 46px 0 12px; padding-top: 6px;
}
.prose > h2:first-child { margin-top: 0; }

.prose h3 { font-size: 21px; margin: 34px 0 8px; }
.prose h4 { font-size: 18px; margin: 28px 0 6px; }
.prose h5, .prose h6 { font-size: 17px; margin: 24px 0 6px; }

.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }

.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 8px 0 22px; }

.prose blockquote {
  margin: 0 0 22px; padding: 20px 24px;
  background: var(--bg-soft); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose table { width: 100%; border-collapse: collapse; margin: 0 0 22px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }

.centred { text-align: center; }

.prose h2 > a:only-child, .prose h3 > a:only-child { text-decoration: none; color: inherit; }
.prose h2 > a:only-child:hover { color: var(--brand); }
.prose a.btn { color: #fff; text-decoration: none; margin: 4px 0 22px; }
.prose a.btn:hover { color: #fff; }

/* ------------------------------------------------------------------ cards */

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin: 0 0 56px;
}
.card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.card h2 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.2px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px; margin: 0 0 56px;
}
.split h2 { font-size: 23px; margin: 0 0 12px; }
.split p { color: var(--ink-soft); }

.section-title { font-size: 27px; margin: 0 0 26px; text-align: center; letter-spacing: -.4px; }

/* ----------------------------------------------------------------- quotes */

.quotes { margin: 0 0 56px; }
.quotes blockquote {
  margin: 0 0 20px; padding: 24px 26px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quotes blockquote p { margin: 0 0 12px; font-size: 17px; }
.quotes cite { font-style: normal; font-weight: 600; font-size: 15px; color: var(--ink-soft); }

/* -------------------------------------------------------------------- cta */

.cta {
  background: var(--bg-deep); color: #fff; border-radius: var(--radius);
  padding: 44px 32px; text-align: center;
}
.cta h2 { font-size: 27px; margin: 0 0 10px; }
.cta p { color: #c3d3e2; margin: 0 0 20px; }
.cta a:not(.btn) { color: #fff; }
.cta .hero-actions { justify-content: center; margin: 0; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ------------------------------------------------------------------ forms */

.form { max-width: 560px; margin: 8px 0 24px; }
.form-narrow { max-width: 380px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-inline { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.form-inline .field { flex: 1 1 240px; margin-bottom: 0; }
.form-inline .form-note { flex-basis: 100%; }

.form-note { font-size: 14px; color: var(--ink-faint); margin: 10px 0 0; }
.form .form-note:first-child { margin: 0 0 18px; }

/* form states */

.field.has-error input, .field.has-error textarea { border-color: var(--accent); background: #fffafa; }
.field-error { color: #a8161f; font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.req { color: var(--accent); }

.field-check label {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 400; font-size: 15px; color: var(--ink-soft); cursor: pointer;
}
.field-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }

/* honeypot — off-screen rather than display:none, which some bots detect */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 0 0 26px;
  max-width: 560px;
}
.alert p { margin: 8px 0 0; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert-ok  { background: #edf7ee; border: 1px solid #c5e3c8; border-left: 4px solid #2e7d33; color: #1e4d22; }
.alert-ok a { color: #1e4d22; }
.alert-bad { background: #fdf0f0; border: 1px solid #f2c9cb; border-left: 4px solid var(--accent); color: #8c1219; }

.notice {
  background: #fff8e7; border: 1px solid #f0dfb4; border-left: 4px solid #d99b1c;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 0 0 24px; font-size: 16px; color: #5c4713;
}

/* ----------------------------------------------------------------- footer */

.site-footer { background: var(--bg-deep); color: #b9c9d8; margin-top: 40px; }

.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
  padding: 52px 22px 40px;
}
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 15px; margin: 12px 0 0; max-width: 32ch; }

.footer-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .9px; color: #8fa5b8; margin: 0 0 12px; }
.footer-col a { display: block; color: #dbe6ef; text-decoration: none; font-size: 15px; padding: 4px 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 22px 28px; }
.footer-legal p { font-size: 13px; color: #7f95a8; margin: 0; }

/* ------------------------------------------------------------ responsive */

/* ------------------------------------------------- channel SEO additions */
.card h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.2px; }
.channels { margin: 0 0 8px; }
.prose .lede { font-size: 19px; color: var(--ink-soft); }
.prose ol.steps { padding-left: 24px; }
.prose ol.steps li { margin-bottom: 12px; }
.prose .cta { margin-top: 48px; }
.prose a.btn + a.btn { margin-left: 8px; }
.footer-legal p { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.footer-legal .credit a { color: #b9c9d8; text-decoration: none; }
.footer-legal .credit a:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------- pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 8px 0 32px; }
.price-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.price-card-main { background: var(--brand-tint); border-color: var(--brand); }
.price-card h3 { font-size: 17px; margin: 0 0 6px; }
.prose .price { font-size: 32px; font-weight: 700; color: var(--ink); margin: 0 0 10px; line-height: 1.1; }
.price span { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); margin-top: 4px; }
.price-card p:last-child { margin: 0; font-size: 15px; color: var(--ink-soft); }
/* --------------------------------------------------------- integrations */
.crumbs { font-size: 14px; color: var(--ink-faint); margin: 0 0 18px; }
.crumbs a { color: var(--ink-soft); }
.pair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.prose .pair-grid li { margin: 0; }
.pair-grid a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; font-weight: 600; }
.pair-grid a:hover { border-color: var(--brand); background: var(--brand-tint); }
.prose .ticks { list-style: none; padding-left: 0; }
.prose .ticks li { position: relative; padding-left: 28px; }
.prose .ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand); font-weight: 700; }

.prose > p a.btn-ghost { color: var(--brand); }
.prose > p a.btn-ghost:hover { color: var(--brand-dark); }
.prose .pair-grid { padding-left: 0; }

/* ---------------------------------------------------------- cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15,39,64,.18);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; gap: 16px 22px; align-items: center; padding: 18px 20px; flex-wrap: wrap; }
.cookie-inner p { margin: 0; flex: 1 1 320px; font-size: 15px; color: var(--ink-soft); }
.cookie-inner p strong { color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { color: #fff; }
.cookie-actions .cookie-reject { background: var(--ink); border-color: var(--ink); }
.cookie-actions .cookie-reject:hover { background: #000; border-color: #000; }
.footer-legal .cookie-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: #b9c9d8; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal .cookie-link:hover { color: #fff; }

.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(15,39,64,.08);
  }
  body.nav-open .nav { display: flex; }
  .nav a { padding: 11px 8px; border-radius: 6px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .header-inner { position: relative; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
  .hero-art { order: -1; }
  .hero-art img { width: 100%; max-width: 460px; height: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(15,39,64,.08);
  }
  body.nav-open .nav { display: flex; }
  .nav a { padding: 11px 8px; border-radius: 6px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .header-inner { position: relative; }
  .prose { padding: 36px 22px 56px; }
  .page-head { padding: 36px 0 30px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .skip { display: none; }
  body { font-size: 12pt; }
}
