/* RUTTENS+ v2 — Mobile-First Stylesheet
   Brand: #37B5FF (sky-blue) / #000 (black) / #FFF (white)
   Responsive: Android + iOS + Desktop
   ========================================================= */

/* ─── Reset & Root ─── */
:root {
  --sky:     #37B5FF;
  --sky-dim: rgba(55,181,255,0.12);
  --black:   #000000;
  --white:   #FFFFFF;
  --grey-dark: #111111;
  --grey-mid:  #444444;
  --grey-light:#6B7280;
  --amber:   #F59E0B;
  --teal:    #0D9488;
  --navy:    #1A3C6E;
  --bg:      #FFFFFF;
  --card:    #F8F9FA;
  --border:  #E5E7EB;
  --radius:  8px;
  --radius-lg:14px;
  --shadow:  0 2px 16px rgba(0,0,0,0.08);
  --nav-h:   72px;
  --max-w:   1100px;
  --font:         'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Oswald', Impact, sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ─── Typography ─── */
h1 { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; }
h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; }
h3 { font-family: var(--font-display); font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 600; line-height: 1.2; text-transform: uppercase; }
h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
p  { font-size: 1rem; line-height: 1.7; color: var(--grey-mid); }

/* ─── Logo ─── */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 80px;
  width: auto;
  display: block;
}
/* Fallback text logo */
.logo-text {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--black);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.logo-text .plus {
  color: var(--sky);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  margin-left: 1px;
  vertical-align: top;
  margin-top: -3px;
}
.footer .logo img { height: 60px; }

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.nav-inner {
  width: 100%;
  box-sizing: border-box;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--grey-mid);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }

/* ─── Dropdown nav ─── */
.nav-dropdown { position: relative; list-style: none; }
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--grey-mid);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.dropdown-toggle:hover { color: var(--black); text-decoration: none; }
.dropdown-toggle .caret { font-size: 0.65rem; transition: transform 0.2s; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: var(--grey-mid);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown-menu li a:hover { background: var(--sky-dim); color: var(--black); }

/* ─── Nav dropdown menu (current nav pattern — .nav-dropdown-menu) ─── */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 180px;
  padding: 6px 0;
  z-index: 200;
  white-space: nowrap;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0A0A0A;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: #f3f4f6; color: var(--sky); text-decoration: none; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.68em; opacity: 0.70; }

/* Mobile: show dropdown items inline */
.mob-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-light);
  padding: 14px 0 4px;
  border-bottom: none !important;
  display: block;
}
.mobile-menu a.mob-sub {
  padding-left: 16px;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: var(--grey-mid) !important;
}

.nav-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 24px 20px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  display: block;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mob-cta {
  margin-top: 16px;
  background: var(--sky);
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--radius);
  padding: 16px !important;
  border-bottom: none !important;
  font-size: 1rem !important;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 767px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .nav-inner { max-width: 100vw; padding-right: 20px; }
  .hamburger { transform: translateX(-15px); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--sky);
  color: var(--white);
}
.btn-primary:hover { background: #1A9AE6; text-decoration: none; color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,154,230,0.35); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.25);
}
.btn-outline:hover { background: var(--black); color: var(--white); text-decoration: none; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-secondary:hover { background: var(--black); color: var(--white); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--sky);
  border: 2px solid var(--sky);
}
.btn-ghost:hover { background: var(--sky); color: var(--white); text-decoration: none; }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ─── Layout helpers ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-sky  { background: var(--sky); color: var(--white); }
.section-grey { background: var(--card); }

.text-center { text-align: center; }
.text-sky    { color: var(--sky); }
.text-muted  { color: var(--grey-light); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 12px;
}
.eyebrow-dark { color: rgba(255,255,255,0.6); }

/* ─── Grid helpers ─── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-5 { display: grid; grid-template-columns: 1fr; gap: 20px; }

@media (min-width: 600px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ─── Cards ─── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--sky); }

.card-dark {
  background: #111;
  border: 1px solid #222;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: var(--white);
}
.card-dark p { color: rgba(255,255,255,0.7); }
.card-dark:hover { border-color: var(--sky); }

/* ─── Hero Section ─── */
.hero {
  padding: 80px 0 64px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(55,181,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; }
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--grey-mid);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip .dot {
  width: 6px;
  height: 6px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Tier / Service Cards ─── */
.tier-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 2px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
}
.tier-card:hover { border-color: var(--sky); box-shadow: 0 4px 24px rgba(55,181,255,0.12); }
.tier-card.featured { border-color: var(--sky); background: linear-gradient(135deg, #f0f9ff 0%, var(--white) 100%); }
.tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
}
.tier-badge.free { background: var(--sky); }
.tier-badge.popular { background: var(--sky); }
.tier-name { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.01em; }
.tier-name .plus { color: var(--sky); }
.tier-price { font-size: 0.9rem; color: var(--grey-mid); }
.tier-price strong { font-size: 1.5rem; color: var(--black); font-weight: 900; }
.tier-desc { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.6; }
.tier-features { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--grey-mid);
  line-height: 1.4;
}
.tier-features li::before {
  content: '✓';
  color: var(--sky);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── ICP Section ─── */
.icp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-top: 3px solid var(--sky);
}
.icp-role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.icp-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.icp-pain { font-size: 0.87rem; color: var(--grey-mid); font-style: italic; margin-bottom: 12px; border-left: 3px solid var(--sky); padding-left: 10px; }
.icp-meta { font-size: 0.8rem; color: var(--grey-light); }

/* ─── Pillar Grid ─── */
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.pillar-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--sky);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}
.pillar-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.pillar-body p  { font-size: 0.82rem; color: var(--grey-mid); line-height: 1.5; margin: 0; }

/* ─── Testimonial ─── */
.tcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.tcard blockquote { font-size: 0.95rem; line-height: 1.7; color: var(--grey-mid); margin-bottom: 16px; font-style: italic; }
.tcard cite { font-size: 0.82rem; font-weight: 700; color: var(--black); font-style: normal; }
.tcard cite span { color: var(--grey-light); font-weight: 400; }

/* ─── Stats Bar ─── */
.stats-bar { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; }
.stat { text-align: center; }
.stat .num { font-size: 2.2rem; font-weight: 900; color: var(--sky); line-height: 1; }
.stat .lbl { font-size: 0.8rem; color: var(--grey-mid); margin-top: 4px; }
/* Dark section overrides */
.section-dark .stat .num { color: var(--sky); }
.section-dark .stat .lbl { color: rgba(255,255,255,0.75); }

/* ─── Contact / Form ─── */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(55,181,255,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }

.cal-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 600px;
}
.cal-embed iframe { width: 100%; min-height: 600px; border: none; display: block; }

/* ─── Footer ─── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
.footer .logo { color: var(--white); }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-top: 8px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--sky); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--sky); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ─── Sticky mobile CTA bar ─── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.sticky-cta .btn { flex: 1; text-align: center; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ─── Page hero (inner pages) ─── */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.7); max-width: 600px; margin-top: 16px; }
.page-hero .eyebrow { color: var(--sky); }

/* ─── Comparison table ─── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 0.87rem; }
.compare-table th { background: var(--black); color: var(--white); padding: 12px 14px; text-align: left; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; }
.compare-table th:first-child { border-radius: var(--radius) 0 0 0; }
.compare-table th:last-child  { border-radius: 0 var(--radius) 0 0; }
.compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--sky-dim); }
.compare-table .check { color: var(--sky); font-weight: 700; }
.compare-table .dash  { color: var(--grey-light); }
.compare-table .hl { background: rgba(55,181,255,0.05); }

/* ─── Pain bar ─── */
.pain-bar { background: var(--black); padding: 20px 0; }
.pain-inner { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; }
.pain-item { padding: 16px 24px; border-right: 1px solid rgba(255,255,255,0.1); text-align: center; flex: 1; min-width: 200px; }
.pain-item:last-child { border-right: none; }
.pain-item p { font-size: 0.88rem; color: rgba(255,255,255,0.75); font-style: italic; margin: 0; }
.pain-item strong { color: var(--sky); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* ─── CTA section ─── */
.cta-section { background: var(--sky); padding: 72px 0; text-align: center; }
.cta-section h2 { color: var(--white); }
.cta-section p  { color: rgba(255,255,255,0.85); max-width: 500px; margin: 12px auto 28px; }
.cta-section .btn-secondary { border-color: var(--white); color: var(--white); }
.cta-section .btn-secondary:hover { background: var(--white); color: var(--sky); }

/* ─── Badges ─── */
.badge { display: inline-block; padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; }
.badge-sky   { background: var(--sky-dim); color: var(--sky); }
.badge-black { background: var(--black); color: var(--white); }

/* ─── Divider ─── */
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ─── Utility ─── */
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.gap-8 { gap: 32px; }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ─── Safe area for iOS notch ─── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .sticky-cta {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* ─── Current page active state ─── */
.nav-links a[aria-current="page"] {
  color: var(--sky);
  font-weight: 700;
}

/* ─── About page: single column ─── */
.about-layout {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-photo {
  width: 100%;
  max-width: 360px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

/* ─── Proof chips: single row ─── */
.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.proof-chips .chip {
  font-size: 0.78rem;
  padding: 5px 12px;
}

/* ─── Pain bar: with icons ─── */
.pain-item .pain-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

/* ─── Solution cards (simplified home grid) ─── */
.solution-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 2px solid var(--border);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.solution-card:hover { border-color: var(--sky); box-shadow: 0 4px 24px rgba(55,181,255,0.12); }
.solution-card.featured { border-color: var(--sky); background: linear-gradient(135deg,#f0f9ff 0%,#fff 100%); }
.solution-for { font-size: 0.75rem; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: 0.08em; }
.solution-name { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.01em; }
.solution-price { font-size: 0.85rem; color: var(--grey-mid); font-weight: 600; }
.solution-desc { font-size: 0.88rem; color: var(--grey-mid); line-height: 1.6; flex: 1; }

/* ─── Pain points page ─── */
.pain-card {
  padding: 24px;
  border-left: 4px solid var(--sky);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 16px;
}
.pain-card h4 { font-size: 1rem; margin-bottom: 6px; }
.pain-card p { font-size: 0.88rem; margin: 0; }

/* ════════════════════════════════════════════════════════
   2026-05-20 REFRESH — additions only, no overrides
   ════════════════════════════════════════════════════════ */

/* Hero blue eyebrow + 2-column hero layout (content left, chips right on desktop) */
.eyebrow-blue {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; }
  .hero-grid .proof-chips {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 12px;
  }
  .hero-grid .proof-chips .chip { width: auto; }
}

/* Hero CTAs — consistent button sizing + hover */
.hero-ctas .btn-lg { min-width: 220px; }
.hero-ctas .btn-secondary:hover { background: var(--black); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.hero-cta-meta {
  font-size: 0.78rem;
  color: var(--grey-light);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* Solution-card uniform sizing (equal width AND equal height) */
.solution-card { height: 100%; min-height: 360px; }
.solutions-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 768px) { .solutions-3 { grid-template-columns: repeat(3, 1fr); } }
.solutions-3 .solution-card > * { width: 100%; }
.solutions-3 .solution-for {
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.solution-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--card);
  border-radius: 6px;
  padding: 6px 14px;
  margin-bottom: 4px;
}
.solution-card.featured .solution-tag { background: var(--sky); color: var(--white); }
.solution-recommended {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sky);
  padding: 3px 10px;
  border-radius: 100px;
  position: absolute;
  top: -12px;
  left: 16px;
}
.solution-card { position: relative; }

/* Value-outcome box (highlighted, accent colour) — used on ICP pages, solutions page, etc. */
.value-box {
  background: linear-gradient(135deg, rgba(55,181,255,0.08) 0%, rgba(55,181,255,0.02) 100%);
  border: 1.5px solid var(--sky);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 24px 0;
}
.value-box-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
  display: block;
}
.value-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0;
}
.value-box ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.value-box li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--black);
  padding-left: 24px;
  position: relative;
}
.value-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 700;
}

/* Solution detail row — "what's included" drop-down on solutions.html */
.solution-detail {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 28px 24px;
  margin-bottom: 20px;
  scroll-margin-top: 80px;
}
.solution-detail.recommended { border-color: var(--sky); border-width: 2px; box-shadow: 0 4px 24px rgba(55,181,255,0.10); }
.solution-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.solution-detail-head .solution-tag { margin: 0; }
.solution-detail-head .pricing-line { font-size: 0.92rem; color: var(--grey-mid); font-weight: 600; }
.solution-detail-value { font-size: 1.05rem; line-height: 1.55; color: var(--black); margin-bottom: 14px; font-weight: 500; }
.solution-detail details {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
}
.solution-detail details summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sky);
  list-style: none;
  padding: 4px 0;
  user-select: none;
}
.solution-detail details summary::-webkit-details-marker { display: none; }
.solution-detail details summary::after { content: ' ↓'; transition: transform 0.2s; display: inline-block; }
.solution-detail details[open] summary::after { transform: rotate(180deg); }
.solution-detail details ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.solution-detail details li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--grey-mid);
  padding-left: 22px;
  position: relative;
}
.solution-detail details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 700;
}
.solution-detail-cta { margin-top: 18px; }

/* Pillar columns — 5 pillars layout */
.pillar-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .pillar-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pillar-cols { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.pillar-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--sky);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}
.pillar-col .pillar-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  background: transparent;
  width: auto; height: auto;
  border-radius: 0;
  display: block;
}
.pillar-col h4 { font-size: 1rem; margin: 0; }
.pillar-col p { font-size: 0.86rem; color: var(--grey-mid); margin: 0; line-height: 1.5; }
.pillar-note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--grey-light);
  margin-top: 20px;
  text-align: center;
}

/* Secondary line (SCAN / MAX) below homepage 3-card grid */
.solutions-secondary {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px) { .solutions-secondary { grid-template-columns: 1fr 1fr; gap: 24px; } }
.solutions-secondary p { font-size: 0.92rem; color: var(--grey-mid); margin: 0; }
.solutions-secondary p strong { color: var(--black); }
.solutions-secondary a { font-weight: 700; color: var(--sky); }

/* Testimonial context line (small lead) */
.context-line {
  font-size: 1rem;
  color: var(--grey-mid);
  max-width: 580px;
  margin: 8px auto 0;
  line-height: 1.55;
}

/* Footer logo (white version) */
.footer .logo img { filter: none; }
.footer-tagline { color: rgba(255,255,255,0.55); font-size: 0.86rem; line-height: 1.5; }

/* ════════════════════════════════════════════════════════
   2026-05-20 v2 — solutions.html 3-column card layout
   (replaces the messy single-stacked .solution-detail rows)
   ════════════════════════════════════════════════════════ */
.sols-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 640px) and (max-width: 959px) {
  .sols-grid { grid-template-columns: repeat(2, 1fr); }
  .sols-grid.sols-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .sols-grid { grid-template-columns: repeat(3, 1fr); }
  /* SCAN + MAX row: same column width as the 3-card row (1/3 each),
     2 cards land in columns 1+2 by default — column 3 stays empty,
     keeping cards at identical width to LAB/MAP/SPRINT above */
  .sols-grid.sols-grid-2 { grid-template-columns: repeat(3, 1fr); }
}

.sol-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 460px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.sol-card:hover {
  border-color: var(--sky);
  box-shadow: 0 6px 28px rgba(55,181,255,0.12);
  transform: translateY(-2px);
}
.sol-card-featured {
  border-color: var(--sky);
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  box-shadow: 0 4px 20px rgba(55,181,255,0.10);
}
.sol-card-light {
  background: var(--card);
  border-color: var(--border);
  /* same min-height as main cards above for visual consistency */
}
.sol-card-light:hover { background: #fff; }

.sol-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--card);
  border-radius: 6px;
  padding: 6px 14px;
  align-self: flex-start;
}
.sol-tag-blue { background: var(--sky); color: var(--white); }
.sol-tag-light { background: rgba(0,0,0,0.06); color: var(--black); font-size: 1.3rem; }

.sol-recommended {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sky);
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(55,181,255,0.35);
}

.sol-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey-mid);
  letter-spacing: 0.01em;
}

.sol-value {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--black);
  font-weight: 500;
  margin: 0;
  min-height: 4.5em;
}

.sol-outcomes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sol-outcomes li {
  position: relative;
  padding-left: 20px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--grey-mid);
}
.sol-outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 700;
}

.sol-details {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: auto;
}
.sol-details summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sky);
  padding: 4px 0;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sol-details summary::-webkit-details-marker { display: none; }
.sol-details summary::after { content: ' +'; font-size: 1em; }
.sol-details[open] summary::after { content: ' −'; }
.sol-details ul {
  margin-top: 8px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sol-details li {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--grey-mid);
}
.sol-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sky);
  font-weight: 700;
}

.sol-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 4px;
}

/* Hide the old .solution-detail block style so legacy markup doesn't render */
.solution-detail { display: none; }

/* ═══ DARK-SECTION CONTRAST GUARD · added 2026-08-09 ═══════════════════
   Problem: many pages set color:var(--grey-mid) as an INLINE style inside
   dark containers. Inline beats ".page-hero p" / ".section-dark p", so the
   text rendered #444 on #000 = 2.16:1 contrast (WCAG AA needs 4.5:1).
   These rules use !important so they win over the inline styles, without
   having to edit 134 inline declarations across 30+ pages.
   rgba(255,255,255,.78) on black = 12.4:1 — comfortably AA/AAA.
   ══════════════════════════════════════════════════════════════════════ */
.page-hero p,
.page-hero li,
.page-hero blockquote,
.page-hero .context-line,
.section-dark p,
.section-dark li,
.section-dark blockquote,
.section-dark .context-line {
  color: rgba(255,255,255,0.78) !important;
}
.page-hero strong,
.section-dark strong { color: #ffffff !important; }

.page-hero .eyebrow,
.section-dark .eyebrow { color: var(--sky) !important; }

.page-hero a:not(.btn),
.section-dark a:not(.btn) { color: var(--sky) !important; }

/* Buttons keep their own colours — never let the guard bleed into them. */
.page-hero .btn,
.section-dark .btn { color: revert !important; }
.page-hero .btn-primary,
.section-dark .btn-primary { color: #ffffff !important; }

/* RUTTENS+ Visual System — personality-led page heroes */
.rvs-inline-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
}
.rvs-inline-copy { min-width: 0; }
.rvs-inline-image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid rgba(56, 182, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}
@media (max-width: 900px) {
  .rvs-inline-hero { grid-template-columns: 1fr; gap: 28px; }
  .rvs-inline-image { max-height: none; }
}
