/* =========================================================================
   BASE: page-wide rules and the shared building blocks every section uses
   ========================================================================= */
* { box-sizing: border-box; }
body { background: var(--sky); color: var(--cloud); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--sky); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--cloud); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Buttons (red = the action) */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--scarlet); color: #fff; text-decoration: none; font: 700 16px/1 var(--body); padding: 16px 22px; border-radius: 4px; transition: background .2s, transform .2s; }
.btn:hover { background: var(--scarlet-hover); transform: translateY(-1px); }
.btn svg { width: 15px; height: 15px; }
.btn-sm { padding: 11px 16px; font-size: 14.5px; }

/* Red tag above section headings */
.red-tag { font: 800 12.5px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #FFFFFF; background: var(--scarlet); padding: 8px 11px; border-radius: 3px; }

/* Moving network canvas behind sections */
/* Light-blue sections: soft dark-sky network behind the content */
.problem { overflow: hidden; }
.pilots { overflow: clip; }   /* clip, not hidden, so the pinned pilot row can stick */
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; filter: blur(.8px); }

/* Section system: sections alternate deep sky / light sky */
/* ===================== Shared section system (alternating deep / light sky) ===================== */
.sec { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 8vw, 112px); }
.sec.deep { background: var(--sky); color: var(--cloud); }
.sec.light { background: linear-gradient(180deg, #CDEAFB 0%, #B6DEF7 100%); color: #141B24; }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 16px; }
.h-deep { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; color: var(--cloud); text-wrap: balance; }
.h-light { font: 700 clamp(32px, 3.8vw, 54px)/1.1 "Poppins", system-ui, sans-serif; letter-spacing: -.02em; color: #141B24; text-wrap: balance; }
.lead-deep { max-width: 56ch; font: 500 clamp(17px, 1.35vw, 19px)/1.6 "Poppins", system-ui, sans-serif; color: var(--cloud); }
.center-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }
.btn-lg { padding: 20px 28px; font-size: 17px; }
.lead-light { max-width: 56ch; font: 500 clamp(17px, 1.35vw, 19px)/1.6 "Poppins", system-ui, sans-serif; color: #3E4955; }
/* Placeholder text still to be filled in (dashed underline) */
.ph { border-bottom: 1.5px dashed currentColor; opacity: .8; }

/* Outline button (secondary action on deep sky, e.g. "Book a call" next to "Free pilot") */
.btn-outline { background: transparent; box-shadow: inset 0 0 0 2px #FFFFFF; }
.btn-outline:hover { background: rgba(255,255,255,.14); }
