/* Home-only P1 light rules, loaded only by index.html after design-p0.css.
   Split out of design-p0.css so /book, /about and the legal pages do not download them (render-blocking CSS, no build step). */
.home .hero { padding-top: clamp(124px, 11vw, 160px); }
.home .pill { padding: 8px 16px 8px 8px; gap: 12px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border-color: rgba(196, 162, 108, 0.32); }
.home .pill__dot { width: 22px; height: 22px; display: grid; place-items: center; background: var(--brass-soft); box-shadow: inset 0 0 0 1px var(--brass-line); }
.home .pill__dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-hi); box-shadow: 0 0 10px rgba(236, 211, 162, 0.8); }
.home .hero__title { letter-spacing: -0.035em; }
.home .dash-wrap { margin-top: clamp(48px, 5.2vw, 76px); }
.dash-marks { position: absolute; top: -14px; bottom: -14px; left: 50%; width: min(1208px, calc(100% + 28px)); transform: translateX(-50%); pointer-events: none; --c: rgba(196, 162, 108, 0.55);
  background:
    linear-gradient(var(--c), var(--c)) left top / 20px 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px 20px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 20px 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px 20px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 20px 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px 20px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 20px 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px 20px no-repeat; }
.dash-marks span { position: absolute; top: -26px; left: 0; font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bp-text); }
.home .dash { border-radius: 20px; box-shadow: var(--lift-dark); }
.home .dash__bar { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.home .dash__agents li.is-active { box-shadow: inset 2px 0 0 var(--brass); }
.home .strip { border-top-color: rgba(196, 162, 108, 0.28); }
.home .strip__item { position: relative; }
.home .strip__item::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; transform: rotate(45deg); background: var(--ink); border: 1px solid var(--brass); }
.home .strip__item + .strip__item::before { left: -4px; }
/* Phone hero: editorial left alignment, crop marks without labels */
@media (max-width: 640px) {
  /* Editorial left alignment on phone; larger headline. */
  .home .hero__copy { align-items: flex-start; text-align: left; }
  .home .hero__title { font-size: clamp(3.1rem, 14.4vw, 3.7rem); line-height: .94; margin-top: 22px; }
  .home .hero__lede { margin-top: 22px; font-size: 1.06rem; }
  .home .hero__actions { width: 100%; margin-top: 28px; }
  .home .hero__actions .btn--link { align-self: flex-start; padding-left: 0; }
  .home .hero__note { text-align: left; margin-inline: 0; }
  .home .pill { font-size: 14px; letter-spacing: .06em; }
  .dash-marks { top: -10px; bottom: -10px; width: calc(100% + 20px); }
  .dash-marks span { display: none; }
}
.home .hero.theme-paper { background: var(--paper); }
.home .hero .hero__bg::before { background-image: linear-gradient(to right, var(--grid-ink) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-ink) 1px, transparent 1px); }
.home .hero .hero__bg::after { background: radial-gradient(closest-side, rgba(196, 162, 108, 0.16), rgba(196, 162, 108, 0.05) 55%, transparent 100%); }
.home .hero__lede { color: var(--on-light-muted); }
.home .pill { background: linear-gradient(180deg, var(--sheet), var(--bone)); border-color: rgba(125, 95, 48, 0.34); color: var(--ink); box-shadow: 0 1px 2px rgba(11,12,14,.05); }
.home .pill__dot { background: var(--brass-tint); box-shadow: inset 0 0 0 1px rgba(125, 95, 48, 0.3); }
.home .pill__dot::after { background: var(--brass-deep); box-shadow: none; }
.home .hero__note { color: var(--on-light-muted); }
.dash-marks { --c: rgba(125, 95, 48, 0.7); }
.dash-marks span { color: var(--brass-deep); }
.home .dash-wrap::before { background: radial-gradient(50% 60% at 50% 40%, rgba(196, 162, 108, 0.22), rgba(196, 162, 108, 0.06) 60%, transparent); }
.home .dash { background: var(--sheet) padding-box, var(--edge-light) border-box; box-shadow: var(--shadow-paper-lg); }
.home .dash::after { background: linear-gradient(90deg, transparent, rgba(125, 95, 48, 0.55), transparent); }
.home .dash__bar { background: linear-gradient(180deg, var(--paper), var(--bone)); }
.home .dash__dots i { background: rgba(11, 12, 14, 0.14); }
.home .dash__side { background: linear-gradient(180deg, rgba(244, 241, 234, 0.6), transparent); }
.home .dash__agents li.is-active { background: var(--brass-tint); }
.home .kpi__bars i { background: rgba(11, 12, 14, 0.12); }
.home .kpi__jobs i { background: rgba(11, 12, 14, 0.08); }
.home .dash .motion-toggle:hover { background: rgba(11, 12, 14, 0.04); }
.home .strip { border-top-color: var(--brass-rule); }
.home .strip__item::before { background: var(--paper); border-color: var(--brass-deep); }
/* Marquee: a linen strip with printed outline names */
.home .marquee { background: var(--linen); color: var(--ink); border-top: 1px solid var(--brass-rule); border-bottom: 1px solid var(--brass-rule); }
.home .marquee__track span { -webkit-text-stroke: 1px rgba(125, 95, 48, 0.8); }
.home .marquee__track i { background: var(--brass-deep); }
.home .marquee__ctl { background: var(--linen); box-shadow: 0 0 0 1px var(--line-light); }
/* flat 64px drafting grid fading out over the top 420px, at half strength (opacity .5 = ink .0275 effective) */
.home .hero .hero__bg::before { background-size: 64px 64px; background-position: center top; opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 420px); mask-image: linear-gradient(to bottom, #000, transparent 420px); }
/* the printed command center, centered, 1120px max */
.home .dash { max-width: 1120px; }
.dash-marks { width: min(1148px, calc(100% + 28px)); }
@media (max-width: 640px) { .dash-marks { width: calc(100% + 20px); } }
/* Crop-mark labels (641px and up): 20px+ between the hero note and the labels above the command center */
@media (min-width: 641px) { .home .dash-wrap { margin-top: clamp(60px, 5.2vw, 76px); } }
.theme-light .btn--link:hover, .theme-paper .btn--link:hover { text-decoration-color: var(--brass-deep); }
.home main { counter-reset: sec; }
.home main > .section { counter-increment: sec; }
.home .section .eyebrow::before {
  content: counter(sec, decimal-leading-zero); width: auto; height: auto; opacity: 1; background: none;
  padding-right: 44px; background: linear-gradient(currentColor, currentColor) right 2px center / 30px 1px no-repeat; }
.home .section .head { padding-bottom: 0; }
.home .demo__shell, .home .plans, .home .steps { margin-top: var(--head-gap); }
/* every section boundary gets a hairline that catches the light */
.home main > .section + .section { box-shadow: inset 0 1px 0 rgba(196, 162, 108, 0.14); }
@media (max-width: 640px) {
  .home .section.theme-light::before, .home .section.theme-paper::before { height: 240px; background-size: 48px 48px; }
}
.home main > .section + .section { box-shadow: inset 0 1px 0 var(--brass-rule); }
.home .compare { background: var(--sheet); box-shadow: var(--shadow-paper); }
/* UX Nov 19: the section grid at half strength */
.home .section.theme-light::before, .home .section.theme-paper::before { opacity: .5; }
@media (min-width: 761px) {
  .home .why__title { font-size: clamp(3rem, 6.2vw, 6rem); line-height: 0.98; letter-spacing: -0.03em; max-width: 15ch; }
  .home .why__body { margin-top: var(--head-gap); }
}
.home .compare { border-radius: var(--radius-lg); }
.home .compare thead th.is-new { color: var(--brass-deep); }
.sec-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sec-bg--stage::before { content: ""; position: absolute; left: 50%; top: -40%; width: 1700px; height: 1400px; margin-left: -850px;
  background: repeating-radial-gradient(circle at 50% 0, rgba(196,162,108,.07) 0 1px, transparent 1px 88px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.sec-bg--stage::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1100px; height: 300px; margin-left: -550px;
  background: radial-gradient(50% 100% at 50% 100%, rgba(196,162,108,.13), transparent 70%); }
.home .demo__shell { border-radius: 24px; background: var(--card-dark) padding-box, var(--edge-brass) border-box; box-shadow: var(--lift-dark); }
.home .demo__tabs { margin: 10px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.28); }
.home .demo__tab { border-radius: 12px; padding: 16px clamp(14px, 2vw, 24px); }
.home .demo__tab + .demo__tab { border-left: 0; }
.home .demo__tab::after { left: 18px; right: auto; width: 28px; bottom: 8px; height: 2px; border-radius: 2px; }
.home .demo__tab[aria-selected="true"] { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 20px -12px rgba(0,0,0,.8); }
.home .demo__panel { min-height: 700px; }
.home .demo__title { letter-spacing: -0.02em; }
.home .chat, .home .cadence, .home .coach { border-radius: 20px; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 50px 90px -45px rgba(0,0,0,.95), 0 0 80px -30px rgba(196,162,108,.25); }
@media (max-width: 640px) {
  .home .demo__tabs { margin: 0 0 8px; padding: 0; border: 0; background: none; }
  .home .demo__shell { background: none; border: 0; box-shadow: none; }
  .home .demo__tab::after { display: none; }
  .home .demo__tab[aria-selected="true"] { background: var(--on-dark); box-shadow: none; }
}
.home .demo.theme-paper { background: var(--paper); }
.sec-bg--stage::before { background: repeating-radial-gradient(circle at 50% 0, rgba(11, 12, 14, 0.05) 0 1px, transparent 1px 88px); }
.sec-bg--stage::after { background: radial-gradient(50% 100% at 50% 100%, rgba(196, 162, 108, 0.16), transparent 70%); }
.home .demo__shell { box-shadow: 0 0 0 1px rgba(11, 12, 14, 0.2), 0 2px 4px rgba(11, 12, 14, 0.08), 0 40px 80px -40px rgba(11, 12, 14, 0.45), 0 100px 160px -80px rgba(11, 12, 14, 0.55); }
.home .chat, .home .cadence, .home .coach { box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 30px 60px -40px rgba(0,0,0,.8); }
@media (max-width: 640px) {
  .home .demo__shell { background: var(--card-dark) padding-box, var(--edge-brass) border-box; border: 1px solid transparent; border-radius: 20px; padding: 8px; }
  .home .demo__tabs { margin: 0 0 8px; }
}
.home .ledger { border-radius: 22px; background: var(--card-dark) padding-box, var(--edge-brass) border-box;
  box-shadow: var(--lift-dark), 20px -20px 0 -7px #1b1d21, 20px -20px 0 -6px rgba(241,238,231,.12), 40px -40px 0 -14px #16171b, 40px -40px 0 -13px rgba(241,238,231,.08); }
.home .crm__grid { isolation: isolate; }
.sec-bg--plate::before { content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 70%;
  background-image: linear-gradient(to right, var(--grid-dark) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-dark) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 1.4; -webkit-mask-image: radial-gradient(60% 55% at 60% 50%, #000, transparent); mask-image: radial-gradient(60% 55% at 60% 50%, #000, transparent); }
.home .plan { background: linear-gradient(180deg, #fffefb, var(--bone)); border-color: rgba(11,12,14,.09); box-shadow: var(--lift-light); }
.home .plan--feature { background: var(--card-dark) padding-box, var(--edge-brass) border-box; box-shadow: var(--lift-dark); }
.home .calc__card, .home .custom { box-shadow: var(--lift-light); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home .plan, .home .ledger { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s; }
  .home .plan:hover { transform: translateY(-4px); }
}
.home .plan { background: linear-gradient(180deg, var(--sheet), var(--paper)); border-color: rgba(11, 12, 14, 0.09); box-shadow: var(--shadow-paper); }
.home .plan--feature { border: 1px solid transparent; background: var(--sheet) padding-box, var(--edge-brass-light) border-box; color: var(--ink);
  box-shadow: var(--shadow-paper-lg), inset 0 3px 0 var(--brass-deep); }
.home .plan--feature:hover { box-shadow: var(--shadow-paper-lg), inset 0 3px 0 var(--brass-deep); }
.home .ledger { background: var(--sheet) padding-box, var(--edge-brass-light) border-box;
  box-shadow: var(--shadow-paper-lg), 18px -18px 0 -7px var(--bone), 18px -18px 0 -6px rgba(11, 12, 14, 0.1), 36px -36px 0 -14px var(--linen), 36px -36px 0 -13px rgba(11, 12, 14, 0.08); }
.home .ledger__bar i, .home .ledger__bar span { --bar-bg: rgba(11,12,14,.08); }
.home .crm .sec-bg--plate { --grid-dark: rgba(11, 12, 14, 0.06); }
.home .custom { background: var(--sheet) padding-box, var(--edge-brass-light) border-box; border: 1px solid transparent; box-shadow: var(--shadow-paper-lg); color: var(--ink); }
.home .custom::before, .home .custom::after { opacity: .35; }
.home .calc__card { background: var(--sheet); box-shadow: var(--shadow-paper-lg); }
.home .calc__result { background: linear-gradient(180deg, var(--bone), var(--paper)); box-shadow: inset 1px 0 0 var(--line-light), inset 0 3px 0 var(--brass-deep); }
.home .calc__result::before, .home .calc__result::after { opacity: .3; }
.home .spot { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 95, 48, 0.05), transparent 64%); }
.home .process .steps { position: relative; border-top: 0; padding-top: 40px; }
.home .process .steps::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px;
  background: linear-gradient(90deg, var(--brass) 0%, rgba(196,162,108,.35) 70%, rgba(196,162,108,.08)); transform-origin: left; }
.home .process .step { position: relative; border-left-color: var(--line); }
.home .process .step::before { content: ""; position: absolute; top: -40px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--brass); box-shadow: 0 0 0 5px rgba(196,162,108,.1); }
.home .process .step + .step::before { left: 22px; }
.home .process .step__num { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .js .home .process .steps::before { transform: scaleX(0); transition: transform 1.6s var(--ease-out) .2s; }
  .js .home .process .steps.is-in::before { transform: none; }
}
@media (max-width: 960px) { .home .process .step:nth-child(3)::before { left: 0; } }
@media (max-width: 640px) {
  .home .process .steps { padding-top: 0; padding-left: 26px; }
  .home .process .steps::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--brass), rgba(196,162,108,.15)); transform-origin: top; }
  .js .home .process .steps::before { transform: none; }
  .home .process .step::before, .home .process .step + .step::before { left: -26px; top: 6px; }
  .home .process .step + .step::before { top: 22px; }
}
.home .process.theme-paper { background: var(--paper); }
.home .process .steps::before { background: linear-gradient(90deg, var(--brass-deep) 0%, rgba(125, 95, 48, 0.35) 70%, rgba(125, 95, 48, 0.08)); }
.home .process .step::before { background: var(--paper); border-color: var(--brass-deep); box-shadow: 0 0 0 5px rgba(125, 95, 48, 0.1); }
.home .process .step__num { background: linear-gradient(100deg, #6a5028 0%, #7d5f30 50%, #6a5028 100%); -webkit-background-clip: text; background-clip: text; color: transparent; } /* two dark --foil-deep stops (>=4.80:1), as on the emphasis words */
@media (max-width: 640px) { .home .process .steps::before { background: linear-gradient(180deg, var(--brass-deep), rgba(125, 95, 48, 0.15)); } }
.home .book.surf-linen { background: var(--linen); }
.sticky-cta.btn--dark { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 16px 40px -12px rgba(11, 12, 14, 0.5); }
/* closing band: centered type only on linen, brass hairline above */
.home .book.surf-linen { box-shadow: inset 0 1px 0 var(--brass-rule); }
.home .book .book__band { display: flex; flex-direction: column; align-items: center; text-align: center; }
.home .book .book__title { max-width: 16ch; margin-inline: auto; }
.home .book .btn--dark { margin-top: clamp(28px, 3vw, 40px); }
.home .book .book__helper { margin-top: 16px; color: var(--on-light-muted); }
/* Marquee mask fades to the wrapper, not to the page's ink body */
.home .marquee-wrap { background: var(--linen); }
