/* Homepage only: shared violet identity, approved V2.1 ten-section order. */
.home { --muted: #625c79; }
.home .container, .home .container.section, .home .hero { padding-inline: 24px; }
.home section[id], .home article[id] { scroll-margin-top: 110px; }
.home .text-hero { line-height: 1.2; }
.home .text-h2 { line-height: 1.32; text-wrap: balance; }
.home .hero .hero-promise { margin-bottom: 28px; color: var(--ink); font-weight: 700; }
.home .hero .btn-group { margin-bottom: 36px; }
.home .hero .hero-status { margin: 24px auto 0; font-size: .9rem; color: var(--ink-soft); }
.home .ime-demo { max-width: 660px; }
.home .ime-demo figcaption { margin: 14px 4px 0; color: #c7c0e6; font-size: .78rem; }
.home .vtt-raw { color: #c7c0e6; padding-left: 56px; }
.home .vtt-raw::before { content: "口語"; color: #c7c0e6; font-size: .72rem; top: 3px; }
.home .vtt-clean { line-height: 1.65; }
.home .section-lede { color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; margin-bottom: 20px; }
.home .section-copy { max-width: 780px; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.85; }
.home .section-note { color: var(--ink-soft); font-size: .9rem; line-height: 1.8; }
.home .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home .card-title { text-wrap: balance; }
.home .card p { color: var(--ink-soft); line-height: 1.8; }
.home .card a:not(.btn), .home .text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.home p a, .home .detail-content a { text-decoration: underline; text-underline-offset: 4px; }
.home #core-diff > .container > .section-note { margin: 28px 0 0; }
.home .subsection { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-strong); }
.home .subsection-title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.35; margin-bottom: 14px; text-wrap: balance; }
.home .subsection .feature-grid { margin: 28px 0 0; }
.home .subsection .inline-note { margin-bottom: 0; }
.home .pad-showcase { margin: 36px 0; }
.home .pad-showcase img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.home figcaption { color: var(--ink-soft); font-size: .86rem; line-height: 1.65; margin-top: 14px; }
.home .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; list-style: none; margin: 34px 0; }
.home .feature-grid li { padding-top: 20px; border-top: 2px solid var(--line-strong); }
.home .feature-grid h3, .home .feature-grid h4, .home .privacy-list h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.home .feature-grid p, .home .privacy-list p { color: var(--ink-soft); margin-bottom: 0; line-height: 1.85; }
.home .inline-note { background: var(--accent-soft); color: var(--ink); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 24px; margin: 30px 0 24px; line-height: 1.8; }
.home .feature-detail { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
.home .feature-detail summary { padding: 20px 24px; cursor: pointer; font-weight: 700; line-height: 1.65; }
.home .detail-content { border-top: 1px solid var(--line); padding: 22px 24px; color: var(--ink-soft); line-height: 1.8; }
.home .detail-content strong { color: var(--ink); }
.home .voice-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 40px; margin-top: 28px; }
.home .voice-example { padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.home .example-label { font-size: .85rem; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.home .voice-example blockquote { color: var(--ink-soft); line-height: 1.8; margin-bottom: 28px; }
.home .example-result { background: var(--accent-soft); border-radius: var(--radius-sm); padding: 16px; color: var(--ink); line-height: 1.8; font-weight: 700; margin-bottom: 0; }
.home .example-list { padding-left: 36px; }
.home .plan-grid { margin-top: 0; }
.home .plan-card ul { padding-left: 20px; color: var(--ink-soft); line-height: 1.8; margin-top: 12px; }
.home .plan-card li + li { margin-top: 8px; }
.home .plan-card li strong { color: var(--ink); }
.home .plan-card--pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.home .plan-footnote { max-width: 860px; margin-top: 28px; }
.home .privacy-list { max-width: 860px; list-style: none; margin: 32px 0; }
.home .privacy-list li { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.home .product-grid .card { display: flex; flex-direction: column; }
.home .product-grid .card .btn { margin-top: auto; padding-inline: 16px; }
.home .product-label { font-size: .78rem; letter-spacing: .03em; color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.home .beta-notice { padding: 22px 24px; margin: 30px 0; border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink); line-height: 1.85; }
.home .closing { max-width: 800px; text-align: center; }
.home .closing .eyebrow { justify-content: center; }
.home .closing .text-body-large { max-width: 620px; margin: 0 auto 32px; line-height: 1.8; }
.home .footer-byline { font-weight: 700; color: var(--ink); }
.home .skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 12px 20px; background: var(--ink); color: white; border-radius: var(--radius-sm); }
.home .skip-link:focus { top: 12px; }
.home :focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.home .btn-primary:hover { color: #fff; }
.home .feature-grid li.span-all { grid-column: 1 / -1; }
.home .pad-market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; list-style: none; margin: 32px 0; padding: 0; }
.home .pad-market-grid a { display: block; color: inherit; text-decoration: none; }
.home .pad-market-grid img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.home .pad-market-grid a:hover img { transform: translateY(-2px); }
.home .pad-market-grid span { display: block; margin-top: 10px; font-weight: 700; color: var(--ink); text-align: center; }
.home .highlights { padding-top: 24px; }
.home .highlights .text-h2 { margin-bottom: 28px; }
.home .highlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0 0 20px; padding: 0; }
.home .highlight-grid a { display: block; height: 100%; padding: 22px; border: 1px solid var(--line-strong); border-top: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.home .highlight-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; }
.home .highlight-grid h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.home .a11y-callout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 20px; padding: 18px 22px; border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); color: inherit; text-decoration: none; transition: box-shadow .15s ease; }
.home .a11y-callout:hover { box-shadow: var(--shadow-sm); text-decoration: none; }
.home .a11y-callout strong { font-size: 1.08rem; color: var(--ink); }
.home .a11y-callout span { color: var(--ink-soft); line-height: 1.7; }
.home .highlight-grid p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 0; }
.home .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 960px) {
    .home .nav-container { align-items: flex-start; }
    .home .brand { padding-top: 7px; }
    .home .nav-links { justify-content: flex-end; }
    .home .grid-3 { grid-template-columns: 1fr; gap: 18px; }
    .home .product-grid .card .btn { align-self: flex-start; }
    .home .voice-layout { grid-template-columns: 1fr; gap: 24px; }
    .home .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home .pad-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .home .container, .home .container.section, .home .hero { padding-inline: 20px; }
    .home .nav-container { flex-direction: column; gap: 8px; }
    .home .brand { padding-top: 0; }
    .home .nav-links { justify-content: flex-start; }
    .home .nav-links a { padding: 5px 9px; min-height: 34px; }
    .home section[id], .home article[id] { scroll-margin-top: 160px; }
    .home .hero .eyebrow { font-size: .7rem; letter-spacing: .04em; }
    .home .hero .eyebrow::before { display: none; }
    .home .grid-2, .home .feature-grid, .home .highlight-grid { grid-template-columns: 1fr; }
    .home .card, .home .voice-example { padding: 24px; }
    .home .feature-grid { gap: 22px; }
    .home .pad-showcase img { border-radius: var(--radius-sm); }
    .home .ime-demo__mic { font-size: .75rem; gap: 7px; letter-spacing: 0; }
    .home .vtt-raw { padding-left: 0; padding-top: 24px; }
    .home .vtt-raw::before { top: 0; }
    .home .vtt-clean { font-size: 1.05rem; }
    .home .vtt-tag { margin-left: 0; }
    .home .inline-note, .home .beta-notice { padding: 18px 20px; }
    .home .product-grid .card .btn { align-self: stretch; }
    .home .feature-detail summary, .home .detail-content { padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(body.home) { scroll-behavior: auto; }
    .home *, .home *::before, .home *::after { animation: none !important; transition: none !important; }
    .home .btn:hover, .home .card:hover { transform: none; }
}
@media (max-width: 360px) {
    .home section[id], .home article[id] { scroll-margin-top: 200px; }
}
