/* AdaptableTeams: modeled on the adaptableproduct.com look (Poppins + Open Sans, deep navy,
   growth green for actions, cyan highlights). */

:root {
  --brand: #6FBA43;
  --brand-rgb: 111, 186, 67;
  --brand-bright: #06DCF9;
  --brand-bright-rgb: 6, 220, 249;
  --brand-dark: #5ea738;
  --brand-text: #3f7f22;
  --navy: #110F33;
  --bg: #ffffff;
  --bg-subtle: #F5F5F5;
  --bg-muted: #f4f4f5;
  --fg: #110F33;
  --fg-2: #333333;
  --fg-muted: #666666;
  --fg-faint: #a1a1aa;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.14);
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 1px 1px rgba(10, 10, 10, 0.03);
  --shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 8px 24px -6px rgba(10, 10, 10, 0.08);
  --shadow-lg: 0 2px 4px rgba(10, 10, 10, 0.04), 0 24px 48px -12px rgba(10, 10, 10, 0.14);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
}
h1, h2, h3, h4 { color: var(--fg); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-text); }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; margin: 0 auto; }
.muted { color: var(--fg-muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; }
.wordmark:hover { color: var(--fg); }
.wordmark .mark { width: 26px; height: 26px; }
.wordmark span { color: var(--brand-text); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--fg-2); text-decoration: none; font-size: 0.925rem; font-weight: 500; }
.nav-links a:hover { color: var(--fg); }
.nav-links a.btn { color: #fff; padding: .5rem 1rem; font-size: .875rem; }
@media (max-width: 767.98px) { .nav-links a.btn { display: inline-flex; margin-top: .5rem; } }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0.4rem 0.6rem; font: inherit; color: var(--fg); cursor: pointer; }
@media (max-width: 767.98px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem 1.5rem 1rem; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.65rem 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 500; font-size: 0.95rem;
  padding: 0.7rem 1.25rem; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(var(--brand-rgb), .3), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--bg); color: var(--fg); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--fg); border-color: rgba(10,10,10,.24); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 6.5rem 0 4.5rem; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px -10% auto; height: 620px; z-index: -1;
  background:
    radial-gradient(ellipse 45% 55% at 50% 0%, rgba(var(--brand-rgb), .24), transparent 72%),
    radial-gradient(ellipse 30% 40% at 72% 10%, rgba(var(--brand-bright-rgb), .15), transparent 70%);
  filter: blur(8px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 30%, transparent 75%);
  opacity: .6;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 500; color: var(--fg-muted);
  padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .18); }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 650; line-height: 1.05; letter-spacing: -0.045em;
  max-width: 16ch; margin: 1.5rem auto 1.25rem; text-wrap: balance;
}
.accent { background: linear-gradient(120deg, var(--brand), rgba(var(--brand-bright-rgb), .9)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-muted); max-width: 40rem; margin: 0 auto 2rem; text-wrap: pretty; }
.actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 1rem; font-size: .85rem; color: var(--fg-faint); }

/* Sections */
.section { padding: 5.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-subtle { background: var(--bg-subtle); }
.kicker { font-size: .8rem; font-weight: 600; color: var(--brand-text); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .75rem; }
.head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.head h2, .h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
.head p { font-size: 1.075rem; color: var(--fg-muted); margin: 0; }

/* Hairline grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: var(--bg); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell { padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.cell h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.cell p { color: var(--fg-muted); margin: 0; font-size: .95rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 1rem; background: rgba(var(--brand-rgb), .08); color: var(--brand-text); border: 1px solid rgba(var(--brand-rgb), .16); }
.icon svg { width: 20px; height: 20px; }
@media (max-width: 991.98px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .grid, .grid-2 { grid-template-columns: 1fr; } }

/* Quotes */
blockquote { margin: 0; }
.quote { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.quote p { font-size: 1.02rem; color: var(--fg); line-height: 1.6; flex: 1; }
.quote p::before { content: "\201C"; display: block; font-size: 2.5rem; line-height: 1; color: var(--brand-text); opacity: .5; margin-bottom: .25rem; }
.quote cite { font-style: normal; font-size: .875rem; color: var(--fg-muted); }
.quote cite strong { color: var(--fg-2); font-weight: 600; }
.quote-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 991.98px) { .quote-row { grid-template-columns: 1fr; } }
.quote-feature { text-align: center; max-width: 46rem; margin: 0 auto; }
.quote-feature p { font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--fg); font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; text-wrap: balance; }
.quote-feature cite { font-style: normal; color: var(--fg-muted); }

/* Course */
.course { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 991.98px) { .course { grid-template-columns: 1fr; } }
.modules { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: var(--bg); }
.modules li { padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; }
.modules li:last-child { border-bottom: 0; }
.modules .num { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 600; color: var(--brand-text); background: rgba(var(--brand-rgb), .08); border: 1px solid rgba(var(--brand-rgb), .18); }
.modules h4 { font-size: 1rem; margin: .2rem 0 .2rem; }
.modules p { margin: 0; color: var(--fg-muted); font-size: .92rem; }
.pillar-tag { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-text); margin-left: .4rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 880px; margin: 0 auto; }
@media (max-width: 767.98px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--bg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(var(--brand-rgb), .45); box-shadow: var(--shadow-lg), 0 0 0 4px rgba(var(--brand-rgb), .06); }
.plan .badge { position: absolute; top: -12px; left: 2rem; font-size: .72rem; font-weight: 600; color: #fff; background: var(--brand); padding: .2rem .65rem; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.price { font-size: 2.75rem; font-weight: 650; letter-spacing: -0.04em; color: var(--fg); line-height: 1; margin: 1rem 0 .25rem; }
.price small { font-size: 1rem; font-weight: 500; color: var(--fg-muted); letter-spacing: 0; }
.plan .checks { flex: 1; margin-top: 1.25rem; }
.policy { max-width: 880px; margin: 1.5rem auto 0; font-size: .875rem; color: var(--fg-muted); text-align: center; }

/* About */
.about { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; max-width: 760px; margin: 0 auto; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 1.25rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-bright)); }

/* Form */
.form-card { max-width: 720px; margin: 0 auto; padding: 2.25rem; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--bg); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575.98px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 1.5rem; } }
.field { margin-bottom: 1rem; }
label { display: block; font-size: .875rem; font-weight: 500; color: var(--fg); margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--fg);
  padding: .65rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-text); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .18); }
.was-validated input:invalid, .was-validated textarea:invalid { border-color: #dc2626; }
.form-message { margin-bottom: 1rem; padding: .85rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.form-message.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-message.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.grecaptcha-badge { visibility: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; background: var(--bg-subtle); font-size: .9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--fg-2); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

/* Legal pages */
.legal { padding: 4rem 0 5rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.035em; }
.legal h2 { font-size: 1.25rem; margin-top: 2.25rem; }
.legal li { margin-bottom: .4rem; }
@media (max-width: 767.98px) {
  .nav-links.nav-links-static { display: flex; position: static; flex-direction: row; gap: 1rem; padding: 0; border: 0; background: none; }
  .nav-links.nav-links-static li { width: auto; }
}

/* ---------- AdaptableTeams overrides ---------- */
h1, h2, h3, h4, .wordmark, .price, .h2 { font-family: "Poppins", var(--font); }
.btn-primary { background: var(--brand); color: var(--navy); font-weight: 600; box-shadow: 0 1px 2px rgba(17, 15, 51, .2); }
.btn-primary:hover { background: var(--brand-dark); color: var(--navy); }
.nav-links a.btn { color: var(--navy); }
.plan .badge { color: var(--navy); }
.wordmark .mark { border-radius: 6px; }
.modules .num { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Navy hero with the chameleon, like adaptableproduct.com */
.hero-split { position: relative; overflow: hidden; background: var(--navy); color: #d8d7ea; padding: 5.5rem 0; isolation: isolate; }
.hero-split::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 120%; z-index: -1;
  background: radial-gradient(ellipse at 70% 30%, rgba(6, 220, 249, .18), transparent 60%), radial-gradient(ellipse at 40% 80%, rgba(111, 186, 67, .16), transparent 60%);
}
.hero-split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 991.98px) { .hero-split .container { grid-template-columns: 1fr; } }
.hero-split h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 3.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; margin: 1.25rem 0 1.25rem; }
.hero-split h1 .hl { color: var(--brand); }
.hero-split .lead { font-size: 1.15rem; color: #c9c8de; max-width: 36rem; margin-bottom: 2rem; }
.hero-split .eyebrow { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e6e5f3; box-shadow: none; }
.hero-split .eyebrow::before { background: var(--brand-bright); box-shadow: 0 0 0 3px rgba(6, 220, 249, .2); }
.hero-split .actions { justify-content: flex-start; }
.hero-split .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); box-shadow: none; }
.hero-split .btn-ghost:hover { color: #fff; border-color: #fff; }
.hero-split .note { color: #9d9cb8; }
.hero-img { position: relative; }
.hero-img img { border-radius: var(--radius-xl); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: block; }
.hero-stat { position: absolute; left: -1rem; bottom: 1.5rem; background: #fff; color: var(--fg-2); border-radius: var(--radius-lg); padding: 1rem 1.25rem; max-width: 15rem; box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.4; }
.hero-stat strong { display: block; font-family: "Poppins", var(--font); font-size: 1.5rem; color: var(--brand-text); }
@media (max-width: 575.98px) { .hero-stat { left: .75rem; } }
.framework-badge { max-width: 320px; margin-bottom: 1.5rem; }
.quote p::before { color: var(--brand-bright); opacity: .9; }
.dark-band { background: var(--navy); }
.dark-band .quote-feature p { color: #fff; }
.dark-band .quote-feature cite { color: #a9a8c4; }
