/* ==========================================================================
   WINSLOW BANK — Design System
   Design language blended from: N26 (restraint, alternating sections),
   Ally (hero economy), Banca finance template (structure, stat bands,
   footer), Tartu/RemixIcon (checkmark + line icon language).
   ========================================================================== */

:root {
  /* Primary brand color, as specified: #1d324f */
  --wb-primary: #1d324f;
  --wb-primary-rgb: 29, 50, 79;

  /* Tints & shades derived from primary for a full, accessible palette */
  --wb-primary-900: #0f1a29;
  --wb-primary-800: #16233a;
  --wb-primary-700: #1d324f;   /* = primary */
  --wb-primary-600: #294364;
  --wb-primary-500: #3a5a82;
  --wb-primary-400: #5b7ba0;
  --wb-primary-300: #8ca4bf;
  --wb-primary-200: #c0cede;
  --wb-primary-100: #e3e9f0;
  --wb-primary-50:  #f4f7fa;

  /* Accent: warm gold, evokes trust/precious-metals without competing with navy */
  --wb-accent: #b8863f;
  --wb-accent-dark: #96692c;
  --wb-accent-light: #e8d3ab;

  /* Semantic */
  --wb-success: #1f8a5f;
  --wb-error: #c0392b;
  --wb-ink: #14202f;
  --wb-body: #45566b;
  --wb-muted: #7c8ba0;
  --wb-border: #e2e8f0;
  --wb-surface: #ffffff;
  --wb-surface-alt: #f6f8fb;

  /* Typography */
  --wb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --wb-font-display: 'Manrope', var(--wb-font);

  /* Layout */
  --wb-radius-sm: 8px;
  --wb-radius: 14px;
  --wb-radius-lg: 24px;
  --wb-container: 1200px;
  --wb-shadow-sm: 0 2px 8px rgba(15, 26, 41, 0.06);
  --wb-shadow: 0 8px 30px rgba(15, 26, 41, 0.08);
  --wb-shadow-lg: 0 20px 60px rgba(15, 26, 41, 0.14);
}

/* ==========================================================================
   Base
   ========================================================================== */

.wb-page {
  font-family: var(--wb-font);
  color: var(--wb-body);
  -webkit-font-smoothing: antialiased;
}

.wb-page h1, .wb-page h2, .wb-page h3, .wb-page h4, .wb-page h5 {
  font-family: var(--wb-font-display);
  color: var(--wb-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.wb-page a { text-decoration: none; }
.wb-page img { max-width: 100%; display: block; }
.wb-page ul { list-style: none; margin: 0; padding: 0; }

.wb-container {
  max-width: var(--wb-container);
  margin: 0 auto;
  padding: 0 24px;
}

.wb-section {
  padding: 96px 0;
}
.wb-section--tight { padding: 64px 0; }
.wb-section--alt { background: var(--wb-surface-alt); }
.wb-section--dark {
  background: var(--wb-primary-700);
  color: rgba(255,255,255,0.82);
}
.wb-section--dark h1, .wb-section--dark h2, .wb-section--dark h3 { color: #fff; }

.wb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wb-primary-600);
  background: var(--wb-primary-100);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.wb-section--dark .wb-eyebrow {
  color: var(--wb-accent-light);
  background: rgba(255,255,255,0.08);
}

.wb-eyecap { width: 16px; height: 16px; }

.wb-lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--wb-body);
  max-width: 640px;
}
.wb-section--dark .wb-lede { color: rgba(255,255,255,0.72); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--wb-font);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.wb-btn:hover { transform: translateY(-2px); }

.wb-btn--primary {
  background: var(--wb-primary-700);
  color: #fff;
  box-shadow: 0 10px 24px rgba(var(--wb-primary-rgb), 0.28);
}
.wb-btn--primary:hover { background: var(--wb-primary-600); color: #fff; }

.wb-btn--accent {
  background: var(--wb-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 134, 63, 0.32);
}
.wb-btn--accent:hover { background: var(--wb-accent-dark); color: #fff; }

.wb-btn--ghost {
  background: transparent;
  border-color: var(--wb-border);
  color: var(--wb-ink);
}
.wb-btn--ghost:hover { border-color: var(--wb-primary-400); color: var(--wb-primary-700); }

.wb-btn--ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.wb-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }

.wb-btn--sm { padding: 10px 20px; font-size: 14px; }
.wb-btn--block { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */

.wb-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--wb-primary-50) 0%, #fff 100%);
  padding: 72px 0 100px;
}

.wb-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wb-hero__title {
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 22px;
}

.wb-hero__title .wb-hero__rotator {
  display: inline-block;
  position: relative;
  color: var(--wb-primary-700);
}

.wb-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.wb-hero__points {
  margin-top: 40px;
  display: grid;
  gap: 12px;
}

.wb-hero__visual {
  position: relative;
}

.wb-hero__frame {
  position: relative;
  border-radius: var(--wb-radius-lg);
  overflow: hidden;
  box-shadow: var(--wb-shadow-lg);
  background: var(--wb-primary-700);
  aspect-ratio: 4 / 3;
}
.wb-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.wb-hero__floatcard {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: #fff;
  border-radius: var(--wb-radius);
  box-shadow: var(--wb-shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.wb-hero__floatcard .ri {
  font-size: 22px;
  color: var(--wb-success);
  background: rgba(31, 138, 95, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wb-hero__floatcard strong { display: block; color: var(--wb-ink); font-size: 15px; }
.wb-hero__floatcard span { font-size: 13px; color: var(--wb-muted); }

/* Floating decorative shapes, mobile + desktop variants */
.wb-hero__shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.wb-hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: wbFloat 9s ease-in-out infinite;
}
.wb-hero__shape--1 { width: 220px; height: 220px; background: radial-gradient(circle, var(--wb-primary-200), transparent 70%); top: -60px; right: 8%; animation-delay: 0s; }
.wb-hero__shape--2 { width: 160px; height: 160px; background: radial-gradient(circle, var(--wb-accent-light), transparent 70%); bottom: 10%; left: 2%; animation-delay: 1.4s; animation-duration: 11s; }
.wb-hero__shape--3 { width: 120px; height: 120px; background: radial-gradient(circle, var(--wb-primary-300), transparent 70%); top: 30%; left: 42%; animation-delay: 2.6s; animation-duration: 8s; opacity: 0.3; }

@keyframes wbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 22px) scale(1.06); }
}

@media (max-width: 991px) {
  .wb-hero__grid { grid-template-columns: 1fr; }
  .wb-hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .wb-hero__floatcard { left: 12px; bottom: -20px; padding: 14px 16px; min-width: 180px; }
  .wb-hero__shape--3 { display: none; } /* fewer shapes on mobile, matches reference pattern */
  .wb-hero__shape--1 { width: 140px; height: 140px; }
  .wb-hero__shape--2 { width: 100px; height: 100px; }
}

/* Rotating headline / synced visual, cross-fade pattern */
.wb-rotate-text { position: relative; display: block; min-height: 1.2em; }
.wb-rotate-text__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.wb-rotate-text__item.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.wb-rotate-visual__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.wb-rotate-visual__item.is-active { opacity: 1; position: relative; }

/* ==========================================================================
   Checkmark list — RemixIcon style (ri-checkbox-circle-fill)
   ========================================================================== */

.wb-check-list { display: grid; gap: 14px; }
.wb-check-list--2col { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.wb-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--wb-body);
}
.wb-check-item .ri {
  color: var(--wb-success);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.wb-section--dark .wb-check-item { color: rgba(255,255,255,0.85); }
.wb-section--dark .wb-check-item .ri { color: #6fd6ac; }

@media (max-width: 767px) {
  .wb-check-list--2col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Feature grid — illustrated icon style
   ========================================================================== */

.wb-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.wb-features--2 { grid-template-columns: repeat(2, 1fr); }
.wb-features--4 { grid-template-columns: repeat(4, 1fr); }

.wb-feature-card {
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.wb-feature-card:hover {
  box-shadow: var(--wb-shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

.wb-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--wb-primary-100);
}
.wb-feature-icon svg { width: 28px; height: 28px; }
.wb-feature-icon--accent { background: var(--wb-accent-light); }

.wb-feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.wb-feature-card p { font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--wb-body); }

@media (max-width: 991px) {
  .wb-features, .wb-features--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wb-features, .wb-features--2, .wb-features--4 { grid-template-columns: 1fr; }
}

/* Numbered step variant (3-step process band) */
.wb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: wb-step; }
.wb-step { position: relative; padding-left: 4px; }
.wb-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--wb-primary-700);
  color: #fff;
  font-family: var(--wb-font-display);
  font-weight: 700;
  margin-bottom: 18px;
}
.wb-step h3 { font-size: 18px; margin-bottom: 8px; }
.wb-step p { font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 767px) { .wb-steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Stat band
   ========================================================================== */

.wb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}
.wb-stat { text-align: center; }
.wb-stat__num {
  font-family: var(--wb-font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--wb-primary-700);
}
.wb-section--dark .wb-stat__num { color: #fff; }
.wb-stat__label { font-size: 14px; color: var(--wb-muted); margin-top: 6px; }
.wb-section--dark .wb-stat__label { color: rgba(255,255,255,0.6); }
@media (max-width: 767px) { .wb-stats { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Content split (alternating image/copy, N26-style)
   ========================================================================== */

.wb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.wb-split--reverse .wb-split__media { order: 2; }
.wb-split__media img {
  border-radius: var(--wb-radius-lg);
  box-shadow: var(--wb-shadow);
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
}
.wb-split__eyebrow { margin-bottom: 16px; }
.wb-split h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.wb-split p.wb-lede { margin-bottom: 24px; }

.wb-callout-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.wb-callout {
  background: var(--wb-surface-alt);
  border-radius: var(--wb-radius);
  padding: 16px 20px;
  flex: 1;
  min-width: 160px;
}
.wb-callout strong { display: block; font-family: var(--wb-font-display); font-size: 20px; color: var(--wb-primary-700); }
.wb-callout span { font-size: 13px; color: var(--wb-muted); }

@media (max-width: 900px) {
  .wb-split { grid-template-columns: 1fr; gap: 32px; }
  .wb-split--reverse .wb-split__media { order: -1; }
}

/* ==========================================================================
   Worked-example / info callout box
   ========================================================================== */

.wb-example {
  background: var(--wb-primary-50);
  border-left: 4px solid var(--wb-primary-700);
  border-radius: 0 var(--wb-radius) var(--wb-radius) 0;
  padding: 28px 32px;
  margin: 32px 0;
}
.wb-example__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wb-primary-600);
  margin-bottom: 10px;
  display: block;
}
.wb-example p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--wb-body); }
.wb-example p:last-child { margin-bottom: 0; }

/* Prose body for long-form page sections */
.wb-prose h2 { font-size: 26px; margin: 48px 0 18px; }
.wb-prose h2:first-child { margin-top: 0; }
.wb-prose h3 { font-size: 20px; margin: 32px 0 12px; }
.wb-prose p { font-size: 16px; line-height: 1.75; color: var(--wb-body); margin: 0 0 18px; }
.wb-prose ul.wb-check-list { margin: 20px 0; }

/* ==========================================================================
   Pricing / tier cards
   ========================================================================== */

.wb-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.wb-tier {
  background: #fff;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-lg);
  padding: 36px 30px;
}
.wb-tier--featured {
  border-color: var(--wb-primary-700);
  box-shadow: var(--wb-shadow-lg);
  transform: scale(1.02);
  position: relative;
}
.wb-tier--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px; left: 30px;
  background: var(--wb-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.wb-tier__name { font-size: 15px; font-weight: 700; color: var(--wb-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.wb-tier__price { font-family: var(--wb-font-display); font-size: 40px; font-weight: 800; color: var(--wb-ink); margin: 12px 0 4px; }
.wb-tier__price span { font-size: 15px; font-weight: 500; color: var(--wb-muted); }
.wb-tier__desc { font-size: 14px; color: var(--wb-muted); margin-bottom: 24px; }
.wb-tier .wb-check-list { margin: 24px 0 28px; }
.wb-tier .wb-check-item { font-size: 14.5px; }

@media (max-width: 900px) {
  .wb-tiers { grid-template-columns: 1fr; }
  .wb-tier--featured { transform: none; }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.wb-faq { max-width: 760px; margin: 0 auto; }
.wb-faq-item { border-bottom: 1px solid var(--wb-border); }
.wb-faq-item:first-child { border-top: 1px solid var(--wb-border); }
.wb-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--wb-font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--wb-ink);
}
.wb-faq-q .ri { font-size: 20px; color: var(--wb-primary-600); transition: transform 0.25s ease; flex-shrink: 0; }
.wb-faq-item.is-open .wb-faq-q .ri { transform: rotate(45deg); }
.wb-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 4px;
}
.wb-faq-item.is-open .wb-faq-a { padding-bottom: 22px; }
.wb-faq-a p { font-size: 15px; line-height: 1.65; color: var(--wb-body); margin: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.wb-cta {
  background: var(--wb-primary-700);
  border-radius: var(--wb-radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}
.wb-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.wb-cta p { color: rgba(255,255,255,0.72); font-size: 16px; margin-bottom: 26px; max-width: 480px; }
.wb-cta__media { position: relative; }
.wb-cta__media img { border-radius: var(--wb-radius); box-shadow: var(--wb-shadow-lg); }

.wb-cta__shapes { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.wb-cta__shape {
  position: absolute; border-radius: 50%;
  animation: wbFloat 10s ease-in-out infinite;
}
.wb-cta__shape--1 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(184,134,63,0.35), transparent 70%); top: -80px; left: -60px; }
.wb-cta__shape--2 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%); bottom: -60px; right: 10%; animation-delay: 2s; }
.wb-cta > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .wb-cta { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .wb-cta p { margin-left: auto; margin-right: auto; }
  .wb-cta__media { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ==========================================================================
   Winslow header & navigation (desktop dropdowns, mobile slide-down menu)
   ========================================================================== */

.wb-header {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wb-border);
}

.wb-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  min-width: 0; /* critical: lets flex children shrink instead of overflowing */
}

.wb-header__logo { flex-shrink: 0; display: flex; align-items: center; }
.wb-header__logo img { height: 34px; width: auto; }

/* Desktop nav */
.wb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  justify-content: center;
}
.wb-nav__item { position: relative; }
.wb-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wb-ink);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.wb-nav__link:hover, .wb-nav__item.is-open .wb-nav__link {
  background: var(--wb-primary-100);
  color: var(--wb-primary-700);
}
.wb-nav__caret { font-size: 15px; transition: transform 0.2s ease; }
.wb-nav__item.is-open .wb-nav__caret { transform: rotate(180deg); }

.wb-nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 280px;
  background: #fff;
  border-radius: var(--wb-radius);
  box-shadow: var(--wb-shadow-lg);
  border: 1px solid var(--wb-border);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
}
.wb-nav__item:hover .wb-nav__dropdown,
.wb-nav__item.is-open .wb-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.wb-nav__dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--wb-body);
  border-radius: var(--wb-radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.wb-nav__dropdown a:hover { background: var(--wb-surface-alt); color: var(--wb-primary-700); }

.wb-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wb-header__actions .wb-btn { padding: 10px 20px; font-size: 14px; }

/* Hamburger, hidden on desktop */
.wb-burger {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--wb-border);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.wb-burger__line, .wb-burger__line::before, .wb-burger__line::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--wb-ink);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}
.wb-burger__line { position: relative; }
.wb-burger__line::before { position: absolute; top: -6px; left: 0; }
.wb-burger__line::after { position: absolute; top: 6px; left: 0; }
/* X transform when open */
.wb-burger.is-active .wb-burger__line { background: transparent; }
.wb-burger.is-active .wb-burger__line::before { top: 0; transform: rotate(45deg); background: var(--wb-primary-700); }
.wb-burger.is-active .wb-burger__line::after { top: 0; transform: rotate(-45deg); background: var(--wb-primary-700); }

/* Mobile menu panel */
.wb-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--wb-border);
  box-shadow: var(--wb-shadow-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.wb-mobile-menu.is-open { max-height: 80vh; overflow-y: auto; }

.wb-mobile-menu__inner { padding: 8px 20px 24px; }
.wb-mobile-item { border-bottom: 1px solid var(--wb-border); }
.wb-mobile-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 4px;
}
.wb-mobile-item__row > a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--wb-ink);
  flex: 1;
  min-width: 0;
}
.wb-mobile-toggle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--wb-border);
  background: var(--wb-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.wb-mobile-toggle::before, .wb-mobile-toggle::after {
  content: '';
  position: absolute;
  background: var(--wb-primary-700);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.wb-mobile-toggle::before { width: 12px; height: 2px; }
.wb-mobile-toggle::after { width: 2px; height: 12px; }
.wb-mobile-item.is-open .wb-mobile-toggle::after { transform: rotate(90deg); opacity: 0; }

.wb-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 8px;
}
.wb-mobile-item.is-open .wb-mobile-submenu { max-height: 600px; }
.wb-mobile-submenu a {
  display: block;
  padding: 11px 12px;
  font-size: 14.5px;
  color: var(--wb-body);
}
.wb-mobile-submenu a:hover { color: var(--wb-primary-700); }

.wb-mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.wb-mobile-menu__actions .wb-btn { width: 100%; }

@media (max-width: 991px) {
  .wb-nav { display: none; }
  .wb-header__actions .wb-btn--ghost { display: none; } /* keep header tidy on mobile; sign up stays visible */
  .wb-burger { display: flex; }
  .wb-mobile-menu { display: block; }
}

/* Prevent any horizontal overflow from wide content anywhere on Winslow pages */
.wb-page, .wb-header, .wb-mobile-menu { max-width: 100%; overflow-x: hidden; }
html:has(.wb-page) { overflow-x: hidden; }


/* ==========================================================================
   Trust / logo strip
   ========================================================================== */

.wb-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.55;
}
.wb-trust-strip .ri { font-size: 30px; color: var(--wb-primary-600); }

/* ==========================================================================
   Footer (Winslow-specific, replaces default footer on Winslow pages)
   ========================================================================== */

.wb-footer {
  background: var(--wb-primary-900);
  color: rgba(255,255,255,0.62);
  position: relative;
  overflow: hidden;
  padding-top: 88px;
}

.wb-footer__shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.wb-footer__shape {
  position: absolute;
  border-radius: 50%;
  animation: wbFloat 12s ease-in-out infinite;
  opacity: 0.5;
}
.wb-footer__shape--1 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(184,134,63,0.22), transparent 70%); top: -120px; left: -60px; }
.wb-footer__shape--2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(58,90,130,0.4), transparent 70%); top: 40%; right: -80px; animation-delay: 3s; animation-duration: 14s; }
.wb-footer__shape--3 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%); bottom: -40px; left: 30%; animation-delay: 5s; animation-duration: 10s; }

.wb-footer__inner { position: relative; z-index: 1; }

.wb-footer__top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.wb-footer__brand img { height: 34px; margin-bottom: 18px; }
.wb-footer__brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.5); max-width: 280px; }

.wb-footer__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px 24px;
  align-content: start;
}
.wb-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.wb-footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.2s ease;
}
.wb-footer__social a:hover { background: var(--wb-accent); }

.wb-footer__col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.wb-footer__col ul { display: grid; gap: 11px; }
.wb-footer__col a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.15s ease; }
.wb-footer__col a:hover { color: #fff; }

.wb-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}
.wb-footer__bottom a { color: rgba(255,255,255,0.4); }
.wb-footer__bottom a:hover { color: #fff; }
.wb-footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 991px) {
  .wb-footer__top { grid-template-columns: 1fr; }
  .wb-footer__brand p { max-width: none; }
}
@media (max-width: 640px) {
  .wb-footer__groups { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.wb-text-center { text-align: center; }
.wb-mx-auto { margin-left: auto; margin-right: auto; }
.wb-mb-16 { margin-bottom: 16px; }
.wb-mb-24 { margin-bottom: 24px; }
.wb-mb-48 { margin-bottom: 48px; }
.wb-mt-48 { margin-top: 48px; }
.wb-max-640 { max-width: 640px; }
.wb-max-720 { max-width: 720px; }

.wb-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: var(--wb-primary-100); color: var(--wb-primary-700);
}

@media (max-width: 767px) {
  .wb-section { padding: 64px 0; }
  .wb-section--tight { padding: 40px 0; }
  .wb-cta { padding: 36px 24px; }
}

/* ==========================================================================
   WINSLOW FIXES — Appended from winslow-fixes.css
   (Merged: no heading overrides, no duplicate mobile menu)
   ========================================================================== */

/* Global box model reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: 100% !important; overflow-x: hidden; }

/* Default theme container alignment (non-Winslow pages only) */
.wb-page header, .wb-page footer, .wb-page main { width: 100%; margin-left: auto; margin-right: auto; }

/* Dashboard heading sizes (NOT the Winslow public theme) */
.main-content h1, .site-card h1 { font-size: clamp(1.8rem, 4vw, 2.2rem) !important; line-height: 1.2; }
.main-content h2, .site-card h2 { font-size: clamp(1.4rem, 3vw, 1.75rem) !important; line-height: 1.25; }
.main-content h3, .site-card h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem) !important; line-height: 1.3; }
.main-content h4, .site-card h4 { font-size: 1.15rem !important; line-height: 1.35; }

/* Hide default theme overlays */
.offcanvas-overlay, .offcanvas-overlay-white { display: none !important; }

/* Sticky header on mobile */
@media (max-width: 991px) {
  .wb-header { position: sticky; top: 0; z-index: 9999; background: #ffffff; }
}
@media (min-width: 992px) {
  .wb-header { position: relative; z-index: 100; }
}
.wb-mobile-menu { position: relative; z-index: 9998; }
.wb-desktop-only { display: inline-flex; }
.wb-nav__link.is-active { background: var(--wb-primary-100); color: var(--wb-primary-700); }
@media (max-width: 991px) { .wb-desktop-only { display: none !important; } }

/* Icon sizing fixes */
.wb-eyecap { width: 22px; height: 22px; }
.wb-feature-icon { width: 64px; height: 64px; }
.wb-feature-icon svg { width: 36px; height: 36px; }
.wb-trust-strip .ri { font-size: 36px; }
.wb-check-item .ri { font-size: 22px; }
.wb-hero__floatcard .ri { font-size: 24px; width: 46px; height: 46px; }
.wb-faq-q .ri { font-size: 22px; }

/* Homepage alignment */
.wb-hero__grid { align-items: center; }
.wb-hero__visual { display: flex; align-items: center; justify-content: center; }
.wb-split { align-items: center; }
.wb-section--dark .wb-split { align-items: center; }
.wb-split__media img { width: 100%; height: auto; }
.wb-callout-row { align-items: stretch; }
.wb-callout { display: flex; flex-direction: column; justify-content: center; }

/* Responsive fixes */
@media (max-width: 1100px) { .wb-hero__grid { gap: 40px; } }
@media (max-width: 991px) {
  .wb-hero__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .wb-hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .wb-hero__actions { justify-content: center; }
  .wb-hero__points { text-align: left; max-width: 480px; margin: 28px auto 0; }
  .wb-hero__floatcard { left: 12px; bottom: -20px; padding: 14px 16px; min-width: 180px; }
  .wb-hero__shape--3 { display: none; }
  .wb-features { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .wb-feature-card { padding: 24px 20px; }
}
@media (max-width: 900px) { .wb-split { grid-template-columns: 1fr; gap: 32px; } .wb-split h2 { font-size: clamp(22px, 3vw, 30px); } }
@media (max-width: 640px) {
  .wb-features { grid-template-columns: 1fr; gap: 16px; }
  .wb-feature-icon { width: 56px; height: 56px; }
  .wb-feature-icon svg { width: 30px; height: 30px; }
  .wb-cta { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
  .wb-cta p { margin-left: auto; margin-right: auto; }
  .wb-cta .wb-hero__actions { justify-content: center; }
  .wb-section { padding: 52px 0; }
  .wb-section--tight { padding: 32px 0; }
  .wb-callout-row { flex-direction: column; gap: 12px; }
  .wb-callout { min-width: auto; }
  .wb-hero__points { margin-top: 28px; }
  .wb-check-item { font-size: 14px; }
}
@media (max-width: 480px) {
  .wb-hero { padding: 48px 0 64px; }
  .wb-hero__title { font-size: 28px; }
  .wb-hero__lede { font-size: 16px; }
  .wb-hero__actions { flex-direction: column; }
  .wb-hero__actions .wb-btn { width: 100%; text-align: center; }
  .wb-hero__floatcard { left: 8px; bottom: -16px; padding: 12px 14px; min-width: 160px; }
  .wb-hero__floatcard strong { font-size: 13px; }
  .wb-hero__floatcard span { font-size: 12px; }
  .wb-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wb-footer__groups { grid-template-columns: 1fr; }
  .wb-footer__bottom { flex-direction: column; text-align: center; gap: 12px; }
  .wb-footer__legal-links { justify-content: center; }
}
@media (max-width: 767px) { .wb-steps { gap: 24px; } .wb-step__num { width: 36px; height: 36px; font-size: 16px; } }
