:root {
  --purple: #6582db;
  --purple-dark: #4f65ab;
  --purple-light: #edf0fb;
  --ink: #2f3142;
  --ink-soft: #5b5d70;
  --white: #ffffff;
  --border: #e4e5f2;
  --radius: 14px;
  --max-width: 1140px;
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a { color: var(--purple-dark); }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--purple);
  color: var(--white);
}
.btn-primary:hover { background: var(--purple-dark); box-shadow: 0 8px 20px rgba(123,134,217,0.35); }

.btn-light {
  background: var(--white);
  color: var(--purple-dark);
}
.btn-light:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--purple-dark);
  margin-right: auto;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.sun-divider {
  height: 90px;
  background-color: var(--white);
  background-image: url('assets/sun-strip.png');
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
}

.site-nav {
  display: flex;
  gap: 26px;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--purple-dark); }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 1.6em;
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--purple-light); }

.eyebrow {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--purple-dark);
}
.eyebrow.center { text-align: center; }

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 780px;
}
.lead.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Funding badges */
.funding-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.funding-badge {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Value grid */
.value-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  flex: 0 1 calc(33.333% - 16px);
  min-width: 230px;
}

@media (max-width: 900px) {
  .value-card { flex-basis: calc(50% - 12px); }
}
@media (max-width: 560px) {
  .value-card { flex-basis: 100%; }
}
.value-card h3 {
  font-size: 1.05rem;
  color: var(--purple-dark);
}
.value-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Two column */
.two-col { max-width: 820px; }

#what-is-ot p,
#what-is-ot li {
  color: var(--ink-soft);
}

.ot-illustration {
  width: 100%;
  height: auto;
  margin-top: 30px;
  mix-blend-mode: multiply;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--purple);
}
.service-card h3 { font-size: 1.1rem; color: var(--ink); }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Contact */
.contact-inner { max-width: 720px; }
.email-link {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 10px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer-inner p { margin: 4px 0; }

/* Responsive */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}
