@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --max-width: 1180px;
  --color-ink: #241B45;
  --color-ink-soft: #4A4368;
  --color-ink-faint: #736D8C;
  --color-paper: #FBFAFF;
  --color-paper-raised: #FFFFFF;
  --color-paper-sunken: #F1EEFA;
  --color-lime: #B4FF39;
  --color-lime-dark: #7FCC0B;
  --color-coral: #FF5C72;
  --color-border: #E3DFF3;
  --color-border-soft: #EDEAF9;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(36,27,69,0.06), 0 1px 1px rgba(36,27,69,0.04);
  --shadow-md: 0 8px 24px -8px rgba(36,27,69,0.18), 0 2px 8px -2px rgba(36,27,69,0.08);
  --shadow-lg: 0 24px 48px -12px rgba(36,27,69,0.28), 0 8px 20px -6px rgba(36,27,69,0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink-soft);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.7rem; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 600; margin-top: 3rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.4rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-ink); text-decoration-color: var(--color-lime-dark); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--color-ink); }
ul, ol { padding-left: 1.35rem; margin: 0 0 1rem; }
li { margin-bottom: 0.45rem; }
img, svg.icon-img { max-width: 100%; display: block; }
strong { color: var(--color-ink); }

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

.icon { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { background: var(--color-paper-raised); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 40; }
.site-header .container { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-logo { display: flex; align-items: center; }
.site-logo__img { height: 40px; width: auto; display: block; }

.site-nav { display: none; }
.site-nav__list { list-style: none; display: flex; gap: 1.1rem; margin: 0; padding: 0; flex-wrap: nowrap; white-space: nowrap; }
.site-nav__list a { color: var(--color-ink-soft); font-weight: 500; font-size: 0.86rem; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list a.active { color: var(--color-ink); }

.header-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--color-ink); color: #fff !important; font-weight: 600; font-size: 0.92rem;
  padding: 0.65rem 1.2rem; border-radius: 999px; text-decoration: none !important;
  box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.header-cta:hover { background: #362a5c; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.header-cta .icon { width: 16px; height: 16px; stroke: var(--color-lime); }

.nav-toggle { display: inline-flex; background: none; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.5rem; cursor: pointer; }
.nav-toggle .icon { stroke: var(--color-ink); }

/* Raised from 900px: with 9 nav items (3 anchors + 3 guides + FAQ + About + Contact), anything
   below ~1240px clips or wraps the horizontal list, so tablet/small-laptop widths fall back to
   the hamburger menu instead. */
@media (min-width: 1240px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
}

.site-nav.is-open .site-nav__list {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
  background: var(--color-paper-raised); border-bottom: 1px solid var(--color-border); padding: 1rem 1.5rem 1.5rem; gap: 1rem;
  box-shadow: var(--shadow-md); white-space: normal;
}
@media (max-width: 1239px) {
  .site-nav { position: static; }
  .site-nav:not(.is-open) .site-nav__list { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: #C9C3E6; padding: 3.2rem 0 2rem; margin-top: 4rem; }
.site-footer a { color: #E7E3FA; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.2rem; }
.footer-brand p { color: #A79FCB; max-width: 340px; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.9rem; letter-spacing: 0.02em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.94rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #3A3062; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; justify-content: space-between; font-size: 0.85rem; color: #9188B8; }

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; text-decoration: none !important; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
}
.btn:focus-visible { outline: 2px solid var(--color-lime-dark); outline-offset: 2px; }
.btn-primary { background: var(--color-lime); color: var(--color-ink) !important; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-lime-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--color-ink); color: #fff !important; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: #362a5c; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-ink) !important; border: 1.5px solid var(--color-ink); }
.btn-outline:hover { background: var(--color-ink); color: #fff !important; }
.btn .icon { width: 18px; height: 18px; }

/* Generic content typography used on inner pages (about/contact/policy) */
.prose { max-width: 760px; margin: 3rem auto; }
.prose h1 { margin-bottom: 1.2rem; }
