/* The public home page has its own editorial layout; app pages keep the shared shell. */
:root {
  --home-paper: #f8f6f0;
  --home-ink: #213d34;
  --home-muted: #59635b;
  --home-line: #d7ddd3;
  --home-wash: #e9eee5;
  --home-accent: #ad442f;
}
:root[data-theme="dark"] {
  --home-paper: #151d19;
  --home-ink: #eaf0e5;
  --home-muted: #b6c2b5;
  --home-line: #39483e;
  --home-wash: #243329;
  --home-accent: #ffae91;
}
body.home-page {
  margin: 0;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--site-font-body);
  -webkit-font-smoothing: antialiased;
}
.home-page .site-header-inner {
  max-width: 1320px;
  border-radius: 12px;
  box-shadow: none;
}
.home-page .site-footer { max-width: 1280px; }
.home-page a:focus-visible,
.home-page summary:focus-visible {
  outline: 3px solid var(--home-accent);
  outline-offset: 5px;
}
.home-skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 14px 20px;
  background: var(--home-paper);
  color: var(--home-ink);
}
.home-skip:focus { top: 16px; }
.home-wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.home-page main { overflow: clip; container: home / inline-size; }
.home-page section[id] { scroll-margin-top: 150px; }
.home-eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
  padding-block: 86px 82px;
}
.home-hero h1 {
  margin: 0;
  max-width: 10ch;
  font-family: var(--site-font-display);
  font-size: clamp(48px, 5.1vw, 72px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.home-hero h1 em {
  display: block;
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--home-accent);
  font-weight: 400;
  letter-spacing: -.045em;
}
.home-intro {
  max-width: 470px;
  margin: 25px 0 0;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.8;
}
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid #244d3d;
  border-radius: 6px;
  background: #244d3d;
  color: #fffdf6;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.home-button:hover { background: #16382b; }
.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--home-line);
}
.home-link:hover { text-decoration-color: currentColor; }
.home-access { margin: 14px 0 0; font-size: 12px; color: var(--home-muted); }
.home-access a { color: inherit; text-underline-offset: 3px; }
.home-desk { position: relative; padding: 30px 28px; background: #254a3c; border-radius: 10px; }
.home-desk-label { margin: 0 0 20px; color: #d8e5d2; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-desk h2 { margin: 0 0 24px; max-width: 18ch; color: #fffdf6; font-family: Georgia, serif; font-size: clamp(28px, 2.7vw, 38px); font-weight: 400; line-height: 1.15; }
.home-desk figure { margin: 0; }
.home-desk figure > a, .home-shot > a { display: block; border-radius: 3px; }
.home-desk img { display: block; width: 100%; height: auto; border: 1px solid #779180; border-radius: 4px; }
.home-desk figcaption { margin-top: 12px; color: #d8e5d2; font-size: 11px; }
.home-jump {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding-block: 22px;
  gap: 24px;
}
.home-jump a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-left: 22px; border-left: 1px solid var(--home-line); color: var(--home-ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.home-jump a:hover { color: var(--home-accent); }
.home-jump a span { color: var(--home-accent); }
.home-story { padding-block: 92px 36px; }
.home-story-heading { margin-bottom: 65px; max-width: 620px; }
.home-story-heading > p:not(.home-eyebrow) { color: var(--home-muted); line-height: 1.7; }
.home-page h2 { text-wrap: balance; }
.home-story-heading h2,
.home-more h2,
.home-questions h2 { margin: 0; font-family: var(--site-font-display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; }
.home-feature { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; padding-bottom: 78px; }
.home-feature + .home-feature { padding-top: 60px; border-top: 1px solid var(--home-line); }
.home-feature-reverse { grid-template-columns: 1.15fr .85fr; }
.home-feature-reverse .home-feature-copy { order: 2; }
.home-feature-reverse .home-shot { order: 1; }
.home-feature-copy h3 { margin: 0; max-width: 18ch; font-family: Georgia, serif; font-size: clamp(30px, 3vw, 43px); font-weight: 400; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.home-feature-copy p:not(.home-eyebrow) { margin: 20px 0 10px; color: var(--home-muted); font-size: 15px; line-height: 1.8; }
.home-feature-copy .home-eyebrow { color: var(--home-accent); margin-bottom: 18px; }
.home-feature-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.home-shot { min-width: 0; margin: 0; padding: 16px; background: var(--home-wash); border: 1px solid var(--home-line); border-radius: 7px; }
.home-shot img { display: block; width: 100%; height: auto; border-radius: 3px; }
.home-shot figcaption { padding: 12px 3px 0; color: var(--home-muted); font-size: 11px; line-height: 1.5; }
.home-more { padding: 62px 0 70px; background: var(--home-wash); }
.home-more-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.home-more-heading p { max-width: 320px; margin: 0; color: var(--home-muted); font-size: 14px; line-height: 1.7; }
.home-tool-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; margin-top: 34px; }
.home-tool { padding: 25px 0 22px; border-top: 1px solid var(--home-line); }
.home-tool h3 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.home-tool p { max-width: 470px; margin: 10px 0 5px; color: var(--home-muted); font-size: 14px; line-height: 1.75; }
.home-tool .home-link { font-size: 12px; }
.home-questions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-block: 86px; }
.home-questions-heading p:not(.home-eyebrow) { color: var(--home-muted); font-size: 14px; line-height: 1.75; }
.home-faq { border-top: 1px solid var(--home-line); }
.home-faq details { border-bottom: 1px solid var(--home-line); }
.home-faq summary { position: relative; cursor: pointer; padding: 23px 30px 23px 0; font-size: 15px; font-weight: 800; list-style: none; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; position: absolute; right: 3px; top: 19px; font-size: 24px; font-weight: 400; }
.home-faq details[open] summary::after { content: "−"; }
.home-faq details p { margin: 0 0 24px; color: var(--home-muted); font-size: 14px; line-height: 1.8; }
.home-faq a { color: inherit; text-underline-offset: 3px; }
.home-close { padding: 58px; background: #254a3c; color: #fffdf6; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.home-close h2 { max-width: 21ch; margin: 0; font-family: Georgia, serif; font-size: clamp(31px, 3.4vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; }
.home-close p { margin: 17px 0 0; color: #d8e5d2; font-size: 14px; line-height: 1.75; }
.home-close .home-button { background: #e9edcc; border-color: #e9edcc; color: #213d34; white-space: nowrap; }
.home-close .home-button:hover { background: #f6f8e3; }
.home-close .home-access { text-align: center; font-size: 12px; }
@container home (min-width: 1500px) { .home-hero { padding-block: 105px; } }
@container home (max-width: 1050px) {
  .home-wrap { width: calc(100% - 48px); }
  .home-hero { gap: 32px; padding-block: 60px 72px; }
  .home-hero h1 { font-size: clamp(44px, 5.8vw, 64px); }
  .home-desk { padding: 25px 20px; }
  .home-feature, .home-questions { gap: 36px; }
  .home-jump { gap: 16px; grid-template-columns: repeat(3, 1fr); }
  .home-jump a { padding-left: 16px; }
}
@container home (max-width: 760px) {
  .home-wrap { width: calc(100% - 40px); }
  .home-page section[id] { scroll-margin-top: 115px; }
  .home-hero { grid-template-columns: 1fr; gap: 42px; padding-block: 42px 57px; }
  .home-hero h1 { max-width: 13ch; font-size: clamp(46px, 9cqi, 65px); }
  .home-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .home-intro { margin-top: 20px; font-size: 15px; max-width: 520px; }
  .home-actions { gap: 20px; margin-top: 23px; }
  .home-desk { padding: 24px 20px; }
  .home-desk h2 { max-width: 22ch; font-size: 29px; }
  .home-jump { grid-template-columns: 1fr; gap: 0; padding-block: 10px; }
  .home-jump a { border-left: 0; border-top: 1px solid var(--home-line); padding: 13px 0; }
  .home-story { padding-block: 54px 0; }
  .home-story-heading { margin-bottom: 38px; }
  .home-feature, .home-feature-reverse { grid-template-columns: 1fr; gap: 24px; padding-bottom: 40px; }
  .home-feature + .home-feature { padding-top: 38px; }
  .home-feature-reverse .home-feature-copy, .home-feature-reverse .home-shot { order: initial; }
  .home-feature-copy h3 { max-width: 21ch; font-size: 33px; }
  .home-shot { padding: 10px; }
  .home-more { padding-block: 43px 26px; }
  .home-more-heading { display: block; }
  .home-more-heading p { margin-top: 18px; }
  .home-tool-list { grid-template-columns: 1fr; margin-top: 24px; }
  .home-questions { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; }
  .home-close { flex-direction: column; align-items: start; gap: 27px; padding: 32px 25px; }
  .home-close h2 { font-size: 34px; }
  .home-close .home-access { text-align: left; }
}
/* The shared desktop navigation can wrap to several rows on narrow screens. */
@media (max-width: 1050px) {
  .home-page .site-header { position: relative; }
  .home-page section[id] { scroll-margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
