/* Standalone hub stylesheet. Keep it in the Pages deployment bundle. */
:root {
  color-scheme: light;
  --ink: #20262e;
  --muted: #495561;
  --line: #e5e7eb;
  --pink: #bd2563;
  --teal: #087d79;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fafaf9;
  color: var(--ink);
  font-family: "Segoe UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
html:lang(ja) body { font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif; font-weight: 500; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #4869a8; outline-offset: 5px; }
img { max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; padding: 12px 20px; background: #fff; z-index: 30; }
.skip-link:focus { top: 12px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin: auto; padding: 20px 32px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Segoe UI", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.6px; }
.nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; }
.nav a:hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav a[data-i18n="nav.windows"] { color: var(--pink); }
.nav a[data-i18n="nav.android"] { color: var(--teal); }
.lang-picker { position: relative; }
.lang-picker-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font-size: 14px; cursor: pointer; }
.lang-picker-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 20; width: min(270px, calc(100vw - 32px)); max-height: min(400px, 60vh); overflow: auto; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 40px #20262e18; }
.lang-picker-menu[hidden] { display: none; }
.lang-picker-menu li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 7px; cursor: pointer; font-size: 14px; }
.lang-picker-menu li:hover, .lang-picker-menu li[aria-selected="true"] { background: #f1f5f5; }
.lang-option-code { width: 28px; color: #59626e; font-size: 11px; font-weight: 700; }
.hub-main { max-width: 1200px; margin: auto; padding: 0 32px 72px; }
.hub-hero { text-align: center; padding: 44px 0 32px; }
.hub-kicker { margin: 0 0 14px; color: #6b727b; font-family: "Segoe UI", sans-serif; font-size: 11px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.hub-headline { max-width: 24em; margin: 0 auto; font-size: clamp(30px, 3.3vw, 44px); font-weight: 700; line-height: 1.5; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
.hub-lead { max-width: 43em; margin: 18px auto 0; color: var(--muted); font-size: 15px; line-height: 1.9; text-wrap: pretty; }
.hub-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.edition-card { --edition-accent: var(--pink); --edition-soft: #fff3f7; position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 30px; border: 1px solid #e9dfe3; border-radius: 22px; background: linear-gradient(145deg, var(--edition-soft), #fff 38%); box-shadow: 0 6px 24px #20262e04; transition: box-shadow .18s, border-color .18s; }
.edition-card-android { --edition-accent: var(--teal); --edition-soft: #eff9f7; border-color: #dce8e5; }
.edition-card:hover, .edition-card:focus-within { border-color: var(--edition-accent); box-shadow: 0 12px 32px #20262e0c; }
.edition-identity { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.edition-logo { width: 66px; height: 66px; object-fit: contain; flex-shrink: 0; }
.edition-product { margin: 0 0 2px; font-family: "Segoe UI", sans-serif; font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.edition-badge { margin: 0; color: var(--edition-accent); font-size: 25px; font-weight: 700; line-height: 1.35; }
.edition-card h2 { margin: 0 0 12px; min-height: 3em; font-size: clamp(22px, 2.1vw, 26px); line-height: 1.5; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
.edition-note { margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.85; min-height: 3.7em; text-wrap: pretty; }
.edition-proof { margin-top: auto; aspect-ratio: 1024 / 500; overflow: hidden; border-radius: 12px; background: #f3f6f5; border: 1px solid #20262e0a; }
.edition-proof img { display: block; width: 100%; height: 100%; object-fit: contain; }
.edition-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 12px 18px; margin-top: 24px; background: var(--edition-accent); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 700; }
.edition-cta::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.edition-cta:focus-visible { outline: none; }
.edition-cta:focus-visible::after { outline: 3px solid var(--edition-accent); outline-offset: 5px; }
.edition-cta-separator { opacity: .55; padding-inline: 5px; }
.site-footer { max-width: 1136px; margin: 0 auto; padding: 28px 24px 34px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 12px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 18px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.site-footer p { margin: 4px 0; }
@media (min-width: 1000px) { .edition-card h2 { min-height: 0; } }
@media (max-width: 900px) { .header-inner { gap: 20px; } .hub-main { padding-inline: 24px; } .hub-editions { gap: 20px; } .edition-card { padding: 24px; } .edition-note { min-height: 5.55em; } }
@media (max-width: 720px) {
  .header-inner { padding: 16px 20px 0; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
  .brand { font-size: 20px; }
  .nav { order: 3; width: 100%; margin: 2px 0 0; justify-content: center; gap: 0; border-top: 1px solid #f0f0f0; }
  .nav a { justify-content: center; width: 50%; min-height: 48px; font-size: 14px; }
  .lang-picker-btn { font-size: 13px; gap: 6px; padding-inline: 10px; }
  .hub-main { padding: 0 20px 40px; }
  .hub-hero { padding: 32px 0 28px; }
  .hub-kicker { margin-bottom: 12px; font-size: 10px; }
  .hub-headline { font-size: clamp(26px, 6.6vw, 34px); line-height: 1.55; letter-spacing: -.03em; }
  .hub-lead { margin-top: 14px; font-size: 14px; line-height: 1.9; }
  .hub-editions { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .edition-card { padding: 24px; border-radius: 18px; }
  .edition-identity { margin-bottom: 20px; gap: 15px; }
  .edition-logo { width: 58px; height: 58px; }
  .edition-badge { font-size: 23px; }
  .edition-card h2 { min-height: 0; font-size: 23px; line-height: 1.55; }
  .edition-note { min-height: 0; font-size: 14px; margin-bottom: 20px; }
  .edition-cta { margin-top: 20px; font-size: 14px; }
  .edition-cta::after { border-radius: 18px; }
  .site-footer { margin-inline: 20px; padding-inline: 0; }
}
@media (max-width: 360px) { .header-inner { padding-inline: 16px; } .brand { font-size: 18px; gap: 8px; } .hub-main { padding-inline: 16px; } .edition-card { padding: 20px; } .edition-card h2 { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .edition-card { transition: none; } }

.hub-lead { white-space: pre-line; }

/* Paired official marks and restrained visual accents for the edition gateway. */
.brand-logos { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; }
.brand-logos img { display: block; width: 32px; height: 32px; object-fit: contain; }
.hub-hero { position: relative; isolation: isolate; overflow: hidden; margin: 26px 0 30px; padding: 42px 24px 38px; border: 1px solid #e9e7ea; border-radius: 26px; background: radial-gradient(ellipse at 0% 25%, #fbe3ee 0, transparent 55%), radial-gradient(ellipse at 100% 75%, #dff2ed 0, transparent 55%), #fff; }
.hub-hero::before, .hub-hero::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; border: 1px solid #c783a422; border-radius: 50%; pointer-events: none; }
.hub-hero::before { inset-inline-start: -190px; top: -145px; box-shadow: 0 0 0 38px #ffffff35, 0 0 0 76px #ffffff25; }
.hub-hero::after { inset-inline-end: -185px; bottom: -190px; border-color: #4d9f9826; box-shadow: 0 0 0 38px #ffffff35, 0 0 0 76px #ffffff25; }
.hub-kicker { display: inline-block; padding: 6px 14px; border: 1px solid #ffffff; border-radius: 999px; background: #ffffffa8; color: #53616c; letter-spacing: .13em; }
.hub-headline { position: relative; }
.hub-lead { margin-top: 20px; }
.edition-card { border-top: 3px solid var(--edition-accent); box-shadow: 0 10px 30px #20262e07; background: linear-gradient(155deg, var(--edition-soft), #fff 55%); }
.edition-device { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-inline-start: auto; flex-shrink: 0; border: 1px solid #ffffff; border-radius: 14px; color: var(--edition-accent); background: var(--edition-soft); }
.edition-proof { box-shadow: 0 4px 14px #20262e06; }
.edition-cta > span:last-child { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #ffffff1c; flex-shrink: 0; }
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 88px; height: 2px; background: linear-gradient(90deg, #d86596, #43a79d); }
@media (max-width: 900px) and (min-width: 721px) { .edition-device { width: 40px; height: 40px; } .edition-identity { gap: 12px; } }
@media (max-width: 720px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand-logos { gap: 4px; }
  .brand-logos img { width: 25px; height: 25px; }
  .hub-hero { margin: 20px 0 24px; padding: 26px 16px 28px; border-radius: 20px; }
  .hub-kicker { font-size: 9px; padding: 5px 10px; letter-spacing: .08em; }
  .hub-hero::before, .hub-hero::after { width: 250px; height: 250px; }
  .hub-hero::before { inset-inline-start: -185px; top: -105px; }
  .hub-hero::after { inset-inline-end: -180px; bottom: -130px; }
  .edition-device { width: 44px; height: 44px; border-radius: 12px; }
  .edition-device svg { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  .brand { font-size: 16px; gap: 7px; }
  .brand-logos { gap: 3px; }
  .brand-logos img { width: 22px; height: 22px; }
  .hub-hero { padding-inline: 12px; }
  .edition-identity { gap: 10px; }
  .edition-device { width: 34px; height: 38px; }
  .edition-device svg { width: 24px; height: 24px; }
  .edition-cta { padding-inline: 12px; gap: 8px; font-size: 13px; }
  .edition-cta > span:last-child { width: 24px; height: 24px; }
}

/* Keep the approved Japanese headline in two readable phrases. */
.hub-headline { white-space: pre-line; }
@media (max-width: 360px) { .hub-headline { font-size: 23px; } }
