/* Public homepage only. All colors inherit the approved shared palette. */
.public-home { background: var(--surface-soft); }
.public-home h1, .public-home h2, .public-home h3, .home-brand { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.public-home h1, .public-home h2, .public-home h3, .public-home p { margin-top: 0; }
.public-home h2, .public-home h3 { line-height: 1.25; }
.public-home p { color: var(--muted); }
.home-container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.home-header { background: var(--navy); color: var(--on-dark); }
.home-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 86px; }
.public-home .home-brand { font-size: 2rem; text-decoration: none; color: var(--ink); line-height: 1; }
.home-header .home-brand { color: var(--on-dark); }
.home-nav { display: flex; align-items: center; gap: 2.2rem; }
.home-nav > a:not(.home-button) { color: var(--on-dark); text-decoration: none; }
.home-nav > a:not(.home-button):hover { text-decoration: underline; }
.public-home .home-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .8rem 1.3rem; border: 1px solid var(--primary); border-radius: 6px; color: var(--on-dark); background: var(--primary); font-weight: 650; text-decoration: none; text-align: center; line-height: 1.45; }
.public-home .home-button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.home-header .home-button, .home-final .home-button { border-color: var(--focus-on-dark); }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: 82px 76px; }
.home-eyebrow { color: var(--muted); font-size: .76rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.public-home h1 { font-size: clamp(2.5rem, 4.1vw, 3.9rem); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 1.5rem; }
.home-lead { font-size: 1.08rem; line-height: 1.75; margin-bottom: 1rem; }
.home-promise { font-size: .95rem; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.9rem; }
.home-text-link { font-weight: 600; }
.home-note { font-size: .8rem; line-height: 1.6; margin: 1.2rem 0 0; }
.home-preview { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 1rem; }
.home-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; background: var(--navy); color: var(--on-dark); font-size: .76rem; }
.home-preview-header .home-brand { color: var(--on-dark); font-size: 1.45rem; }
.home-preview-body { padding: 1.7rem; }
.home-preview-title { display: flex; align-items: flex-start; gap: .8rem; flex-wrap: wrap; }
.home-preview-title h2 { font-size: 1.55rem; margin-bottom: .6rem; flex: 1 1 170px; }
.home-example-label { font-size: .65rem; background: var(--neutral-bg); color: var(--neutral); padding: .35rem .55rem; border-radius: 4px; white-space: nowrap; }
.home-preview-period { font-size: .76rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1rem; }
.home-example-company { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.home-company-mark { display: grid; place-items: center; width: 36px; height: 36px; background: var(--neutral-bg); color: var(--neutral); border-radius: 50%; font-family: Georgia, serif; }
.home-example-details { margin: 1rem 0; }
.home-example-details > div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.home-example-details dt { font-size: .85rem; font-weight: 650; }
.home-example-details dd { margin: .25rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.55; }
.home-example-source { margin-bottom: 0; font-size: .78rem; }
.home-preview figcaption { border-top: 1px solid var(--line); padding: .85rem 1.7rem; font-size: .7rem; color: var(--muted); line-height: 1.6; }
.home-benefits { background: var(--surface); border-block: 1px solid var(--line); padding-block: 38px; }
.home-three-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.home-benefits .home-three-columns > div { position: relative; padding-left: 3rem; }
.home-small-mark { position: absolute; left: 0; top: .1rem; font-size: .85rem; color: var(--neutral); border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; }
.home-benefits h2 { font-size: 1.4rem; margin-bottom: .55rem; }
.home-benefits p { font-size: .9rem; margin-bottom: 0; }
.home-section { padding-block: 66px; }
.home-section-title { font-size: clamp(1.8rem, 2.8vw, 2.6rem); letter-spacing: -.025em; margin-bottom: 2rem; }
.home-steps { padding: 0; margin: 0; list-style: none; }
.home-step-number { display: block; font-size: 2rem; font-family: Georgia, serif; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; padding-bottom: .6rem; }
.home-steps h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.home-steps p { font-size: .94rem; margin: 0; }
.home-method { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-top: 1px solid var(--line); padding-top: 45px; }
.home-method h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.home-method p { font-size: .94rem; }
.home-beta-panel { background: var(--watchlist); padding: 2rem; border-radius: 8px; }
.home-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; }
.home-about p { font-size: .95rem; }
.home-faq { padding-bottom: 70px; }
.home-faq details { border-top: 1px solid var(--line); }
.home-faq details:last-child { border-bottom: 1px solid var(--line); }
.home-faq summary { cursor: pointer; font-weight: 600; padding: 1.2rem .3rem; }
.home-faq details p { max-width: 820px; font-size: .95rem; padding: 0 1.3rem .75rem; margin: 0; }
.home-final { background: var(--navy); }
.home-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 36px; }
.home-final h2 { color: var(--on-dark); font-size: 2rem; margin-bottom: .5rem; }
.home-final p { color: var(--on-dark); margin: 0; font-size: .9rem; }
.home-final .home-button { flex: 0 0 auto; }
.home-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; padding-block: 26px; }
.home-footer nav { display: flex; gap: 1.5rem; font-size: .8rem; }
.home-footer p { margin: 0 0 0 auto; font-size: .76rem; }
.home-skip { position: absolute; top: -100px; left: 1rem; background: var(--surface); color: var(--ink); padding: 1rem; z-index: 2; }
.home-skip:focus { top: .5rem; }
.public-home :focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.home-header :focus-visible, .home-final :focus-visible { outline-color: var(--focus-on-dark); }
.public-home [id] { scroll-margin-top: 1.5rem; }
@media (max-width: 1000px) {
  .home-container { width: calc(100% - 48px); }
  .home-header-inner { gap: 1rem; }
  .home-nav { gap: 1.3rem; font-size: .9rem; }
  .home-hero { gap: 2rem; padding-block: 58px; }
  .home-three-columns { gap: 1.5rem; }
  .home-benefits .home-three-columns > div { padding-left: 0; }
  .home-small-mark { position: static; margin-bottom: .8rem; }
  .home-method { gap: 2rem; }
}
@media (max-width: 740px) {
  .home-container { width: calc(100% - 40px); }
  .home-header-inner { padding-block: 18px; flex-wrap: wrap; }
  .home-nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: .9rem; }
  .home-nav .home-nav-button { width: 100%; }
  .home-hero { grid-template-columns: 1fr; padding-block: 42px; gap: 2rem; }
  .public-home h1 { font-size: clamp(2.2rem, 8.5vw, 3.3rem); }
  .home-eyebrow { letter-spacing: .1em; font-size: .68rem; }
  .home-actions { align-items: flex-start; gap: 1rem; }
  .home-preview-body { padding: 1.25rem; }
  .home-preview figcaption { padding-inline: 1.25rem; }
  .home-three-columns, .home-method, .home-about { grid-template-columns: 1fr; gap: 1.8rem; }
  .home-benefits .home-three-columns > div { padding-left: 3rem; }
  .home-small-mark { position: absolute; }
  .home-section { padding-block: 42px; }
  .home-section-title { margin-bottom: 1.5rem; }
  .home-method { padding-top: 36px; }
  .home-beta-panel { padding: 1.4rem; }
  .home-about { gap: .25rem; }
  .home-final-inner { flex-direction: column; align-items: flex-start; }
  .home-footer { gap: 1.25rem; }
  .home-footer p { flex-basis: 100%; margin-left: 0; }
  .home-faq { padding-bottom: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.public-home) { scroll-behavior: auto; }
}
