/* Home composition. Shared colors and controls live in site-pages.css. */
.home-shell { width: min(1180px, calc(100% - 96px)); margin: 0 auto; }
.home-nav { border-bottom: 1px solid var(--border); }
.home-nav .site-brand { margin-right: auto; }
.home-nav .site-links { gap: 18px; }
.home-nav .site-cta { margin-left: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-brand); font-size: 32px; letter-spacing: -1.8px; }
.wordmark b { font-weight: 400; }
.brand-period { color: var(--accent); }
.voice-mark { display: flex; align-items: center; gap: 3px; height: 30px; color: var(--accent); }
.voice-mark i { display: block; width: 3px; height: 12px; border-radius: 3px; background: currentColor; }
.voice-mark i:nth-child(2n) { height: 22px; }
.voice-mark i:nth-child(3n) { height: 30px; }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: clamp(40px, 6vh, 72px) 0 clamp(28px, 4vh, 55px); }
.hero-note { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin: 0 0 25px; }
.hero-note span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.home-hero h1 { font-family: var(--font-brand); font-weight: 400; font-size: clamp(48px, 5.7vw, 72px); line-height: 1.04; letter-spacing: -3px; max-width: 9ch; margin: 0 0 27px; }
.hero-description { max-width: 36ch; font-size: 17px; line-height: 1.6; color: var(--muted); margin-bottom: 26px; }
.home-hero .hero-actions { justify-content: flex-start; gap: 10px; margin: 0; }
.download-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 11px; margin-top: 17px; }
.writing-demo { padding: 24px; background: #E5EBDD; border-radius: 20px; position: relative; }
.writing-demo-header { display: flex; justify-content: space-between; align-items: center; color: #53594C; font-size: 11px; margin-bottom: 18px; }
.writing-demo-header > span { display: inline-flex; align-items: center; gap: 6px; }
.sample-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.demo-tabs { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 16px; }
.demo-tab { background: transparent; color: #55594F; border: 1px solid transparent; padding: 7px 11px; border-radius: 6px; font-size: 11px; }
.demo-tab[aria-pressed="true"] { background: var(--surface); border-color: #D0D7C8; color: var(--text); }
.demo-tab:hover { background: #F0F2EA; }
.writing-sheet { background: var(--surface); border: 1px solid #D0D7C8; border-radius: 10px; box-shadow: 0 5px 0 #D6DDCE; overflow: hidden; }
.writing-sheet-bar { display: flex; justify-content: space-between; padding: 17px 22px; border-bottom: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.writing-sheet-content { padding: 20px 24px 28px; min-height: 190px; }
.writing-sheet-content span { font-size: 11px; color: var(--muted); }
.writing-sheet-content p { font-family: var(--font-brand); font-size: 29px; line-height: 1.35; letter-spacing: -0.7px; margin-top: 17px; color: var(--text); }
.writing-sheet-content p::after { content: ''; display: inline-block; height: 26px; width: 2px; margin-left: 4px; background: var(--accent); vertical-align: -3px; }
.demo-controls { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 18px; }
.demo-controls p { flex: 1; min-width: 0; font-size: 11px; line-height: 1.5; color: #53594C; max-width: 28ch; }
.demo-play { display: flex; align-items: center; gap: 12px; border: none; border-radius: 999px; background: var(--accent); color: white; padding: 13px 18px; font-size: 11px; white-space: nowrap; }
.demo-play:hover { background: #183AAF; }
.demo-play .voice-mark { color: white; height: 20px; }
.demo-play .voice-mark i { width: 2px; height: 7px; }
.demo-play .voice-mark i:nth-child(2n) { height: 16px; }
.demo-play .voice-mark i:nth-child(3n) { height: 20px; }
.demo-play[aria-busy="true"] .voice-mark i { animation: voice 700ms ease-in-out infinite alternate; transform-origin: center; }
.demo-play[aria-busy="true"] .voice-mark i:nth-child(2n) { animation-delay: 200ms; }
@keyframes voice { from { transform: scaleY(0.5); } to { transform: scaleY(1); } }
.app-ribbon { padding: 25px 0 38px; border-bottom: 1px solid var(--border); }
.app-ribbon > p { color: var(--muted); font-size: 12px; margin: 0 0 21px; }
.app-ribbon-list { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.app-ribbon-list span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: #50544A; }
.app-ribbon-list img { width: 22px; height: 22px; object-fit: contain; }
.home-section { padding: 86px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 24px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 45px; }
.section-intro h2, .privacy-copy h2, .download-section h2 { font-family: var(--font-brand); font-size: clamp(34px, 4vw, 52px); font-weight: 400; letter-spacing: -1.6px; line-height: 1.12; margin: 0; max-width: 15ch; }
.section-intro p { max-width: 42ch; color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.workflow article { border-top: 1px solid var(--border); padding-top: 20px; }
.step-number { display: block; color: var(--accent); font-size: 12px; margin-bottom: 30px; }
.workflow h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.5px; margin: 0 0 10px; }
.workflow p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 30ch; }
.workflow kbd { display: inline-flex; padding: 5px 9px; margin-bottom: 19px; background: var(--surface); border: 1px solid var(--border); border-bottom-width: 3px; border-radius: 6px; font-family: var(--font); font-size: 12px; }
.voice-note { font-family: var(--font-brand); font-size: 20px; margin-bottom: 20px; }
.workflow-text { color: var(--accent); margin-bottom: 20px; font-size: 16px; }
.privacy-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.privacy-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 38ch; margin-top: 22px; }
.privacy-copy a { color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.privacy-detail { background: #E8ECFF; border-radius: 12px; padding: 32px; }
.privacy-detail h3 { font-family: var(--font-brand); font-size: 30px; font-weight: 400; letter-spacing: -0.7px; margin: 0 0 24px; }
.privacy-detail ul { list-style: none; margin: 0; padding: 0; }
.privacy-detail li { padding: 16px 0; border-top: 1px solid #C9D2F6; font-size: 14px; }
.privacy-detail li span { display: block; color: #55594F; font-size: 12px; line-height: 1.6; margin-top: 6px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.faq-layout > h2 { font-family: var(--font-brand); font-size: 42px; font-weight: 400; letter-spacing: -1px; margin: 0; }
.faq-list details { border-bottom: 1px solid var(--border); padding: 0 0 20px; margin-bottom: 20px; }
.faq-list summary { cursor: pointer; font-size: 15px; padding: 4px 0; }
.faq-list p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 15px; max-width: 52ch; }
.faq-list a { text-decoration: underline; color: var(--accent); }
.download-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 70px 0; }
.download-section p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 18px; }
.download-section .hero-actions { justify-content: flex-start; }
.home-footer { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.home-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.home-footer a:hover { color: var(--accent); }
@media (max-width: 980px) {
  .home-shell { width: calc(100% - 48px); }
  .home-hero { gap: 28px; padding-top: 55px; }
  .home-hero h1 { font-size: 58px; }
  .writing-demo { padding: 20px; }
  .writing-sheet-content p { font-size: 24px; }
  .writing-sheet-content { min-height: 230px; padding: 24px 18px; }
  .demo-controls { flex-direction: column; align-items: flex-start; gap: 12px; }
  .demo-controls p { max-width: none; }
  .section-intro, .privacy-section { gap: 35px; }
}
@media (max-width: 700px) {
  .home-shell { width: calc(100% - 36px); }
  .home-nav { display: flex; flex-direction: row; padding: 19px 0; flex-wrap: wrap; gap: 14px; }
  .home-nav .site-links { order: 3; width: 100%; gap: 12px; }
  .home-nav .site-links a { padding-left: 0; }
  .home-nav .site-cta { margin-left: 0; }
  .wordmark { font-size: 29px; }
  .home-hero, .section-intro, .privacy-section, .faq-layout, .download-section { grid-template-columns: 1fr; }
  .home-hero { padding-top: 40px; gap: 38px; }
  .home-hero h1 { font-size: clamp(44px, 12vw, 64px); letter-spacing: -2.2px; }
  .hero-description { font-size: 15px; }
  .home-section { padding: 52px 0; }
  .workflow { grid-template-columns: 1fr; gap: 24px; }
  .workflow article { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
  .workflow article > :not(.step-number) { grid-column: 2; }
  .workflow .step-number { grid-row: 1 / 4; margin: 0; }
  .workflow p { max-width: none; margin: 0; }
  .workflow kbd { width: fit-content; }
  .app-ribbon-list { justify-content: flex-start; gap: 20px 26px; }
  .app-ribbon-list span { font-size: 12px; }
  .privacy-detail { padding: 24px; }
  .faq-layout { gap: 28px; }
  .download-section { padding: 48px 0; }
}
