/* One navigation and page structure for English and all translated sections. */
.site-shell .site-header .container { max-width: 1080px; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.header-actions { display: flex; gap: 12px; align-items: center; justify-self: end; }
.language-picker { position: relative; font-size: 14px; }
.language-picker summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; color: var(--muted); }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:hover, .language-picker[open] summary { color: var(--text); background: #ffffff0d; }
.language-picker summary > svg:first-child { width: 18px; height: 18px; }
.language-chevron { width: 14px; height: 14px; flex-shrink: 0; transition: transform .15s; }
.language-picker[open] .language-chevron { transform: rotate(180deg); }
.language-code { display: none; }
.language-picker nav { position: absolute; top: calc(100% + 14px); right: 0; z-index: 120; width: 248px; padding: 8px; display: flex; flex-direction: column; background: #181818; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 50px #0009; }
.language-picker nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.language-picker nav a:hover { background: #ffffff0b; opacity: 1; }
.language-picker nav a[aria-current] { background: #ffffff14; }
.site-shell .site-footer .container { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.site-shell .site-footer p { color: var(--faint); font-size: 13px; }
.site-shell .footer-links { flex-wrap: wrap; justify-content: center; }
.locale-body { max-width: 980px; padding-bottom: 72px; }
.locale-body > section { margin-bottom: 56px; }
.locale-body h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.25; margin-bottom: 16px; text-wrap: balance; }
.locale-body h3 { margin: 22px 0 8px; font-size: 20px; }
.locale-body p { color: var(--muted); margin-bottom: 16px; }
.locale-guides { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 20px 0; }
.locale-guides li { margin: 0; min-width: 0; }
.locale-guides a { display: block; height: 100%; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.locale-guides h3, .locale-guides h2 { margin: 0 0 10px; line-height: 1.35; font-size: 21px; }
.locale-guides p { color: var(--muted); font-size: 16px; margin: 0; }
.localized .article .locale-guides { padding: 0; }
.localized .article h1 { overflow-wrap: anywhere; text-wrap: balance; }
.localized .article .article-meta { flex-wrap: wrap; }
.localized .article section { margin-top: 30px; }
.localized .article .answer-box p { margin-bottom: 0; }
.localized .breadcrumbs { font-size: 15px; margin-bottom: 24px; color: var(--muted); }
.localized .breadcrumbs a { margin: 0 4px; }
.localized .hero-text { order: -1; }
.section-link { display: inline-block; margin-top: 18px; text-decoration: underline; text-underline-offset: 5px; }
.localized .faq-page .faq-accordion { margin-top: 32px; }
.localized .faq-item summary { justify-content: space-between; }
.localized .app-store-btn { text-align: left; }
.localized .article-cta .app-store-btn { flex-shrink: 0; }
.skip-link { position: fixed; top: -200px; left: 16px; z-index: 200; padding: 12px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
html[lang="ja"] .hero h1 { line-height: 1.35; word-break: normal; }
html[lang="ja"] .localized { line-height: 1.9; }
@media (max-width: 860px) {
 .site-shell .site-header .container { gap: 12px; }
 .language-name { display: none; }
 .language-code { display: inline; }
 .header-actions { gap: 4px; }
 .site-shell .site-header .nav-link { padding: 8px; }
}
@media (max-width: 600px) {
 .locale-guides { grid-template-columns: minmax(0,1fr); }
 .site-shell .site-header .container { display: flex; justify-content: space-between; gap: 8px; }
 .site-shell .site-header .nav-cta { width: 38px; height: 38px; padding: 8px; justify-content: center; }
 .site-shell .site-header .nav-cta > span { display: none; }
 .site-shell .site-header .brand { gap: 7px; font-size: 16px; }
 .site-shell .site-header .site-nav { font-size: 13px; }
 .language-picker summary { gap: 5px; padding: 8px 5px; }
 .language-picker summary .language-chevron { display: none; }
 .language-picker nav { max-height: calc(100dvh - 100px); overflow: auto; }
 .localized .hero h1 { font-size: 34px; }
 .localized .app-store-btn { max-width: 100%; justify-content: center; }
 .localized .article-cta { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .language-chevron { transition: none; } }

/* Editorial system: a quiet dark canvas, soft artwork and readable prose. */
.site-shell .section-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #cacaca; font-size: 17px; font-weight: 500; padding: 8px 0; }
.site-shell .section-link:hover { color: #e7e7e7; opacity: 1; }
.feature-points { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 52px; padding: 12px 0 72px; margin-bottom: 48px; border-bottom: 1px solid var(--border); }
.feature-points li { display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: start; gap: 18px; }
.point-icon { display: grid; place-items: center; width: 46px; height: 46px; color: #bfbfbf; background: #1b1b1b; border: 1px solid #2c2c2c; border-radius: 14px; }
.feature-points li:first-child .point-icon { color: #d2d2d2; background: #1d1d1d; border-color: #353535; }
.locale-body .feature-points h2 { font-size: 23px; line-height: 1.3; margin: 0 0 10px; text-wrap: pretty; }
.locale-body .feature-points p { font-size: 16px; line-height: 1.7; margin: 0; }
.site-shell .articles > .container { max-width: 1100px; }
.site-shell .articles-intro { max-width: 820px; padding-bottom: 0; border-bottom: 0; margin: 12px 0 42px; }
.page-eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .07em; color: #bababa; }
.page-eyebrow { margin-bottom: 18px; }
.site-shell .articles-intro h1 { font-size: clamp(38px,5vw,64px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.site-shell .articles-intro p { max-width: 650px; font-size: 19px; line-height: 1.65; margin-top: 20px; }
.catalogue-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.catalogue-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.catalogue-filters button { font: inherit; font-size: 14px; color: var(--muted); border: 1px solid var(--border); border-radius: 100px; padding: 8px 15px; background: transparent; cursor: pointer; }
.catalogue-filters button[aria-pressed="true"] { color: #dfdfdf; border-color: #575757; background: #202020; }
.guide-search input { width: 230px; max-width: 100%; background: #111111; border: 1px solid var(--border); border-radius: 100px; padding: 10px 16px; color: var(--text); font: inherit; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-shell .featured-guides { list-style: none; padding: 0; margin-bottom: 28px; }
.site-shell .locale-guides { gap: 22px; }
.site-shell .locale-guides a.guide-card, .site-shell .featured-guides a.guide-card { display: flex; flex-direction: column; height: 100%; padding: 0; border: 1px solid #262626; border-radius: 22px; background: #000; text-decoration: none; overflow: hidden; transition: border-color .2s, transform .2s; }
.site-shell a.guide-card:hover { opacity: 1; border-color: #5a5a5a; transform: translateY(-3px); }
.site-shell a.guide-card { position: relative; }
.guide-card-arrow { position: absolute; top: 18px; right: 20px; z-index: 1; color: #f5f5f5; font-size: 22px; line-height: 1; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.guide-card:hover .guide-card-arrow, .guide-card:focus-visible .guide-card-arrow { opacity: 1; }
.guide-cover { aspect-ratio: 2 / 1; padding-top: 20px; box-sizing: border-box; overflow: hidden; background: #000; }
.guide-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.guide-card-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.site-shell .guide-card-copy h2, .site-shell .guide-card-copy h3 { font-size: 21px; line-height: 1.32; margin: 0 0 12px; letter-spacing: -.02em; text-wrap: pretty; }
.site-shell .guide-card-copy p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }
.site-shell .archive-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.site-shell .featured-guides .is-featured a { flex-direction: row; }
.is-featured .guide-cover { flex: 0 0 48%; aspect-ratio: auto; min-height: 310px; }
.is-featured .guide-card-copy { padding: 34px; justify-content: center; }
.site-shell .is-featured .guide-card-copy h2 { font-size: clamp(25px,3vw,34px); }
.guide-item[hidden] { display: none; }
.featured-guides:not(:has(.guide-item:not([hidden]))) { display: none; }
.site-shell .article > .container { max-width: 1100px; }
.article-masthead { display: grid; grid-template-columns: 1.35fr .85fr; align-items: center; gap: 48px; margin-bottom: 50px; padding: 10px 0 40px; border-bottom: 1px solid var(--border); }
.site-shell .article-heading h1 { font-size: clamp(34px,4vw,50px); line-height: 1.12; margin: 0; letter-spacing: -.03em; }
.article-heading .article-meta { margin: 22px 0 0; display: flex; flex-wrap: wrap; line-height: 1.6; }
.article-heading .breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.site-shell .article-heading a { text-decoration: none; }
.editorial-cover { aspect-ratio: 1.35; border: 0; border-radius: 24px; background: #000; overflow: hidden; }
.editorial-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.article-layout { display: grid; grid-template-columns: minmax(0,720px) minmax(0,230px); gap: 64px; align-items: start; }
.article-prose { min-width: 0; }
.site-shell .article-prose > section { margin-top: 0; }
.site-shell .article-prose p { line-height: 1.85; font-size: 17px; color: #b2b2b2; }
.site-shell .article-prose h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.025em; margin: 48px 0 16px; scroll-margin-top: 110px; }
.site-shell .article-prose .answer-box { border: 1px solid #383838; background: linear-gradient(135deg,#1c1c1c,#131313); padding: 26px 30px; margin-bottom: 36px; }
.site-shell .article-prose .answer-box h2 { font-size: 14px; line-height: 1.4; letter-spacing: 0; text-transform: none; margin: 0 0 12px; }
.site-shell .article-prose .takeaways { padding: 26px 30px; }
.site-shell .article-prose .takeaways h2 { font-size: 20px; line-height: 1.35; margin: 0 0 16px; }
.site-shell .article-prose .answer-box p { margin: 0; color: #d8d8d8; font-size: 18px; line-height: 1.8; }
.site-shell .article-prose ol { list-style: none; counter-reset: steps; margin: 24px 0; padding: 0; }
.site-shell .article-prose ol > li { position: relative; counter-increment: steps; padding: 6px 0 18px 48px; margin: 0; line-height: 1.8; }
.site-shell .article-prose ol > li::before { content: counter(steps,decimal-leading-zero); position: absolute; left: 0; top: 8px; font-size: 13px; color: #bababa; font-variant-numeric: tabular-nums; }
.article-toc { position: sticky; top: 108px; padding-left: 22px; border-left: 1px solid #2b2b2b; }
.article-toc > span { display: block; color: #d9d9d9; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.article-toc nav { display: flex; flex-direction: column; gap: 12px; }
.site-shell .article-toc a { font-size: 13px; line-height: 1.6; color: var(--muted); text-decoration: none; }
.site-shell .article-toc a:hover { color: #d2d2d2; }
.site-shell .article-prose .locale-guides { margin: 24px 0; padding: 0; }
.site-shell .article-prose .locale-guides li { margin: 0; }
.site-shell .article-prose .locale-guides p { font-size: 15px; line-height: 1.65; }
.site-shell .article-prose .locale-guides h3 { font-size: 20px; }
.site-shell .article-cta { background: linear-gradient(135deg,#1b1b1b,#121212); border-color: #3b3b3b; border-radius: 22px; }
.site-shell .article-cta h2 { margin-top: 0; font-size: 25px; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 35%,#39393919,transparent 65%); pointer-events: none; }
.hero-stardust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 1000px) {
 .article-layout { grid-template-columns: minmax(0,1fr); max-width: 760px; margin: 0 auto; }
 .article-toc { display: none; }
 .article-masthead { gap: 28px; }
 .site-shell .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
 .feature-points { gap: 28px; padding-bottom: 44px; margin-bottom: 44px; grid-template-columns: minmax(0,1fr); }
 .locale-body .feature-points h2 { font-size: 21px; }
 .site-shell .featured-guides .is-featured a { flex-direction: column; }
 .is-featured .guide-cover { flex-basis: auto; aspect-ratio: 2; min-height: 0; }
 .is-featured .guide-card-copy { padding: 24px; }
 .article-masthead { grid-template-columns: minmax(0,1fr); gap: 24px; margin-bottom: 32px; padding-bottom: 28px; }
 .editorial-cover { aspect-ratio: 2; border-radius: 18px; }
 .site-shell .article-heading h1 { font-size: 35px; }
 .site-shell .article-prose h2 { font-size: 25px; }
 .site-shell .article-prose .answer-box, .site-shell .article-prose .takeaways { padding: 22px; }
 .catalogue-controls { align-items: stretch; }
 .guide-search, .guide-search input { width: 100%; }
}
@media (max-width: 600px) {
 .site-shell .archive-grid { grid-template-columns: minmax(0,1fr); }
 .site-shell .articles-intro h1 { font-size: 40px; }
 .site-shell .articles-intro p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
 .hero-stardust { display: none; }
 .site-shell .guide-card { transition: none; }
 .guide-card-arrow { transition: none; }
 .site-shell a.guide-card:hover { transform: none; }
}
.point-pro { display: inline-block; font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .04em; padding: 4px 6px; border-radius: 5px; border: 1px solid #484848; color: #c9c9c9; margin-bottom: 8px; }
.catalogue-empty { color: var(--muted); padding: 48px 24px; border: 1px dashed var(--border); border-radius: 20px; text-align: center; }
.catalogue-empty[hidden] { display: none; }
/* Neutral finish and unboxed feature icons. */
a, a:hover, a:focus-visible, .site-shell a, .site-shell a:hover { text-decoration: none; }
.feature-points .point-icon, .feature-points li:first-child .point-icon { width: 28px; height: 28px; border: 0; background: transparent; border-radius: 0; color: #e4e4e7; }
.feature-points li { grid-template-columns: 28px minmax(0,1fr); gap: 16px; }
.point-pro { display: none; }
.site-shell .article-prose .article-cta { display: grid; grid-template-columns: minmax(0,1fr) 170px; gap: 28px; padding: 30px; align-items: center; background: #111113; border-color: #303034; }
.cta-copy { min-width: 0; }
.cta-mockup { width: 170px; align-self: end; }
.cta-mockup img { display: block; width: 100%; height: auto; }
.site-shell .article-prose .article-cta .app-store-btn { max-width: 100%; margin-top: 16px; white-space: normal; }
.site-shell .article-prose .article-cta p { margin-bottom: 0; }
@media (max-width: 700px) {
 .site-shell .article-prose .article-cta { grid-template-columns: minmax(0,1fr); padding: 24px; }
 .cta-mockup { grid-row: 1; justify-self: center; width: 145px; }
}
