/* Homepage only. App, account, acquisition routing and billing styles are unchanged. */
:root { --paper: #fbf7f1; --paper-ink: #152033; --paper-muted: #526174; }
html { scroll-padding-top: 88px; }
.skip-link { position: fixed; left: 16px; top: 8px; z-index: 100; padding: 12px 18px; background: white; color: var(--ink); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #60a5fa; outline-offset: 5px; }
.nav-actions { gap: 12px; }
.brand-mark { color: #08101c; }
.hero { position: relative; overflow: hidden; padding: 60px 0 48px; background: radial-gradient(ellipse at 85% 60%,rgba(249,115,22,.12),transparent 45%); }
.hero-grid { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 48px; }
h1 { font-size: clamp(44px,5vw,68px); line-height: 1.04; letter-spacing: -.055em; margin: 20px 0; overflow-wrap: anywhere; }
.hero-copy { max-width: 500px; font-size: 18px; line-height: 1.6; margin: 0; }
.hero-actions { margin-top: 24px; gap: 12px; }
.primary,.partner-signup-action,.demo-build-button,.demo-invoice-continue { color: #08101c; }
.primary { min-height: 52px; font-size: 15px; padding: 0 22px; box-shadow: none; }
.primary:hover { box-shadow: 0 8px 24px rgba(249,115,22,.2); }
.proof { color: #b4bfd0; }
.hero-proof { margin: 12px 0 0; line-height: 1.5; }
.platform-note { margin: 8px 0 0; color: #b4bfd0; font-size: 13px; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }
.hero-explore { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.product-scene { position: relative; min-width: 0; margin: 0; padding: 10px 0 32px; }
.product-scene-visual { position: relative; height: 510px; isolation: isolate; }
.product-scene-visual::before { content: ''; position: absolute; inset: 20% -5% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse,rgba(249,115,22,.18),transparent 68%); }
.screen-frame { overflow: hidden; border: 7px solid #263246; border-radius: 34px; background: #10192b; box-shadow: 0 24px 54px rgba(0,0,0,.28); }
.screen-frame img { display: block; width: 100%; height: auto; }
.capture-preview { position: absolute; left: 4%; top: 0; width: 224px; transform: rotate(-4deg); }
.invoice-preview { position: absolute; right: 0; top: 74px; width: 272px; padding: 7px; border-radius: 8px; background: white; transform: rotate(4deg); box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.invoice-preview img { display: block; width: 100%; height: auto; }
.scene-label { position: absolute; bottom: 0; left: 12%; right: 4%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border: 1px solid #344154; border-radius: 12px; background: #142238; color: #eef2f7; font-size: 13px; font-weight: 750; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.scene-label svg { width: 18px; height: 18px; flex: 0 0 auto; color: #fb923c; }
.product-scene figcaption { margin: 12px 0 0; text-align: center; color: #9eabc0; font-size: 12px; line-height: 1.5; }
.audience-strip { padding: 18px 0; }
.audience-label { color: #9eabc0; margin-bottom: 10px; }
.audience-list { font-size: 13px; gap: 14px; }
main > section { padding: 64px 0; }
.section-head { margin-bottom: 30px; }
h2 { font-size: clamp(30px,3.5vw,44px); line-height: 1.12; overflow-wrap: anywhere; }
.section-head p,.feature-copy p,.story-copy p { font-size: 16px; line-height: 1.65; }
.paper-section { background: var(--paper); color: var(--paper-ink); border: 0; }
.paper-section .eyebrow { color: #a74108; }
.paper-section .section-head p,.paper-section .story-copy p { color: var(--paper-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.steps li { position: relative; padding-left: 50px; }
.step-number { position: absolute; left: 0; top: 2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #ffe6d4; color: #943b0b; font-weight: 850; }
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--paper-muted); font-size: 15px; line-height: 1.6; }
.demo-disclosure { max-width: 880px; margin: 30px auto 0; padding: 0 22px; border: 1px solid #cbd2dc; border-radius: 18px; background: white; color: var(--paper-ink); }
.demo-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding: 16px 0; list-style: none; }
.demo-disclosure > summary::-webkit-details-marker { display: none; }
.demo-disclosure > summary::after { content: '+'; font-size: 24px; flex: 0 0 auto; }
.demo-disclosure[open] > summary::after { content: '−'; }
.demo-disclosure > summary strong { display: block; font-size: 16px; }
.demo-disclosure > summary span { display: block; margin-top: 4px; color: #526174; font-size: 13px; font-weight: 500; }
.demo-disclosure .phone-wrap { min-height: 0; padding: 10px 0 26px; }
.demo-disclosure .phone { width: 340px; height: 660px; color: #f8fafc; animation: none; }
.demo-disclosure .mic { animation: none; }
.demo-disclosure .mic.is-listening { animation: micPulse .88s ease-out infinite; }
.demo-disclosure .phone-screen { padding: 16px 18px; }
.demo-disclosure .phone p { padding-bottom: 0; }
.demo-disclosure .demo-privacy,.demo-disclosure .demo-example { font-size: 12px; color: #aebcd0; }
.demo-disclosure .demo-status,.demo-disclosure .demo-recording { font-size: 12px; }
.demo-disclosure .demo-type-hint,.demo-disclosure .demo-invoice-pitch,.demo-disclosure .demo-invoice-proof { font-size: 12px; }
.demo-disclosure .demo-input-modes button,.demo-disclosure .phone-steps button,.demo-disclosure .demo-build-button { font-size: 13px; }
.demo-disclosure .demo-type-entry label,.demo-disclosure .demo-type-entry textarea { font-size: 14px; }
.demo-disclosure .demo-attention input { font-size: 16px; }
.demo-disclosure .demo-attention-head,.demo-disclosure .demo-attention label,.demo-disclosure .demo-attention-help { font-size: 12px!important; }
.demo-disclosure .demo-suggestion,.demo-disclosure .demo-finish-button,.demo-disclosure .demo-share-buttons button { font-size: 13px; }
.demo-disclosure .demo-share-choice > p,.demo-disclosure .demo-share-status,.demo-disclosure .demo-ready-status small { font-size: 12px!important; }
.demo-disclosure .demo-ready-status strong,.demo-disclosure .demo-share-choice strong { font-size: 14px; }
.demo-disclosure .demo-pdf-badge,.demo-disclosure .demo-pdf-client { font-size: 11px; }
.demo-disclosure .demo-pdf-line,.demo-disclosure .demo-pdf-preview header strong { font-size: 12px; }
.demo-disclosure .demo-invoice-continue { font-size: 13px; }
.demo-disclosure .demo-invoice-backdrop { color: white; }
.reviews-section { padding-block: 42px; }
.reviews-head h2 { font-size: 28px; }
.review-card { padding: 22px; }
.review-card blockquote { font-size: 15px; }
.review-card footer span { color: #aebbd0; font-size: 12px; }
.review-hint { margin: 12px 0 0; color: #aebbd0; font-size: 12px; }
.review-control:disabled { opacity: .4; cursor: default; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.story-copy { min-width: 0; }
.story-copy h2 { max-width: 500px; }
.story-copy > p { color: #b4bfd0; max-width: 490px; }
.story-points { display: grid; gap: 12px; list-style: none; margin: 22px 0; padding: 0; }
.story-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; color: #d6dfe9; }
.story-points svg { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; color: #fb923c; }
.paper-section .story-points li { color: #334155; }
.paper-section .story-points svg { color: #a74108; }
.story-visual { min-width: 0; margin: 0; }
.story-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 450px; padding: 24px; overflow: hidden; border: 1px solid #28364b; border-radius: 28px; background: #142238; }
.paper-section .story-stage { border-color: #e1d8cc; background: #f0e8dc; }
.story-frame { width: 222px; flex: 0 0 auto; }
.story-frame img { aspect-ratio: 1206 / 2622; object-fit: cover; }
.receipt-stage { justify-content: flex-end; min-height: 466px; }
.receipt-stage .story-frame { width: 230px; z-index: 1; transform: rotate(3deg); }
.receipt-photo { position: absolute; left: 18px; top: 70px; width: 44%; border-radius: 12px; box-shadow: 0 16px 30px rgba(47,34,15,.2); transform: rotate(-7deg); }
.story-visual figcaption { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #aebbd0; text-align: center; }
.paper-section .story-visual figcaption { color: var(--paper-muted); }
.story-detail { width: 100%; max-width: 430px; border-radius: 18px; background: white; overflow: hidden; box-shadow: 0 15px 36px rgba(0,0,0,.2); }
.story-detail img { display: block; width: 100%; height: auto; }
.small-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 42px; padding-top: 24px; border-top: 1px solid #dcd3c7; }
.extra-features { margin-top: 28px; border-color: #dbd2c6; background: transparent; }
.extra-features > summary { min-height: 54px; font-size: 14px; }
.extra-features .small-features { margin-top: 0; padding-top: 16px; padding-bottom: 20px; }
.small-feature { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 10px; }
.small-feature svg { width: 22px; height: 22px; color: #a74108; }
.small-feature strong { display: block; font-size: 14px; margin-bottom: 5px; }
.small-feature p { margin: 0; color: #526174; font-size: 13px; line-height: 1.5; }
.accountant-options { display: grid; gap: 12px; margin: 22px 0; }
.accountant-option { padding: 16px 18px; border: 1px solid #dbd2c6; border-radius: 14px; background: #fff; }
.accountant-option strong { font-size: 16px; }
.accountant-option p { margin: 5px 0 0; font-size: 14px; line-height: 1.5; }
.accountant-option details { margin: 8px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.accountant-option summary { min-height: 44px; padding: 12px 0; font-size: 13px; }
.accountant-option details p { padding: 0 0 10px; }
.availability-note { margin: 22px 0 0; font-size: 13px!important; line-height: 1.55!important; }
.accountant-visual .story-frame { width: 250px; }
.plan { display: flex; flex-direction: column; padding: 28px; }
.plan h3 { margin-top: 14px; }
.plan .primary { margin-top: auto; }
.plan ul { margin: 20px 0 24px; gap: 10px; line-height: 1.55; }
.plan h3,.price { padding-right: 18px; }
.price { margin-top: 18px; }
.popular { top: 16px; right: 16px; font-size: 10px; }
.plan-common { max-width: 820px; margin: 20px auto 0; padding: 18px 22px; border-radius: 14px; background: #142238; color: #bcc9da; font-size: 14px; line-height: 1.65; }
.plan-common strong { color: white; }
.faq-section .section-head { margin-bottom: 24px; }
.faq-section details { border-color: #d9d1c6; background: white; }
.faq-section details p { color: #526174; }
.faq-section summary { min-height: 54px; padding: 18px 0; font-size: 15px; }
.referral-promo { max-width: 780px; padding: 16px 20px; margin-top: 24px; border: 1px solid #d9d1c6; background: transparent; }
.referral-promo p { color: #526174; font-size: 13px; }
.referral-tag { color: #943b0b; font-size: 10px; }
.final { padding-block: 52px; }
.final-box { padding: 40px 28px; }
.final-box h2 { font-size: clamp(30px,3vw,40px); }
.final-box p { max-width: 580px; margin: 0 auto 24px; line-height: 1.6; }
.footer-discovery { gap: 0 18px; padding-bottom: 18px; margin-bottom: 18px; }
.footer-discovery a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-inner .brand { font-size: 18px; }
body > footer { padding-bottom: calc(38px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) {
  .demo-disclosure .mic.is-listening { animation: none; }
}
@media (max-width: 1050px) and (min-width: 821px) {
  .hero-grid { gap: 28px; }
  .capture-preview { width: 195px; left: 0; }
  .invoice-preview { width: 225px; top: 90px; }
  .product-scene-visual { height: 455px; }
  .hero-actions { gap: 8px; }
  .hero .primary { width: 100%; }
  .story-grid { gap: 36px; }
}
@media (max-width: 820px), (max-height: 560px) and (orientation: landscape) and (pointer: coarse) {
  html { scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
  .nav-actions > a:first-child { display: inline-flex; }
  .nav-inner { min-height: 64px; height: auto; padding-block: 8px; flex-wrap: wrap; gap: 8px 14px; }
  .nav-actions { gap: 12px; font-size: 13px; flex-wrap: wrap; }
  .nav-cta { padding: 10px 14px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { padding: 30px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-content { padding: 0; }
  h1 { font-size: clamp(38px,8.8vw,50px); line-height: 1.04; margin: 16px 0; }
  .hero-headline-desktop { display: inline; }
  .hero-copy { font-size: 16px; line-height: 1.5; }
  .hero-actions { margin-top: 20px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  .hero .primary { width: auto; flex: 1 1 210px; min-height: 52px; }
  .hero .app-store-badge { flex: 0 0 auto; }
  .hero-proof,.platform-note { text-align: left; }
  .hero-explore { gap: 20px; margin-top: 6px; }
  .product-scene { width: min(100%,480px); margin-inline: auto; padding-bottom: 0; }
  .product-scene-visual { height: 390px; }
  .capture-preview { width: 165px; left: 0; }
  .invoice-preview { width: 178px; top: 60px; right: 0; }
  .scene-label { bottom: 0; left: 5%; right: 2%; font-size: 12px; padding: 10px; }
  .audience-strip { padding: 15px 0; }
  .audience-label { font-size: 10px; }
  .audience-list { font-size: 12px; gap: 8px 14px; }
  main > section { padding: 40px 0; }
  .section-head { text-align: left; margin-bottom: 24px; }
  .section-head h2,.story-copy h2 { font-size: 32px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps h3 { font-size: 17px; margin-bottom: 4px; }
  .steps p { font-size: 14px; }
  .demo-disclosure { margin-top: 24px; padding: 0 16px; }
  .demo-disclosure > summary strong { font-size: 15px; }
  .demo-disclosure > summary span { font-size: 12px; }
  .demo-disclosure .phone { width: min(340px,100%); height: 660px; }
  .demo-disclosure .phone-wrap { width: 100%; margin: 0; padding: 8px 0 20px; background: none; border: 0; }
  .demo-disclosure .phone-screen { padding-inline: 12px; }
  .demo-disclosure .phone-glow { width: 240px; height: 240px; }
  .reviews-head { align-items: center; flex-wrap: wrap; gap: 14px; }
  .reviews-head h2 { font-size: 26px; }
  .review-controls { display: flex; flex: 0 0 auto; gap: 6px; }
  .review-track { width: 100%; grid-auto-columns: min(88%,350px); padding-right: 0; }
  .review-card { padding: 18px; }
  .review-card blockquote { font-size: 14px; }
  .story-grid { grid-template-columns: 1fr; gap: 22px; }
  .story-copy h2 { margin-top: 10px; }
  .story-copy > p { margin-bottom: 0; }
  .story-points { margin: 16px 0; gap: 8px; }
  .story-points li { font-size: 14px; }
  .story-stage { min-height: 0; padding: 20px; border-radius: 22px; }
  .story-frame { width: 188px; }
  .receipt-stage { height: 350px; }
  .receipt-stage .story-frame { width: 190px; }
  .receipt-photo { width: 42%; left: 14px; top: 62px; }
  .small-features { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; padding-top: 22px; }
  .accountant-visual .story-frame { width: 200px; }
  .accountant-options { margin: 16px 0; }
  .availability-note { margin-top: 16px; }
  .plan { padding: 24px; }
  .plan-common { padding: 16px 18px; font-size: 13px; }
  .referral-promo { margin-top: 20px; }
  .final-box { padding: 26px 20px; border-radius: 22px; }
  .final-box p { font-size: 14px; }
  .footer-links { gap: 4px 18px; }
}
@media (max-width: 359px) {
  .brand { font-size: 16px; }
  .nav-actions { gap: 8px; font-size: 12px; }
  .nav-cta { padding: 10px 11px; }
  .product-scene-visual { height: 330px; }
  .capture-preview { width: 145px; left: 1%; }
  .invoice-preview { width: 172px; top: 35px; right: 1%; }
  .hero .primary { flex-basis: 100%; }
  .hero .app-store-badge { align-self: auto; }
  .reviews-head { flex-wrap: wrap; }
  .receipt-stage { height: 350px; }
  .receipt-stage .story-frame { width: 162px; }
}
