:root {
  --ink: #0a2f52;
  --text: #203544;
  --muted: #64737c;
  --navy: #082b4b;
  --deep-blue: #062747;
  --blue: #2f8fc2;
  --sky: #59a9d6;
  --green: #779447;
  --leaf: #9ab65d;
  --gold: #d89a22;
  --cream: #f7f1ea;
  --sand: #e7ded4;
  --pale-blue: #eaf4f8;
  --pale-green: #edf4e5;
  --pale-gold: #fbf1d3;
  --white: #ffffff;
  --line: #d8d7cf;
  --shadow: 0 16px 36px rgba(8, 43, 75, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 42%, var(--cream) 100%);
  line-height: 1.55;
  font-size: 16px;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--navy);
  color: white;
  padding: .7rem 1rem;
  border-radius: .5rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(8,43,75,.08);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .62rem 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 210px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark,
.brand-mark img { width: 46px; height: 46px; display: block; }
.brand-text { display: grid; line-height: 1.02; }
.brand-text strong { font-size: 1rem; letter-spacing: -.015em; }
.brand-text em { font-style: normal; font-size: .76rem; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }

.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: .5rem .75rem;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(8,43,75,.09);
}
.hamburger-lines { display: grid; gap: 4px; }
.hamburger-lines span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: .18rem; margin-left: auto; }
.nav-link,
.nav-menu > summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .4rem .6rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.nav-menu > summary::-webkit-details-marker,
.account-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary:after {
  content: "";
  width: .38rem;
  height: .38rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: .4rem;
  opacity: .7;
}
.nav-link:hover,
.nav-link.active,
.nav-menu[open] > summary,
.nav-menu.active > summary {
  text-decoration: none;
  background: var(--pale-blue);
  color: var(--navy);
}
.nav-menu { position: relative; }
.nav-menu-panel,
.account-panel {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  min-width: 225px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: .45rem;
  z-index: 75;
}
.nav-menu-panel.wide { min-width: 270px; }
.nav-menu-panel a,
.account-panel a {
  display: block;
  padding: .62rem .75rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 750;
  font-size: .92rem;
}
.nav-menu-panel a:hover,
.nav-menu-panel a[aria-current="page"],
.account-panel a:hover { background: var(--pale-blue); text-decoration: none; }
.desktop-actions { display: flex; align-items: center; gap: .45rem; flex: 0 0 auto; }
.account-menu { position: relative; }
.account-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 38px;
  border: 1px solid rgba(47,143,194,.25);
  border-radius: 999px;
  background: white;
  padding: .25rem .62rem .25rem .25rem;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(8,43,75,.08);
}
.account-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: white; }
.account-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
.account-panel { min-width: 245px; right: 0; }
.menu-kicker { color: var(--green); text-transform: uppercase; letter-spacing: .09em; font-size: .7rem; font-weight: 900; margin: .35rem .75rem .2rem; }
.mobile-nav { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--deep-blue));
  color: white;
  padding: .72rem 1rem;
  font-weight: 850;
  font-size: .94rem;
  min-height: 42px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(8,43,75,.2);
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button.secondary { background: white; color: var(--navy); border: 1px solid rgba(47,143,194,.28); box-shadow: 0 8px 18px rgba(8,43,75,.08); }
.button.light { background: white; color: var(--navy); box-shadow: none; }
.button.small { padding: .55rem .72rem; min-height: 36px; font-size: .86rem; }
.nav-cta { min-height: 38px; padding: .55rem .82rem; font-size: .88rem; }
.text-link { font-weight: 850; color: var(--navy); }

main { overflow: hidden; }
.section,
.hero,
.page-hero,
.cta-band,
.newsletter-panel,
.article-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr); gap: 2rem; align-items: center; padding-top: 4.2rem; padding-bottom: 4.2rem; }
.hero-home { min-height: 66vh; }
.page-hero { padding-top: 4.2rem; padding-bottom: 2.1rem; }
.page-hero.narrow { max-width: 860px; text-align: center; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 2rem; align-items: center; }
.about-photo { border-radius: 24px; box-shadow: var(--shadow); border: 8px solid white; }
.section { padding-top: 3.1rem; padding-bottom: 3.1rem; }
.section.compact { padding-top: 2.2rem; padding-bottom: 2.2rem; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 2rem; }
.align-start { align-items: start; }

h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0 0 .75rem; letter-spacing: -.025em; }
h1 { font-size: clamp(2.05rem, 4.2vw, 4.25rem); }
.page-hero h1 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 2.05rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.02rem, 1.55vw, 1.22rem); color: #384c5b; max-width: 68ch; }
.eyebrow,
.kicker {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 900;
  margin-bottom: .5rem;
}
.section-heading { max-width: 780px; margin-bottom: 1.5rem; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.spread { max-width: none; display: flex; justify-content: space-between; gap: 1rem; align-items: end; }

.hero-actions,
.button-row,
.button-stack { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1.15rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.3rem; }
.trust-row span,
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .28rem .58rem;
  font-size: .78rem;
  font-weight: 850;
  background: var(--pale-blue);
  color: var(--navy);
}
.tag.green { background: var(--pale-green); color: #4f6d2d; }
.tag.blue { background: var(--pale-blue); color: var(--navy); }
.tag.gold { background: var(--pale-gold); color: #8a5b07; }
.profile-card,
.callout-card,
.credentials-card,
.form-card,
.results-card,
.info-card,
.article-card,
.product-card,
.pricing-card,
.download-card,
.contact-sidebar > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.profile-card { padding: 1rem; display: grid; gap: 1rem; }
.profile-photo { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center top; }
.callout-card,
.credentials-card,
.form-card,
.results-card,
.info-card,
.product-card,
.pricing-card,
.download-card { padding: 1.35rem; }
.split-band { position: relative; }
.split-band::before {
  content: "";
  position: absolute;
  inset: 1rem -20vw;
  background: linear-gradient(135deg, rgba(234,244,248,.85), rgba(251,241,211,.72));
  z-index: -1;
}
.framework-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.framework-strip div { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; box-shadow: 0 8px 18px rgba(8,43,75,.07); }
.framework-strip strong { display: block; color: var(--navy); margin-bottom: .28rem; }
.framework-strip span { color: var(--muted); font-size: .88rem; }
.card-grid { display: grid; gap: 1rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }
.path-card { display: block; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem; box-shadow: 0 10px 20px rgba(8,43,75,.08); min-height: 180px; }
.path-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.path-card h3,
.info-card h3,
.product-card h3,
.article-card h3 { margin-top: .45rem; }
.path-card p,
.info-card p,
.product-card p,
.article-card p { color: var(--muted); font-size: .94rem; }
.resource-list { display: grid; gap: .8rem; }
.resource-list article { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; }
.article-grid,
.product-grid,
.resource-grid { display: grid; gap: 1rem; }
.article-grid.three,
.product-grid,
.resource-grid { grid-template-columns: repeat(3, 1fr); }
.article-card a { display: block; padding: 1.15rem; color: inherit; min-height: 190px; }
.article-card a:hover { text-decoration: none; }
.featured-article { background: linear-gradient(135deg, var(--navy), #0b4f7c); color: white; border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); }
.featured-article h2,
.featured-article p { color: white; }
.product-card { display: flex; flex-direction: column; }
.price { color: var(--gold); font-size: 1.6rem; font-weight: 900; margin-bottom: .4rem; }
.price span { font-size: .9rem; color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pricing-card.featured { border-color: rgba(216,154,34,.45); transform: translateY(-.4rem); background: linear-gradient(180deg, #ffffff, #fff8e4); }
.check-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .45rem; }
.check-list li { position: relative; padding-left: 1.35rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); }
.number-list { padding-left: 1.25rem; display: grid; gap: .7rem; }
.comparison-card { display: grid; gap: .8rem; }
.comparison-card div { background: white; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 14px; padding: 1rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.article-detail { max-width: 820px; padding-top: 4rem; padding-bottom: 4rem; }
.article-detail h1 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.article-detail h2 { margin-top: 1.8rem; }
.article-detail p,
.article-detail li { font-size: 1.03rem; }
.article-next { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

.cta-band,
.newsletter-panel {
  margin-top: 2rem;
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--deep-blue));
  color: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.cta-band h2,
.cta-band p,
.newsletter-panel h2,
.newsletter-panel p { color: white; }
.cta-band .eyebrow,
.newsletter-panel .eyebrow { color: var(--light-gold, #e4c25d); }
.newsletter-panel { background: linear-gradient(135deg, #0b4f7c, var(--navy)); }
.inline-form { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.inline-form.stacked { display: grid; }
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad2d6;
  border-radius: 12px;
  padding: .75rem .85rem;
  font: inherit;
  background: white;
  color: var(--text);
}
.inline-form input { min-width: 240px; }
label { display: block; font-weight: 850; color: var(--ink); margin: .85rem 0 .32rem; }
.check { display: flex; align-items: start; gap: .55rem; font-weight: 600; color: var(--text); }
.check input { width: auto; margin-top: .2rem; }
.form-note { margin: .6rem 0 0; color: var(--green); font-weight: 800; }
.search-input { max-width: 270px; }
.mini-list { display: grid; gap: .6rem; margin-top: 1rem; }
.mini-list a { padding: .75rem; border-radius: 12px; background: var(--pale-blue); font-weight: 850; }
.recommendation-list { display: grid; gap: .8rem; margin-top: 1rem; }
.recommendation-list a,
.recommendation-list div { display: block; padding: .85rem; border-radius: 12px; background: var(--pale-blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.86); margin-top: 3rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 2.2rem 1rem; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: white; margin-bottom: .8rem; }
.footer-brand:hover { text-decoration: none; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand span { display: grid; line-height: 1.05; }
.footer-brand em { font-style: normal; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.7); }
.site-footer h2 { color: white; font-size: .96rem; }
.site-footer a { display: block; color: rgba(255,255,255,.86); margin: .35rem 0; font-size: .92rem; }
.site-footer .small { font-size: .82rem; color: rgba(255,255,255,.68); }

@media (max-width: 1060px) {
  .desktop-nav,
  .desktop-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { min-width: 0; }
  .mobile-nav {
    display: none;
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 4.7rem;
    max-height: calc(100vh - 6rem);
    overflow: auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: .6rem;
  }
  .mobile-nav.open { display: grid; gap: .1rem; }
  .mobile-nav a { padding: .75rem .85rem; border-radius: 12px; font-weight: 850; color: var(--ink); }
  .mobile-nav a:hover { background: var(--pale-blue); text-decoration: none; }
  .mobile-nav hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
  body.mobile-nav-open { overflow: hidden; }
}
@media (max-width: 940px) {
  .hero,
  .grid-2,
  .about-hero,
  .pricing-grid { grid-template-columns: 1fr; }
  .about-hero { text-align: left; }
  .about-photo { max-width: 320px; }
  .framework-strip { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three,
  .card-grid.four,
  .card-grid.five,
  .article-grid.three,
  .product-grid,
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading.spread,
  .cta-band,
  .newsletter-panel { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .brand-text strong { font-size: .93rem; }
  .brand-text em { font-size: .68rem; }
  .hero,
  .page-hero,
  .section,
  .article-detail { padding-left: .9rem; padding-right: .9rem; }
  .hero { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .page-hero { padding-top: 2.7rem; }
  .card-grid.three,
  .card-grid.four,
  .card-grid.five,
  .article-grid.three,
  .product-grid,
  .resource-grid,
  .framework-strip { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .inline-form { width: 100%; }
  .inline-form input,
  .inline-form button { width: 100%; }
  .cta-band,
  .newsletter-panel { border-radius: 18px; padding: 1.35rem; margin-left: .9rem; margin-right: .9rem; }
}


/* Desktop navigation refinement */
.nav-wrap {
  max-width: 1280px;
  min-height: 62px;
  gap: .7rem;
  padding: .5rem 1rem;
}
.brand { min-width: 220px; gap: .55rem; }
.brand-mark,
.brand-mark img { width: 42px; height: 42px; }
.brand-text strong { font-size: .96rem; }
.brand-text em { font-size: .72rem; }
.desktop-nav { gap: .25rem; }
.nav-link,
.nav-menu > summary {
  min-height: 34px;
  padding: .38rem .62rem;
  font-size: .86rem;
}
.nav-menu-panel,
.account-panel { top: calc(100% + .45rem); }
.nav-menu-panel { min-width: 235px; }
.nav-menu-panel.wide { min-width: 285px; }
.nav-menu-panel a,
.account-panel a { padding: .6rem .72rem; font-size: .9rem; }
.nav-menu-panel a[aria-current="page"],
.nav-link[aria-current="page"] { background: var(--pale-blue); color: var(--navy); }
.desktop-actions { gap: .45rem; margin-left: .15rem; }
.nav-cta { min-height: 38px; padding: .52rem .86rem; font-size: .86rem; box-shadow: 0 8px 18px rgba(8,43,75,.16); }
.nav-cta.active { outline: 2px solid rgba(216,154,34,.35); outline-offset: 2px; }
.account-menu > summary {
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: .22rem;
  border-radius: 50%;
  gap: 0;
}
.account-icon { width: 34px; height: 34px; }
.account-label { display: none; }
.account-menu > summary:hover,
.account-menu[open] > summary { box-shadow: 0 8px 20px rgba(8,43,75,.14); transform: translateY(-1px); }
@media (max-width: 1120px) {
  .desktop-nav,
  .desktop-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1121px) {
  .nav-toggle { display: none; }
}
@media (max-width: 1120px) {
  .mobile-nav .mobile-primary { background: var(--navy); color: white; text-align: center; }
  .mobile-section { margin: .7rem .85rem .25rem; color: var(--green); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 900; }
}
