/* aipassiveincome.to, Direction D "Navy & charcoal" */

@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/fonts/libre-franklin-700-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/public-sans-400-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0E2240;
  --navy-700: #1D3A66;
  --charcoal: #262A31;
  --slate: #3D4450;
  --muted: #5B6472;
  --amber: #F2B544;
  --amber-hover: #E5A52E;
  --navy-tint: #E8EEF6;
  --mist: #F4F6F9;
  --line: #D9DEE6;
  --line-tint: #C6D0DD;
  --on-navy: #B8C4D6;
  --on-navy-link: #D5DDE8;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-card: 8px;

  --font-head: 'Libre Franklin', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1216px;
  --gutter: 20px;
  --section: clamp(4rem, 2.89rem + 4.57vw, 7rem);    /* 64 → 112 */
  --h1: clamp(2.75rem, 1.91rem + 3.43vw, 5rem);       /* 44 → 80 */
  --h2: clamp(2rem, 1.63rem + 1.52vw, 3rem);          /* 32 → 48 */
  --body: 17px;
  --body-lh: 1.55;
  --header-h: 64px;

  --focus: var(--navy);
}
@media (min-width: 720px) {
  :root { --gutter: 32px; --body: 18px; --body-lh: 1.65; }
}
@media (min-width: 960px) {
  :root { --header-h: 80px; }
}

/* Dark surfaces flip the focus ring to amber. */
.on-dark { --focus: var(--amber); }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--mist);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: var(--body-lh);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--navy-700); }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  --focus: var(--navy);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Swap short copy for small screens without duplicating layout. */
.m-only { display: none; }
@media (max-width: 719px) {
  .m-only { display: inline; }
  .d-only { display: none; }
}

/* ---------- Type ---------- */

.h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--h1);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--h2);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}
.label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-700);
}
@media (min-width: 720px) { .label { font-size: 14px; } }
.on-dark .label { color: var(--amber); }

.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-navy);
  max-width: 600px;
}
@media (min-width: 720px) { .lead { font-size: 21px; } }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .kicker { gap: 12px; font-size: 14px; letter-spacing: 0.14em; }
  .kicker::before { width: 32px; }
}

.arrow-link {
  font-weight: 700;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* Amber only ever sits on navy or charcoal. */
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-hover); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }

@media (max-width: 719px) {
  .btn-block-m { display: flex; width: 100%; }
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid var(--navy-700);
}
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { color: var(--white); }
.brand-mark {
  width: 32px;
  height: 32px;
  border: 2px solid var(--amber);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  color: var(--amber);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
@media (min-width: 960px) {
  .brand { gap: 14px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 8px; font-size: 14px; }
  .brand-name { font-size: 21px; }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--navy-700);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

.site-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
  font-weight: 500;
}
.site-nav a:not(.btn) {
  color: var(--on-navy-link);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-nav a:not(.btn):hover { color: var(--white); text-decoration: underline; text-underline-offset: 8px; }
.site-nav a[aria-current='page'] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* Below 960px the nav becomes a dropdown panel. It is absolutely
   positioned under the header, so opening it never shifts the page.
   Without JS (.no-js) it stays visible as a simple wrapped list. */
@media (max-width: 959px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-700);
    box-shadow: 0 16px 32px rgba(5, 15, 30, 0.35);
  }
  .js .site-nav[data-open='false'] { display: none; }
  .js .site-nav ul {
    width: min(var(--max), 100% - 2 * var(--gutter));
    margin: 0 auto;
    padding: 8px 0 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 18px;
  }
  .js .site-nav li + li { border-top: 1px solid var(--navy-700); }
  .js .site-nav a:not(.btn) { min-height: 52px; width: 100%; }
  .js .site-nav li:last-child { border-top: 0; padding-top: 12px; }
  .js .site-nav .btn { width: 100%; min-height: 56px; font-size: 17px; }

  .no-js .site-header .container { height: auto; flex-wrap: wrap; padding: 10px 0; }
  .no-js .site-nav ul { flex-wrap: wrap; gap: 4px 20px; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0 48px;
}
.hero .container {
  display: grid;
  gap: 22px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.light-link {
  color: var(--white);
  font-weight: 600;
  font-size: 17px;
  text-underline-offset: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.light-link:hover { color: var(--on-navy-link); }

@media (min-width: 720px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 32px; padding-top: 8px; }
  .light-link { font-size: 18px; }
}
@media (min-width: 1080px) {
  .hero { padding: 96px 0 120px; }
  .hero .container {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 80px;
    align-items: center;
  }
  .hero-copy { gap: 28px; }
}

.standards {
  background: var(--white);
  color: var(--charcoal);
  border-radius: 10px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  --focus: var(--navy);
}
.standards-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.standards-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); }
.standards-note {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.standards ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.standards li { display: flex; gap: 12px; align-items: flex-start; }
.standards svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.standards strong { display: block; font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1.4; }
.standards li span { display: block; font-size: 16px; line-height: 1.5; color: var(--muted); }
@media (max-width: 719px) {
  .standards-note, .standards li span { display: none; }
}
@media (min-width: 1080px) {
  .standards { padding: 36px; gap: 20px; box-shadow: 0 30px 60px rgba(5, 15, 30, 0.35); }
  .standards-head { padding-bottom: 16px; }
  .standards-title { font-size: 20px; }
  .standards ul { gap: 20px; }
  .standards svg { width: 24px; height: 24px; margin-top: 2px; }
  .standards strong { font-size: 18px; }
}

/* ---------- Trust bar ---------- */

.trust-bar {
  background: var(--charcoal);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.trust-bar ul {
  list-style: none;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.trust-bar li { display: flex; align-items: center; gap: 8px; line-height: 1.35; }
.trust-bar li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}
@media (min-width: 1080px) {
  .trust-bar { font-size: 15px; letter-spacing: 0.02em; }
  .trust-bar ul { display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding: 0; }
  .trust-bar li { gap: 10px; }
}

/* ---------- Sections ---------- */

.section { padding-top: var(--section); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.section-head-split { display: grid; gap: 16px; margin-bottom: 24px; }
.section-head-split > p { font-size: var(--body); line-height: 1.6; color: var(--slate); max-width: 420px; }
@media (min-width: 880px) {
  .section-head { margin-bottom: 48px; }
  .section-head-split {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
    margin-bottom: 44px;
  }
}

/* ---------- Steps ---------- */

.steps { list-style: none; padding: 0; display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
}
.step:last-child .step-num { background: var(--amber); color: var(--navy); }
.step-body { display: flex; flex-direction: column; gap: 4px; }
.step h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--navy); }
.step p { color: var(--slate); line-height: 1.55; }

@media (min-width: 880px) {
  .steps { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .steps::before {
    content: '';
    position: absolute;
    left: 28px;
    right: 33%;
    top: 27px;
    height: 2px;
    background: var(--line);
  }
  .step { position: relative; grid-template-columns: none; gap: 14px; align-content: start; }
  .step-num { width: 56px; height: 56px; font-size: 22px; box-shadow: 0 0 0 8px var(--mist); }
  .step-body { gap: 14px; }
  .step h3 { font-size: 26px; }
  .step p { line-height: 1.6; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--charcoal);
  text-decoration: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
a.card:hover { color: var(--charcoal); box-shadow: 0 12px 28px rgba(14, 34, 64, 0.1); }
.card-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.25; }
.card p { color: var(--slate); line-height: 1.55; }
a.card:hover .card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.topic-grid { display: grid; gap: 16px; }
.topic-card {
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  border-left: 4px solid var(--navy);
}
.topic-card svg { width: 30px; height: 30px; flex-shrink: 0; }
.topic-card .card-body { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.topic-card .card-title { font-size: 20px; }
.topic-card .card-more { display: none; font-size: 16px; font-weight: 700; color: var(--navy-700); }
@media (min-width: 720px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .topic-card {
    flex-direction: column;
    padding: 32px 28px;
    border-left: 1px solid var(--line);
    border-top: 4px solid var(--navy);
  }
  .topic-card svg { width: 36px; height: 36px; }
  .topic-card .card-body { gap: 16px; }
  .topic-card .card-title { font-size: 24px; line-height: 1.2; }
  .topic-card p { font-size: 17px; line-height: 1.6; flex-grow: 1; }
  .topic-card .card-more { display: block; }
}
@media (min-width: 1080px) {
  .topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.guide-grid { display: grid; gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; }
.guide-card .card-title { font-size: 20px; }
.guide-card p { font-size: 17px; }
.tag {
  align-self: flex-start;
  background: var(--navy-tint);
  color: var(--navy);
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
@media (min-width: 720px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .guide-card { gap: 14px; padding: 30px 28px; }
  .guide-card .card-title { font-size: 23px; }
  .guide-card p { line-height: 1.6; }
}
@media (min-width: 1080px) {
  .guide-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Latest guides: "All guides" sits in the header on desktop, below the cards on mobile. */
.latest { display: grid; grid-template-areas: 'head' 'cards' 'more'; }
.latest .section-head { grid-area: head; }
.latest .guide-grid { grid-area: cards; }
.latest .all-link { grid-area: more; justify-self: start; margin-top: 8px; }
@media (min-width: 880px) {
  .latest { grid-template-areas: 'head more' 'cards cards'; grid-template-columns: 1fr auto; }
  .latest .section-head { margin-bottom: 40px; }
  .latest .all-link { align-self: end; margin: 0 0 40px; }
}

/* ---------- Opt-in ---------- */

.optin {
  margin-top: var(--section);
  background: var(--charcoal);
  color: var(--white);
  padding: 44px var(--gutter);
  scroll-margin-top: 16px;
}
.optin-inner { display: grid; gap: 18px; }
.optin-copy { display: flex; flex-direction: column; gap: 18px; }
.optin .h2 { color: var(--white); line-height: 1.1; }
.optin-copy > p { color: var(--on-navy); line-height: 1.6; }

.ideas-card { display: none; }

@media (min-width: 720px) {
  .optin {
    width: min(var(--max), 100% - 2 * var(--gutter));
    margin-inline: auto;
    border-radius: 12px;
    padding: 56px 48px;
  }
}
@media (min-width: 1080px) {
  .optin { padding: 64px; }
  .optin-inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .optin-copy { gap: 20px; }
  .optin .h2 { font-size: 46px; line-height: 1.06; }
  .ideas-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
    color: var(--charcoal);
    border-radius: 4px;
    padding: 32px 28px;
    box-shadow: 16px 16px 0 var(--navy);
  }
}
.ideas-card-rule { height: 6px; width: 56px; background: var(--amber); }
.ideas-card-title { font-family: var(--font-head); font-weight: 800; font-size: 30px; line-height: 1.08; color: var(--navy); }
.ideas-card-sub { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ideas-card ol {
  list-style: none;
  padding: 14px 0 0;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--slate);
}
.ideas-card li:last-child { color: var(--muted); }

.optin-form { display: flex; flex-direction: column; gap: 10px; }
.optin-form label { font-size: 15px; font-weight: 600; color: var(--on-navy-link); }
.optin-row { display: flex; flex-direction: column; gap: 10px; }
.optin-form input[type='email'] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 18px;
}
.optin-form input[type='email']::placeholder { color: var(--muted); }
.optin-form input[aria-invalid='true'] { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.optin-form .btn { min-height: 56px; }
.optin-form .btn[disabled] { opacity: 0.7; cursor: progress; }
.optin-fine { font-size: 15px; line-height: 1.5; color: var(--on-navy); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 16px; font-weight: 600; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status[data-state] {
  padding: 12px 14px;
  border-radius: var(--radius);
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.form-status[data-state='success'] { border-left-color: #7FD1A5; }

@media (min-width: 720px) {
  .optin-row { flex-direction: row; gap: 12px; }
  .optin-form input[type='email'] { flex-grow: 1; min-height: 58px; padding: 0 18px; }
  .optin-form .btn { min-height: 58px; padding: 0 26px; flex-shrink: 0; }
}

/* ---------- Tools table ---------- */

.disclosure { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 440px; }

.tools-table {
  width: 100%;
  border-collapse: separate;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  border-spacing: 0;
}
.tools-table th, .tools-table td { text-align: left; padding: 0; font-weight: inherit; }
.tools-table thead th {
  background: var(--navy-tint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 28px;
}
.tools-table .tool-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); }
.tools-table .tool-use { font-size: 15px; color: var(--muted); }
.tools-table .tool-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

/* Mobile: each row is a two-line item with the labelled link on the right. */
@media (max-width: 719px) {
  .tools-table { display: block; }
  .tools-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tools-table tbody { display: block; }
  .tools-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: 'name link' 'use link';
    column-gap: 12px;
    align-items: center;
    padding: 12px 18px;
  }
  .tools-table tr + tr { border-top: 1px solid var(--line); }
  .tools-table .tool-name { grid-area: name; }
  .tools-table .tool-use { grid-area: use; }
  .tools-table .tool-link { grid-area: link; }
}
@media (min-width: 720px) {
  .tools-table { table-layout: fixed; }
  .tools-table col.c-name { width: 32%; }
  .tools-table col.c-link { width: 180px; }
  .tools-table tbody th, .tools-table tbody td { padding: 14px 28px; border-top: 1px solid var(--line); vertical-align: middle; }
  .tools-table thead th:last-child, .tools-table .tool-link { text-align: right; }
  .tools-table .tool-name { font-size: 20px; }
  .tools-table .tool-use { font-size: 17px; color: var(--slate); }
  .tools-table .tool-link a { font-size: 16px; }
}
@media (min-width: 1080px) {
  .tools-table col.c-name { width: 240px; }
  .tools-table col.c-link { width: 200px; }
}

/* ---------- About band ---------- */

.about {
  margin-top: var(--section);
  background: var(--navy-tint);
  padding: 48px 0;
}
.about .container { display: grid; gap: 18px; }
.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-tint);
  background: #DFE6EF;
}
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy .label { padding-top: 6px; }
.about-copy p { color: var(--slate); line-height: 1.65; }
.about-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  border-top: 1px solid var(--line-tint);
  padding-top: 20px;
}
.about-byline strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); }
.about-byline span { font-size: 16px; color: var(--muted); }
@media (min-width: 880px) {
  .about { padding: 96px 0; }
  .about .container { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: center; }
  .about-photo { aspect-ratio: 4 / 5; }
  .about-copy { gap: 22px; }
  .about-copy .label { padding-top: 0; }
  .about-copy p { line-height: 1.7; }
}

/* ---------- CTA band ---------- */

.cta-band {
  margin-top: var(--section);
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
}
.cta-band .container { display: flex; flex-direction: column; gap: 18px; }
.cta-band h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.375rem, 1.9rem + 1.9vw, 3.75rem);  /* 38 → 60 */
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cta-band p { color: var(--on-navy); line-height: 1.55; max-width: 620px; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 720px) { .cta-band p { font-size: 20px; } }
@media (min-width: 1080px) {
  .cta-band { padding: 72px 0; min-height: 360px; display: flex; align-items: center; }
  .cta-band .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; }
  .cta-band .btn { flex-shrink: 0; min-height: 62px; padding: 0 32px; font-size: 19px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 44px 0 32px;
  flex-shrink: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 28px;
}
.footer-about { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.footer-about p { font-size: 15px; line-height: 1.6; color: var(--on-navy); max-width: 320px; }
.footer-col h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.footer-col li { font-size: 16px; line-height: 1.35; }
.footer-col a { color: var(--on-navy-link); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col .soon { display: inline-flex; align-items: center; min-height: 40px; color: var(--on-navy); }
.footer-base {
  margin-top: 30px;
  border-top: 1px solid var(--slate);
  padding-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-navy);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-col h2 { font-size: 13px; }
}
@media (min-width: 1080px) {
  .site-footer { padding: 72px 0 40px; }
  .footer-grid { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 48px; }
  .footer-about { grid-column: auto; gap: 14px; }
  .footer-brand { font-size: 22px; }
  .footer-about p { font-size: 16px; }
  .footer-base { margin-top: 56px; padding-top: 24px; flex-direction: row; justify-content: space-between; gap: 24px; }
}

/* ---------- Hub template ---------- */

.hub-hero {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0 112px;
}
.hub-hero .container { display: flex; flex-direction: column; gap: 18px; }
.hub-hero .h1 { line-height: 1; }
.hub-hero .lead { max-width: 780px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--on-navy); }
.breadcrumb li + li::before { content: '/'; margin-right: 10px; }
.breadcrumb a { color: var(--on-navy); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--white); }
@media (min-width: 1080px) {
  .hub-hero { padding: 64px 0 168px; }
  .hub-hero .container { gap: 20px; }
  .hub-hero .h1 { font-size: clamp(3rem, 1.5rem + 3.3vw, 4.75rem); }
}

.feature {
  position: relative;
  margin-top: -80px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(14, 34, 64, 0.12);
  padding: 28px 20px;
  display: grid;
  gap: 24px;
}
.feature-link { display: flex; flex-direction: column; gap: 14px; color: var(--charcoal); text-decoration: none; }
.feature-link:hover { color: var(--charcoal); }
.feature-link:hover .feature-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.badge {
  align-self: flex-start;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.375rem);  /* 26 → 38 */
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.feature-link p { color: var(--slate); line-height: 1.6; }
.feature-more { font-weight: 700; font-size: 17px; color: var(--navy-700); }
.toc { background: var(--navy-tint); border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.toc-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: toc; }
.toc li { display: flex; gap: 12px; font-size: 17px; line-height: 1.45; counter-increment: toc; }
.toc li::before { content: counter(toc); font-weight: 800; color: var(--navy); }
@media (min-width: 1080px) {
  .feature {
    margin-top: -120px;
    padding: 44px 48px;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 56px;
    align-items: center;
  }
  .toc { padding: 26px; }
}

.hub-body { display: grid; gap: 48px; align-items: start; }
.hub-guides-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.hub-guides-head .h2 { font-size: clamp(1.75rem, 1.45rem + 1.2vw, 2.5rem); }
.hub-guides-head span { font-size: 15px; color: var(--muted); white-space: nowrap; }
.hub-guides .guide-card { padding: 22px 20px; }
.hub-guides .guide-card .card-title { font-size: 20px; }
@media (min-width: 720px) {
  .hub-guides .guide-card { padding: 28px 26px; gap: 12px; }
  .hub-guides .guide-card .card-title { font-size: 22px; }
  .hub-guides .guide-grid { gap: 20px; }
}
@media (min-width: 1080px) {
  .hub-body { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .hub-guides-head { margin-bottom: 28px; }
  .hub-aside { padding-top: 76px; }
}

.hub-aside { display: flex; flex-direction: column; gap: 24px; }
.aside-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aside-cta-rule { height: 4px; width: 44px; background: var(--amber); }
.aside-cta h2 { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.aside-cta p { font-size: 17px; line-height: 1.55; color: var(--on-navy); }
.aside-cta .btn { min-height: 54px; }

.tool-list { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tool-list h2 {
  padding: 14px 22px;
  background: var(--navy-tint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-list ul { list-style: none; padding: 0; }
.tool-list li { border-top: 1px solid var(--line); }
.tool-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px;
  text-decoration: none;
  color: var(--charcoal);
}
.tool-list li a:hover .tool-name { text-decoration: underline; }
.tool-list .tool-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); }
.tool-list .tool-meta { font-size: 15px; color: var(--muted); text-align: right; }
.tool-list .tool-meta em { font-style: normal; color: var(--navy-700); font-weight: 600; }
.tool-list .disclosure { padding: 14px 22px 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; max-width: none; }

.faq-section { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1080px) {
  .faq-section { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
  .faq-section .h2 { font-size: 40px; line-height: 1.1; }
}
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq details { padding: 16px 20px; border-left: 4px solid transparent; }
.faq details + details { border-top: 1px solid var(--line); }
.faq details[open] { border-left-color: var(--navy); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; width: 22px; height: 22px; }
.faq details[open] .v-bar { display: none; }
.faq details p { margin: 10px 0 4px; line-height: 1.65; color: var(--slate); max-width: 700px; }
@media (min-width: 720px) {
  .faq details { padding: 22px 28px; }
  .faq summary { font-size: 20px; }
}

/* ---------- Simple pages ---------- */

.page-hero { background: var(--navy); color: var(--white); padding: 40px 0 48px; }
.page-hero .container { display: flex; flex-direction: column; gap: 18px; }
.page-hero .h1 { font-size: clamp(2.5rem, 1.9rem + 2.4vw, 4rem); }
@media (min-width: 1080px) { .page-hero { padding: 64px 0 72px; } }

.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 2em;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.prose p, .prose li { color: var(--slate); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.todo-note {
  border-left: 4px solid var(--navy);
  background: var(--navy-tint);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
  color: var(--charcoal);
}
