/* ============================================
   SUNDRY LABS - Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --slate: #334155;
  --slate-mid: #475569;
  --muted: #94a3b8;
  --light: #cbd5e1;
  --off-white: #f1f5f9;
  --white: #ffffff;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-deeper: #1d4ed8;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --green: #10b981;
  --red: #ef4444;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

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

/* ---------- Material Symbols (icon system) ---------- */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: inherit;      /* scale with the container */
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-heading { margin-bottom: 16px; }
.section-sub { color: var(--slate-mid); font-size: 1.1rem; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn .material-symbols-outlined { font-size: 1.15rem; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.btn-sm { padding: 8px 20px; font-size: .85rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--light);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  font-family: 'Material Symbols Outlined';
  content: '\e5cf'; /* expand_more */
  font-size: 1.1em;
  vertical-align: middle;
  margin-left: 2px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid var(--slate);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: .85rem;
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--navy-light); }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

.nav-cta { margin-left: 12px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 16px;
    border-top: 1px solid var(--slate);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
}

/* ---------- Hero Sections ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
  pointer-events: none;
}

.hero h1 { margin-bottom: 20px; max-width: 700px; }
.hero p { color: var(--light); font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-sm { padding: 140px 0 70px; }
.hero-sm h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 12px; }
.hero-sm p { font-size: 1.05rem; }

/* Homepage hero (two-column with dashboard signature) */
.hero-home { padding: 150px 0 90px; }
.hero-home .hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-home h1 { max-width: 560px; }
.hero-home p { max-width: 520px; }
.hero-panel {
  background: linear-gradient(180deg, #182338, #0f1a2e);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  padding: 14px;
}
.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 12px;
}
.hero-panel-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.hero-panel-bar .d1 { background: #ef4444; }
.hero-panel-bar .d2 { background: #f59e0b; }
.hero-panel-bar .d3 { background: #10b981; }
.hero-panel-bar span {
  margin-left: 8px; font-size: .72rem; color: var(--muted); font-weight: 500;
  letter-spacing: .04em;
}
.hero-panel svg { width: 100%; height: auto; display: block; border-radius: 10px; }

@media (max-width: 900px) {
  .hero-home { padding: 130px 0 70px; }
  .hero-home .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-home h1, .hero-home p { max-width: none; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-alt { background: var(--off-white); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }

.card-dark {
  background: var(--navy-light);
  border-color: var(--slate);
}
.card-dark:hover { border-color: var(--blue); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: rgba(59,130,246,.1);
  color: var(--blue);
}
.card-icon .material-symbols-outlined { font-size: 1.6rem; }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--slate-mid); font-size: .95rem; line-height: 1.6; }
.card-dark p { color: var(--muted); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 16px;
  color: var(--blue);
}
.card-link:hover { gap: 10px; }

/* ---------- Service Ladder ---------- */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.ladder-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid #e2e8f0;
  align-items: start;
}

.ladder-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ladder-step h3 { margin-bottom: 6px; }
.ladder-step p { color: var(--slate-mid); font-size: .95rem; }
.ladder-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--slate-mid);
  font-size: .8rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 8px;
}

/* ---------- Value Chain (homepage service progression) ---------- */
.value-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: vc;
}
.vc-step {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: all var(--transition);
  display: block;
  position: relative;
}
.vc-step:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.vc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(59,130,246,.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.vc-icon .material-symbols-outlined { font-size: 1.5rem; }
.vc-num {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
}
.vc-step h3 { font-size: 1.02rem; margin: 6px 0 8px; color: var(--navy); }
.vc-step p { font-size: .86rem; color: var(--slate-mid); line-height: 1.5; }
@media (max-width: 1000px) {
  .value-chain { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 48px 0;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label { font-size: .9rem; color: var(--muted); }

/* ---------- Partners / Logo Bar ---------- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.logo-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-mid);
  opacity: .7;
  transition: opacity var(--transition);
}
.logo-bar-item:hover { opacity: 1; }
.logo-bar-item .logo-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(59,130,246,.1);
  color: var(--blue);
}
.logo-bar-item .logo-icon .material-symbols-outlined { font-size: 1.35rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--light); max-width: 500px; margin: 0 auto 28px; }

/* ---------- Feature Grid (icon + text) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-visual {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--blue);
  border: 1px solid #e2e8f0;
}
.feature-visual .material-symbols-outlined { font-size: 4.5rem; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text p { color: var(--slate-mid); margin-bottom: 20px; }
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--slate-mid);
}
.feature-list li::before {
  font-family: 'Material Symbols Outlined';
  content: '\e5ca'; /* check */
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse { direction: ltr; }
}

/* ---------- Pricing / Package Cards ---------- */
.package-card {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.package-card:hover { border-color: var(--blue); }
.package-card.featured {
  border-color: var(--blue);
  position: relative;
  box-shadow: 0 0 0 1px var(--blue);
}
.package-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  margin-bottom: 12px;
}
.package-card h3 { margin-bottom: 8px; }
.package-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 16px 0;
}
.package-card ul {
  text-align: left;
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.package-card li { font-size: .9rem; color: var(--slate-mid); padding-left: 22px; position: relative; }
.package-card li::before {
  font-family: 'Material Symbols Outlined';
  content: '\e5ca'; /* check */
  position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 1.05rem;
}

/* ---------- Workflow Diagram ---------- */
.workflow {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 24px 0;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 130px;
  padding: 0 12px;
}
.workflow-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.workflow-step span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.workflow-arrow {
  font-size: 1.5rem;
  color: var(--muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}
.testimonial p { font-size: 1.1rem; line-height: 1.7; color: var(--navy); margin-bottom: 20px; }
.testimonial-author { font-weight: 600; color: var(--navy); }
.testimonial-role { font-size: .9rem; color: var(--slate-mid); }

/* ---------- Table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.data-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.data-table th:first-child { border-radius: var(--radius) 0 0 0; }
.data-table th:last-child { border-radius: 0 var(--radius) 0 0; }
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--slate-mid);
}
.data-table tr:hover td { background: var(--off-white); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  background: rgba(59,130,246,.1);
  color: var(--blue);
}
.tag-gold { background: rgba(245,158,11,.1); color: var(--gold-dark); }
.tag-green { background: rgba(16,185,129,.1); color: #059669; }

/* ---------- Contact Form ---------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--light);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 12px; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--slate);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.footer-contact a { color: var(--muted); font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: var(--white); }
.footer-contact a .material-symbols-outlined { font-size: 1.05rem; }

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

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-top: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.gap-sm { gap: 12px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Diagram specific */
.diagram-box {
  background: var(--off-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 48px;
  overflow-x: auto;
}

/* SVG diagrams */
.diagram-box svg text { font-family: var(--font); }

/* ---------- Pipeline / pain-to-outcome workflow ---------- */
.pipe { display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap; }
.pipe-stage {
  flex: 1 1 0; min-width: 0;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--accent, #3b82f6);
  border-radius: 10px;
  padding: 20px 18px;
}
.pipe-stage .k {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent, #3b82f6);
}
.pipe-stage h4 { margin: 8px 0 6px; font-size: 1rem; color: var(--navy); }
.pipe-stage p { font-size: .85rem; color: var(--slate-mid); line-height: 1.5; }
.pipe-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); padding: 0 6px; flex: 0 0 auto;
}
.pipe-arrow .material-symbols-outlined { font-size: 1.5rem; }
@media (max-width: 820px) {
  .pipe { flex-direction: column; }
  .pipe-arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* ---------- AI Imperative band ---------- */
.imperative {
  background: linear-gradient(180deg, #12203a, #0f172a);
  color: var(--white);
  border: 1px solid rgba(148,163,184,.16);
  border-radius: var(--radius-lg);
  padding: 44px 46px;
}
.imperative .section-label { color: var(--gold); }
.imperative h2 { color: #fff; margin-bottom: 14px; max-width: 760px; }
.imperative > p { color: var(--light); max-width: 780px; font-size: 1.05rem; line-height: 1.7; }
.imperative-points {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px; margin-top: 30px;
}
.imperative-point { border-left: 2px solid var(--gold); padding-left: 16px; }
.imperative-point h4 { color: #fff; font-size: .98rem; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.imperative-point h4 .material-symbols-outlined { font-size: 1.15rem; color: var(--gold); }
.imperative-point p { color: var(--muted); font-size: .88rem; line-height: 1.55; }
@media (max-width: 640px) { .imperative { padding: 32px 24px; } }

/* SundryLabs brand system */
:root{
  --sundrylabs-blue:#1B76D0;
  --sundrylabs-dark:#333433;
  --sundrylabs-blue-soft:#EAF3FF;
  --sundrylabs-border:#DCE5EF;
}
.logo{display:flex;align-items:center;text-decoration:none;}
.logo img{display:block;width:170px;height:auto;max-height:52px;object-fit:contain;}
.site-header{background:#fff;}
.site-header .nav-links a:hover,
.site-header .nav-links a.active{color:var(--sundrylabs-blue);}
.btn-primary,.button-primary,.cta-button{background:var(--sundrylabs-blue);}
a{color:var(--sundrylabs-blue);}
h1,h2,h3,h4{color:var(--sundrylabs-dark);}

@media(max-width:800px){
  .logo img{width:150px;}
}


/* SundryLabs brand header - global */
.site-header {
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
}
.site-header .logo {
  color: #333433 !important;
}
.site-header .nav-links a,
.site-header .nav-links a:visited {
  color: #333433 !important;
  background: transparent !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
.site-header .nav-links a:hover,
.site-header .nav-links a:focus,
.site-header .nav-links a.active {
  color: #1B76D0 !important;
  background: rgba(27,118,208,.07) !important;
}
.site-header .nav-dropdown > a::after {
  color: #333433 !important;
}
.site-header .nav-dropdown > a:hover::after,
.site-header .nav-dropdown > a.active::after {
  color: #1B76D0 !important;
}
.site-header .dropdown-menu {
  background: #ffffff !important;
  border-color: #e1e7ef !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.12) !important;
}
.site-header .dropdown-menu a,
.site-header .dropdown-menu a:visited {
  color: #333433 !important;
  background: #ffffff !important;
}
.site-header .dropdown-menu a:hover {
  color: #1B76D0 !important;
  background: #f3f8fd !important;
}
.site-header .nav-toggle span {
  background: #333433 !important;
}
@media (max-width: 900px) {
  .site-header .nav-links {
    background: #ffffff !important;
    border-top-color: #e5e7eb !important;
  }
  .site-header .nav-links a,
  .site-header .nav-links a:visited {
    color: #333433 !important;
  }
}


/* Final tested dropdown behavior */
.site-header .nav-dropdown { position:relative; }
.site-header .nav-dropdown > a { white-space:nowrap !important; display:inline-flex !important; align-items:center !important; }
.site-header .dropdown-menu {
  top:100% !important;
  left:0 !important;
  margin-top:0 !important;
  min-width:270px !important;
  width:max-content !important;
  max-width:340px !important;
  padding:8px !important;
  background:#fff !important;
  border:1px solid #dfe6ee !important;
  border-radius:10px !important;
  box-shadow:0 12px 30px rgba(15,23,42,.14) !important;
  z-index:2000 !important;
}
.site-header .nav-dropdown::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:10px;
}
.site-header .dropdown-menu a {
  display:block !important;
  white-space:nowrap !important;
  padding:11px 14px !important;
  color:#333433 !important;
  background:#fff !important;
  border-radius:7px !important;
}
.site-header .dropdown-menu a:hover { color:#1B76D0 !important; background:#f3f8fd !important; }
@media(min-width:901px){
  .site-header .nav-links { flex-wrap:nowrap !important; }
  .site-header .nav-links > li > a { white-space:nowrap !important; }
  .site-header .nav-cta { white-space:nowrap !important; }
}
