/* App tokens: pashaberi-ios/docs/architecture/03_screen_spec.md §8. */
:root {
  color-scheme: light dark;
  --accent: #FF7A59;
  --recording: #E5484D;
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --ink: #1A1A1A;
  --muted: #6B6B6B;
  --line: #D8D8DC;
  --on-accent: #1A1A1A;
  --paper: #FFFFFF;
  --paper-ink: #1A1A1A;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121212; --surface: #1E1E1E; --ink: #F2F2F2; --muted: #A0A0A0; --line: #494949; }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-size: 1.125rem; line-height: 1.85; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.5; font-weight: 750; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 4.25vw, 3.65rem); line-height: 1.4; letter-spacing: -.055em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; }
h3 { font-size: 1.3rem; }
p { overflow-wrap: anywhere; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; inset-inline-start: 16px; z-index: 10; padding: 12px; background: var(--bg); }
.skip:focus { top: 12px; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 800; text-decoration: none; letter-spacing: .02em; min-height: 44px; }
.brand img { width: 40px; height: 40px; }
.header nav { display: flex; align-items: center; gap: 28px; font-size: 1rem; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-cta { background: var(--accent); color: var(--on-accent); padding: 8px 20px; border-radius: 8px; font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding-block: 72px 64px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .06em; }
.eyebrow::before { content: ""; display: block; width: 24px; height: 3px; background: var(--accent); flex: 0 0 auto; }
.hero-title-line { display: block; }
.underlined { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 7px; text-underline-offset: 9px; text-decoration-skip-ink: none; }
.hero-copy { margin-top: 28px; max-width: 29em; }
.hero-stores { margin-top: 24px; }
.availability { font-weight: 700; font-size: 1rem; }
.stores { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
/* The label overlaps the surrounding card, never the official badge artwork. */
.store { position: relative; display: flex; align-items: center; justify-content: center; width: 190px; min-height: 100px; padding: 28px 14px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); text-decoration: none; }
.store[aria-disabled="true"] { cursor: default; }
.store img { width: 160px; max-height: 54px; object-fit: contain; }
.store[data-store="apple"] img { width: 120px; max-height: none; }
.store[data-store="google"] { padding-inline: 0; }
.store[data-store="google"] img { width: 180px; max-height: none; }
.soon { position: absolute; inset-block-start: -13px; inset-inline-end: 10px; padding: 1px 10px; border-radius: 4px; background: var(--accent); color: var(--on-accent); font-size: .875rem; font-weight: 750; }
.fine { color: var(--muted); font-size: .9375rem; line-height: 1.75; }
.os-note { margin-top: 12px; }
.hero-art { padding: 18px 4px 0; }
.memory-card { padding: 16px; background: var(--paper); color: var(--paper-ink); border: 2px solid var(--paper-ink); border-radius: var(--radius); transform: rotate(2deg); box-shadow: 10px 10px 0 var(--accent); }
[dir="rtl"] .memory-card { transform: rotate(-2deg); box-shadow: -10px 10px 0 var(--accent); }
.memory-art { width: 100%; border-radius: 5px; }
.memory-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 2px 4px; font-size: 1rem; font-weight: 700; }
.voice-chip { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; font-size: .875rem; white-space: nowrap; }
.voice-chip svg { width: 22px; height: 22px; flex: 0 0 auto; }
.art-caption { margin-top: 26px; text-align: center; }
.intro-strip { border-block: 1px solid var(--line); background: var(--surface); padding-block: 24px; }
.intro-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-weight: 700; font-size: 1rem; }
.intro-strip span { display: flex; align-items: center; gap: 8px; }
.intro-strip span::before { content: "＋"; color: var(--ink); background: var(--accent); border-radius: 50%; width: 24px; height: 24px; line-height: 24px; text-align: center; }
.section { padding-block: 88px; }
.section-head { margin-bottom: 40px; }
.section-head p:last-child { max-width: 36em; margin-top: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 0; margin: 0; list-style: none; }
.step { border-top: 2px solid var(--ink); padding-top: 24px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.step-number { color: var(--ink); font-size: 2.25rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.step-icon { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border-radius: 12px; width: 56px; height: 56px; }
.step-icon svg { width: 30px; height: 30px; }
.step p { margin-top: 12px; }
.step-note { margin-top: 24px; }
.expression { background: var(--surface); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.feature-row + .feature-row { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--line); }
.feature-copy p { margin-top: 20px; }
.feature-copy .eyebrow { margin-top: 0; }
.feature-visual { background: var(--paper); color: var(--paper-ink); border: 2px solid var(--paper-ink); border-radius: var(--radius); padding: 24px; }
/* 写真＋吹き出し。**写真に文字を焼かない**ための土台（C2 §1.4 / オンボS1と同一原則）。
   背景は不透明。半透明にすると下地の明るさで読めなくなる位置ができる。
   位置は物理プロパティで固定し RTL でも鏡映しない: 尻尾が写真の中の発話者を指すため。 */
.photo-bubble { position: relative; }
.photo-bubble img { width: 100%; border-radius: 5px; }
.bubble { position: absolute; margin: 0; max-width: min(78%, 24ch); padding: 10px 16px; background: var(--paper); color: var(--paper-ink); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; font-size: clamp(.9rem, 2.2vw, 1.1rem); line-height: 1.6; box-shadow: 0 2px 8px rgb(0 0 0 / .12); }
.bubble::after { content: ""; position: absolute; width: 14px; height: 14px; background: var(--paper); transform: rotate(45deg); }
.bubble--up::after { top: -7px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.bubble--down::after { bottom: -7px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.bubble--tl { top: 7%; left: 5%; }
.bubble--tr { top: 7%; right: 5%; }
.bubble--bl { bottom: 7%; left: 5%; }
.bubble--br { bottom: 7%; right: 5%; }
.bubble--tl::after, .bubble--bl::after { right: 20px; }
.bubble--tr::after, .bubble--br::after { left: 20px; }
.comic-panel .bubble { max-width: 84%; padding: 5px 10px; font-size: clamp(.75rem, 1.6vw, .875rem); line-height: 1.45; border-radius: 10px; }
.comic-panel .bubble::after { width: 10px; height: 10px; }
.comic-panel .bubble--up::after { top: -5px; }
.comic-panel .bubble--down::after { bottom: -5px; }
.comic-panel .bubble--tl::after, .comic-panel .bubble--bl::after { right: 14px; }
.comic-panel .bubble--tr::after, .comic-panel .bubble--br::after { left: 14px; }
/* スクリーンリーダー用の前置き。吹き出しの文字を写真のaltに混ぜないための分離。 */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.speech-explanation { margin-top: 40px; text-align: center; font-size: 1rem; }
.speech-explanation strong { display: inline; background: var(--accent); padding: 3px 8px; border-radius: 4px; }
.comic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.comic-panel { position: relative; padding-block-start: 28px; border: 2px solid var(--paper-ink); border-radius: 4px; overflow: hidden; background: var(--paper); }
.comic-panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.comic-panel .bubble--tl, .comic-panel .bubble--tr { top: calc(28px + 5%); }
.comic-number { position: absolute; top: 5px; inset-inline-start: 6px; width: 25px; height: 25px; line-height: 25px; border-radius: 50%; background: var(--paper); font-size: .8125rem; text-align: center; font-weight: 750; }
.comic-panel p { padding: 6px 10px; font-size: .9375rem; font-weight: 700; line-height: 1.6; }
.visual-caption { margin-top: 16px; font-size: .9375rem; line-height: 1.65; }
.privacy { border-bottom: 1px solid var(--line); }
.privacy-inner { display: grid; grid-template-columns: 168px 1fr; gap: 48px; max-width: 960px; }
.privacy-mark { display: grid; place-items: center; width: 144px; height: 144px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.privacy-mark svg { width: 64px; height: 64px; }
.privacy-copy > p { margin-top: 20px; max-width: 40em; }
.privacy-copy .eyebrow { margin-top: 0; }
.privacy-details { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.privacy-details p + p { margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 1rem; font-weight: 700; }
/* Keep section: reuses the .feature-row / .privacy-details grammar of #privacy. */
.keep { background: var(--surface); }
.keep .privacy-details { margin-top: 40px; }
.keep .privacy-details .text-link { margin-top: 0; margin-inline-start: 8px; }
.keep-photo-caption { margin-top: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 700; }
.keep-photo-caption + .keep-map-title { margin-top: 24px; }
.keep .photo-bubble { margin-bottom: 4px; }
.keep-map-title { font-weight: 750; font-size: 1rem; margin-bottom: 16px; }
.keep-map { display: grid; gap: 12px; margin: 0; }
.keep-map > div { padding: 16px; border: 2px solid var(--paper-ink); border-radius: 8px; }
.keep-map dt { font-weight: 750; font-size: 1rem; }
.keep-map dd { margin: 6px 0 0; font-size: .9375rem; line-height: 1.7; }
/* Language band: same rhythm as .intro-strip, separating pricing from the FAQ. */
/* 言語切替。check_site.py が <script> を全ページで禁止しているため JS を使わない。
   クリック外閉じ・Escape 閉じは効かないが、12言語の入口をモバイルでも隠さないことを優先する。 */
.langsw { position: relative; }
.langsw summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 10px; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 700; }
.langsw summary::-webkit-details-marker { display: none; }
.langsw summary svg { width: 22px; height: 22px; flex: 0 0 auto; }
.langsw ul { position: absolute; z-index: 20; inset-block-start: calc(100% + 6px); inset-inline-end: 0; min-width: 220px; max-height: min(70vh, 520px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgb(0 0 0 / .18); }
.langsw li { margin: 0; }
.langsw ul a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.langsw ul a:hover { background: var(--surface); }
.langsw ul a[aria-current="page"] { font-weight: 750; }
.langsw ul a[aria-current="page"]::after { content: "✓"; margin-inline-start: auto; color: var(--accent); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 1rem; }
.footer-langs a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-note { margin-top: 12px; }
.lang-strip { border-block: 1px solid var(--line); background: var(--surface); padding-block: 32px; text-align: center; }
.lang-lead { font-weight: 750; }
.lang-strip > .wrap > p + p { margin-top: 8px; }
.lang-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; list-style: none; padding: 0; margin-top: 16px; font-size: 1rem; }
.lang-list li { white-space: nowrap; }
.lang-strip .fine { margin-top: 14px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.free { border: 2px solid var(--ink); }
.plan-label { font-weight: 700; }
.price { font-size: 3rem; font-weight: 750; line-height: 1.4; margin-block: 12px 20px; letter-spacing: -.04em; }
.price span { font-size: 1rem; letter-spacing: 0; font-weight: 500; margin-inline-start: 10px; }
.pro-purchase { font-size: 2rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pro-purchase span { display: block; margin-inline-start: 0; margin-top: 6px; }
.price-card h3 { font-size: 1.125rem; }
.price-card ul { padding-inline-start: 1.25em; margin-block: 16px; }
.price-card li { margin-top: 6px; }
.price-card .fine { margin-top: 20px; }
.faq { padding-top: 0; }
.faq-inner { max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; position: relative; padding: 24px 40px 24px 0; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 8px; inset-block-start: 23px; font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding-bottom: 24px; }
.last-cta { background: var(--surface); border-top: 1px solid var(--line); text-align: center; }
.last-cta p { margin-top: 18px; }
.last-cta .stores { justify-content: center; margin-top: 32px; }
.footer { padding-block: 40px 28px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 1rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.credits { margin-top: 28px; font-size: .8125rem; color: var(--muted); line-height: 1.8; }
.legal { max-width: 800px; padding-block: 48px 88px; min-height: 60vh; }
.breadcrumb { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 24px; font-size: 1rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.4rem; margin-top: 36px; }
.legal h3 { font-size: 1.2rem; margin-top: 28px; }
/* Avoid tight headline tracking overflowing enlarged Japanese legal headings. */
.legal h1, .legal h2, .legal h3 { letter-spacing: normal; }
.legal p, .legal ul, .legal ol { margin-top: 20px; }
.legal li { margin-top: 8px; overflow-wrap: anywhere; }
.legal ul, .legal ol { padding-inline-start: 1.4em; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin-block: 32px; }
.legal a, .legal code { overflow-wrap: anywhere; }
.legal code { font-size: .9em; }
.legal-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-block: 28px; }
.legal-toc .toc-title { margin-top: 0; font-weight: 750; }
.legal-toc ul { margin-top: 8px; list-style: none; padding: 0; }
.legal-toc ul ul { padding-inline-start: 1em; border-inline-start: 2px solid var(--line); }
.legal-toc li { margin-top: 0; }
.legal-toc a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: 1rem; }
.legal-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 20px; font-size: 1rem; line-height: 1.8; }
.legal-table th, .legal-table td { padding: 14px 16px; border: 1px solid var(--line); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.legal-table th { background: var(--surface); font-weight: 700; }
.legal-table th:first-child { width: 32%; }
.legal-content > :first-child { margin-top: 0; }
.legal-meta { margin-bottom: 24px; }
.error-number { font-size: min(5rem, 24vw); font-weight: 800; color: var(--ink); line-height: 1.2; margin-bottom: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); min-height: 48px; padding: 10px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; margin-top: 28px; }
/* 言語別のフォント。site.css は外部参照（取り込み・外部URL）を禁じているので Web フォントは使えない。
   システムフォントに寄せる。タイ語は結合文字が上下に積まれるため行高を上げる。 */
html[lang="ar"] body { font-family: "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", sans-serif; }
html[lang="th"] body { font-family: "Thonburi", "Leelawadee UI", "Noto Sans Thai", sans-serif; line-height: 2; }
html[lang="ko"] body { font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
html[lang="zh-Hans"] body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
/* 見出しの詰め字組みはアラビア語・タイ語で字がつながって崩れる。日本語の法務見出しと同じ処置。 */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { letter-spacing: normal; }
/* アクセントの下線は、下に伸びるアラビア文字とタイ語の下付き記号に食い込む。背景ハイライトに切り替える。 */
html[lang="ar"] .underlined, html[lang="th"] .underlined { text-decoration: none; background: linear-gradient(transparent 62%, var(--accent) 62%); padding-inline: 2px; }
@media (prefers-color-scheme: dark) {
  /* Keep white descenders legible where the highlight meets ar/th glyphs. */
  html[lang="ar"] .underlined, html[lang="th"] .underlined { background: linear-gradient(transparent 62%, #733923 62%); }
}
@media (max-width: 900px) {
  .hero { gap: 32px; padding-block: 48px; }
  .stores { gap: 14px; }
  .store { width: 164px; padding-inline: 12px; }
  .store img { width: 138px; }
  .feature-row { gap: 32px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 16px; }
  .brand { font-size: 1.25rem; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .header nav { gap: 0; font-size: .9375rem; }
  .header nav .desktop-nav { display: none; }
  .langsw .langsw-label { display: none; }
  .langsw summary { padding-inline: 6px; gap: 4px; font-size: .9375rem; }
  .langsw ul { min-width: min(260px, calc(100vw - 40px)); }
  .nav-cta { padding: 8px 12px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
  .eyebrow { font-size: .9375rem; margin-bottom: 16px; }
  h1 { font-size: clamp(2.15rem, 8.7vw, 3.25rem); }
  .hero-copy { margin-top: 24px; }
  .hero-stores { margin-top: 20px; }
  .store { width: min(164px, calc((100vw - 54px) / 2)); min-height: 96px; }
  .hero-art { max-width: 360px; width: calc(100% - 20px); margin-inline: auto; }
  .memory-caption { font-size: .9375rem; }
  .intro-strip .wrap { flex-wrap: wrap; gap: 12px 24px; font-size: .9375rem; }
  .intro-strip { padding-block: 20px; }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding-top: 20px; }
  .step-top { margin-bottom: 12px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row + .feature-row { padding-top: 40px; margin-top: 40px; }
  .feature-row .feature-copy { order: -1; }
  .feature-visual { padding: 16px; }
  .privacy-inner { grid-template-columns: 1fr; gap: 24px; }
  .privacy-mark { width: 80px; height: 80px; }
  .privacy-mark svg { width: 40px; height: 40px; }
  .keep .privacy-details { margin-top: 28px; }
  .lang-strip { padding-block: 24px; }
  .lang-list { gap: 6px 16px; font-size: .9375rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 24px; }
  .faq { padding-top: 0; }
  .footer nav { flex-direction: column; gap: 4px; }
  .legal { padding-block: 24px 56px; }
  .legal-toc { padding: 16px; }
  /* Stack labeled cells so long legal tables remain readable on narrow screens. */
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .legal-table tr { border: 1px solid var(--line); border-radius: 8px; margin-top: 12px; overflow: hidden; }
  .legal-table td { border: 0; padding: 12px 16px; }
  .legal-table td + td { border-top: 1px solid var(--line); }
  .legal-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .875rem; font-weight: 700; margin-bottom: 4px; }
}
@media (max-width: 359px) {
  .header-inner { min-height: 64px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 1.85rem; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero-copy { margin-top: 16px; }
  .hero-stores { margin-top: 16px; }
  .hero .availability { font-size: .9375rem; }
  .stores { gap: 6px; }
  .store[data-store="apple"] { width: 125px; padding-inline: 5px; }
  .store[data-store="apple"] img { width: 112px; }
  .store[data-store="google"] { width: calc(100% - 131px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* Non-Japanese pre-release store cards use live text in the selected language. */
.store-text { min-width: 160px; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; background: #111; color: #fff; border-radius: 7px; padding: 10px 16px; }
.store-name { font-size: 19px; font-weight: 600; letter-spacing: normal; }

/* Localized headlines keep the same copy with room for longer words. */
html:not([lang="ja"]) .hero h1, html:not([lang="ja"]) .last-cta h2 { font-size: 2.5rem; }
@media (max-width: 900px) {
  html:not([lang="ja"]) .hero h1, html:not([lang="ja"]) .last-cta h2 { font-size: 1.5rem; }
}
@media (max-width: 700px) {
  .header-inner { position: relative; flex-wrap: wrap; column-gap: 12px; row-gap: 0; padding-block: 6px; }
  .header nav { margin-inline-start: auto; flex-wrap: wrap; justify-content: flex-end; }
  .langsw { position: static; }
  .langsw ul { inset-block-start: 100%; inset-inline: 0; width: 100%; min-width: 0; }
  .store-text { min-width: 0; }
}
@media (max-width: 359px) {
  html:not([lang="ja"]) .hero h1, html:not([lang="ja"]) .last-cta h2 { font-size: 1.25rem; }
}
