/**
 * Relocators design system.
 *
 * Every block wraps its output in .zb-root so these styles stay contained and
 * cannot leak into the theme. Class names inside match design/home.src.html
 * one-to-one, so the approved design and this stylesheet stay in sync.
 */

.zb-root {
  --navy-900:#0A1420; --navy-800:#0F1E2E; --navy-700:#16293D; --navy-600:#1E3A56;
  --orange:#F26A1B; --orange-2:#FF8034; --orange-soft:#FEF0E6;
  --ink:#132030; --muted:#5A6875; --faint:#8D99A5;
  --ground:#F5F7FA; --paper:#FFFFFF; --line:#E4E9EF;
  --star:#F5A524; --ok:#17A05E;
  /* the same two colours as channels, for the places that need them at an
     opacity. Keep these in step with --orange and --navy-900 above, or a
     colour change will leave the tints and glows behind. */
  --orange-rgb:242,106,27;
  --navy-rgb:10,20,32;
  --sh-sm:0 1px 2px rgba(15,30,46,.05), 0 8px 20px -10px rgba(15,30,46,.12);
  --sh-md:0 6px 18px rgba(15,30,46,.08), 0 26px 50px -22px rgba(15,30,46,.30);
  --r:14px;
  --disp:"Plus Jakarta Sans","Segoe UI",system-ui,sans-serif;
  --body:"Inter",system-ui,sans-serif;

  color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
.zb-root *, .zb-root *::before, .zb-root *::after { box-sizing:border-box; }
.zb-root p { margin:0; }
.zb-root ul { margin:0; padding:0; list-style:none; }
.zb-root img { display:block; max-width:100%; }
.zb-root h1, .zb-root h2, .zb-root h3 {
  margin:0; font-family:var(--disp); font-weight:800; letter-spacing:-.025em; line-height:1.14;
}
.zb-root :focus-visible { outline:2px solid var(--orange-2); outline-offset:3px; }

/*
 * Mobile browsers paint a translucent blue box behind anything tappable.
 * It is not one of our states and it fights the hover and active styles
 * below, so it goes. The property inherits, so the two roots cover every
 * link, button, summary and field inside them, the lightbox included.
 * `touch-action: manipulation` drops the 300ms double-tap-zoom wait with it.
 */
.zb-root, .zb-lb { -webkit-tap-highlight-color:transparent; }
.zb-root a, .zb-root button, .zb-root summary, .zb-root label,
.zb-lb a, .zb-lb button { touch-action:manipulation; }
/* a tapped button must never end up with its label half selected */
.zb-root button, .zb-root .btn, .zb-root summary, .zb-lb button, .zb-lb .btn {
  -webkit-user-select:none; user-select:none;
}
/* The :active feedback that replaces it lives at the end of forms.css, which
   is the last sheet to load, so it beats every :hover rule in every file. */

/* Anchor links land on the section, not under the sticky header.
   Small on purpose: every section already carries 90 to 100px of its own top
   padding, so the header only ever covers empty space. A larger value here
   just adds that padding twice and leaves the heading stranded mid-screen. */
.zb-root[id] { scroll-margin-top:18px; }
@media (max-width:900px) { .zb-root[id] { scroll-margin-top:12px; } }

.zb-root .wrap { width:100%; max-width:1240px; margin:0 auto; padding-inline:44px; }
@media (max-width:860px) { .zb-root .wrap { padding-inline:20px; } }

.zb-root .pill {
  display:inline-flex; align-items:center; gap:9px; font-family:var(--disp); font-weight:700;
  font-size:11.5px; letter-spacing:.13em; text-transform:uppercase;
  padding:8px 16px; border-radius:999px;
}
.zb-root .pill::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.zb-root .pill.dark { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:var(--orange-2); }
.zb-root .pill.light { background:var(--orange-soft); color:var(--orange); }
.zb-root .pill.sm { font-size:10.5px; letter-spacing:.11em; padding:6px 13px; gap:8px; }
.zb-root .pill.sm::before { width:5px; height:5px; }

/* Colours are written with the .zb-root prefix on purpose: a bare `.btn-o`
   would lose to any theme rule like `a { color: ... }`. */
.zb-root .btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--disp); font-weight:700; font-size:15px; line-height:1;
  padding:17px 28px; border-radius:10px; border:2px solid transparent; cursor:pointer;
  white-space:nowrap; text-decoration:none;
  transition:background .18s, color .18s, border-color .18s, transform .15s, box-shadow .18s;
}
.zb-root .btn:hover { transform:translateY(-2px); }
.zb-root .btn svg { width:17px; height:17px; }
.zb-root .btn-o { background:var(--orange); color:#fff; box-shadow:0 10px 26px -10px rgba(var(--orange-rgb),.65); }
.zb-root .btn-o:hover { background:var(--orange-2); color:#fff; }
.zb-root .btn-gd { border-color:rgba(255,255,255,.35); color:#fff; }
.zb-root .btn-gd:hover { border-color:#fff; background:rgba(255,255,255,.1); color:#fff; }

.zb-root .chk { display:flex; gap:11px; align-items:flex-start; }
.zb-root .chk svg { width:19px; height:19px; flex:none; margin-top:2px; }

/* ---------------- hero ---------------- */
.zb-root.hero { position:relative; isolation:isolate; color:#fff; padding-block:108px 88px; overflow:hidden; }
.zb-root.hero::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background-image:var(--hero-bg); background-size:cover; background-position:center;
}
.zb-root.hero::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(100deg, rgba(var(--navy-rgb),.97) 0%, rgba(var(--navy-rgb),.92) 38%, rgba(var(--navy-rgb),.6) 72%, rgba(var(--navy-rgb),.75) 100%);
}
.zb-root.hero .hero-in { max-width:820px; text-align:left; margin-inline:0; }
.zb-root.hero h1 { font-size:clamp(2.4rem,5.2vw,4rem); line-height:1.03; letter-spacing:-.04em; margin-top:24px; color:#fff; }
.zb-root.hero h1 em { font-style:normal; color:var(--orange-2); }
.zb-root.hero .sub { margin-top:24px; font-size:1.14rem; line-height:1.6; color:rgba(255,255,255,.78); max-width:60ch; }
.zb-root.hero .acts { display:flex; gap:13px; flex-wrap:wrap; margin-top:34px; }
.zb-root.hero .badges { display:flex; gap:16px 44px; flex-wrap:wrap; margin-top:34px; }
.zb-root.hero .badges span { display:flex; align-items:baseline; gap:10px; font-size:14px; color:rgba(255,255,255,.72); }
.zb-root.hero .badges b { font-family:var(--disp); font-weight:800; font-size:1.7rem; color:#fff; letter-spacing:-.03em; }
/*
 * The floating header overlays the hero (the theme pulls the hero up behind
 * it with a negative margin) rather than pushing it down the page, so this
 * top value is a floor, not just taste: it has to clear the header's own
 * height plus its top gap - 70px on a phone, where the header stays at its
 * compact size below the 900px breakpoint - or the eyebrow pill collides
 * with the nav. Keep the bottom trimmed so the headline still has a chance
 * at the first screen on a short phone.
 */
@media (max-width:900px) { .zb-root.hero { padding-block:84px 74px; } }
@media (max-width:600px) { .zb-root.hero { padding-block:80px 62px; } }

/* ---------------- trust band ---------------- */
.zb-root.trust { background:var(--navy-700); color:#fff; }
.zb-root.trust .trust-in { display:grid; grid-template-columns:repeat(4,1fr); }
@media (max-width:900px) { .zb-root.trust .trust-in { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .zb-root.trust .trust-in { grid-template-columns:1fr; } }
.zb-root.trust .trust-in > div {
  display:flex; align-items:center; gap:14px; padding:28px 24px;
  border-right:1px solid rgba(255,255,255,.12);
}
.zb-root.trust .trust-in > div:last-child { border-right:0; }
@media (max-width:900px) {
  .zb-root.trust .trust-in > div:nth-child(2n) { border-right:0; }
  .zb-root.trust .trust-in > div:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.12); }
}
@media (max-width:520px) {
  .zb-root.trust .trust-in > div { border-right:0; border-bottom:1px solid rgba(255,255,255,.12); }
  .zb-root.trust .trust-in > div:last-child { border-bottom:0; }
}
.zb-root.trust .trust-in svg { width:30px; height:30px; stroke:var(--orange-2); flex:none; }
.zb-root.trust .trust-in b { font-family:var(--disp); font-weight:700; font-size:15px; display:block; line-height:1.3; }
.zb-root.trust .trust-in small { font-size:12.5px; color:rgba(255,255,255,.6); display:block; white-space:nowrap; }
@media (max-width:1100px) { .zb-root.trust .trust-in small { white-space:normal; } }

/* the editor canvas is narrower than the front end, so let blocks breathe */
.editor-styles-wrapper .zb-root .wrap { padding-inline:32px; }
