/* NANAiRO editorial design. Rules and rationale: DESIGN.md */
.nanairo-accessibility-tool {
  --ink: #222936;
  --muted: #606975;
  --teal: #397579;
  --teal-hover: #285c60;
  --line: #e8ebeb;
  --paper: #fff;
  --soft: #f5f7f7;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
.nanairo-accessibility-tool * { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; line-height: 1.8; }
.nanairo-accessibility-tool a { color: inherit; }
.nanairo-accessibility-tool button, a { -webkit-tap-highlight-color: transparent; }
.nanairo-accessibility-tool button { font: inherit; }
.nanairo-accessibility-tool a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.nanairo-accessibility-tool .skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.nanairo-accessibility-tool .site-notice { padding: 9px 24px; background: var(--ink); color: #fff; text-align: center; font-size: 12px; letter-spacing: .05em; }
.nanairo-accessibility-tool .site-header, .nanairo-accessibility-tool .hero, .nanairo-accessibility-tool .section, .nanairo-accessibility-tool > footer { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.nanairo-accessibility-tool .site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; }
.nanairo-accessibility-tool .logo { display: inline-flex; }
.nanairo-accessibility-tool .nanairo-accessibility-tool .logo img { width: 160px; height: auto; }
.nanairo-accessibility-tool nav { display: flex; align-items: center; gap: 4px; }
.nanairo-accessibility-tool nav a { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border-radius: 999px; text-decoration: none; font-size: 13px; }
nav a:hover, .nav-active { background: var(--soft); }
.nanairo-accessibility-tool nav .nav-download { background: var(--teal); color: #fff; padding-inline: 25px; }
nav .nav-download:hover { background: var(--teal-hover); }
.hero { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; padding-block: 60px 96px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 10% 45% 0 -8%; z-index: -1; background: radial-gradient(ellipse at 30% 35%, #fae9e8 0%, transparent 65%), radial-gradient(ellipse at 65% 75%, #e2eeec 0%, transparent 60%); filter: blur(32px); animation: hero-ambient 10s ease-in-out infinite alternate; }
.hero-copy { position: relative; z-index: 1; width: calc(100% + 72px); padding: 44px; border-radius: var(--radius); background: rgba(255,255,255,.93); box-shadow: 0 12px 28px #22293612; animation: hero-copy-in .8s cubic-bezier(.2,.75,.3,1) both; }
.eyebrow { display: block; color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.nanairo-accessibility-tool h1 { margin: 0 0 18px; font-size: clamp(32px, 3.65vw, 48px); font-weight: 750; line-height: 1.5; letter-spacing: -.045em; }
.hero-title-topic { color: var(--ink); }
.hero-title-action { color: var(--teal); }
.hero-mobile-break { display: none; }
.lead { margin: 0; max-width: 38em; color: var(--muted); font-size: 15px; line-height: 2; }
.hero-question { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.7; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary, .secondary, .download-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.primary, .download-button { background: var(--teal); color: #fff; }
.primary:hover, .download-button:hover { background: var(--teal-hover); transform: translateY(-2px); }
.secondary { background: #fff; border-color: #dce3e2; }
.secondary:hover { background: var(--soft); }
.visual { position: relative; min-height: 570px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: #e4efeb; animation: hero-visual-in 1s .12s cubic-bezier(.2,.75,.3,1) both; }
.visual::before { content: ""; position: absolute; width: 430px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.64); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.13), 0 0 0 84px rgba(57,117,121,.06); animation: hero-ring 15s linear infinite; }
.visual::after { content: ""; position: absolute; inset: -40% auto -40% -55%; width: 38%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent); transform: skewX(-14deg); animation: hero-sheen 7s 1.2s ease-in-out infinite; }
.orb { position: absolute; border-radius: 50%; }
.orb-a { width: 400px; height: 400px; right: -110px; top: -60px; background: radial-gradient(circle at 30% 25%, #f1f6d8, #a9c49f 42%, #5f9791 80%); box-shadow: inset -24px -24px 50px #355f5c20; animation: orb-a-float 8s ease-in-out infinite alternate; }
.orb-b { width: 220px; height: 220px; left: 0; bottom: -55px; background: radial-gradient(circle at 30% 25%, #f2f7da, #b7d09a 50%, #7aa896); animation: orb-b-float 6.5s 1s ease-in-out infinite alternate; }
.demo-panel { position: relative; z-index: 1; width: min(330px, 72%); margin-left: 40px; padding: 24px; border: 1px solid #ffffffbb; border-radius: 24px; background: #ffffffd9; box-shadow: 0 24px 48px #385f5120; transform: rotate(3deg); animation: demo-panel-float 5.5s 1.1s ease-in-out infinite alternate; }
.demo-top { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #dce6e1; }
.demo-icon { width: 36px; height: 36px; background: center / contain no-repeat url('nanairo-logo-mark.png'); }
.demo-lines { display: grid; color: var(--ink); font-size: 14px; }
.demo-lines small { font-size: 10px; color: var(--muted); }
.demo-row { display: flex; gap: 12px; align-items: center; padding: 20px 0; border-bottom: 1px solid #dce6e1; animation: demo-row-in .55s cubic-bezier(.2,.75,.3,1) both; }
.demo-row:nth-child(2) { animation-delay: .55s; }
.demo-row:nth-child(3) { animation-delay: .72s; }
.demo-row:nth-child(4) { animation-delay: .89s; }
.demo-row:last-child { border: 0; padding-bottom: 0; }
.demo-row > span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--teal); background: #eaf1ec; border-radius: 10px; font-weight: 700; }
.demo-row p { flex: 1; margin: 0; line-height: 1.5; }
.demo-row b, .demo-row small { display: block; }
.demo-row b { font-size: 12px; }
.demo-row small { font-size: 9px; margin-top: 3px; color: var(--muted); }
.fake-switch { width: 32px; height: 19px; border-radius: 999px; background: #60958a; padding: 3px; }
.fake-switch::after { content: ""; display: block; width: 13px; height: 13px; margin-left: 13px; border-radius: 50%; background: #fff; }
.visual-caption { position: absolute; bottom: 25px; right: 28px; color: #395e55; font-size: 11px; letter-spacing: .12em; }
@keyframes hero-copy-in {
  from { opacity: 0; transform: translate3d(-24px, 14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-visual-in {
  from { opacity: 0; transform: translate3d(20px, 18px, 0) scale(.975); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes hero-ambient {
  from { transform: translate3d(-1%, 0, 0) scale(.98); }
  to { transform: translate3d(3%, -2%, 0) scale(1.04); }
}
@keyframes hero-ring {
  to { transform: rotate(360deg) scale(1.04); }
}
@keyframes hero-sheen {
  0%, 20% { transform: translateX(0) skewX(-14deg); opacity: 0; }
  38% { opacity: 1; }
  60%, 100% { transform: translateX(470%) skewX(-14deg); opacity: 0; }
}
@keyframes orb-a-float {
  from { transform: translate3d(0, 0, 0) rotate(0); }
  to { transform: translate3d(-20px, 18px, 0) rotate(5deg); }
}
@keyframes orb-b-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(16px, -14px, 0) scale(1.05); }
}
@keyframes demo-panel-float {
  from { transform: translate3d(0, -4px, 0) rotate(3deg); box-shadow: 0 24px 48px #385f5120; }
  to { transform: translate3d(0, 8px, 0) rotate(1.6deg); box-shadow: 0 32px 58px #385f5130; }
}
@keyframes demo-row-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.section { padding-block: 80px; }
.section-intro { max-width: 700px; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 44px; }
.section h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); line-height: 1.6; letter-spacing: -.03em; }
.section-intro h2 { margin-bottom: 0; }
.section-intro .eyebrow { margin-top: 8px; color: #6b7280; font-family: "Reenie Beanie", cursive; font-size: 28px; letter-spacing: normal; line-height: 1; font-weight: 400; }
.section-intro p { margin: 22px 0 0; font-size: 15px; color: var(--muted); line-height: 2; }
.mission-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.mission-statement { padding: 48px 38px; border-radius: var(--radius); background: #f2f6f3; }
.mission-brand { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: 11px; letter-spacing: .12em; }
.mission-brand img { width: 32px; height: 32px; object-fit: contain; }
.mission-question { display: block; margin-top: 28px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.mission-statement blockquote { margin: 14px 0 0; font-size: clamp(25px, 2.7vw, 34px); font-weight: 700; line-height: 1.65; letter-spacing: -.04em; }
.mission-statement p, .mission-copy > p { color: var(--muted); font-size: 14px; line-height: 2; }
.mission-copy > .eyebrow { margin-bottom: 14px; }
.meaning-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 44px 0 0; padding: 0; }
.meaning-list li { position: relative; display: grid; grid-template-columns: 52px 1fr; align-content: start; gap: 18px; min-height: 190px; padding: 30px 26px; overflow: hidden; border: 1px solid #dce8e2; border-radius: 22px; background: linear-gradient(145deg, #fff 20%, #f0f6f2); box-shadow: 0 14px 32px #285c600d; }
.meaning-list li::after { content: ""; position: absolute; right: -35px; bottom: -50px; width: 130px; height: 130px; border-radius: 50%; background: #86b69618; }
.meaning-list b { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: var(--teal); box-shadow: 0 8px 18px #285c6030; font-size: 13px; }
.meaning-list strong { position: relative; z-index: 1; display: block; margin-top: 10px; font-size: 17px; line-height: 1.55; }
.meaning-list p { position: relative; z-index: 1; margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.9; }
.evidence-section { position: relative; }
.evidence-section::before { content: ""; position: absolute; inset: 34px -4% 12px; z-index: -1; border-radius: 42px; background: linear-gradient(135deg, #f3f7f4, #f8faf8 55%, #edf4f2); }
.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.research-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid #dfe8e4; border-radius: var(--radius); background: rgba(255,255,255,.9); box-shadow: 0 12px 30px #2e5c4f0a; }
.research-card header { min-height: 172px; }
.research-kicker { color: var(--teal); font-size: 10px; font-weight: 650; letter-spacing: .11em; }
.research-card h3 { margin: 12px 0 10px; font-size: 20px; line-height: 1.55; }
.research-card header p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.adoption-highlight { display: flex; align-items: center; gap: 18px; margin: 4px 0 26px; color: var(--teal); }
.adoption-highlight strong { font-size: 62px; line-height: 1; letter-spacing: -.055em; }
.adoption-highlight small { font-size: 20px; }
.adoption-highlight span { font-size: 11px; line-height: 1.6; }
.beneficiary-highlight { display: flex; align-items: center; gap: 18px; margin: 8px 0 24px; color: var(--teal); }
.beneficiary-highlight strong { font-size: 54px; line-height: 1; letter-spacing: -.055em; }
.beneficiary-highlight small { margin-left: 5px; font-size: 16px; letter-spacing: 0; }
.beneficiary-highlight span { font-size: 11px; line-height: 1.6; }
.research-context { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.context-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 22px; }
.context-metrics > div { min-width: 0; padding: 18px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.context-metrics strong, .context-metrics span { display: block; }
.context-metrics strong { color: var(--teal); font-size: 30px; line-height: 1.15; letter-spacing: -.045em; overflow-wrap: anywhere; }
.context-metrics strong small { margin-left: 3px; font-size: 11px; letter-spacing: 0; }
.context-metrics span { margin-top: 8px; color: var(--muted); font-size: 9px; line-height: 1.55; }
html[data-nanairo-text-scale="3"] .context-metrics,
html[data-nanairo-text-scale="4"] .context-metrics,
html[data-nanairo-text-scale="5"] .context-metrics { grid-template-columns: 1fr; }
.chart-block { margin: 0; }
.chart-block figcaption { margin-bottom: 14px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .05em; }
.stacked-bar, .gender-bar { display: flex; width: 100%; height: 18px; overflow: hidden; border-radius: 999px; background: #e6ece9; }
.stacked-bar .segment { flex: 0 0 calc(var(--value) * 1%); }
.segment-a { background: #285c60; }.segment-b { background: #4f8d84; }.segment-c { background: #8fb979; }.segment-d { background: #d0c58f; }.segment-e { background: #aeb7b3; }.segment-f { background: #e0e4e2; }
.chart-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.chart-legend li { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.chart-legend i { width: 9px; height: 9px; border-radius: 50%; }
.chart-legend b { color: var(--ink); font-weight: 650; }
.bar-chart { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.bar-chart li { display: grid; grid-template-columns: minmax(104px, 1.25fr) 2fr 40px; align-items: center; gap: 10px; font-size: 10px; }
.bar-chart li > span { color: var(--muted); line-height: 1.35; }
.bar-chart li > i { height: 9px; overflow: hidden; border-radius: 999px; background: #e7ece9; }
.bar-chart li > i b { display: block; width: min(calc(var(--value) * 2.5%), 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #397579, #76a98c); }
.bar-chart li > strong { color: var(--teal); text-align: right; font-size: 10px; }
.beneficiary-chart li { grid-template-columns: minmax(90px, 1fr) 1.6fr 68px; }
.beneficiary-chart li > i b { width: min(calc(var(--value) * .633%), 100%); }
.beneficiary-chart li > strong { white-space: nowrap; }
.bar-chart-compact { gap: 7px; }
.bar-chart-compact li > i b { width: min(calc(var(--value) * 4%), 100%); }
.sub-caption { margin-top: 22px; }
.gender-bar { height: 28px; color: #fff; font-size: 9px; }
.gender-bar span { display: grid; place-items: center; flex: 0 0 calc(var(--value) * 1%); white-space: nowrap; }
.gender-bar span:nth-child(1) { background: #397579; }.gender-bar span:nth-child(2) { background: #79a88c; }.gender-bar span:nth-child(3) { background: #c4b978; }.gender-bar span:nth-child(4) { background: #aeb7b3; }
.chart-detail { margin: 8px 0 0; color: var(--muted); font-size: 9px; text-align: right; }
.research-source { width: fit-content; margin-top: auto; padding-top: 24px; color: var(--teal); font-size: 10px; text-underline-offset: 4px; }
.evidence-note { max-width: 820px; margin: 22px auto 0; color: var(--muted); font-size: 10px; line-height: 1.8; text-align: center; }
.download-grid, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.download-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.package-type { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 10px; letter-spacing: .05em; color: #365d52; background: #edf4ed; }
.cdn .package-type { background: #edf2f6; color: #355670; }
.wordpress .package-type { background: #f6eeee; color: #875050; }
.download-card h3 { font-size: 24px; margin: 20px 0 14px; letter-spacing: -.03em; }
.download-card p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }
.download-card .plain-guide { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.plain-guide strong { display: block; margin-bottom: 5px; color: var(--ink); }
.package-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0; }
.package-meta span { padding: 3px 8px; border-radius: 999px; color: #626b73; background: var(--soft); font-size: 10px; }
.download-button { margin-top: auto; padding-inline: 12px; font-size: 12px; }
.download-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.install-grid { display: grid; gap: 24px; }
.install-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.install-card header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.install-card h3 { font-size: 20px; margin: 0 0 5px; }
.install-card header p { font-size: 12px; color: var(--muted); margin: 0; }
.step-badge { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--soft); color: var(--teal); font-size: 12px; }
.code-disclosure { border: 1px solid #dfe7e5; border-radius: 16px; background: #f7f9f8; overflow: hidden; }
.code-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 10px 16px 10px 20px; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.code-disclosure summary::-webkit-details-marker { display: none; }
.code-disclosure summary:hover { background: #edf4f1; }
.code-disclosure summary i { position: relative; display: block; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: var(--teal); box-shadow: 0 6px 14px #285c6024; }
.code-disclosure summary i::before,
.code-disclosure summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); transition: transform .24s ease, opacity .24s ease; }
.code-disclosure summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.code-disclosure[open] summary i::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.code-disclosure .close-label { display: none; }
.code-disclosure[open] .open-label { display: none; }
.code-disclosure[open] .close-label { display: inline; }
.code-disclosure[open] .code-wrap { animation: disclosure-in .28s ease both; }
.code-wrap { position: relative; border-radius: 16px; overflow: hidden; background: #222936; }
.code-disclosure .code-wrap { border-radius: 0; border-top: 1px solid #ffffff24; }
.nanairo-accessibility-tool pre { margin: 0; padding: 50px 24px 24px; overflow-x: auto; color: #edf1ef; font: 12px/1.9 ui-monospace, monospace; }
code .accent { color: #a2d6bc; }
.copy-button { position: absolute; right: 12px; top: 10px; min-height: 32px; padding: 5px 12px; border: 1px solid #ffffff55; border-radius: 999px; background: transparent; color: #fff; font-size: 11px; cursor: pointer; }
.copy-button:hover { background: #ffffff20; }
@keyframes disclosure-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.install-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.install-notes p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.install-notes strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.card-number { color: var(--teal); font-size: 11px; letter-spacing: .1em; }
.card h3 { font-size: 20px; margin: 24px 0 12px; }
.card p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }
.callout { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 56px 32px; text-align: center; border-radius: var(--radius); background: #f2f6f3; }
.callout h2 { font-size: clamp(24px, 2.7vw, 32px); }
.callout p { margin: 0 auto; max-width: 650px; color: var(--muted); font-size: 14px; }
.callout .primary { justify-self: center; min-height: 56px; padding-inline: 32px; }
.nanairo-accessibility-tool > footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 42px; font-size: 11px; color: var(--muted); }
.footer-logo img { width: 140px; height: auto; display: block; }
html[data-nanairo-color="dark"] :is(.logo, .mission-brand, .footer-logo) img,
html[data-nanairo-color="dark"] .demo-icon {
  filter: brightness(0) invert(1);
}
@media (max-width: 900px) {
  .nanairo-accessibility-tool .site-header, .nanairo-accessibility-tool .hero, .nanairo-accessibility-tool .section, .nanairo-accessibility-tool > footer { width: calc(100% - 48px); }
  .evidence-section::before { inset-inline: -24px; }
  .nanairo-accessibility-tool nav a { padding-inline: 12px; }
  .hero-copy { padding: 30px; width: calc(100% + 48px); }
  .visual { min-height: 540px; }
  .demo-panel { width: 75%; margin-left: 42px; padding: 20px; }
  .mission-grid { gap: 36px; }
  .research-card { padding: 24px; }
  .bar-chart li { grid-template-columns: minmax(92px, 1.15fr) 1.8fr 36px; }
  .download-grid, .cards { gap: 14px; }
  .download-card, .card { padding: 20px; }
}
@media (max-width: 700px) {
  .nanairo-accessibility-tool .site-notice { font-size: 10px; }
  .nanairo-accessibility-tool .site-header { padding-block: 20px; gap: 14px; }
  .nanairo-accessibility-tool .nanairo-accessibility-tool .logo img { width: 126px; }
  nav a:not(.nav-download) { display: none; }
  .nanairo-accessibility-tool nav .nav-download { padding-inline: 16px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 24px 40px; }
  .hero-copy { width: 100%; padding: 28px; }
  .nanairo-accessibility-tool h1 { font-size: clamp(28px, 7.2vw, 36px); }
  .hero-mobile-break { display: initial; }
  .hero-question { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .visual { min-height: 350px; margin: -20px 0 0 24px; padding-top: 35px; }
  .demo-panel { width: min(270px, 82%); margin-left: 0; padding: 20px; }
  .visual-caption { display: none; }
  .orb-a { width: 280px; height: 280px; }
  .section { padding-block: 48px; }
  .section-intro { margin-bottom: 28px; }
  .section-intro p { font-size: 14px; }
  .mission-grid, .meaning-list, .research-grid, .download-grid, .cards, .install-notes { grid-template-columns: 1fr; }
  .mission-statement { padding: 32px; }
  .evidence-section::before { inset-inline: -12px; border-radius: 28px; }
  .research-card { padding: 24px; }
  .research-card header { min-height: 0; margin-bottom: 28px; }
  .adoption-highlight strong { font-size: 54px; }
  .download-card, .card, .install-card { padding: 26px; }
  .download-grid, .cards { gap: 20px; }
  .install-notes { gap: 18px; }
  .callout { padding: 36px 24px; }
  .nanairo-accessibility-tool > footer { flex-direction: column; text-align: center; }
  html[data-nanairo-text-scale="3"] .meaning-list li,
  html[data-nanairo-text-scale="4"] .meaning-list li,
  html[data-nanairo-text-scale="5"] .meaning-list li,
  html[data-nanairo-text-scale="3"] .bar-chart li,
  html[data-nanairo-text-scale="4"] .bar-chart li,
  html[data-nanairo-text-scale="5"] .bar-chart li {
    grid-template-columns: 1fr;
  }
  html[data-nanairo-text-scale="3"] :is(.adoption-highlight, .beneficiary-highlight),
  html[data-nanairo-text-scale="4"] :is(.adoption-highlight, .beneficiary-highlight),
  html[data-nanairo-text-scale="5"] :is(.adoption-highlight, .beneficiary-highlight) {
    flex-wrap: wrap;
  }
  html[data-nanairo-text-scale="3"] .bar-chart li > strong,
  html[data-nanairo-text-scale="4"] .bar-chart li > strong,
  html[data-nanairo-text-scale="5"] .bar-chart li > strong {
    white-space: normal;
    text-align: left;
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
