/* Homepage-specific composition; shared primitives live in design-system.css. */
.homepage { line-height: normal; }
.homepage .site-header { position: absolute; top: 0; left: 0; right: 0; max-width: none; justify-content: flex-end; }
.homepage .site-header > .site-brand { display: none; }
.homepage .container { width: 100%; max-width: none; margin: 0 auto; padding: 0 32px; position: relative; }
.homepage .hero { text-align: center; padding: 32px 16px; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.homepage .logo { font-size: 56px; line-height: 1.2; font-weight: 700; background: linear-gradient(135deg,var(--brand-500),var(--accent-500)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 4px; letter-spacing: -.02em; }
.homepage .tagline { font-size: 17.6px; color: #64748b; font-weight: 500; margin-bottom: 40px; }
.homepage #particle-canvas { pointer-events: none; }
.homepage .home-content { position: relative; z-index: 1; background: var(--color-paper); }
/* Homepage composition extends the shared public-site foundations. */
.homepage {
  color: var(--ink);
  display: block;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
.homepage button, .homepage a { -webkit-tap-highlight-color: transparent; }

.homepage .container { flex: none; }
.hero-stage { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 55% 42%,#fffcf7 18%,#fff5e8 75%,var(--color-paper) 100%); }
.homepage #particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; mask-image: linear-gradient(#000 85%,transparent); }
.homepage .hero { position: relative; padding-bottom: 4rem; }
.homepage .logo { font-size: 3.5rem; }
.homepage .input-bar { box-shadow: 0 18px 65px -20px #9c665c50, 0 0 0 7px #ffffff45; background: #fffffff5; }
.homepage .example-text { font-family: inherit; display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.homepage .example-text::before { margin-right: 10px; }
.homepage .input-helper { opacity: 1; color: #6e7368; margin-top: 18px; font-size: 12px; }
.helper-dot { padding: 0 8px; color: #aaa797; }
.hero-scroll { position: absolute; bottom: 35px; left: 50%; transform: translateX(-50%); color: #74766a; text-decoration: none; font-size: 12px; display: flex; align-items: center; gap: 18px; white-space: nowrap; min-height: 44px; }
.hero-scroll span { font-size: 21px; }
.motion-toggle { position: absolute; bottom: 35px; right: 28px; border: 0; background: transparent; color: #75796f; font: 11px/1.4 'Space Grotesk',system-ui,sans-serif; padding: 12px 8px; min-height: 44px; cursor: pointer; }
.motion-toggle[hidden] { display: none; }

.home-section { max-width: var(--site-width); margin: 0 auto; padding: 105px 32px; }
.section-kicker { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: var(--quiet); font-size: 10px; font-weight: 500; letter-spacing: 1.7px; }
.section-kicker span:first-child { color: var(--coral); }
.section-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: end; margin: 42px 0 45px; }
.home-content h2 { font-size: clamp(34px,4.5vw,56px); line-height: 1.13; letter-spacing: -2.5px; font-weight: 500; }
.home-content h2 em { font-style: normal; color: var(--color-subtle); }
.section-intro > p { max-width: 375px; color: var(--quiet); font-size: 16px; line-height: 1.8; padding-bottom: 5px; }
.entry-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; background: var(--color-oat); padding: 34px 34px 0; border-radius: 24px; }
.demo-compose { padding: 14px 20px 10px 6px; display: flex; flex-direction: column; }
.demo-label, .feature-label { font-size: 10px; font-weight: 500; letter-spacing: 1.6px; color: var(--quiet); display: block; }
.demo-compose .demo-label { display: flex; align-items: center; gap: 8px; }
.tiny-spark { color: #d45d3e; font-size: 19px; line-height: 1; }
.demo-compose > p { font-size: clamp(22px,2.4vw,30px); line-height: 1.45; letter-spacing: -1px; margin: 22px 0 24px; max-width: 420px; }
.sample-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.sample-button { cursor: pointer; border: 1px solid #d3d3c8; border-radius: 30px; color: #666b61; background: transparent; padding: 8px 13px; font: 11px 'Space Grotesk',system-ui,sans-serif; min-height: 44px; transition: background .18s, color .18s, border-color .18s; }
.sample-button[aria-pressed="true"] { background: #30392f; border-color: #30392f; color: #fffdf9; }
.sample-button:hover:not([aria-pressed="true"]) { background: #e4e5da; }
.demo-result { background: var(--color-surface); align-self: center; border-radius: 16px; padding: 28px; box-shadow: 0 12px 25px #373f2e07, 0 2px 4px #373f2e03; }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ready-label { font-size: 10px; background: #eff4e9; color: #526547; padding: 6px 8px; border-radius: 20px; white-space: nowrap; }
.ready-label > span { margin-right: 4px; }
.entry-line { display: flex; gap: 13px; align-items: center; margin: 32px 0; }
.client-avatar { border-radius: 12px; background: #fbe7dc; color: #ad543b; width: 42px; height: 42px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.entry-line h3 { font-size: 15px; line-height: 1.3; font-weight: 500; }
.entry-line p { font-size: 12px; color: var(--quiet); margin-top: 5px; }
.entry-line > strong { margin-left: auto; font-size: 23px; font-weight: 500; white-space: nowrap; letter-spacing: -1px; }
.entry-line > strong span { color: #989b93; }
.entry-meta { border-top: 1px solid #efeee7; padding-top: 18px; display: flex; justify-content: space-between; gap: 10px; color: var(--quiet); font-size: 10px; }
.entry-meta > span:first-child { display: flex; align-items: center; gap: 6px; }
.meta-dot { width: 5px; height: 5px; border-radius: 50%; background: #8c9d77; }
.demo-caption { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: #757b6d; font-size: 10px; padding: 18px 6px; }
.demo-caption a { color: #525d46; text-decoration: none; font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; gap: 14px; }
.demo-caption a:hover { text-decoration: underline; }
.workflow-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 45px; margin-top: 42px; }
.workflow-steps > div { display: grid; grid-template-columns: 25px 1fr; column-gap: 10px; }
.step-index { font-size: 10px; color: var(--coral); padding-top: 4px; }
.workflow-steps h3 { font-size: 16px; font-weight: 500; letter-spacing: -.3px; }
.workflow-steps p { grid-column: 2; margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--quiet); max-width: 260px; }
.work-section { padding-top: 10px; }
.feature-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.report-feature { border-radius: 24px; background: var(--color-peach); padding: 36px 34px 30px; overflow: hidden; }
.feature-copy .feature-label { color: #956749; }
.feature-copy h3, .voice-feature h3, .keyboard-feature h3 { font-size: 29px; line-height: 1.2; font-weight: 500; letter-spacing: -1px; margin: 17px 0 14px; }
.feature-copy > p, .voice-feature > p, .keyboard-feature p { color: #756b60; font-size: 13px; line-height: 1.8; max-width: 360px; }
.report-preview { padding: 24px; border-radius: 15px; background: #fffcf8; margin-top: 33px; box-shadow: 0 16px 45px #7c563917; }
.report-top { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.report-top > span:first-child { display: flex; align-items: center; gap: 7px; font-weight: 500; }
.report-top > span:last-child { border: 1px solid #e9e6e0; padding: 6px 8px; border-radius: 5px; font-size: 9px; color: var(--quiet); }
.report-top > span:last-child span { padding-left: 7px; }
.report-total { display: flex; justify-content: space-between; align-items: end; margin: 27px 0 22px; }
.report-total > div > span { color: var(--quiet); font-size: 10px; }
.report-total strong { display: block; font-size: 36px; font-weight: 500; letter-spacing: -2px; margin-top: 5px; line-height: 1.15; }
.report-total strong span { color: #99968d; font-size: 24px; margin-right: 3px; }
.report-project-count { font-size: 9px; text-align: right; color: var(--quiet); line-height: 1.7; }
.report-bar { display: flex; height: 23px; gap: 4px; border-radius: 5px; overflow: hidden; margin-bottom: 21px; }
.report-bar i:nth-child(1) { width: 50%; background: #e88c6f; }
.report-bar i:nth-child(2) { width: 33.333%; background: #bdc29d; }
.report-bar i:nth-child(3) { width: 16.667%; background: #e7c677; }
.report-row { display: grid; grid-template-columns: 1.1fr 1.2fr 30px; gap: 8px; padding: 13px 0; border-bottom: 1px solid #efede6; align-items: center; font-size: 10px; }
.report-row > span:first-child { display: flex; gap: 7px; align-items: center; }
.report-row > span:nth-child(2) { font-size: 9px; color: var(--quiet); }
.report-row strong { text-align: right; font-weight: 500; }
.client-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.client-dot.acme { background: #dc896a; }.client-dot.north { background: #aeb88a; }.client-dot.orbit { background: #dec06d; }
.preview-note { display: block; margin-top: 15px; font-size: 9px; color: #7d8075; }
.side-features { display: grid; grid-template-rows: 1.2fr 1fr; gap: 24px; }
.voice-feature { background: var(--color-sage); border-radius: 24px; padding: 34px; }
.voice-feature .feature-label { color: #606e52; }
.voice-feature > p { color: #6c7463; max-width: 325px; }
.voice-preview { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 18px; background: #fafff285; border: 1px solid #d6decc; border-radius: 40px; }
.mic-symbol { background: #5b6c48; color: #fffaf0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.waveform { height: 40px; display: flex; align-items: center; justify-content: center; flex: 1; gap: 3px; }
.waveform i { display: block; height: var(--bar); max-height: 36px; width: 3px; background: #8d9e77; border-radius: 4px; }
.voice-preview > span:last-child { font-size: 10px; color: #627254; }
.keyboard-feature { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 30px 34px; background: #f0eee8; border-radius: 24px; }
.keyboard-feature h3 { font-size: 24px; }
.keyboard-feature p { max-width: 235px; }
.key-pair { display: flex; gap: 7px; transform: rotate(-7deg); flex-shrink: 0; padding-bottom: 6px; }
.key-pair kbd { width: 49px; height: 52px; border: 1px solid #dcdad2; border-bottom-width: 4px; border-radius: 9px; display: grid; place-items: center; font-family: inherit; font-size: 21px; color: #6d7364; background: linear-gradient(var(--color-surface),#f4f3ec); box-shadow: 0 4px 8px #434e2b0c; }
.api-note { display: flex; align-items: center; gap: 20px; padding: 30px 0 0; }
.code-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; background: #eeeae2; color: #777d6e; border-radius: 14px; font: 14px monospace; }
.api-note h3 { font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.api-note p { color: var(--quiet); font-size: 12px; line-height: 1.7; max-width: 690px; }
.api-note > a { margin-left: auto; color: #535a4a; font-size: 12px; text-decoration: none; white-space: nowrap; padding: 12px 0 12px 20px; }
.api-note > a:hover { text-decoration: underline; }
.api-note > a span { margin-left: 12px; }
.audience-section { background: var(--color-forest); color: #f8f7ed; margin: 0 24px; border-radius: 28px; overflow: hidden; }
.audience-inner { max-width: var(--site-width); margin: 0 auto; padding: 80px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.audience-intro { position: relative; }
.audience-intro .feature-label { color: var(--color-sage-text); }
.audience-intro h2 { margin: 35px 0 25px; font-size: clamp(34px,3.8vw,49px); }
.audience-intro h2 em { color: var(--color-sage-text); }
.audience-intro p { color: #c1c7bb; font-size: 13px; line-height: 1.8; }
.orbit-mark { font-size: 120px; color: var(--color-gold); line-height: 1; margin-top: 24px; width: fit-content; transform: rotate(8deg); }
.audience-links { padding-top: 5px; }
.audience-links a { text-decoration: none; color: inherit; border-bottom: 1px solid #55604f; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; transition: padding .2s,color .2s; }
.audience-links a:first-child { border-top: 1px solid #55604f; }
.audience-links strong { display: block; font-size: 23px; letter-spacing: -.5px; font-weight: 400; }
.audience-links small { display: block; font-size: 11px; color: #bdc6b4; margin-top: 7px; line-height: 1.6; }
.audience-links a > span:last-child { color: #c0cba7; font-size: 24px; font-weight: 400; }
.audience-links a:hover { color: #e8cf94; padding-left: 10px; }
.homepage .audience-links a:focus-visible { outline-color: #e8cf94; }
.faq-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding-top: 120px; padding-bottom: 120px; }
.faq-intro .feature-label { color: var(--coral); }
.faq-intro h2 { font-size: 43px; margin: 24px 0 18px; }
.faq-intro p { color: var(--quiet); font-size: 13px; line-height: 1.8; }
.text-link { display: inline-flex; gap: 18px; margin-top: 25px; padding: 12px 0; color: var(--ink); font-size: 12px; text-decoration: none; border-bottom: 1px solid #b5b8a8; }
.home-faq details { border-bottom: 1px solid var(--line); }
.home-faq details:first-child { border-top: 1px solid var(--line); }
.home-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; cursor: pointer; padding: 23px 0; font-size: 14px; font-weight: 500; line-height: 1.6; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: #787e6c; flex-shrink: 0; transition: transform .2s; }
.home-faq details[open] summary::after { transform: rotate(45deg); }
.home-faq details p { padding: 0 30px 25px 0; color: var(--quiet); font-size: 13px; line-height: 1.9; }
.home-faq details a { color: var(--coral); }
.faq-plan-prices { display: flex; gap: 40px; padding: 0 0 22px; }
.faq-plan-prices > div { display: flex; flex-direction: column; gap: 5px; }
.faq-plan-prices span { font-size: 12px; color: var(--quiet); }
.faq-plan-prices strong { font-size: 27px; font-weight: 500; letter-spacing: -1px; }
.faq-plan-prices strong span { font-size: 12px; letter-spacing: 0; }
.faq-plan-prices small { font-size: 10px; color: var(--quiet); }
.closing-section { background: radial-gradient(ellipse at 50% 100%,#f8d8a9,transparent 70%),#f6e8d6; padding: 60px 24px 72px; margin: 0 24px; border-radius: 24px; text-align: center; }
.closing-spark { font-size: 50px; color: #d8794e; line-height: 1; margin-bottom: 27px; }
.closing-section .feature-label { color: #927053; }
.closing-section h2 { margin: 24px 0 32px; font-size: clamp(33px,4vw,50px); }
.closing-section h2 em { color: #9b775b; }
.primary-cta { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 53px; padding: 15px 25px; background: #303b31; border-radius: 40px; color: #fffbf2; font-size: 13px; text-decoration: none; transition: background .2s,transform .2s; }
.primary-cta:hover { background: #465442; transform: translateY(-2px); }
.primary-cta > span { font-size: 19px; }
.closing-section > p { font-size: 11px; color: #816c55; margin-top: 17px; }

@media (max-width: 1050px) {
  .section-intro { gap: 32px; }
  .entry-demo { padding: 25px 24px 0; gap: 20px; }
  .demo-result { padding: 22px; }
  .demo-compose { padding-right: 0; }
  .result-heading { flex-wrap: wrap; gap: 12px; }
  .entry-line { flex-wrap: wrap; }
  .entry-line > strong { font-size: 21px; }
  .feature-layout { grid-template-columns: 1.1fr 1fr; gap: 18px; }
  .report-feature, .voice-feature { padding: 27px; }
  .keyboard-feature { padding: 25px; gap: 12px; }
  .key-pair { flex-direction: column; }
  .key-pair kbd { width: 42px; height: 43px; }
  .audience-inner { gap: 55px; padding: 65px 40px; }
  .faq-section { gap: 50px; }
  .footer-signoff { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }

  .homepage .hero-stage { padding: 0 20px; }
  .homepage .hero { padding: 0 0 60px; }
  .homepage .logo { font-size: 3.5rem; }
  .homepage .tagline { font-size: 15px; }
  .homepage .input-bar-wrapper { max-width: 550px; }
  .homepage .input-field { font-size: 16px; }
  .homepage .example-text { font-size: 12px; padding: 9px 12px; gap: 8px; }
  .homepage .example-text::before { font-size: 9px; }
  .homepage .input-helper { font-size: 10px; }
  .helper-dot { padding: 0 4px; }
  .hero-scroll { font-size: 11px; bottom: 47px; }
  .motion-toggle { bottom: 8px; right: 50%; transform: translateX(50%); font-size: 10px; }
  .home-section { padding: 64px 24px; }
  .section-kicker { font-size: 9px; letter-spacing: 1.2px; }
  .section-kicker span:last-child { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 22px; margin: 30px 0; }
  .home-content h2 { letter-spacing: -1.6px; font-size: clamp(34px,6.8vw,48px); }
  .section-intro > p { font-size: 14px; max-width: 420px; }
  .section-intro > p br { display: none; }
  .entry-demo { grid-template-columns: 1fr; gap: 24px; padding: 22px 22px 0; border-radius: 20px; }
  .demo-compose { padding: 5px 0 0; }
  .demo-compose > p { font-size: 25px; margin: 20px 0 22px; min-height: 72px; }
  .demo-result { padding: 23px; }
  .demo-caption { font-size: 9px; padding: 0 0 12px; gap: 8px; }
  .demo-caption a { font-size: 10px; gap: 6px; }
  .workflow-steps { gap: 20px; margin-top: 32px; }
  .workflow-steps > div { display: block; }
  .step-index { display: block; margin-bottom: 12px; }
  .workflow-steps h3 { font-size: 14px; }
  .workflow-steps p { font-size: 12px; line-height: 1.7; }
  .work-section { padding-top: 4px; }
  .feature-layout { grid-template-columns: 1fr; gap: 16px; }
  .report-feature, .voice-feature { padding: 28px; border-radius: 20px; }
  .side-features { gap: 16px; grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .voice-feature { padding: 24px; }
  .voice-feature h3 { font-size: 25px; }
  .voice-preview { padding: 12px; gap: 8px; }
  .voice-preview > span:last-child { display: none; }
  .waveform { gap: 2px; }
  .waveform i:nth-child(n+13) { display: none; }
  .keyboard-feature { display: block; padding: 24px; border-radius: 20px; }
  .key-pair { flex-direction: row; margin-top: 24px; transform: rotate(-5deg); justify-content: center; }
  .key-pair kbd { width: 50px; height: 53px; }
  .api-note { align-items: start; flex-wrap: wrap; gap: 14px; padding-top: 26px; }
  .api-note > div { flex: 1; }
  .api-note > a { margin: 0 0 0 60px; padding: 4px 0; min-height: 44px; display: inline-flex; align-items: center; }
  .audience-section { margin: 0 12px; border-radius: 22px; }
  .audience-inner { grid-template-columns: 1fr; padding: 44px 28px; gap: 34px; }
  .audience-intro h2 { margin: 24px 0 18px; font-size: 39px; }
  .audience-intro .feature-label { font-size: 9px; }
  .orbit-mark { position: absolute; right: 0; bottom: 0; margin: 0; font-size: 80px; }
  .audience-links a { padding: 20px 0; }
  .audience-links strong { font-size: 21px; }
  .faq-section { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro h2 { margin-top: 20px; }
  .home-faq summary { font-size: 13px; padding: 21px 0; }
  .home-faq details p { font-size: 13px; }
  .closing-section { margin: 0 12px; padding: 44px 22px 49px; border-radius: 20px; }
  .closing-section .feature-label { font-size: 9px; }
  .closing-section h2 { font-size: clamp(29px,6.5vw,44px); }

}
@media (max-width: 430px) {
  .home-section { padding-left: 20px; padding-right: 20px; }
  .homepage .hero-stage { padding: 0 15px; }

  .homepage .logo { font-size: 3.25rem; }
  .entry-demo { padding: 20px 16px 0; }
  .demo-compose > p { font-size: 23px; min-height: 100px; }
  .sample-button { padding: 7px 10px; font-size: 10px; }
  .demo-result { padding: 21px 17px; }
  .entry-line { gap: 10px; }
  .entry-line h3 { font-size: 13px; }
  .entry-line > strong { font-size: 20px; }
  .client-avatar { width: 35px; height: 35px; font-size: 16px; }
  .entry-meta { font-size: 9px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 22px; }
  .workflow-steps > div { display: grid; grid-template-columns: 25px 1fr; }
  .workflow-steps p { grid-column: 2; max-width: 100%; margin-top: 7px; }
  .workflow-steps h3 { font-size: 15px; }
  .workflow-steps .step-index { margin: 0; }
  .report-feature { padding: 25px 20px 20px; }
  .report-preview { padding: 19px 16px; }
  .report-row { grid-template-columns: 1fr 1fr 23px; font-size: 9px; }
  .report-row > span:nth-child(2) { font-size: 8px; }
  .side-features { grid-template-columns: 1fr; }
  .keyboard-feature { display: flex; gap: 20px; }
  .key-pair { margin-top: 0; }
  .key-pair kbd { width: 38px; height: 43px; }
  .waveform { gap: 4px; }.waveform i:nth-child(n+13) { display: block; }
  .audience-inner { padding: 38px 23px; }
  .audience-intro h2 { font-size: 35px; }
  .orbit-mark { font-size: 55px; bottom: 8px; }
  .faq-plan-prices { gap: 30px; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .homepage *, .homepage *::before, .homepage *::after { animation: none !important; transition: none !important; }
  .homepage #particle-canvas { display: none; }
}
/* Let product previews shrink with small viewports and browser text zoom. */
.feature-layout > *, .side-features > *, .entry-demo > * { min-width: 0; }
@media (max-width: 350px) {
  .keyboard-feature { display: block; }
  .key-pair { margin-top: 22px; }
  .report-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 23px; }
  .api-note > div { min-width: 0; }
  .orbit-mark { display: none; }
  .faq-plan-prices { gap: 20px; }
}
