:root {
  --sage:        #CBD99B;
  --sage-soft:   #DCE5BC;
  --sage-deep:   #B5C57E;
  --navy:        #11224E;
  --navy-soft:   #1E3270;
  --navy-deep:   #0A1635;

  --off-white:   #FAF9F4;
  --white:       #FFFFFF;
  --warm-gray:   #6B6B65;
  --charcoal:    #1A1A1A;
  --hairline:    #E8E6DD;

  --display: "Merriweather", Georgia, serif;
  --body:    "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--navy);
  color: var(--charcoal);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

a { color: inherit; }

section { padding: 128px 64px; background: var(--off-white); border-bottom: 1px solid var(--hairline); }
section.alt { background: var(--white); }
.container { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warm-gray);
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-intro {
  font-family: var(--display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.45;
  color: var(--warm-gray);
  max-width: 620px;
  margin-bottom: 64px;
}

/* ============ NAV ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 53, 0.92);
  border-bottom: 1px solid rgba(203, 217, 155, 0.16);
  padding: 18px 64px;
  backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--sage);
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-deep);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--sage); }
.nav-menu-button,
.nav-drawer-backdrop { display: none; }

/* ============ HERO ============ */
.hero {
  padding: 172px 64px 152px;
  background:
    radial-gradient(circle at 82% 18%, rgba(203, 217, 155, 0.18), transparent 30%),
    linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 46%, var(--navy-soft) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(203, 217, 155, 0.22);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 48px 64px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(203, 217, 155, 0.22);
  transform: rotate(45deg);
}
.hero::after {
  content: "";
  position: absolute;
  left: 64px;
  bottom: 0;
  width: min(420px, calc(100% - 128px));
  height: 4px;
  background: var(--sage);
}
.hero-content { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage);
  margin-bottom: 32px;
}
.hero-tagline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--off-white);
  max-width: 960px;
  margin-bottom: 36px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(250, 249, 244, 0.74);
  max-width: 540px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
}
.hero-cta,
.hero-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.hero-cta {
  color: var(--navy-deep);
  background: var(--sage);
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 13px 20px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hero-cta:hover {
  background: var(--sage-soft);
  border-color: var(--sage-soft);
  transform: translateY(-1px);
}
.hero-link {
  color: var(--sage);
  border-bottom: 1px solid rgba(203, 217, 155, 0.36);
  padding-bottom: 3px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.hero-link:hover {
  color: var(--sage-soft);
  border-bottom-color: var(--sage-soft);
}

/* ============ PROSE ============ */
.prose {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
}
.prose p + p { margin-top: 22px; }

/* ============ PRINCIPLES ============ */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.principle {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 32px;
}
.principle-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  color: var(--sage-deep);
  margin-bottom: 12px;
}
.principle-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 10px;
}
.principle-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--warm-gray);
  max-width: 460px;
}

/* ============ PRODUCTS ============ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 56px;
}
.product-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 40px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  max-width: 760px;
}
.product-card:hover {
  border-color: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 34, 78, 0.06);
}
.product-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.product-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
}
.product-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin: 0;
}
.product-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-deep);
  display: inline-block;
}
.product-card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.product-card-tagline {
  font-family: var(--display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 16px;
  max-width: 580px;
}
.product-card-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--warm-gray);
  max-width: 580px;
  margin-bottom: 24px;
}
.product-card-arrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--sage-deep);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.product-card:hover .product-card-arrow {
  color: var(--sage-deep);
}
.products-note {
  font-size: 15px;
  line-height: 1.65;
  color: var(--warm-gray);
  max-width: 620px;
}
.products-note a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.products-note a:hover { color: var(--sage-deep); }

/* ============ CONTACT ============ */
.contact .section-intro { margin-bottom: 40px; }
.contact-link {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
  padding: 16px 0 8px;
  border-bottom: 2px solid var(--sage-deep);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.contact-link:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage-deep);
  transform: translateX(4px);
}

/* ============ NEWSLETTER (homepage) ============ */
/* Visually-hidden utility — used on form labels that already have a
   visible placeholder so the field still has an accessible name. */
.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;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 540px;
  margin-bottom: 14px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  font-family: var(--body);
  font-size: 15px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--charcoal);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(181, 197, 126, 0.28);
}
.newsletter-btn {
  flex-shrink: 0;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--sage);
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.newsletter-btn:hover {
  background: var(--sage-soft);
  border-color: var(--sage-soft);
  transform: translateY(-1px);
}
.newsletter-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.newsletter-status {
  font-size: 14px;
  line-height: 1.5;
  color: var(--navy);
  background: rgba(181, 197, 126, 0.18);
  border: 1px solid var(--sage-deep);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.newsletter-status.is-error {
  color: #8a3010;
  background: rgba(220, 70, 30, 0.10);
  border-color: rgba(220, 70, 30, 0.45);
}
.newsletter-note {
  font-size: 13px;
  color: var(--warm-gray);
  margin: 0;
  line-height: 1.5;
}

/* ============ FOOTER ============ */
footer {
  padding: 56px 64px 48px;
  background: var(--navy-deep);
  color: var(--sage);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.footer-meta {
  font-size: 13px;
  color: var(--sage-deep);
  text-align: right;
  line-height: 1.7;
}
.footer-year { color: var(--sage); opacity: 0.7; }
.footer-links a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid rgba(203, 217, 155, 0.3);
  transition: border-color 0.15s ease;
}
.footer-links a:hover { border-bottom-color: var(--sage); }
.footer-meta .sep { color: var(--sage-deep); opacity: 0.5; padding: 0 6px; }

/* ============ LEGAL PAGES ============ */
.legal {
  background: var(--off-white);
  padding: 80px 64px 96px;
}
.legal-container {
  max-width: 720px;
  margin: 0 auto;
}
.legal-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warm-gray);
  margin-bottom: 20px;
}
.legal-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 12px;
}
.legal-dates {
  font-size: 13px;
  color: var(--warm-gray);
  margin-bottom: 48px;
  line-height: 1.7;
}
.legal-dates strong { color: var(--navy); font-weight: 600; margin-right: 4px; }
.legal-dates .sep { padding: 0 8px; opacity: 0.5; }
.legal-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.legal-divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 48px 0;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 48px 0 16px;
}
.legal h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 28px 0 10px;
}
.legal h2 + h3 { margin-top: 18px; }
.legal p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.legal p strong { font-weight: 700; color: var(--navy); }
.legal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.legal ul li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--sage-deep);
}
.legal a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal a:hover { color: var(--sage-deep); }
.legal-note {
  font-size: 13px;
  color: var(--warm-gray);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  line-height: 1.65;
}

/* ============ TOOLS HUB ============ */
.tools-group { margin-top: 72px; }
.tools-group:first-of-type { margin-top: 16px; }
.tools-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.tools-group-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.tools-group-link {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-deep);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tools-group-link:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.tool-card {
  display: block;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.tool-card:hover {
  border-color: var(--sage-deep);
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}
.tool-card-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warm-gray);
  margin-bottom: 14px;
}
.tool-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 10px;
}
.tool-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--warm-gray);
  max-width: 460px;
}
.tool-card-arrow {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.tools-note {
  margin-top: 56px;
  font-size: 15px;
  color: var(--warm-gray);
}
.tools-note a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.tools-note a:hover { color: var(--sage-deep); }

/* ============ TOOLS HUB SEARCH ============ */
.tools-search {
  margin-top: 16px;
  margin-bottom: 48px;
}
.tools-search input[type="search"] {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--body);
  font-size: 15px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--charcoal);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tools-search input[type="search"]:focus {
  outline: none;
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(181, 197, 126, 0.28);
}
.tools-search input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
}
.tools-search-empty {
  margin-top: 24px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--warm-gray);
}
/* Override .tool-card { display: block } so [hidden] actually hides cards/groups. */
.tool-card[hidden],
.tools-group[hidden] { display: none; }

/* ============ GUIDES ============ */
.guide {
  background: var(--off-white);
  padding: 80px 64px 96px;
}
.guide-container {
  max-width: 720px;
  margin: 0 auto;
}
.guide-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warm-gray);
  margin-bottom: 20px;
}
.guide-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 14px;
}
.guide-dates {
  font-size: 13px;
  color: var(--warm-gray);
  margin-bottom: 36px;
  line-height: 1.7;
}
.guide-dates strong { color: var(--navy); font-weight: 600; margin-right: 4px; }
.guide-dates .sep { padding: 0 8px; opacity: 0.5; }
.guide-lede {
  font-family: var(--display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: 22px;
}
.guide-divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 40px 0;
}
.guide h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 48px 0 16px;
}
.guide h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 32px 0 10px;
}
.guide p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 18px;
}
.guide p strong { font-weight: 700; color: var(--navy); }
.guide ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.guide ul li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}
.guide ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--sage-deep);
}
.guide a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.guide a:hover { color: var(--sage-deep); }
.guide-formula {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  color: var(--navy);
  background: rgba(203, 217, 155, 0.18);
  border-left: 3px solid var(--sage-deep);
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 18px !important;
  line-height: 1.5;
}
.guide-table-wrap {
  overflow-x: auto;
  margin: 8px 0 28px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--white);
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: var(--charcoal);
}
.guide-table th,
.guide-table td {
  padding: 12px 16px;
  text-align: right;
  border-bottom: 1px solid var(--hairline);
}
.guide-table th:first-child,
.guide-table td:first-child {
  text-align: left;
}
.guide-table thead th {
  background: rgba(203, 217, 155, 0.14);
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--sage-deep);
}
.guide-table tbody tr:last-child td { border-bottom: 1px solid var(--hairline); }
.guide-table tfoot th,
.guide-table tfoot td {
  background: var(--off-white);
  color: var(--navy);
  font-weight: 700;
  border-bottom: none;
  border-top: 1px solid var(--sage-deep);
}
.guide-cta {
  margin: 44px 0 32px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--sage-deep);
  border-radius: 14px;
}
.guide-cta-line {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 8px !important;
}
.guide-cta-sub {
  font-size: 14px;
  color: var(--warm-gray);
  margin: 0 !important;
}
.guide .attenda-cta {
  margin: 32px 0;
  padding: 24px;
  background: #FEF3DC;
  border: 1px solid #FBE4A8;
  border-radius: 14px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  color: #18181B;
  font-family: var(--body);
}
.guide .attenda-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.10);
}
.guide .attenda-cta-content {
  flex: 1;
  min-width: 0;
}
.guide .attenda-cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #B45309;
  margin: 0 0 6px;
}
.guide .attenda-cta h2 {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #18181B;
  margin: 0 0 8px;
  line-height: 1.25;
}
.guide .attenda-cta p {
  font-size: 14px;
  color: #3F3F46;
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: 540px;
}
.guide .attenda-cta-link {
  display: inline-block;
  background: #F59E3B;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.06s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(245, 158, 59, 0.28);
}
.guide .attenda-cta-link:hover {
  background: #D97706;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.32);
}
.guide .attenda-cta-link:active { transform: translateY(1px); }
.guide-faq {
  border-top: 1px solid var(--hairline);
  padding: 16px 0;
}
.guide-faq:last-of-type { border-bottom: 1px solid var(--hairline); }
.guide-faq summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  padding-right: 24px;
  position: relative;
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 22px;
  color: var(--sage-deep);
  line-height: 1;
  transition: transform 0.15s ease;
}
.guide-faq[open] summary::after { content: "\2212"; }
.guide-faq p {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 16px;
  color: var(--charcoal);
}
.guide-foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--warm-gray);
}

/* Guides index */
.guide-index .guide-lede { margin-bottom: 40px; }
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list .guide-card {
  list-style: none;
  padding: 28px 0 28px 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
  position: static;
}
.guide-list .guide-card::before { content: none; }
.guide-list .guide-card:last-child { border-bottom: 1px solid var(--hairline); }
.guide-card-meta {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--warm-gray);
  margin-bottom: 10px !important;
}
.guide-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 10px;
}
.guide-card-title a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.guide-card-title a:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage-deep);
}
.guide-card-summary {
  font-size: 16px;
  line-height: 1.65;
  color: var(--warm-gray);
  margin-bottom: 12px !important;
}
.guide-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--sage-deep);
  padding-bottom: 2px;
}
.guide-card-link:hover { color: var(--sage-deep); }

/* Guides index — topic navigation + grouped sections */
.guide-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--hairline);
}
.guide-topics a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.guide-topics a:hover {
  background: var(--sage-soft);
  color: var(--navy-deep);
}
.guide-section { scroll-margin-top: 96px; }
.guide-section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-deep);
  margin: 40px 0 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  body { padding-top: 72px; }
  section, .hero, footer { padding-left: 24px; padding-right: 24px; }
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 14px 24px;
  }
  section { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 120px; padding-bottom: 80px; }
  .hero::before { right: -80px; top: 56px; width: 180px; height: 180px; }
  .hero::after { left: 24px; width: calc(100% - 48px); }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; }
  .hero-tagline { font-size: 44px; line-height: 1.1; }
  .hero-sub { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-title { font-size: 38px; }
  .section-intro { font-size: 19px; margin-bottom: 48px; }
  .principles { grid-template-columns: 1fr; gap: 40px; }
  .principle { padding: 28px; }
  .product-card { padding: 28px; }
  .product-card-name { font-size: 28px; }
  .product-card-tagline { font-size: 18px; }
  .product-card-icon { width: 48px; height: 48px; }
  .product-card-head { gap: 14px; margin-bottom: 20px; }
  .contact-link { font-size: 28px; word-break: break-all; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-meta { text-align: left; }
  .legal { padding: 80px 24px; }
  .legal-title { font-size: 38px; }
  .legal h2 { font-size: 19px; margin: 40px 0 12px; }
  .legal p, .legal ul li, .legal-intro { font-size: 15px; }
  .guide { padding: 64px 24px 80px; }
  .guide-title { font-size: 34px; }
  .guide-lede { font-size: 19px; }
  .guide h2 { font-size: 22px; margin: 40px 0 12px; }
  .guide h3 { font-size: 18px; margin: 28px 0 10px; }
  .guide p, .guide ul li { font-size: 16px; }
  .guide-formula { font-size: 15px; padding: 12px 14px; }
  .guide-table th, .guide-table td { padding: 10px 12px; font-size: 14px; }
  .guide-cta { padding: 20px; }
  .guide .attenda-cta { padding: 20px; }
  .guide-card-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .nav-inner { position: relative; }
  .nav-menu-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid rgba(203, 217, 155, 0.26);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    position: relative;
    z-index: 130;
  }
  .nav-menu-bar {
    width: 18px;
    height: 2px;
    background: var(--sage);
    border-radius: 999px;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .nav-open .nav-menu-button {
    position: fixed;
    top: 14px;
    right: 24px;
  }
  .nav-open .nav-menu-button .nav-menu-bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-menu-button .nav-menu-bar:nth-child(3) { opacity: 0; }
  .nav-open .nav-menu-button .nav-menu-bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 53, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 110;
  }
  .nav-drawer-backdrop[hidden] { display: none; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 88px 28px 32px;
    background: #0A1635 !important;
    opacity: 1;
    backdrop-filter: none;
    border-left: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    z-index: 120;
  }
  .nav-links a { font-size: 16px; color: var(--sage); }
  .nav-open .nav-drawer-backdrop { opacity: 1; pointer-events: auto; }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-open { overflow: hidden; }
  .hero { padding-top: 90px; }
  .hero-tagline { font-size: 34px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 24px; }
  .section-title { font-size: 30px; }
  .section-intro { font-size: 17px; margin-bottom: 36px; }
  .prose { font-size: 16px; }
  .contact-link { font-size: 22px; }
  .legal { padding: 70px 22px; }
  .legal-title { font-size: 32px; }
  .guide { padding: 56px 22px 72px; }
  .guide-title { font-size: 28px; }
  .guide-lede { font-size: 17px; }
  .guide h2 { font-size: 20px; }
  .guide-table th, .guide-table td { padding: 8px 10px; font-size: 13px; }
  .guide .attenda-cta { flex-direction: column; text-align: left; }
}
