/* ============================================================================
   SkyPlanner — Colors & Typography Foundation
   Canonical tokens extracted from skyplanner.ai (GeneratePress child theme).
   Source of truth: 01_SKYPLANNER_DESIGN_SYSTEM_SOURCE.md + data/tokens.json.
   Load this FIRST, then skyplanner-ds.css for components.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Webfonts — real child-theme files (NeueKabel weights + Jost), replacing the
   standalone design build's generated font blobs.
   ---------------------------------------------------------------------------- */
@font-face {
  font-family: "NeueKabel";
  src: url("/wp-content/themes/generatepress-child/Fonts/NeueKabel.woff2") format("woff2");
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "NeueKabel";
  src: url("/wp-content/themes/generatepress-child/Fonts/NeueKabel-Medium.woff2") format("woff2");
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "NeueKabel";
  src: url("/wp-content/themes/generatepress-child/Fonts/NeueKabel-Bold.woff2") format("woff2");
  font-weight: 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "NeueKabel";
  src: url("/wp-content/themes/generatepress-child/Fonts/NeueKabelExtraBold.woff2") format("woff2");
  font-weight: 800; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Jost";
  src: url("/wp-content/themes/generatepress-child/Fonts/Jost.woff2") format("woff2");
  font-weight: 400; font-display: swap; font-style: normal;
}

.sp-customers-v1 {
  /* ==========================================================================
     COLOR — raw brand tokens
     ========================================================================== */
  --sp-blue:            #303AF2;   /* electric brand blue — primary actions, brand surfaces */
  --sp-blue-ink:        #2F3AF1;   /* near-identical legacy variant, normalize to --sp-blue */
  --sp-ink:             #1F1F33;   /* dark navy — headings, body text, nav labels */
  --sp-ink-900:         #0C0C14;   /* deepest ink, rare */
  --sp-green:           #00BA70;   /* conversion CTA green */
  --sp-green-600:       #00A663;   /* green hover (derived) */
  --sp-blue-700:        #2630D6;   /* blue hover (derived) */

  /* Surfaces & background */
  --sp-bg:              #F9FCFE;   /* default page background (cool near-white) */
  --sp-bg-alt:         #F9F9FD;   /* faint alt background */
  --sp-white:           #FFFFFF;

  /* Tinted "pastel" surfaces — section + icon-chip backgrounds */
  --sp-surface-blue:    #E5F2FE;   /* light blue band / chip */
  --sp-surface-green:   #CEF2DD;   /* light green chip */
  --sp-surface-purple:  #EDE5FE;   /* light purple chip */
  --sp-surface-orange:  #FEF2E5;   /* light orange chip */

  /* Borders & lines */
  --sp-border:          #DDEDFF;   /* light blue hairline (inputs, dividers) */
  --sp-border-soft:     rgba(31,31,51,0.10);

  /* Text roles */
  --sp-text:            #1F1F33;   /* primary text */
  --sp-text-muted:      #5A5A6E;   /* secondary text (derived from ink) */
  --sp-text-on-blue:    #FFFFFF;
  --sp-text-on-blue-dim:rgba(255,255,255,0.85);
  --sp-link:            #303AF2;

  /* ==========================================================================
     SHADOWS — soft blue-tinted elevation
     ========================================================================== */
  --sp-shadow-card:   0px 6px 32px rgba(48,58,242,0.12);   /* default rounded card */
  --sp-shadow-soft:   0px 6px 24px rgba(48,58,242,0.30);   /* hover / floating CTA */
  --sp-shadow-faint:  0px 6px 32px rgba(48,58,242,0.12);
  --sp-shadow-pill:   0px 4px 20px rgba(46,49,65,0.18);    /* floating pill button */

  /* ==========================================================================
     RADII
     ========================================================================== */
  --sp-radius-sm:   8px;
  --sp-radius-md:   12px;    /* inputs, small cards, chips */
  --sp-radius-lg:   24px;    /* content cards, panels */
  --sp-radius-xl:   32px;    /* large feature panels, bands */
  --sp-radius-pill: 35px;    /* buttons, nav CTA */
  --sp-radius-full: 9999px;

  /* ==========================================================================
     SPACING — regularized 4px-based scale
     ========================================================================== */
  --sp-space-1:  4px;
  --sp-space-2:  8px;
  --sp-space-3:  12px;
  --sp-space-4:  16px;
  --sp-space-5:  20px;
  --sp-space-6:  24px;
  --sp-space-8:  32px;
  --sp-space-10: 40px;
  --sp-space-12: 48px;
  --sp-space-15: 60px;
  --sp-space-20: 80px;
  --sp-space-30: 120px;   /* section vertical rhythm (desktop) */

  --sp-container: 1200px; /* max content width */
  --sp-gutter:    40px;

  /* ==========================================================================
     TYPOGRAPHY — families
     ========================================================================== */
  --sp-font-display:  "NeueKabel", "Jost", system-ui, sans-serif;        /* headings */
  --sp-font-display-xb: "NeueKabel", "Jost", sans-serif;                 /* hero display (weight 800) */
  --sp-font-medium:   "NeueKabel", "Jost", sans-serif;                   /* nav, subheads (weight 500) */
  --sp-font-body:     "Jost", system-ui, -apple-system, sans-serif;      /* body */

  /* Type scale (weight / size / line-height) — fluid via clamp(): one token scales
     from mobile to desktop, so pages no longer need per-breakpoint heading overrides.
     Live SkyPlanner uses bold 700 display headings. */
  --sp-h1: 700 clamp(36px, 5.2vw, 80px)/1.05 var(--sp-font-display);
  --sp-h2: 700 clamp(30px, 4.4vw, 56px)/1.12 var(--sp-font-display);
  --sp-h3: 700 clamp(24px, 2.6vw, 32px)/1.25 var(--sp-font-display);
  --sp-h4: 700 clamp(20px, 2vw, 24px)/1.3 var(--sp-font-display);
  --sp-body-lg: 400 20px/30px var(--sp-font-body);
  --sp-body:    400 18px/27px var(--sp-font-body);
  --sp-body-sm: 400 16px/23px var(--sp-font-body);
  --sp-caption: 400 15px/22px var(--sp-font-body);
}

/* ----------------------------------------------------------------------------
   Mobile type scale (≤600px)
   ---------------------------------------------------------------------------- */
@media only screen and (max-width: 600px) {
  .sp-customers-v1 {
    /* headings now scale fluidly via clamp() above — only body copy needs a mobile step */
    --sp-body-lg: 400 17px/24px var(--sp-font-body);
    --sp-body:    400 17px/24px var(--sp-font-body);
    --sp-space-30: 64px;
    --sp-gutter:   20px;
  }
}

/* ----------------------------------------------------------------------------
   Semantic element defaults (opt-in via .sp-prose / utility classes)
   ---------------------------------------------------------------------------- */
.sp-h1 { font: var(--sp-h1); color: var(--sp-text); margin: 0; }
.sp-h2 { font: var(--sp-h2); color: var(--sp-text); margin: 0; }
.sp-h3 { font: var(--sp-h3); color: var(--sp-text); margin: 0; }
.sp-h4 { font: var(--sp-h4); color: var(--sp-text); margin: 0; }
.sp-lead { font: var(--sp-body-lg); color: var(--sp-text); margin: 0; }
.sp-body { font: var(--sp-body-lg); color: var(--sp-text); margin: 0; }
.sp-muted { color: var(--sp-text-muted); }
.sp-eyebrow {
  font: var(--sp-caption); font-family: var(--sp-font-medium);
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--sp-blue); margin: 0;
}


/* ============================================================================
   SkyPlanner — Component Kit (canonical, normalized)
   Requires colors_and_type.css loaded first.
   Legacy site had many one-off button/card variants; this file collapses them
   into a small canonical set. Class prefix: .sp-
   ============================================================================ */

.sp-customers-v1 *, .sp-customers-v1 *::before, .sp-customers-v1 *::after { box-sizing: border-box; }
body.skyplanner-customers-v1-page { overflow-x: clip; }   /* belt-and-suspenders: off-canvas / decorative bleed never adds page scroll width */

/* Mobile-safety defaults (promoted from pricing-v2): long words wrap instead of
   forcing horizontal scroll, and media never exceeds its container. */
.sp-page { overflow-wrap: break-word; }
.sp-page img, .sp-page svg, .sp-page video { max-width: 100%; }
/* Opt-in helper for flex/grid children that would otherwise refuse to shrink
   (the #1 cause of mobile overflow in 2-column layouts). */
.sp-min0, .sp-min0 > * { min-width: 0; }

.sp-page {
  margin: 0;
  background: var(--sp-bg);
  color: var(--sp-text);
  font: var(--sp-body-lg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sp-container { max-width: var(--sp-container); margin-inline: auto; padding-inline: var(--sp-gutter); }
.sp-section   { padding-block: var(--sp-space-30); }

/* ============================================================================
   1. BUTTONS  — canonical set: green primary, blue primary, outline, nav CTA, text
   Pill shape, NeueKabelMedium label, generous padding, soft lift on hover.
   ============================================================================ */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sp-font-medium); font-size: 18px; line-height: 1;
  padding: 18px 32px; border-radius: var(--sp-radius-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .12s ease, border-color .18s ease;
  white-space: nowrap;
}
.sp-btn:active { transform: translateY(1px); }
.sp-btn .sp-btn__chev { width: 18px; height: 18px; flex: none; }

/* Green — primary conversion ("Get started for free", "Start free") */
.sp-btn--green { background: var(--sp-green); color: #fff; }
.sp-btn--green:hover { background: var(--sp-green-600); box-shadow: var(--sp-shadow-soft); transform: translateY(-2px); }

/* Blue — secondary action / "Request a demo", "Contact us" */
.sp-btn--blue { background: var(--sp-blue); color: #fff; }
.sp-btn--blue:hover { background: var(--sp-blue-700); box-shadow: var(--sp-shadow-soft); transform: translateY(-2px); }

/* Outline — tertiary / "Start free with Google/Microsoft", "Book a free demo" */
.sp-btn--outline { background: #fff; color: var(--sp-ink); border-color: var(--sp-border); }
.sp-btn--outline:hover { border-color: var(--sp-blue); color: var(--sp-blue); box-shadow: var(--sp-shadow-card); }

/* Outline on blue — for use inside blue bands */
.sp-btn--ghost-onblue { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.sp-btn--ghost-onblue:hover { background: #fff; color: var(--sp-blue); border-color: #fff; }

/* White — solid white pill for use on blue/brand surfaces (e.g. hero OAuth) */
.sp-btn--white { background: #fff; color: var(--sp-ink); }
.sp-btn--white:hover { box-shadow: 0 12px 30px rgba(12,16,60,0.28); transform: translateY(-2px); }

/* Nav CTA — compact green pill in header */
.sp-btn--nav { padding: 14px 26px; font-size: 17px; background: var(--sp-green); color: #fff; }
.sp-btn--nav:hover { background: var(--sp-green-600); box-shadow: var(--sp-shadow-soft); transform: translateY(-2px); }

/* Text link button */
.sp-btn--text {
  background: none; border: none; padding: 6px 2px; color: var(--sp-ink);
  text-decoration: underline; text-underline-offset: 4px;
}
.sp-btn--text:hover { color: var(--sp-blue); }

.sp-btn--lg { padding: 20px 38px; font-size: 19px; }
.sp-btn--sm { padding: 12px 22px; font-size: 16px; }
.sp-btn:focus-visible { outline: 3px solid rgba(48,58,242,0.45); outline-offset: 2px; }

/* ============================================================================
   3. HERO
   ============================================================================ */
.sp-hero { padding-block: var(--sp-space-20) var(--sp-space-30); }
.sp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sp-hero__title { font: var(--sp-h1); margin: 0 0 28px; color: var(--sp-text); }
.sp-hero__title .accent { color: var(--sp-blue); }
.sp-hero__sub { font: var(--sp-body-lg); color: var(--sp-text-muted); max-width: 36ch; margin: 0 0 32px; }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.sp-hero__media img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .sp-hero__grid { grid-template-columns: 1fr; }
  .sp-hero__media { order: -1; }
}

/* 3b. HERO — brand (blue) variant: full-bleed electric-blue background image,
   white display copy, product screenshot right. Matches the live homepage hero.
   Background art: assets/hero-bg-desktop.jpg (desktop) / hero-bg-mobile.png (mobile). */
.sp-hero--brand {
  position: relative; overflow: hidden;
  background: var(--sp-blue) url("/wp-content/themes/generatepress-child/assets/img/customers-v1/19-3fe18333-d484-4a79-8bbf-b9b624c510a0.jpg") center center / cover no-repeat;
  padding-block: var(--sp-space-15) var(--sp-space-15);
}
.sp-hero--brand .sp-hero__grid { grid-template-columns: 1fr 1.04fr; align-items: center; gap: 40px; }
.sp-hero--brand .sp-hero__title,
.sp-hero--brand .sp-hero__title .accent { color: #fff; }
.sp-hero--brand .sp-hero__sub { color: rgba(255,255,255,0.92); max-width: 46ch; }
.sp-hero--brand .sp-hero__actions .sp-btn--text { color: #fff; text-decoration-color: rgba(255,255,255,0.7); }
.sp-hero--brand .sp-hero__actions .sp-btn--text:hover { color: #fff; text-decoration-color: #fff; }
.sp-hero--brand .sp-btn--green { box-shadow: 0 12px 30px rgba(12,16,60,0.32); }
.sp-hero--brand .sp-hero__media img {
  width: 100%; height: auto; border-radius: 10px;
  filter: drop-shadow(0 26px 64px rgba(12,16,60,0.40));
}
@media (max-width: 900px) {
  .sp-hero--brand {
    background-image: url("/wp-content/themes/generatepress-child/assets/img/customers-v1/20-d2ba4664-5cff-441c-90a3-84c896bf0f7f.png");
    background-position: top center;
    padding-block: var(--sp-space-12) var(--sp-space-12);
  }
  .sp-hero--brand .sp-hero__media { order: 0; margin-top: 8px; }
  .sp-hero--brand .sp-hero__sub { max-width: none; }
}

/* ============================================================================
   4. CARDS — canonical types
   a) content/problem card  b) feature card  c) pricing/service card  d) docs card
   ============================================================================ */
.sp-card {
  background: #fff; border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-card); padding: 32px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sp-card--hover:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow-soft); }

/* icon chip — pastel rounded square */
.sp-chip {
  width: 64px; height: 64px; border-radius: var(--sp-radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sp-surface-blue); margin-bottom: 20px;
}
.sp-chip img, .sp-chip svg { width: 32px; height: 32px; }
.sp-chip--green  { background: var(--sp-surface-green); }
.sp-chip--purple { background: var(--sp-surface-purple); }
.sp-chip--orange { background: var(--sp-surface-orange); }

.sp-card__title { font: var(--sp-h4); font-family: var(--sp-font-display); font-weight: 700; margin: 0 0 12px; color: var(--sp-text); }
.sp-card__body  { font: var(--sp-body); color: var(--sp-text-muted); margin: 0; }

/* feature card — big display title (used on Features page) */
.sp-feature__title { font: var(--sp-h3); margin: 0 0 16px; }

/* stat card */
.sp-stat { background:#fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); padding: 28px 24px; text-align:center; }
.sp-stat__num { font-family: var(--sp-font-display-xb); font-weight: 800; font-size: 44px; color: var(--sp-blue); line-height:1; }
.sp-stat__label { font: var(--sp-body-sm); color: var(--sp-text); margin-top: 14px; }

/* docs category card */
.sp-doc-card { background:#fff; border-radius: var(--sp-radius-md); box-shadow: var(--sp-shadow-card); padding: 24px; display:flex; gap:16px; align-items:flex-start; text-decoration:none; }
.sp-doc-card:hover { box-shadow: var(--sp-shadow-soft); transform: translateY(-2px); }
.sp-doc-card__icon { width:48px; height:48px; border-radius: 12px; background: var(--sp-surface-blue); flex:none; display:flex; align-items:center; justify-content:center; }
.sp-doc-card__title { font-family: var(--sp-font-display); font-weight:700; font-size:20px; color: var(--sp-text); margin:0 0 4px; }
.sp-doc-card__meta { font: var(--sp-caption); color: var(--sp-text-muted); }

.sp-card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sp-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.sp-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .sp-card-grid--4 { grid-template-columns: repeat(2,1fr); } .sp-card-grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sp-card-grid--4 { grid-template-columns: 1fr; } }

/* ============================================================================
   5. SECTION BANDS & PASTEL SURFACES
   ============================================================================ */
.sp-band-blue   { background: var(--sp-blue); color: #fff; }
.sp-band-blue .sp-h2, .sp-band-blue .sp-h3 { color: #fff; }
.sp-band-light  { background: var(--sp-surface-blue); }
.sp-band-soft   { background: #fff; }
.sp-panel { border-radius: var(--sp-radius-xl); padding: 56px; }
.sp-panel--blue { background: var(--sp-blue); color: #fff; box-shadow: var(--sp-shadow-soft); }
.sp-panel--light { background: var(--sp-surface-blue); }

.sp-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sp-section-head .sp-h2 { margin-bottom: 20px; }
.sp-section-head p { font: var(--sp-body-lg); color: var(--sp-text-muted); margin: 0; }

/* logo / social proof band */
.sp-logos { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap: 48px; opacity:.7; }
.sp-logos span { font-family: var(--sp-font-medium); color: var(--sp-text-muted); font-size: 22px; }

/* ============================================================================
   6. PRICING
   ============================================================================ */
.sp-price-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items:start; }
@media (max-width: 600px){ .sp-price-grid { grid-template-columns:1fr; } }  /* 2-col holds through tablet (768) */
.sp-price-card { background:#fff; border-radius: var(--sp-radius-xl); box-shadow: var(--sp-shadow-card); padding: 48px 40px; }
.sp-price-card__name { font: var(--sp-h3); text-align:center; margin: 0 0 6px; }
.sp-price-card__billing { text-align:center; color: var(--sp-text-muted); font: var(--sp-body-sm); margin: 0 0 28px; }
.sp-price-box { background: var(--sp-surface-blue); border-radius: var(--sp-radius-lg); padding: 28px; text-align:center; margin-bottom: 28px; }
.sp-price-box__main { font-family: var(--sp-font-display); font-weight:700; font-size: 44px; color: var(--sp-text); }
.sp-price-box__main span { font-size: 22px; font-family: var(--sp-font-body); color: var(--sp-text-muted); }
.sp-price-box__add { font-family: var(--sp-font-display); font-weight:700; font-size: 26px; color: var(--sp-text); margin-top: 10px; }
.sp-price-box__add span { font-size: 18px; font-family: var(--sp-font-body); color: var(--sp-text-muted); }
.sp-price-box__hint { color: var(--sp-blue); font: var(--sp-body-sm); margin-top: 10px; display:inline-flex; gap:6px; align-items:center; }
.sp-feature-list { list-style:none; margin:0; padding:0; }
.sp-feature-list li { display:flex; gap:10px; align-items:flex-start; padding:7px 0; font: var(--sp-body-sm); color: var(--sp-text); }
.sp-feature-list li::before { content:"✓"; color: var(--sp-green); font-weight:700; flex:none; }

/* ============================================================================
   7. FAQ / ACCORDION
   ============================================================================ */
.sp-faq { max-width: 920px; margin-inline:auto; display:flex; flex-direction:column; gap: 14px; }
.sp-faq__item { border-radius: var(--sp-radius-pill); background:#fff; box-shadow: var(--sp-shadow-card); overflow:hidden; transition: border-radius .2s; }
.sp-faq__q {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 22px 32px; cursor:pointer; font-family: var(--sp-font-display);
  font-weight:700; font-size: 19px; color: var(--sp-text);
}
.sp-faq__q .sp-faq__chev { width:18px; height:18px; flex:none; transition: transform .2s; color: var(--sp-blue); }
.sp-faq__a { padding: 0 32px; max-height:0; overflow:hidden; transition: max-height .25s ease, padding .25s ease; font: var(--sp-body-sm); color: var(--sp-text-muted); }
.sp-faq__item.is-open { background: var(--sp-blue); border-radius: var(--sp-radius-lg); }
.sp-faq__item.is-open .sp-faq__q { color: #fff; }
.sp-faq__item.is-open .sp-faq__chev { transform: rotate(180deg); color:#fff; }
.sp-faq__item.is-open .sp-faq__a { color: rgba(255,255,255,0.9); max-height: 320px; padding: 0 32px 24px; }

/* ============================================================================
   8. FORMS
   ============================================================================ */
.sp-form { display:grid; gap: 22px; }
.sp-field { display:flex; flex-direction:column; gap: 8px; }
.sp-field label { font: var(--sp-body-sm); font-family: var(--sp-font-medium); color: var(--sp-text); }
.sp-field label .req { color: #E5484D; }
.sp-input, .sp-textarea {
  font: var(--sp-body); width:100%; padding: 14px 18px; border-radius: var(--sp-radius-pill);
  border: 1px solid var(--sp-border); background:#fff; color: var(--sp-text);
  transition: border-color .15s, box-shadow .15s;
}
.sp-textarea { border-radius: var(--sp-radius-lg); min-height: 120px; resize: vertical; }
.sp-input::placeholder, .sp-textarea::placeholder { color: #9aa0b4; }
.sp-input:focus, .sp-textarea:focus { outline:none; border-color: var(--sp-blue); box-shadow: 0 0 0 4px rgba(48,58,242,0.12); }
.sp-form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px){ .sp-form-row { grid-template-columns: 1fr; } }
.sp-check { display:flex; gap:12px; align-items:flex-start; font: var(--sp-body-sm); color: var(--sp-text-muted); }
.sp-check input { width:20px; height:20px; flex:none; accent-color: var(--sp-blue); margin-top:2px; }

/* ============================================================================
   11. NUMBERED PROCESS STEPS  (Assisted onboarding / Customization pages)
   Light-blue rounded card, big blue NeueKabel number, title, body.
   ============================================================================ */
.sp-steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px){ .sp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .sp-steps { grid-template-columns: 1fr; } }
.sp-step { background: var(--sp-surface-blue); border-radius: var(--sp-radius-lg); padding: 32px 28px; }
.sp-step__num { font-family: var(--sp-font-display-xb); font-weight: 800; font-size: 40px; line-height:1; color: var(--sp-blue); margin-bottom: 20px; }
.sp-step__title { font-family: var(--sp-font-display); font-weight: 700; font-size: 19px; margin: 0 0 8px; color: var(--sp-text); }
.sp-step__body { font: var(--sp-body-sm); color: var(--sp-text-muted); margin: 0; }

/* ============================================================================
   12. INTEGRATION / LOGO CARDS  (Integrations page grid)
   Small white card: logo, bold title, short description. Left-aligned.
   ============================================================================ */
.sp-logo-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 600px){ .sp-logo-grid { grid-template-columns: 1fr 1fr; } }  /* 3-col holds through tablet (768) */
@media (max-width: 430px){ .sp-logo-grid { grid-template-columns: 1fr; } }
.sp-logo-card { background:#fff; border-radius: var(--sp-radius-md); box-shadow: var(--sp-shadow-card); padding: 22px 24px; }
.sp-logo-card__logo { height: 26px; margin-bottom: 14px; display:flex; align-items:center; }
.sp-logo-card__logo .ph { height: 22px; padding: 0 10px; border-radius:6px; background: var(--sp-surface-blue); color: var(--sp-blue); font-family: var(--sp-font-medium); font-size: 13px; display:inline-flex; align-items:center; }
.sp-logo-card__title { font-family: var(--sp-font-display); font-weight: 700; font-size: 18px; margin: 0 0 6px; color: var(--sp-text); }
.sp-logo-card__desc { font: var(--sp-caption); color: var(--sp-text-muted); margin: 0; }

/* Centered button toolbar (doc / utility page sub-nav) */
.sp-btn-toolbar { display:flex; flex-wrap:wrap; gap: 16px; justify-content:center; }

/* Big display-title feature card (Integrations / Features pages) */
.sp-feature-card { background:#fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); padding: 40px 34px; }
.sp-feature-card .sp-chip { margin-bottom: 24px; }

/* ============================================================================
   10. UTILITIES
   ============================================================================ */
.sp-pill-tag { display:inline-flex; align-items:center; gap:8px; padding:8px 18px; border-radius: var(--sp-radius-pill); background: var(--sp-surface-blue); color: var(--sp-blue); font-family: var(--sp-font-medium); font-size: 15px; }
.sp-divider { border:none; border-top:1px solid var(--sp-border); margin: 0; }
.sp-stack-2 > * + * { margin-top: 8px; }
.sp-stack-4 > * + * { margin-top: 16px; }
.sp-center { text-align:center; }

/* ============================================================================
   13. MOBILE (≤600px)  — small-screen overrides, validated against package 04 (390px)
   ============================================================================ */
@media (max-width: 600px) {
  /* Section rhythm tightens; container hugs edges with 20px gutter */
  .sp-section { padding-block: var(--sp-space-20); }
  .sp-panel { padding: 32px 24px; border-radius: var(--sp-radius-lg); }
  .sp-section-head { margin-bottom: 36px; }

  /* CTAs become full-width, comfortably tall touch targets (≥48px) */
  .sp-hero__actions { flex-direction: column; align-items: stretch; }
  .sp-hero__actions .sp-btn,
  .sp-hero .oauth-row .sp-btn { width: 100%; }
  .sp-btn--block-m { width: 100%; }
  .sp-btn-toolbar { flex-direction: column; }
  .sp-btn-toolbar .sp-btn { width: 100%; }

  /* Hero: copy first, image below, centered */
  .sp-hero { padding-block: var(--sp-space-10) var(--sp-space-20); }
  .sp-hero__title { font: var(--sp-h1); }
  .sp-hero__sub { max-width: none; }

  /* Single-column grids */
  .sp-steps { grid-template-columns: 1fr; }
  .sp-price-grid { grid-template-columns: 1fr; }
  .sp-logo-grid { grid-template-columns: 1fr; }

  /* Cards: a touch less padding */
  .sp-card { padding: 24px; }
  .sp-price-card { padding: 32px 24px; }

  /* FAQ: tighter horizontal padding, stays pill→panel */
  .sp-faq__q { padding: 18px 22px; font-size: 17px; }
  .sp-faq__a { padding-inline: 22px; }
  .sp-faq__item.is-open .sp-faq__a { padding: 0 22px 20px; }

  /* Footer: single column, centered (matches live mobile footer) */

  /* Inputs/buttons keep ≥48px height via existing padding; nav CTA full-width in menu */
}

/* RTL — Arabic pages mirror fully */
[dir="rtl"] .sp-feature-list li,
[dir="rtl"] .sp-check { flex-direction: row-reverse; text-align: right; }


/* ============================================================================
   SkyPlanner — /customers/ Customer Stories hub
   Requires colors_and_type.css + skyplanner-ds.css loaded first.
   Page-scoped prefix: .cu-
   ============================================================================ */

body.skyplanner-customers-v1-page { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { body.skyplanner-customers-v1-page { scroll-behavior: auto; } }

/* ----------------------------------------------------------------------------
   HERO — stacked, translation-proof (no side-by-side text column)
   ---------------------------------------------------------------------------- */
.cu-hero { padding-block: var(--sp-space-15) var(--sp-space-10); }
.cu-hero__stack {
  max-width: 880px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  margin-bottom: 56px;
}
.cu-hero__title { font: var(--sp-h1); font-size: clamp(36px, 4.2vw, 60px); margin: 0; color: var(--sp-text); text-wrap: balance; }
.cu-hero__answer { font: var(--sp-body-lg); color: var(--sp-text-muted); margin: 0; max-width: 64ch; text-wrap: pretty; }
.cu-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* collage — 2-row mosaic. Wide aerials get wide tiles, the staff-group photo
   gets width for its crowd, the Fredman team shot runs tall through both rows. */
.cu-hero__collage {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr 1fr 1fr;
  grid-template-rows: clamp(150px, 14vw, 195px) clamp(150px, 14vw, 195px);
  grid-template-areas:
    "piri piri team smile stat"
    "fredair fredair fredair staff staff";
  gap: 16px;
}
.cu-hero__collage > * { min-width: 0; }
.cu-hero__tile--piri { grid-area: piri; }
.cu-hero__tile--team { grid-area: team; }
.cu-hero__tile--smile { grid-area: smile; }
.cu-hero__tile--fredair { grid-area: fredair; }
.cu-hero__tile--staff { grid-area: staff; }
.cu-hero__stattile { grid-area: stat; }
.cu-hero__tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); }
.cu-hero__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cu-hero__tile--team img { object-position: 50% 30%; }
.cu-hero__tile--fredair img { object-position: 50% 50%; } /* panorama pre-cropped to 1100×350 (baked logo trimmed) */
.cu-hero__stattile {
  background: var(--sp-blue); border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-card);
  padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  text-align: left;
}
.cu-hero__stat-num { font-family: var(--sp-font-display-xb); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; color: #fff; }
.cu-hero__stat-label { font: var(--sp-caption); color: rgba(255,255,255,0.85); }

@media (max-width: 900px) {
  .cu-hero__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: clamp(140px, 24vw, 200px);
    grid-template-areas:
      "piri piri"
      "team smile"
      "fredair fredair"
      "staff stat";
  }
}
@media (max-width: 600px) {
  .cu-hero { padding-block: var(--sp-space-10) var(--sp-space-8); }
  .cu-hero__stack { margin-bottom: 36px; }
  .cu-hero__actions { flex-direction: column; align-items: stretch; align-self: stretch; }
}

/* ----------------------------------------------------------------------------
   GLOBAL PROOF BAR
   ---------------------------------------------------------------------------- */
.cu-proofbar { background: var(--sp-surface-blue); padding-block: 26px; }
.cu-proofbar__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center;
}
.cu-proofbar__list li {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sp-font-medium); font-size: 16.5px; color: var(--sp-ink);
}
.cu-proofbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sp-blue); flex: none; }
@media (max-width: 700px) {
  .cu-proofbar__list { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ----------------------------------------------------------------------------
   FEATURED STORY GRID
   ---------------------------------------------------------------------------- */
.cu-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; }
.cu-grid > * { min-width: 0; }
.cu-span7 { grid-column: span 7; }
.cu-span5 { grid-column: span 5; }
@media (max-width: 980px) { .cu-span7, .cu-span5 { grid-column: span 12; } }

.cu-story {
  background: #fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card);
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  scroll-margin-top: 110px;
  cursor: pointer;
}
.cu-story:hover { transform: translateY(-4px); box-shadow: var(--sp-shadow-soft); }
.cu-story:focus-within { outline: 3px solid var(--sp-blue); outline-offset: 3px; }
.cu-story:focus-within .cu-story__cta { box-shadow: none; }

.cu-story__img { width: 100%; height: 280px; object-fit: cover; display: block; }
.cu-story__body { padding: 32px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.cu-story__logo { height: 30px; width: auto; align-self: flex-start; }
.cu-story__logo--tall { height: 36px; }
.cu-story__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.cu-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cu-tag {
  display: inline-flex; align-items: center;
  padding: 5px 13px; border-radius: var(--sp-radius-pill);
  background: var(--sp-surface-blue); color: var(--sp-ink);
  font-family: var(--sp-font-medium); font-size: 13.5px; line-height: 1.35;
}
.cu-tag--soft { background: var(--sp-bg-alt); border: 1px solid var(--sp-border); }

.cu-story__challenge { font: var(--sp-body-sm); color: var(--sp-text-muted); margin: 0; text-wrap: pretty; }
.cu-story__challenge strong { color: var(--sp-text); font-weight: 600; }

/* stat pair (Piristeel feature card) */
.cu-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cu-stat { background: var(--sp-surface-blue); border-radius: var(--sp-radius-md); padding: 18px 20px; }
.cu-stat__num { font-family: var(--sp-font-display-xb); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--sp-blue); }
.cu-stat__label { font: var(--sp-caption); color: var(--sp-text); margin-top: 4px; }
@media (max-width: 440px) { .cu-stats { grid-template-columns: 1fr; } }

/* outcome checklist */
.cu-outcomes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cu-outcomes li { display: flex; gap: 10px; align-items: flex-start; font: var(--sp-body-sm); color: var(--sp-text); }
.cu-outcomes li::before { content: "✓"; color: var(--sp-green); font-weight: 700; flex: none; line-height: 23px; }

/* small in-card pull quote */
.cu-pullquote { border-left: 3px solid var(--sp-blue); padding: 2px 0 2px 16px; margin: 0; }
.cu-pullquote p { font: italic 400 16px/24px var(--sp-font-body); color: var(--sp-text); margin: 0 0 6px; }
.cu-pullquote .cu-quote-footer { font: var(--sp-caption); color: var(--sp-text-muted); }

.cu-story__cta {
  margin-top: auto; align-self: stretch;
  font-family: var(--sp-font-medium); font-size: 16px; color: #fff;
  background: var(--sp-blue); border-radius: var(--sp-radius-pill);
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; padding: 13px 24px;
  transition: background .15s, transform .12s;
}
/* stretched link: the whole card is clickable */
.cu-story__cta::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cu-story__cta .arr { transition: transform .15s; }
.cu-story:hover .cu-story__cta { background: var(--sp-blue-700, #2630d8); }
.cu-story:hover .cu-story__cta .arr { transform: translateX(4px); }

/* blue global-proof panel (Laboratory & Allied) */
.cu-story--blue { background: var(--sp-blue); color: #fff; }
.cu-story--blue .cu-story__challenge { color: rgba(255,255,255,0.82); }
.cu-story--blue .cu-story__challenge strong { color: #fff; }
.cu-story--blue .cu-tag { background: rgba(255,255,255,0.14); color: #fff; }
.cu-story--blue .cu-outcomes li { color: #fff; }
.cu-story--blue .cu-outcomes li::before { color: #8CF2C3; }
.cu-story--blue .cu-story__cta { color: var(--sp-blue); background: #fff; }
.cu-story--blue:hover .cu-story__cta { background: #EAF1FF; }
.cu-lal { display: flex; align-items: center; gap: 14px; }
.cu-lal__chip { background: #fff; border-radius: var(--sp-radius-md); padding: 9px 12px; flex: none; }
.cu-lal__chip img { height: 30px; width: auto; display: block; }
.cu-lal__name { font-family: var(--sp-font-display); font-weight: 700; font-size: 21px; line-height: 1.2; color: #fff; }
.cu-lal__sub { font: var(--sp-caption); color: rgba(255,255,255,0.75); }
.cu-bands { display: flex; flex-direction: column; gap: 7px; margin-top: 2px; }
.cu-bands i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.28); }
.cu-bands i:nth-child(1) { width: 88%; }
.cu-bands i:nth-child(2) { width: 58%; background: #8CF2C3; }
.cu-bands i:nth-child(3) { width: 72%; }

/* Eskomatic logo-led panel */
.cu-story--esko .cu-story__body { gap: 18px; }

/* ----------------------------------------------------------------------------
   OPERATIONAL PROOF — before / what changed / reported result
   ---------------------------------------------------------------------------- */
.cu-oprows { display: flex; flex-direction: column; gap: 20px; }
.cu-oprow { background: #fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); padding: 28px 32px; }
.cu-oprow__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.cu-oprow__head img { height: 24px; width: auto; }
.cu-oprow__head img.tall { height: 30px; }
.cu-oprow__name { font-family: var(--sp-font-display); font-weight: 700; font-size: 19px; color: var(--sp-text); }
.cu-oprow__where { font: var(--sp-caption); color: var(--sp-text-muted); }
.cu-oprow__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.cu-oprow__col h4 {
  font: var(--sp-caption); font-family: var(--sp-font-medium);
  letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 8px;
}
.cu-oprow__col:nth-child(1) h4 { color: var(--sp-text-muted); }
.cu-oprow__col:nth-child(2) h4 { color: var(--sp-blue); }
.cu-oprow__col:nth-child(3) h4 { color: var(--sp-green-600); }
.cu-oprow__col p { font: var(--sp-body-sm); color: var(--sp-text-muted); margin: 0; text-wrap: pretty; }
.cu-oprow__col:nth-child(3) p { color: var(--sp-text); }
@media (max-width: 860px) { .cu-oprow__cols { grid-template-columns: 1fr; gap: 18px; } }

/* ----------------------------------------------------------------------------
   QUOTE BAND
   ---------------------------------------------------------------------------- */
.cu-quotes { background: var(--sp-surface-blue); }
.cu-quotes__lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.cu-quotes__photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card);
}
.cu-quotes__photo--portrait img { aspect-ratio: 4 / 5; object-position: center top; }
.cu-quotes__photo figcaption { font: var(--sp-caption); color: var(--sp-text-muted); margin-top: 12px; }
.cu-bigquote { margin: 0; }
.cu-bigquote .mark { font-family: var(--sp-font-display-xb); font-weight: 800; font-size: 64px; line-height: 0.6; color: var(--sp-blue); display: block; margin-bottom: 18px; }
.cu-bigquote p {
  font-family: var(--sp-font-display); font-weight: 500; font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.42; color: var(--sp-text); margin: 0 0 22px; text-wrap: pretty;
}
.cu-bigquote .cu-quote-footer { font: var(--sp-body-sm); color: var(--sp-text-muted); }
.cu-bigquote .cu-quote-footer strong { color: var(--sp-text); font-weight: 600; display: block; font-family: var(--sp-font-medium); font-size: 17px; }
@media (max-width: 900px) { .cu-quotes__lead { grid-template-columns: 1fr; gap: 28px; } }

.cu-quotecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .cu-quotecards { grid-template-columns: 1fr; } }
.cu-quotecard { background: #fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.cu-quotecard p { font: italic 400 16.5px/25px var(--sp-font-body); color: var(--sp-text); margin: 0; flex: 1; }
.cu-quotecard .cu-quote-footer { display: flex; flex-direction: column; gap: 2px; }
.cu-quotecard .cu-quote-footer strong { font-family: var(--sp-font-medium); font-weight: 500; font-size: 16px; color: var(--sp-text); }
.cu-quotecard .cu-quote-footer span { font: var(--sp-caption); color: var(--sp-text-muted); }

/* ----------------------------------------------------------------------------
   LEARNINGS
   ---------------------------------------------------------------------------- */
.cu-learn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .cu-learn-grid { grid-template-columns: 1fr; } }
.cu-learn { background: #fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); padding: 32px; }
.cu-learn .sp-chip { margin-bottom: 18px; }
.cu-learn h3 { font: var(--sp-h4); margin: 0 0 10px; }
.cu-learn p { font: var(--sp-body-sm); color: var(--sp-text-muted); margin: 0 0 14px; text-wrap: pretty; }
.cu-learn a { font-family: var(--sp-font-medium); font-size: 16px; color: var(--sp-blue); text-decoration: none; }
.cu-learn a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ----------------------------------------------------------------------------
   Q&A — always visible, no accordion
   ---------------------------------------------------------------------------- */
.cu-qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .cu-qa-grid { grid-template-columns: 1fr; } }
.cu-qa { background: #fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card); padding: 28px 30px; }
.cu-qa h3 { font-family: var(--sp-font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--sp-text); margin: 0 0 10px; }
.cu-qa p { font: var(--sp-body-sm); color: var(--sp-text-muted); margin: 0; text-wrap: pretty; }

/* ----------------------------------------------------------------------------
   FINAL CTA
   ---------------------------------------------------------------------------- */
.cu-cta { text-align: center; }
.cu-cta .sp-panel { padding-block: 72px; }
/* brand blue blob background instead of flat blue */
.cu-cta .sp-panel--blue {
  position: relative; overflow: hidden;
  background-color: var(--sp-blue);
  background-image: url("/wp-content/themes/generatepress-child/assets/img/customers-v1/21-4c3ac54f-3c35-4e0b-80f7-55e62331fb2a.webp");
  background-size: cover; background-position: center;
}
.cu-cta .sp-panel--blue::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(17,22,96,0.18) 0%, rgba(17,22,96,0.34) 100%);
}
.cu-cta .sp-panel--blue > * { position: relative; z-index: 1; }
.cu-cta h2 { font: var(--sp-h2); color: #fff; margin: 0 auto 18px; max-width: 22ch; text-wrap: balance; }
.cu-cta p { font: var(--sp-body-lg); color: rgba(255,255,255,0.88); margin: 0 auto 32px; max-width: 52ch; }
.cu-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
@media (max-width: 600px) {
  .cu-cta .sp-panel { padding-block: 48px; }
  .cu-cta__actions { flex-direction: column; align-items: stretch; }
}


/* ============================================================================
   SkyPlanner — /customers/<story>/ Customer story pages
   Load after colors_and_type.css + skyplanner-ds.css + skyplanner-customers.css
   (reuses .cu-phheader/.cu-phfooter shell, .cu-tag, .cu-outcomes, .cu-cta,
   .cu-esko-motif). Page-scoped prefix: .cs-
   ============================================================================ */

/* breadcrumb */
.cs-breadcrumb { padding-top: 28px; }
.cs-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: var(--sp-caption); color: var(--sp-text-muted); }
.cs-breadcrumb a { color: var(--sp-text-muted); text-decoration: none; }
.cs-breadcrumb a:hover { color: var(--sp-blue); text-decoration: underline; text-underline-offset: 3px; }
.cs-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }
.cs-breadcrumb [aria-current] { color: var(--sp-text); }

/* back button — clear, tappable return to the hub */
.cs-back {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px 10px 16px; border-radius: var(--sp-radius-pill);
  background: #fff; border: 1px solid var(--sp-border);
  font-family: var(--sp-font-medium); font-size: 15.5px; color: var(--sp-ink);
  text-decoration: none; transition: border-color .15s, color .15s, box-shadow .15s, transform .12s;
}
.cs-back .arr { transition: transform .15s; font-size: 17px; line-height: 1; }
.cs-back:hover { border-color: var(--sp-blue); color: var(--sp-blue); box-shadow: var(--sp-shadow-card); }
.cs-back:hover .arr { transform: translateX(-3px); }
.cs-backbar { padding-top: 22px; }
.cs-backbar--bottom { padding-block: 0 var(--sp-space-12); text-align: center; }

/* hero — stacked, translation-proof */
.cs-hero { padding-block: var(--sp-space-10) var(--sp-space-10); }
.cs-hero__stack {
  max-width: 880px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cs-hero__logo { height: 64px; width: auto; }
.cs-hero__logo--emblem { height: 84px; }
@media (max-width: 600px) {
  .cs-hero__logo { height: 50px; }
  .cs-hero__logo--emblem { height: 64px; }
}
.cs-hero__title { font: var(--sp-h1); font-size: clamp(32px, 3.6vw, 52px); margin: 0; color: var(--sp-text); text-wrap: balance; }
.cs-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* reported stat highlights */
.cs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 880px; margin: 40px auto 0; }
.cs-stat { background: var(--sp-surface-blue); border-radius: var(--sp-radius-md); padding: 20px 22px; text-align: left; }
.cs-stat__num { font-family: var(--sp-font-display-xb); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--sp-blue); }
.cs-stat__label { font: var(--sp-caption); color: var(--sp-text); margin-top: 4px; }
@media (max-width: 760px) { .cs-stats { grid-template-columns: 1fr; } }

/* lead photo */
.cs-photo { margin: 0; }
.cs-photo img {
  width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; display: block;
  border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card);
}
.cs-photo figcaption { font: var(--sp-caption); color: var(--sp-text-muted); margin-top: 12px; text-align: center; }
.cs-photo--natural img { aspect-ratio: 16 / 9; }
.cs-photo--group img { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .cs-photo img { aspect-ratio: 3 / 2; } }

/* person feature — portrait + pull quote */
.cs-personfeature {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center;
  max-width: 980px; margin: 8px auto 0;
}
.cs-personfeature__photo { margin: 0; }
.cs-personfeature__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; display: block;
  border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card);
}
.cs-personfeature__photo figcaption { font: var(--sp-caption); color: var(--sp-text-muted); margin-top: 12px; }
.cs-personfeature blockquote { margin: 0; }
.cs-personfeature__mark { font-family: var(--sp-font-display-xb); font-weight: 800; font-size: 56px; line-height: .5; color: var(--sp-blue); display: block; margin-bottom: 16px; }
.cs-personfeature p { font-family: var(--sp-font-display); font-weight: 500; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.42; color: var(--sp-text); margin: 0 0 18px; text-wrap: pretty; }
.cs-personfeature .cu-quote-footer { font: var(--sp-body-sm); color: var(--sp-text-muted); }
.cs-personfeature .cu-quote-footer strong { display: block; font-family: var(--sp-font-medium); font-size: 17px; color: var(--sp-text); }
@media (max-width: 720px) { .cs-personfeature { grid-template-columns: 1fr; gap: 24px; max-width: 460px; } }

/* narrative article */
.cs-article { max-width: 820px; margin-inline: auto; padding-block: var(--sp-space-12); }
.cs-article h2 { font: var(--sp-h3); color: var(--sp-text); margin: 44px 0 14px; text-wrap: balance; }
.cs-article h2:first-child { margin-top: 0; }
.cs-article p { font: var(--sp-body); color: var(--sp-text-muted); margin: 0 0 16px; text-wrap: pretty; }
.cs-article p strong { color: var(--sp-text); font-weight: 600; }

/* in-article quote — editorial pull quote, no box/border */
.cs-quote {
  margin: 44px 0; padding: 0; border: 0; background: none; box-shadow: none; position: relative;
}
.cs-quote::before {
  content: "\201C"; display: block;
  font-family: var(--sp-font-display-xb); font-weight: 800;
  font-size: 64px; line-height: 0.7; color: var(--sp-blue); margin-bottom: 14px;
}
.cs-quote p {
  font-family: var(--sp-font-display); font-weight: 500; font-style: normal;
  font-size: clamp(21px, 2.3vw, 27px); line-height: 1.42;
  color: var(--sp-text); margin: 0 0 18px; text-wrap: pretty;
}
.cs-quote .cu-quote-footer { font: var(--sp-body-sm); color: var(--sp-text-muted); display: flex; align-items: center; gap: 12px; }
.cs-quote .cu-quote-footer::before { content: ""; width: 28px; height: 2px; background: var(--sp-green); flex: none; }
.cs-quote .cu-quote-footer strong { color: var(--sp-text); font-family: var(--sp-font-medium); font-weight: 500; }

/* reported outcome checklist inside article */
.cs-article .cu-outcomes { margin: 18px 0 24px; }
.cs-article .cu-outcomes li { font: var(--sp-body); color: var(--sp-text); }

/* secondary photo inside article */
.cs-inlinephoto { margin: 30px 0; }
.cs-inlinephoto img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card);
}
.cs-inlinephoto figcaption { font: var(--sp-caption); color: var(--sp-text-muted); margin-top: 10px; }
.cs-inlinephoto--group img { aspect-ratio: 3 / 2; }

/* company fact box */
.cs-facts {
  background: var(--sp-surface-blue); border-radius: var(--sp-radius-lg);
  padding: 28px 32px; margin: 40px 0 0;
}
.cs-facts h2 { font: var(--sp-h4); margin: 0 0 14px; }
.cs-facts dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin: 0; }
.cs-facts dt { font: var(--sp-caption); font-family: var(--sp-font-medium); color: var(--sp-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.cs-facts dd { font: var(--sp-body-sm); color: var(--sp-text); margin: 2px 0 0; }
.cs-facts dd a { color: var(--sp-blue); text-decoration: none; font-family: var(--sp-font-medium); }
.cs-facts dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cs-facts dd a .arr { font-size: 13px; }
@media (max-width: 560px) { .cs-facts dl { grid-template-columns: 1fr; } }

/* motif card (no-photo stories) */
.cs-motifcard {
  max-width: 880px; margin: 0 auto;
  background: #fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card);
  padding: 28px;
}

/* related stories */
.cs-related { padding-block: 0 var(--sp-space-12); }
.cs-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .cs-related__grid { grid-template-columns: 1fr; } }
.cs-relcard {
  background: #fff; border-radius: var(--sp-radius-lg); box-shadow: var(--sp-shadow-card);
  padding: 24px 26px; display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.cs-relcard:hover { transform: translateY(-2px); box-shadow: var(--sp-shadow-soft); }
.cs-relcard__logo { height: 28px; width: auto; max-width: 160px; object-fit: contain; align-self: flex-start; margin-bottom: 4px; }
.cs-relcard__logo--emblem { height: 36px; }
.cs-relcard__name { font-family: var(--sp-font-display); font-weight: 700; font-size: 19px; color: var(--sp-text); }
.cs-relcard__line { font: var(--sp-body-sm); color: var(--sp-text-muted); flex: 1; }
.cs-relcard__cta { font-family: var(--sp-font-medium); font-size: 16px; color: var(--sp-blue); }


/* ============================================================================
   GeneratePress shell counter-rules.
   These adapt the real WordPress shell to the approved design and prevent
   global theme rules from leaking into the page-scoped design.
   ============================================================================ */

body.skyplanner-customers-v1-page {
  overflow-x: clip;
}

body.skyplanner-customers-v1-page.separate-containers .inside-article,
body.skyplanner-customers-v1-page.one-container .site-content {
  padding: 0 !important;
}

body.skyplanner-customers-v1-page #page.grid-container {
  max-width: none;
  width: 100%;
}

.sp-customers-v1 .wp-block-group,
.sp-customers-v1 .wp-block-heading,
.sp-customers-v1 .wp-block-list {
  margin-top: 0;
  margin-bottom: 0;
}

.sp-customers-v1 .wp-block-group {
  max-width: none;
}

.sp-customers-v1 .wp-block-group.sp-container,
.sp-customers-v1 .wp-block-group.cs-backbar,
.sp-customers-v1 .wp-block-group.cs-related {
  max-width: var(--sp-container) !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-gutter);
  padding-right: var(--sp-gutter);
}

.sp-customers-v1 .wp-block-group.cs-article {
  max-width: 860px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-gutter);
  padding-right: var(--sp-gutter);
}

.sp-customers-v1 .wp-block-group__inner-container {
  max-width: none !important;
  padding: 0 !important;
}

.sp-customers-v1 a {
  text-decoration-thickness: auto;
}

.sp-customers-v1 a.sp-btn--green,
.sp-customers-v1 a.sp-btn--green:hover,
.sp-customers-v1 a.sp-btn--green:focus {
  color: #fff;
}

.sp-customers-v1 a.sp-btn--outline {
  color: var(--sp-ink);
}

.sp-customers-v1 a.sp-btn--outline:hover,
.sp-customers-v1 a.sp-btn--outline:focus,
.sp-customers-v1 .cu-learn a,
.sp-customers-v1 .cu-learn a:hover,
.sp-customers-v1 .cu-learn a:focus,
.sp-customers-v1 .cu-qa a,
.sp-customers-v1 .cu-qa a:hover,
.sp-customers-v1 .cu-qa a:focus {
  color: var(--sp-blue);
}

.sp-customers-v1 a.cu-story__cta,
.sp-customers-v1 a.cu-story__cta:hover,
.sp-customers-v1 a.cu-story__cta:focus {
  color: #fff;
  text-decoration: none;
}

.sp-customers-v1 .cu-story--blue a.cu-story__cta,
.sp-customers-v1 .cu-story--blue a.cu-story__cta:hover,
.sp-customers-v1 .cu-story--blue a.cu-story__cta:focus {
  color: var(--sp-blue);
}

.sp-customers-v1 #story-piristeel .cu-story__logo {
  height: 46px;
}

.sp-customers-v1 #story-fredman .cu-story__logo {
  height: 40px;
}

.sp-customers-v1 .cu-oprow__head img[alt="Piristeel Oy"] {
  height: 40px;
}

.sp-customers-v1 .cu-oprow__head img[alt="Fredman Operations Oy"] {
  height: 34px;
}

body.skyplanner-customers-v1-page .sp-customers-v1 h1.cu-hero__title {
  font: var(--sp-h1) !important;
  font-size: clamp(36px, 4.2vw, 60px) !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  text-shadow: none !important;
}

body.skyplanner-customers-v1-page .sp-customers-v1 h1.cs-hero__title {
  font: var(--sp-h1) !important;
  font-size: clamp(32px, 3.6vw, 52px) !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  text-shadow: none !important;
}

.sp-customers-v1 .cs-hero__logo {
  height: clamp(64px, 6vw, 88px);
  max-width: min(420px, 76vw);
  object-fit: contain;
}

.sp-customers-v1 .cs-hero__logo--emblem {
  height: clamp(70px, 6.5vw, 96px);
}

@media (max-width: 600px) {
  .sp-customers-v1 .cs-hero__logo {
    height: 60px;
    max-width: min(320px, 78vw);
  }

  .sp-customers-v1 .cs-hero__logo--emblem {
    height: 66px;
  }
}

body.skyplanner-customers-v1-page .sp-customers-v1 h2.sp-h2 {
  font: var(--sp-h2) !important;
  margin: 0 0 20px !important;
}

body.skyplanner-customers-v1-page .sp-customers-v1 .cs-article h2 {
  font: var(--sp-h3) !important;
  margin: 44px 0 14px !important;
}

body.skyplanner-customers-v1-page .sp-customers-v1 .cs-facts h2 {
  font: var(--sp-h4) !important;
  margin: 0 0 14px !important;
}

body.skyplanner-customers-v1-page .sp-customers-v1 .cu-cta h2 {
  font: var(--sp-h2) !important;
  margin: 0 auto 18px !important;
}

body.skyplanner-customers-v1-page .sp-customers-v1 .cu-learn h3 {
  font: var(--sp-h4) !important;
  margin: 0 0 10px !important;
}

body.skyplanner-customers-v1-page .sp-customers-v1 .cu-qa h3 {
  font-family: var(--sp-font-display) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
}

body.skyplanner-customers-v1-page .sp-customers-v1 .cu-oprow__col h4 {
  font: var(--sp-caption) !important;
  font-family: var(--sp-font-medium) !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  margin: 0 0 8px !important;
}

.sp-customers-v1 blockquote:not(.cu-quotecard):not(.cu-pullquote):not(.cu-bigquote):not(.cs-quote) {
  font-style: normal;
  border: 0;
  padding: 0;
  background: none;
}

.sp-customers-v1 blockquote.cu-pullquote {
  border-left: 3px solid var(--sp-blue);
  padding: 2px 0 2px 16px;
  margin: 0;
}

.sp-customers-v1 blockquote.cu-bigquote {
  margin: 0;
}

@media (max-width: 480px) {
  .sp-customers-v1 .sp-btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}
