/* home-v3.css — homepage, second hierarchy pass (Nov 2026)
   Three blocks only: hero, three intent paths, everything else (compact index),
   FAQ, trust strip. Cards are gone from the homepage; the intent panels carry
   the primary tools and the index carries the long tail as dense link lists. */

:root {
  --hx-ink: #17304f;
  --hx-muted: #60758a;
  --hx-line: #d9e6ee;
  --hx-line-soft: #eef3f7;
  --hx-paper: #fbfdff;
  --hx-gold: #c9a45e;
  --hx-gold-dark: #a5792d;
  --hx-gold-text: #8d6728;
}

/* ---------- hero ---------- */

/* Full-bleed band: the gradient used to stop at the 1120px container and leave
   two visible vertical seams. Padding keeps the same 1064px text column. */
.hx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  max-width: none;
  margin: 0 auto;
  padding: 56px max(28px, calc((100% - 1120px) / 2 + 28px)) 48px;
  background: linear-gradient(150deg, #eaf6fb 0%, #f7fbfd 46%, #fbfdfc 74%, #ffffff 100%);
}

.hx-eyebrow {
  margin: 0 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hx-gold-dark);
  font-weight: 600;
}

.hx-hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--hx-ink);
  max-width: 18ch;
  text-wrap: balance;
}

.hx-lede {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--hx-muted);
  max-width: 42ch;
}

.hx-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--hx-gold);
  color: var(--hx-ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(184, 138, 59, 0.28);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hx-btn:hover {
  background: #a98035;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(169, 128, 53, 0.34);
}

.hx-btn span { transition: transform 0.18s ease; }
.hx-btn:hover span { transform: translateX(3px); }

.hx-cta-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  color: #93a3b0;
}

.hx-alt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--hx-ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(201, 164, 94, 0.55);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.hx-alt:hover { color: var(--hx-gold-dark); border-color: var(--hx-gold-dark); }

.hx-privacy {
  margin: 26px 0 0;
  font-size: 13px;
  color: #7a8b99;
  letter-spacing: 0.01em;
}

.hx-hero-art { position: relative; display: flex; justify-content: center; }
.hx-hero-art .moon-orbit { width: 100%; max-width: 500px; }

/* ---------- section headers ---------- */

.hx-head { max-width: 62ch; margin-bottom: 30px; }

.hx-head h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 8px 0 12px;
  color: var(--hx-ink);
}

.hx-head p:not(.hx-eyebrow) {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--hx-muted);
}

/* ---------- returning visitors (only shown when localStorage has progress) ---------- */

.hx-return { max-width: 1120px; margin: 0 auto; padding: 22px 28px 0; }

.hx-return-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 15px 18px 15px 22px;
  border: 1px solid #e3cf9f;
  border-radius: 14px;
  background: #fffdf7;
}

.hx-return-label {
  margin: 0;
  padding-right: 22px;
  border-right: 1px solid #eee1c6;
  font-size: 12.5px;
  line-height: 1.5;
  color: #86755a;
  white-space: nowrap;
}

.hx-return-label b { font-weight: 600; color: var(--hx-ink); }

.hx-return-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.hx-return-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hx-return-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hx-gold-text);
}

.hx-return-next b {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hx-ink);
}

.hx-return-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: var(--hx-muted);
}

.hx-return-next em {
  flex: 0 0 auto;
  padding: 8px 15px;
  border: 1px solid #e3cf9f;
  border-radius: 999px;
  background: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--hx-gold-text);
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.hx-return-next:hover b { color: #8a6220; }
.hx-return-next:hover em {
  background: #fdf6e6;
  border-color: #d9bf85;
  color: #8a6220;
}

/* ---------- three intent paths ---------- */

.hx-paths { max-width: 1120px; margin: 0 auto; padding: 52px 28px 16px; }

.hx-path-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hx-path {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  background: var(--hx-paper);
  border: 1px solid var(--hx-line);
  border-radius: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hx-path:hover {
  border-color: #c2d5e0;
  box-shadow: 0 14px 30px rgba(23, 48, 79, 0.07);
}

.hx-path-kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9aa9b5;
  font-weight: 600;
}

.hx-path h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  color: var(--hx-ink);
}

.hx-path-q {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hx-muted);
}

.hx-path-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.hx-path-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--hx-line-soft);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--hx-ink);
  text-decoration: none;
}

.hx-path-links li:last-child a { border-bottom: 1px solid var(--hx-line-soft); }
.hx-path-links a span { font-size: 12.5px; font-weight: 400; color: #8b9aa5; white-space: nowrap; }
.hx-path-links a:hover { color: var(--hx-gold-dark); }
.hx-path-links a:hover span { color: var(--hx-gold-text); }

.hx-path-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--hx-gold-text);
  text-decoration: none;
}

.hx-path-go span { transition: transform 0.18s ease; }
.hx-path-go:hover { color: #7d5a1a; }
.hx-path-go:hover span { transform: translateX(3px); }

.hx-path-note {
  margin: 20px 0 0;
  font-size: 13.5px;
  color: #8194a0;
}

/* ---------- dense index of the remaining tools ---------- */

.hx-all { max-width: 1120px; margin: 0 auto; padding: 44px 28px 8px; }

.hx-cols {
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--hx-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 34px;
}

.hx-cols > li > h3 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hx-gold-text);
  font-weight: 700;
}

.hx-cols ul { list-style: none; margin: 0; padding: 0; }

.hx-cols ul li { border-top: 1px solid var(--hx-line-soft); }
.hx-cols ul li:first-child { border-top: 0; }

.hx-cols ul a {
  display: block;
  padding: 9px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--hx-ink);
  text-decoration: none;
  line-height: 1.4;
}

.hx-cols ul a span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: #8194a0;
  line-height: 1.45;
}

.hx-cols ul a:hover { color: var(--hx-gold-dark); }
.hx-cols ul a:hover span { color: #6d7f8b; }

/* ---------- FAQ spacing ---------- */

.home-faq { padding-top: 48px; }
.home-faq .section-heading { max-width: 820px; margin: 0 auto; padding: 0 0 8px; }
.home-faq .section-heading h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.015em;
  margin: 8px 0 0;
  color: var(--hx-ink);
}

/* ---------- trust strip ---------- */

.hx-trust { max-width: 1120px; margin: 0 auto; padding: 40px 28px 60px; }

.hx-trust ul {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--hx-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.hx-trust b {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hx-gold-text);
  font-weight: 700;
}

.hx-trust p { margin: 0; font-size: 13.5px; line-height: 1.62; color: var(--hx-muted); }

.hx-trust a {
  color: var(--hx-ink);
  border-bottom: 1px solid rgba(201, 164, 94, 0.55);
}

.hx-trust a:hover { color: var(--hx-gold-dark); border-color: var(--hx-gold-dark); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hx-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; }
  .hx-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 900px) {
  .hx-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 44px 22px 40px;
  }

  .hx-hero h1 { max-width: none; }

  .hx-hero-art {
    order: -1;
    max-width: 220px;
    margin: 0 auto;
    opacity: 0.92;
  }

  .hx-hero-art .moon-orbit { max-width: 220px; }

  .hx-path-grid { grid-template-columns: 1fr; gap: 14px; }
  .hx-paths, .hx-all, .hx-trust { padding-left: 22px; padding-right: 22px; }
  .hx-return { padding-left: 22px; padding-right: 22px; }

  /* Between 620 and 900 the pill eats the room a description needs; the
     sentence would end in an ellipsis, so it steps aside instead. */
  .hx-return-copy { display: none; }
}

@media (max-width: 760px) {
  .hx-return-inner { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .hx-return-label { padding: 0 0 11px; border-right: 0; border-bottom: 1px solid #eee1c6; white-space: normal; }
  .hx-return-next { flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; }
  .hx-return-copy { display: -webkit-box; width: 100%; -webkit-line-clamp: 2; }
  .hx-return-next em { width: 100%; text-align: center; padding: 11px 15px; }
}

@media (max-width: 620px) {
  .hx-hero { padding: 30px 18px 34px; }
  .hx-hero h1 { font-size: 34px; }
  .hx-lede { font-size: 16px; margin-bottom: 22px; }
  .hx-cta { gap: 12px; }
  .hx-btn { width: 100%; justify-content: center; }
  .hx-privacy { margin-top: 18px; }

  .hx-paths { padding-top: 38px; }
  .hx-path { padding: 20px 18px 18px; }
  .hx-path h3 { font-size: 21px; }

  .hx-cols { grid-template-columns: 1fr; gap: 0; }
  .hx-cols > li + li { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--hx-line); }
  .hx-trust ul { grid-template-columns: 1fr; gap: 18px; }

}

/* narrow screens: the illustration costs more than it gives, keep the action above the fold */
@media (max-width: 700px) {
  .hx-hero-art { display: none; }
}

/* 2026-11-14: the eyebrow's first word now links to the explainer; keep it looking like an eyebrow, not a body link. */
.hx-eyebrow a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(165,121,45,.35)}
.hx-eyebrow a:hover{border-bottom-color:currentColor}
