@font-face {
  font-family: "Inter";
  src: local("Inter Variable"), local("Inter");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy-900: #213141;
  --navy-800: #233344;
  --navy-700: #243546;
  --ink: #14243a;
  --slate: #545d6b;
  --muted: #5f6673;
  --teal: #297e79;
  --teal-dark: #21615d;
  --cream: #f7f3e9;
  --white: #ffffff;
  --line: #edeae2;
  --line-soft: #e9ecef;
  --on-navy: #a8b2c0;
  --on-navy-muted: #a8b2c0;
  --r-card: 20px;
  --r-btn: 10px;
  --r-input: 10px;
  --shadow-card: 0 1px 2px rgba(20, 36, 58, .06), 0 10px 26px rgba(20, 36, 58, .06);
  --shadow-btn: 0 1px 2px rgba(20, 36, 58, .1);
  --font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--slate);
  background: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { color: var(--ink); }
.container { width: min(100% - 48px, 1300px); margin-inline: auto; min-width: 0; }
.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;
}

:where(a, button, input):focus-visible {
  outline: 3px solid #49a9a2;
  outline-offset: 3px;
}

.announcement { height: 44px; color: var(--white); background: var(--navy-800); font-size: 11px; font-weight: 500; }
.announcement__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; }
.announcement__inner span { min-width: 0; line-height: 1.3; }
.announcement a { flex: 0 0 auto; text-decoration: underline; text-underline-offset: 3px; }
.announcement a:hover { color: #d7e8e5; }
.announcement a:active { color: #9ac9c4; }

.site-header { position: relative; z-index: 20; background: var(--cream); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 5px 18px rgba(20, 36, 58, .1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-dark); font-size: 17px; font-weight: 800; white-space: nowrap; }
.brand img { width: 42px; height: auto; }
.brand:hover { color: var(--teal-dark); }
.brand:active { transform: translateY(1px); }
.desktop-nav, .header__inner .desktop-cta { display: none; }
.menu-toggle, .drawer-close {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--r-btn);
  background: transparent;
  cursor: pointer;
}
.menu-toggle:hover, .drawer-close:hover { background: rgba(41, 126, 121, .09); }
.menu-toggle:active, .drawer-close:active { background: rgba(41, 126, 121, .16); transform: scale(.96); }

.nav-scrim { position: fixed; z-index: 40; inset: 0; background: rgba(20, 36, 58, .55); opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s ease; }
.mobile-drawer {
  position: fixed;
  z-index: 50;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(88vw, 380px);
  padding: 20px 24px 28px;
  background: var(--cream);
  box-shadow: -16px 0 40px rgba(20, 36, 58, .18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), visibility .3s ease;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
body.nav-open .mobile-drawer { transform: translateX(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-end: 28px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: grid; padding-block: 20px; }
.drawer-nav a { padding: 14px 4px; color: var(--ink); font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer-nav a:hover { color: var(--teal-dark); padding-inline-start: 8px; }
.drawer-nav a:active { color: var(--teal-dark); }
.drawer-cta { width: 100%; margin-block-start: 16px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding-inline: 25px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(20, 36, 58, .13); }
.button:active { transform: translateY(0); box-shadow: var(--shadow-btn); }
.button--solid { color: var(--white); background: var(--teal); }
.button--solid:hover { color: var(--white); background: var(--teal-dark); }
.button--solid:active { background: #194f4c; }
.button--ghost { color: var(--teal-dark); background: transparent; border-color: var(--teal-dark); box-shadow: none; }
.button--ghost:hover { color: var(--white); background: var(--teal); }
.button--ghost:active { background: var(--teal-dark); }
.eyebrow { margin-block-end: 16px; color: var(--teal-dark); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.microcopy { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.hero { background: var(--cream); padding-block: 42px 60px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__copy, .hero__visual { min-width: 0; }
.hero h1 { margin-block-end: 22px; font-size: clamp(42px, 12vw, 62px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.hero__lead { max-width: 610px; margin-block-end: 28px; font-size: 18px; line-height: 1.6; }
.hero__actions { display: grid; gap: 12px; }
.hero__disclaimer { margin-block: 18px 0; }
.hero__visual img { width: 100%; margin-inline: auto; }

.kit { background: var(--white); padding-block: 64px; }
.kit__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.kit__visual, .kit__copy { min-width: 0; }
.kit__visual img { width: min(100%, 500px); margin-inline: auto; }
.kit h2 { margin-block-end: 10px; font-size: clamp(32px, 9vw, 38px); font-weight: 800; line-height: 1.15; }
.kit__sub { margin-block-end: 18px; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.5; }
.kit__body { max-width: 580px; margin-block-end: 18px; font-size: 16px; line-height: 1.65; }
.price-row { display: flex; align-items: baseline; gap: 15px; margin-block-end: 20px; }
.price-row strong { color: var(--ink); font-size: 30px; font-weight: 800; }
.price-row del { color: var(--muted); font-size: 20px; }
.kit__button { min-width: 230px; margin-block-end: 14px; }

.categories { background: var(--cream); padding-block: 72px 80px; }
.section-heading--center { text-align: center; }
.section-heading h2, .guides h2, .faq h2 { margin-block-end: 12px; font-size: clamp(32px, 8vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.section-heading p { margin-block-end: 38px; font-size: 16px; line-height: 1.6; }
.category-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.category-card {
  min-width: 0;
  min-height: 190px;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 36, 58, .07), 0 16px 32px rgba(20, 36, 58, .1); }
.category-card:active { transform: translateY(-1px); }
.category-card img { width: 42px; margin-block-end: 13px; }
.category-card h3 { margin-block-end: 8px; font-size: 17.5px; font-weight: 700; line-height: 1.3; }
.category-card p { margin: 0; font-size: 14.5px; line-height: 1.55; }

.free-pack { background: var(--navy-700); padding-block: 64px; text-align: center; }
.free-pack__inner { width: min(100% - 48px, 850px); }
.free-pack h2 { margin-block-end: 14px; color: var(--white); font-size: clamp(30px, 8vw, 38px); font-weight: 800; line-height: 1.2; }
.free-pack__inner > p:not(.form-message, .microcopy) { margin-block-end: 25px; color: #e2e7ec; font-size: 16px; line-height: 1.6; }
.signup-form { display: grid; gap: 12px; width: min(100%, 660px); margin-inline: auto; }
.signup-form input { width: 100%; min-width: 0; height: 49px; padding-inline: 17px; color: var(--ink); border: 1px solid transparent; border-radius: var(--r-input); background: var(--white); font-size: 16px; }
.signup-form input::placeholder { color: var(--muted); }
.signup-form input:hover { border-color: #9ac9c4; }
.signup-form input:active { border-color: var(--teal-dark); }
.signup-form .button { min-height: 49px; }
.form-message { min-height: 21px; margin: 10px 0 2px; color: #fff; font-size: 14px; font-weight: 600; }
.form-message.is-error { color: #ffd1cb; }
.free-pack .microcopy { margin: 0; color: #c5cdd6; }

/* the gated download: hidden until the form has been submitted successfully */
.download-reveal { width: min(100%, 660px); margin: 14px auto 0; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-card); background: #354555; }
.download-reveal[hidden] { display: none; }
.download-reveal p { margin: 0 0 13px; color: #e2e7ec; font-size: 15px; line-height: 1.55; }
.download-reveal .button { width: 100%; }

@media (min-width: 640px) {
  /* name + email sit side by side with the button, instead of the two-field grid wrapping */
  .free-pack .signup-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .download-reveal .button { width: auto; }
}

.guides { padding-block: 72px 80px; background: var(--white); }
.guides__header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-block-end: 30px; }
.guides__header h2 { margin: 0; }
.guides__header a { flex: 0 0 auto; color: var(--teal-dark); font-size: 15px; font-weight: 700; }
.guides__header a:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.guides__header a:active { transform: translateX(2px); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.guide-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 2px 5px rgba(20, 36, 58, .07), 0 18px 35px rgba(20, 36, 58, .1); }
.guide-card__image { width: 100%; height: 152px; object-fit: cover; }
/* article featured images keep their real 996x561 ratio instead of being cropped to a 152px band */
.guide-card__image--wide { height: auto; aspect-ratio: 996 / 561; }
.guide-card__body { padding: 22px 24px 24px; }
.guide-tag { margin-block-end: 9px; color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.guide-card h3 { margin-block-end: 11px; font-size: 21px; font-weight: 700; line-height: 1.28; }
.guide-card__body > p:not(.guide-tag, .guide-meta) { margin-block-end: 18px; font-size: 15px; line-height: 1.55; }
.guide-meta { margin: 0; color: var(--muted); font-size: 13px; }

.how-we-write { padding-block: 44px; background: var(--cream); text-align: center; }
.how-we-write .eyebrow { margin-block-end: 12px; }
.how-we-write__copy { max-width: 940px; margin: 0 auto 30px; font-size: 15px; line-height: 1.6; }
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 760px; margin-inline: auto; }
.principle { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--teal-dark); font-size: 15px; font-weight: 600; }
.principle img { width: 32px; }

.faq { padding-block: 72px 80px; background: var(--white); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.faq__intro, .accordion { min-width: 0; }
.faq__intro p { max-width: 440px; margin: 0; font-size: 16px; line-height: 1.65; }
.accordion__item { border-bottom: 1px solid var(--line-soft); }
.accordion__item h3 { margin: 0; }
.accordion__item button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 68px; padding: 14px 4px; border: 0; background: transparent; color: var(--ink); font-size: 18px; font-weight: 700; text-align: start; cursor: pointer; }
.accordion__item button:hover { color: var(--teal-dark); }
.accordion__item button:active { color: var(--teal-dark); }
.accordion__item button img { flex: 0 0 auto; transition: transform .25s ease; }
.accordion__item.is-open button img { transform: rotate(180deg); }
.accordion__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.accordion__answer > div { overflow: hidden; }
.accordion__item.is-open .accordion__answer { grid-template-rows: 1fr; }
.accordion__answer p { margin: 0; padding: 0 40px 18px 4px; font-size: 15.5px; line-height: 1.6; }

.site-footer { padding-block: 56px 24px; color: var(--on-navy); background: var(--navy-900); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block-end: 42px; }
.brand--light { color: var(--white); }
.brand--light:hover { color: #d8e3e8; }
.footer__brand p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; }
.footer__column { display: grid; align-content: start; gap: 10px; min-width: 0; }
.footer__column h2 { margin-block-end: 3px; color: var(--white); font-size: 15px; font-weight: 700; }
.footer__column a { width: fit-content; font-size: 14.5px; line-height: 1.3; }
.footer__column a:hover, .footer__legal a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer__column a:active, .footer__legal a:active { color: #78bbb5; }
.footer__legal { padding-block-start: 23px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--on-navy-muted); text-align: center; }
.footer__legal p { margin: 0 0 8px; font-size: 12px; line-height: 1.55; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 640px) {
  .announcement { font-size: 13px; }
  .hero__actions { display: flex; gap: 16px; }
  .hero__actions .button { min-width: 178px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signup-form { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
  .signup-form .button { padding-inline: 28px; }
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .announcement { font-size: 14px; }
  .header__inner { min-height: 84px; }
  .brand { font-size: 19px; }
  .brand img { width: 48px; }
  .hero { padding-block: 56px 72px; }
  .hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
  .hero h1 { font-size: 50px; }
  .hero__lead { font-size: 18px; }
  .kit { padding-block: 72px; }
  .kit__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 50px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.35fr 1fr .9fr 1fr; }
}

@media (min-width: 1024px) {
  .menu-toggle, .mobile-drawer, .nav-scrim { display: none; }
  .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 20px; min-width: 0; }
  .desktop-nav a { color: var(--slate); font-size: 13px; font-weight: 500; white-space: nowrap; }
  .desktop-nav a:hover { color: var(--teal-dark); }
  .desktop-nav a:active { color: var(--teal-dark); transform: translateY(1px); }
  .header__inner .desktop-cta { display: inline-flex; flex: 0 0 auto; }
  .button--header { min-height: 50px; padding-inline: 18px; color: var(--white); background: var(--teal); font-size: 14px; }
  .button--header:hover { color: var(--white); background: var(--teal-dark); }
  .hero__grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 48px; }
  .hero h1 { font-size: 62px; }
  .hero__lead { font-size: 20px; }
  .kit { padding-block: 80px; }
  .kit__grid { grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: 75px; }
  .categories { padding-block: 80px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .category-card { min-height: 205px; padding: 26px; }
  .free-pack { padding-block: 72px; }
  .guides { padding-block: 80px; }
  .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .faq { padding-block: 80px; }
  .faq__grid { grid-template-columns: minmax(0, .82fr) minmax(min(520px, 100%), 1.18fr); gap: 90px; }
}

@media (min-width: 1200px) {
  .desktop-nav { gap: 32px; }
  .desktop-nav a { font-size: 15px; }
  .button--header { padding-inline: 24px; font-size: 16px; }
  .hero__grid { gap: 68px; }
  .kit__grid { gap: 100px; }
  .category-card { padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* spam trap: present in the DOM, invisible to humans and never focusable */
.signup-form input.hp-field, input.hp-field {
  /* spam trap: must beat .signup-form input { width: 100% } or it overflows the page */
  position: absolute; width: 1px; height: 1px; min-width: 0; flex: 0 0 1px;
  padding: 0; margin: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
