/* Public homepage only: estimate and invoice creation, using existing site tokens. */
.home-v3 .lp-business-documents { background:var(--lp-warm); }
.home-v3 .lp-business-heading { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:48px; align-items:end; scroll-margin-top:110px; }
.home-v3 .lp-business-heading h2 { margin:0; font-size:clamp(26px,2.7vw,36px); line-height:1.65; letter-spacing:-.03em; }
.home-v3 .lp-business-heading .lp-phrase { display:block; }
.home-v3 .lp-business-heading > p { max-width:32em; margin:0 0 3px; color:var(--muted); font-size:16px; line-height:1.9; }
.home-v3 .lp-business-entry-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:min(720px,100%); margin:28px 0; }
.home-v3 .lp-business-entry-links a { display:flex; gap:12px; align-items:center; min-width:0; min-height:68px; padding:12px 18px; border:1px solid var(--lp-line); border-radius:9px; background:#fff; color:var(--blue); font-size:16px; font-weight:700; text-decoration:none; }
.home-v3 .lp-business-entry-links .lp-icon { width:40px; height:40px; flex:none; }
.home-v3 .lp-business-entry-links a > span:last-child { margin-left:auto; }
.home-v3 .lp-business-entry-links a:hover { border-color:var(--blue); background:var(--lp-surface); }
.home-v3 .lp-business-entry-links a:active { background:var(--light); }
.home-v3 .lp-business-entry-links a:hover span:not([aria-hidden]) { text-decoration:underline; text-underline-offset:5px; }
.home-v3 .lp-business-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; margin:0 0 36px; padding:24px 0; list-style:none; border-block:1px solid var(--lp-line); }
.home-v3 .lp-business-flow li { position:relative; display:flex; gap:12px; min-width:0; margin:0; }
.home-v3 .lp-business-flow li:not(:last-child)::after { content:"→"; position:absolute; right:-23px; top:3px; color:var(--muted); font-size:20px; }
.home-v3 .lp-business-step-number { display:grid; place-items:center; flex:none; width:30px; height:30px; margin-top:1px; border:1px solid var(--blue); border-radius:50%; color:var(--blue); font-weight:700; font-size:14px; }
.home-v3 .lp-business-flow h3 { margin:0 0 7px; font-size:17px; line-height:1.8; }
.home-v3 .lp-business-flow p { margin:0; color:var(--muted); font-size:14px; line-height:1.85; }
.home-v3 .lp-business-examples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.home-v3 .lp-business-document { min-width:0; scroll-margin-top:100px; }
.home-v3 .lp-business-document-copy { margin-bottom:20px; }
.home-v3 .lp-business-document-label { margin:0 0 4px; color:var(--muted); font-size:14px; font-weight:700; }
.home-v3 .lp-business-document h3 { margin:0 0 10px; font-size:23px; line-height:1.6; }
.home-v3 .lp-business-document-copy > p:not(.lp-business-document-label) { margin:0; color:var(--ink); font-size:16px; line-height:1.85; }
.home-v3 .lp-business-document-copy > a { display:inline-flex; align-items:center; gap:12px; min-height:48px; margin-top:12px; font-size:15px; }
.home-v3 .lp-business-document figure { margin:0; }
.home-v3 .lp-business-paper { display:block; max-height:420px; overflow:hidden; border:1px solid var(--lp-line); background:white; }
.home-v3 .lp-business-paper img { display:block; width:100%; height:auto; }
.home-v3 .lp-business-document figcaption { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 16px; margin-top:8px; color:var(--muted); font-size:13px; }
.home-v3 .lp-business-document figcaption a { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:8px 12px; border:1px solid var(--lp-line); border-radius:8px; background:#fff; color:var(--blue); font-size:14px; font-weight:700; }
.home-v3 .lp-business-document figcaption a:hover { border-color:var(--blue); background:var(--lp-surface); }
.home-v3 .lp-business-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 24px; margin-top:30px; padding-top:24px; border-top:1px solid var(--lp-line); }
.home-v3 .lp-business-footer p { margin:0; color:var(--ink); font-size:15px; }
.home-v3 .lp-business-footer .button { font-size:15px; }
.home-v3 .lp-business-note { margin:18px 0 0; color:var(--muted); font-size:13px; line-height:1.85; }
.home-v3 .lp-business-document--receipt { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:center; gap:40px; margin-top:40px; padding-top:36px; border-top:1px solid var(--lp-line); }
.home-v3 .lp-business-document--receipt .lp-business-document-copy { margin-bottom:0; }
.home-v3 .lp-business-document--receipt h3 > span { display:inline-block; max-width:100%; }
.home-v3 .lp-business-document--receipt .lp-receipt-tax { margin-top:18px; padding-top:16px; border-top:1px solid var(--lp-line); }
.home-v3 .lp-receipt-tax strong { display:block; margin-bottom:6px; font-size:18px; font-weight:700; }
.home-v3 .lp-business-document--receipt .lp-receipt-note { margin-top:10px; color:var(--muted); font-size:14px; line-height:1.85; }
.home-v3 .lp-receipt-paper { display:block; border:1px solid var(--lp-line); background:#fff; cursor:zoom-in; }
.home-v3 .lp-receipt-paper img { display:block; width:100%; height:auto; aspect-ratio:210/120; }
@media(max-width:900px) {
  .home-v3 .lp-business-document--receipt { grid-template-columns:1fr; gap:24px; margin-top:32px; padding-top:28px; }
  .home-v3 .lp-receipt-tax strong { font-size:17px; }
}
.home-v3 .lp-business-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.home-v3 .lp-business-documents a:focus-visible { outline:3px solid var(--blue); outline-offset:5px; }
@media(max-width:900px) {
  .home-v3 .lp-business-heading { grid-template-columns:1fr; gap:20px; }
  .home-v3 .lp-business-heading > p { max-width:44em; }
  .home-v3 .lp-business-examples { gap:24px; }
  .home-v3 .lp-business-flow { gap:25px; }
  .home-v3 .lp-business-flow li { gap:8px; }
  .home-v3 .lp-business-flow h3 { font-size:16px; }
  .home-v3 .lp-business-paper { max-height:330px; }
}
@media(max-width:600px) {
  .home-v3 .lp-business-heading { gap:16px; scroll-margin-top:100px; }
  .home-v3 .lp-business-heading h2 { font-size:25px; line-height:1.6; }
  .home-v3 .lp-business-heading .lp-phrase { display:inline; }
  .home-v3 .lp-business-heading > p { font-size:16px; }
  .home-v3 .lp-business-entry-links { grid-template-columns:1fr; gap:10px; margin:20px 0; }
  .home-v3 .lp-business-entry-links a { justify-content:flex-start; min-height:64px; padding:12px 14px; font-size:16px; }
  .home-v3 .lp-business-entry-links a > span:last-child { margin-left:auto; }
  .home-v3 .lp-business-flow { grid-template-columns:1fr; gap:22px; margin-bottom:28px; padding:22px 0; }
  .home-v3 .lp-business-flow li { gap:12px; }
  .home-v3 .lp-business-flow li:not(:last-child)::after { content:none; }
  .home-v3 .lp-business-flow h3 { margin-bottom:3px; font-size:16px; }
  .home-v3 .lp-business-examples { grid-template-columns:1fr; gap:34px; }
  .home-v3 .lp-business-document-copy { margin-bottom:14px; }
  .home-v3 .lp-business-document h3 { margin-bottom:8px; font-size:21px; }
  .home-v3 .lp-business-paper { max-height:390px; }
  .home-v3 .lp-business-document figcaption { font-size:13px; }
  .home-v3 .lp-business-footer { margin-top:26px; padding-top:20px; gap:15px; }
  .home-v3 .lp-business-footer .button { width:100%; }
}
@media(forced-colors:active) {
  .home-v3 .lp-business-step-number { border-color:ButtonText; color:ButtonText; }
  .home-v3 .lp-business-paper { border-color:CanvasText; }
  .home-v3 .lp-business-documents a:focus-visible { outline-color:Highlight; }
}

/* AI introduction stays in the public site's white/blue register. The supplied
   tool pattern and the two original character cells are reused without edits. */
.home-v3 .lp-ai-documents { position:relative; isolation:isolate; overflow:hidden; border-block:1px solid var(--lp-line); background:#fff; scroll-margin-top:96px; }
.home-v3 .lp-ai-documents::before { position:absolute; z-index:-1; inset:0; content:""; background:url('/assets/assistant/ai-construction-mosaic-v1.png') repeat; background-size:420px 315px; opacity:.12; pointer-events:none; }
.home-v3 .lp-ai-layout { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:64px; align-items:center; }
.home-v3 .lp-ai-copy,.home-v3 .lp-ai-example { min-width:0; }
.home-v3 .lp-ai-introduction { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; }
.home-v3 .lp-ai-introduction .eyebrow { margin:0; font-size:16px; }
.home-v3 .lp-ai-trial-label { display:inline-flex; align-items:center; min-height:30px; padding:3px 10px; border:1px solid var(--blue); color:var(--blue); background:#fff; font-size:13px; line-height:1.6; font-weight:700; }
.home-v3 .lp-ai-trial-note { margin:8px 0 22px; color:var(--muted); font-size:13px; line-height:1.8; }
.home-v3 .lp-ai-copy h2 { margin:0; font-size:clamp(26px,2.6vw,36px); font-weight:800; line-height:1.65; letter-spacing:-.03em; }
.home-v3 .lp-ai-copy h2 .lp-phrase { display:block; }
.home-v3 .lp-ai-lead { max-width:32em; margin-top:20px; font-size:16px; line-height:1.9; }
.home-v3 .lp-ai-question-copy { display:inline-block; white-space:nowrap; }
.home-v3 .lp-ai-company-reference { display:grid; grid-template-columns:80px minmax(0,1fr); gap:16px; align-items:center; margin-top:26px; padding-top:24px; border-top:1px solid var(--lp-line); }
.home-v3 .lp-ai-guide { display:flex; flex-direction:column; align-items:center; gap:4px; width:80px; min-width:0; margin:0; }
.home-v3 .lp-ai-guide-caption { margin:0; color:var(--muted); font-size:10px; line-height:1.5; text-align:center; white-space:nowrap; }
.home-v3 .lp-ai-guide-caption > span,.home-v3 .lp-ai-guide-caption > strong { display:block; }
.home-v3 .lp-ai-guide-caption > strong { color:var(--ink); font-size:13px; font-weight:700; }
.home-v3 .lp-ai-character { position:relative; display:block; flex:none; width:72px; height:96px; max-width:100%; overflow:hidden; mix-blend-mode:multiply; }
.home-v3 .lp-ai-character > img { position:absolute; left:0; top:0; display:block; width:400%; max-width:none; height:100%; }
.home-v3 .lp-ai-character--document > img { left:-200%; }
.home-v3 .lp-ai-company-reference h3 { margin:0 0 8px; font-size:19px; line-height:1.65; font-weight:700; text-wrap:balance; }
.home-v3 .lp-ai-company-reference p { margin:0; font-size:14px; line-height:1.85; }
.home-v3 .lp-ai-actions { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; margin-top:24px; }
.home-v3 .lp-ai-actions .button { min-height:52px; font-size:15px; }
.home-v3 .lp-ai-login { display:inline-flex; gap:10px; align-items:center; min-height:48px; color:var(--blue); font-size:14px; font-weight:700; text-underline-offset:5px; }
.home-v3 .lp-ai-login:hover { text-decoration:underline; }
.home-v3 .lp-ai-login:active { color:#174aaf; }
.home-v3 .lp-ai-detail-note { margin-top:14px; color:var(--muted); font-size:12px; line-height:1.85; }
.home-v3 .lp-ai-memo { padding:20px 22px; border:1px solid var(--lp-line); border-radius:8px; background:#fff; }
.home-v3 .lp-ai-example-label { margin:0 0 8px; color:var(--blue); font-size:13px; font-weight:700; }
.home-v3 .lp-ai-memo > p:last-child { margin:0; font-size:16px; line-height:1.9; }
.home-v3 .lp-ai-conversion { display:flex; align-items:center; justify-content:center; gap:14px; margin:8px 0; }
.home-v3 .lp-ai-conversion .lp-ai-character { width:58px; height:77px; }
.home-v3 .lp-ai-conversion p { margin:0; font-size:14px; line-height:1.75; }
.home-v3 .lp-ai-conversion > p strong { display:block; font-size:17px; }
.home-v3 .lp-ai-conversion > .lp-ai-flow-arrow { margin-left:14px; color:var(--blue); font-size:27px; }
.home-v3 .lp-ai-paper { padding:22px; border:1px solid #b5c3d2; background:#fff; }
.home-v3 .lp-ai-paper-title { margin:0 0 16px; color:var(--ink); font-size:18px; font-weight:700; }
.home-v3 .lp-ai-paper table { width:100%; border-collapse:collapse; font-size:13px; line-height:1.7; }
.home-v3 .lp-ai-paper th,.home-v3 .lp-ai-paper td { padding:10px 6px; border-bottom:1px solid var(--lp-line); text-align:right; white-space:nowrap; }
.home-v3 .lp-ai-paper th:first-child { padding-left:0; text-align:left; white-space:normal; }
.home-v3 .lp-ai-paper th:last-child,.home-v3 .lp-ai-paper td:last-child { padding-right:0; }
.home-v3 .lp-ai-paper thead { color:var(--muted); }
.home-v3 .lp-ai-paper tbody th { font-weight:400; }
.home-v3 .lp-ai-paper dl { margin:0; }
.home-v3 .lp-ai-paper dl > div { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:baseline; gap:12px; padding-top:14px; }
.home-v3 .lp-ai-paper dt { font-size:12px; }
.home-v3 .lp-ai-paper dd { margin:0; font-size:25px; line-height:1.5; font-weight:700; font-variant-numeric:tabular-nums; }
.home-v3 .lp-ai-paper dd > span { margin-left:3px; font-size:14px; }
.home-v3 .lp-ai-example > figcaption { margin-top:10px; color:var(--muted); font-size:12px; line-height:1.8; }
.home-v3 .lp-ai-documents a:focus-visible { outline:3px solid var(--blue); outline-offset:5px; }
@media(max-width:1000px) {
  .home-v3 .lp-ai-layout { gap:36px; }
  .home-v3 .lp-ai-copy h2 { font-size:28px; }
}
@media(max-width:760px) {
  .home-v3 .lp-ai-layout { grid-template-columns:1fr; gap:32px; }
  .home-v3 .lp-ai-example { width:min(100%,480px); margin-inline:auto; }
  .home-v3 .lp-ai-company-reference { grid-template-columns:80px minmax(0,1fr); gap:12px; }
  .home-v3 .lp-ai-character { width:64px; height:85px; }
  .home-v3 .lp-ai-company-reference h3 { font-size:18px; }
}
@media(max-width:600px) {
  .home-v3 .lp-ai-documents { padding-block:44px; }
  .home-v3 .lp-ai-copy h2 { font-size:26px; line-height:1.6; }
  .home-v3 .lp-ai-trial-note { margin-bottom:18px; }
  .home-v3 .lp-ai-lead { margin-top:16px; }
  .home-v3 .lp-ai-actions { flex-direction:column; align-items:stretch; }
  .home-v3 .lp-ai-actions .button { width:100%; }
  .home-v3 .lp-ai-login { align-self:flex-start; }
  .home-v3 .lp-ai-memo { padding:18px; }
  .home-v3 .lp-ai-memo > p:last-child { font-size:15px; }
  .home-v3 .lp-ai-paper { padding:18px; }
  .home-v3 .lp-ai-paper th,.home-v3 .lp-ai-paper td { padding-block:9px; font-size:12px; }
  .home-v3 .lp-ai-paper dd { font-size:24px; }
}
@media(forced-colors:active) {
  .home-v3 .lp-ai-documents::before { display:none; }
  .home-v3 .lp-ai-trial-label,.home-v3 .lp-ai-memo,.home-v3 .lp-ai-paper { border-color:CanvasText; }
  .home-v3 .lp-ai-documents a:focus-visible { outline-color:Highlight; }
}
