:root {
  --navy: #1b263b;
  --slate: #415a77;
  --light-slate: #778da9;
  --sage: #84a98c;
  --sage-dark: #729679;
  --off-white: #f8f9fa;
  --white: #ffffff;
  --text-gray: #2d3436;
  --border: rgba(27, 38, 59, 0.08);
  --shadow: 0 16px 38px rgba(27, 38, 59, 0.08);
  --radius: 12px;
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--off-white);
  color: var(--text-gray);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.2rem; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
}

.logo img {
  height: 72px;
  width: auto;
  transition: opacity 0.25s ease;
}
.logo img:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--sage); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 4px;
  background: var(--sage);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.25s ease;
  border: 1px solid transparent;
}
.btn:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(132, 169, 140, 0.22);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(27, 38, 59, 0.14);
}
.btn-outline:hover {
  background: white;
}

.hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, var(--navy) 0%, #24344e 100%);
  color: white;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero h1 {
  color: white;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  max-width: 11ch;
}
.hero p {
  font-size: 1.08rem;
  max-width: 640px;
  opacity: 0.9;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.hero-card h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-card ul {
  list-style: none;
  padding-left: 0;
}
.hero-card li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}
.hero-card li:last-child { border-bottom: 0; }

section { padding: 92px 0; }
.section-light { background: white; }
.section-muted { background: var(--off-white); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}
.section-intro {
  max-width: 1000px;
  color: var(--slate);
  margin-bottom: 3rem;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--sage);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.card p,
.card li { color: var(--slate); }
.card ul { margin-top: 1rem; }

.band {
  background: #eef2f0;
  border-top: 1px solid rgba(27, 38, 59, 0.06);
  border-bottom: 1px solid rgba(27, 38, 59, 0.06);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.band-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.band-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(27, 38, 59, 0.12);
}

.band-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.band-item span {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.5;
}

.band-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--sage);
}

.list-clean {
  list-style: none;
  padding-left: 0;
}
.list-clean li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--slate);
}
.list-clean li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 10px;
  height: 1px;
  background: var(--sage);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}
.copy p + p { margin-top: 1rem; }
.copy p { color: var(--slate); }

.service-block {
  padding: 2rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.service-block h3 { margin-bottom: 0.8rem; }
.service-block p { color: var(--slate); }
.service-block ul { margin-top: 1rem; }
.service-block + .service-block { margin-top: 1.4rem; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.stack-item {
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 8px;
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-section {
  background: var(--navy);
  color: white;
  text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p {
  max-width: 720px;
  margin: 0 auto 1.8rem;
  color: rgba(255,255,255,0.82);
}

.form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field.full { grid-column: 1 / -1; }
label {
  margin-bottom: 0.45rem;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}
input, select, textarea {
  font: inherit;
  border: 1px solid rgba(27, 38, 59, 0.14);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: var(--text-gray);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(132, 169, 140, 0.24);
  border-color: var(--sage);
}
small.note {
  display: block;
  color: var(--light-slate);
  margin-top: 1rem;
}

footer {
  background: #121c2d;
  color: white;
  padding: 70px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}
.footer-grid p { color: rgba(255,255,255,0.68); }
.footer-grid h3 { color: white; margin-bottom: 0.5rem; }

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .split,
  .band-grid,
  .stack-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }
  .nav-links {
    gap: 0.9rem;
  }
  .logo img { height: 60px; }
  .hero { padding: 90px 0 80px; }
  section { padding: 74px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
/* =========================
   Calendly Embed Styling
   ========================= */

.calendly-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* The actual Calendly iframe container */
.calendly-inline-widget {
  min-width: 320px;
  height: 850px;
  border-radius: 8px;
  overflow: hidden;
}

/* Intro text alignment on discovery page */
.discovery-intro {
  max-width: 720px;
}

/* Small note under calendar */
.discovery-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--slate);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

/* Expectation card polish */
.expectation-card h3 {
  margin-bottom: 1rem;
}

/* Tighten spacing inside expectation list */
.expectation-card .list-clean li:last-child {
  margin-bottom: 0;
}

/* =========================
   Mobile Optimization
   ========================= */

@media (max-width: 768px) {
  .calendly-shell {
    padding: 0.75rem;
  }

  .calendly-inline-widget {
    height: 720px;
/* Simple legal pages */

.legal-simple {
  padding: 72px 0;
}

.legal-simple-wrap {
  max-width: 860px;
}

.legal-simple-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.legal-simple-card p {
  color: var(--slate);
  line-height: 1.65;
  margin: 0 0 1rem 0;
}

.legal-simple-card h2 {
  color: var(--navy);
  font-size: 1.1rem;
  margin: 1.75rem 0 0.6rem 0;
}

.legal-simple-card h2:first-of-type {
  margin-top: 0.5rem;
}

.legal-meta {
  color: var(--light-slate);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.legal-simple-card a {
  color: var(--sage-dark);
  text-decoration: none;
}

.legal-simple-card a:hover {
  text-decoration: underline;
}
    /* Clean subsection spacing for legal pages */

.legal-simple-card h2 {
  margin: 2rem 0 0.5rem 0;
}

.legal-simple-card h2:first-of-type {
  margin-top: 1rem;
}

.legal-simple-card p {
  margin: 0 0 1rem 0;
}
}
