:root {
  color-scheme: light;
  --navy: #102438;
  --navy-deep: #0e2235;
  --white: #f7fafc;
  --muted-on-dark: #d2e0e9;
  --aqua: #82e2e7;
  --aqua-hover: #a4f0f3;
  --ink: #102538;
  --muted: #354e60;
  --paper: #f1f7f9;
  --rule: #7193a6;
  --feature-rule: #55bfca;
  --data: #dcecf2;
  --gutter: clamp(1.25rem, 5.2vw, 5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--navy); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:where(h1, h2, h3, p, figure) { margin: 0; }
:focus-visible { outline: 3px solid #168a9b; outline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--aqua-hover); }
.shell { width: min(calc(100% - var(--gutter) * 2), 86rem); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 2; left: 1rem; top: 1rem; padding: .8rem 1rem; background: var(--aqua); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header, .hero { color: var(--white); background: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.5rem; gap: 1.5rem; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 1.15rem; font-size: clamp(1.25rem, 1.9vw, 1.85rem); font-weight: 700; white-space: nowrap; text-decoration: none; }
.brand img, .footer-cta > img { border-radius: 23%; }
.brand img { flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(.85rem, 2.35vw, 2.4rem); }
.language-menu { position: relative; z-index: 3; }
.language-menu summary { display: flex; align-items: center; gap: .42rem; min-height: 2.75rem; padding: .42rem .58rem; border: 1px solid var(--rule); border-radius: .55rem; font-size: .9rem; font-weight: 700; list-style: none; white-space: nowrap; cursor: pointer; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { width: .34rem; height: .34rem; margin: -.15rem .1rem 0 .08rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); content: ""; }
.language-menu[open] summary { background: #254555; }
.language-options { position: absolute; top: calc(100% + .45rem); right: 0; min-width: 9rem; margin: 0; padding: .3rem; border: 1px solid var(--rule); border-radius: .6rem; background: var(--navy); list-style: none; box-shadow: 0 .5rem 1.6rem #020a1573; }
.language-options a { display: flex; align-items: center; min-height: 2.75rem; padding: .35rem .65rem; border-radius: .3rem; font-size: .95rem; white-space: nowrap; text-decoration: none; }
.language-options a:hover, .language-options a[aria-current="page"] { background: #254555; color: var(--aqua); }
.section-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 550; font-size: 1.125rem; text-decoration: none; white-space: nowrap; }
.section-link:hover { color: var(--aqua); }
.store-link { display: inline-flex; align-items: center; justify-content: center; gap: .7em; width: fit-content; min-height: 2.75rem; border-radius: .72rem; font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease; }
.store-link svg { width: 1.35em; height: 1.35em; flex: 0 0 auto; }
.store-link-outline { padding: .58rem .9rem; font-size: 1.05rem; border: 2px solid var(--aqua); }
.store-link-outline:hover { background: #254555; }
.store-link-primary { color: var(--navy-deep); background: var(--aqua); }
.store-link-primary:hover { background: var(--aqua-hover); }

.hero { overflow: clip; }
.hero-inner { min-height: clamp(35rem, 50.7vw, 48.7rem); display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 46%); align-items: center; gap: 0; }
.hero-copy { position: relative; z-index: 1; padding: 2.25rem 0 2.9rem; }
.hero h1 { font-size: clamp(3.2rem, 5.8vw, 5.6rem); font-weight: 750; line-height: 1.25; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero h1 .hero-highlight { color: var(--aqua); font-size: .86em; letter-spacing: -.043em; white-space: nowrap; }
.hero-description { margin-top: 1.85rem; color: var(--muted-on-dark); font-size: clamp(1.05rem, 1.62vw, 1.55rem); line-height: 1.8; letter-spacing: -.025em; }
.hero-store { margin-top: 3rem; padding: .72em 1.42em; font-size: clamp(1.18rem, 1.9vw, 1.85rem); min-height: 2.78em; }
.hero-note { margin-top: 1rem; color: var(--muted-on-dark); font-size: clamp(.95rem, 1.25vw, 1.2rem); }
.hero-visual { position: relative; isolation: isolate; min-width: 0; padding-block: 2.5rem 2.8rem; }
.hero-visual::before { position: absolute; z-index: -2; inset: 5% -22% 3% -10%; background: radial-gradient(ellipse at 70% 50%, #255a6b66, transparent 67%); content: ""; }
.earth { position: absolute; z-index: -1; top: 50%; left: 6%; width: 116%; max-width: none; height: auto; transform: translateY(-54%); }
.hero-figure { width: min(60%, 23rem); margin-left: 12%; text-align: center; }
.device {
  --tilt: -8deg;
  --turn: 11deg;
  position: relative;
  padding: .3rem;
  border: 1px solid #90a9b5;
  border-radius: 1.95rem;
  background: linear-gradient(135deg, #b7c9d0, #334d5b 19%, #071019 58%, #73929f);
  box-shadow: -2px 2px #718994, -4px 4px #48606e, -7px 7px #2e424f, -9px 9px #192b38, -10px 10px #435b68, -16px 24px 42px #020a15b3;
  transform: perspective(1050px) rotateY(var(--turn)) rotateX(2deg) rotateZ(var(--tilt));
}
.device::before { position: absolute; top: 25%; left: -.41rem; width: .18rem; height: 2rem; border-radius: .2rem; background: #7e929d; box-shadow: 0 2.6rem #6f8490; content: ""; }
.device-screen { position: relative; overflow: hidden; padding-block: clamp(.82rem, 1.52vw, 1.45rem) .68rem; border: 2px solid #080f17; border-radius: 1.6rem; background: #f5f8f4; }
.device-screen::before { position: absolute; top: .33rem; left: 50%; width: 6%; height: .27rem; border-radius: .4rem; background: #102033; transform: translateX(-50%); content: ""; }
.device-screen img { width: 100%; height: auto; }
.hero-figure figcaption { margin-top: clamp(1.9rem, 2.8vw, 2.8rem); color: var(--muted-on-dark); font-size: clamp(.76rem, 1.15vw, 1.05rem); text-wrap: balance; }

.features { padding: clamp(3.1rem, 4.1vw, 4rem) 0 2.2rem; background: var(--paper); }
.features h2 { font-size: clamp(2.05rem, 3.7vw, 3.5rem); font-weight: 730; letter-spacing: -.035em; line-height: 1.28; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 4vw, 3.9rem); margin-top: clamp(2.15rem, 3.2vw, 3.1rem); }
.feature { display: flex; flex-direction: column; min-width: 0; }
.feature-index { display: flex; align-items: center; gap: .42em; color: #258795; font-size: clamp(1.75rem, 2.55vw, 2.4rem); font-weight: 750; line-height: 1; }
.feature-index::after { height: 1px; flex: 1; background: var(--feature-rule); content: ""; }
.feature h3 { margin-top: .75rem; font-size: clamp(1.1rem, 2.05vw, 1.92rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
.feature p { flex: 1; margin-top: .5rem; color: var(--muted); font-size: clamp(.98rem, 1.18vw, 1.125rem); line-height: 1.7; }
.feature-image { margin: 1.15rem .55rem 0; overflow: hidden; border: 1px solid #c9d8dc; border-radius: .9rem; background: #f5f8f4; box-shadow: 0 .25rem .6rem #0e24330d; }
.feature-image img { width: 100%; height: auto; }
.data-band { display: grid; grid-template-columns: minmax(12.25rem, .7fr) minmax(0, 2fr); align-items: center; gap: 1.8rem; margin-top: clamp(2rem, 3.2vw, 3rem); padding: 1.2rem clamp(1.2rem, 3vw, 2.8rem); border-radius: .55rem; background: var(--data); }
.data-band h2 { font-size: clamp(1.25rem, 1.95vw, 1.8rem); letter-spacing: -.035em; text-align: center; }
.data-band > div { padding-left: 1.8rem; border-left: 1px solid #5d9fb0; }
.data-band p { color: var(--ink); font-size: 1rem; line-height: 1.75; }
.source-links { display: flex; flex-wrap: wrap; gap: 0 1.05rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.source-links a { display: inline-flex; align-items: center; min-height: 1.8rem; color: #135e70; font-size: .85rem; font-weight: 650; text-underline-offset: .18em; }
.faq { max-width: 54rem; margin: clamp(2.35rem, 4vw, 4rem) 0 1rem; }
.faq h2 { font-size: clamp(1.5rem, 2.55vw, 2.45rem); }
.faq dl { margin: 1.15rem 0 0; }
.faq dl > div { border-top: 1px solid #c9d8dc; padding-block: 1rem; }
.faq dt { color: var(--ink); font-size: 1.06rem; font-weight: 700; line-height: 1.55; }
.faq dd { margin: .38rem 0 0; color: var(--muted); line-height: 1.75; }

.site-footer { background: var(--navy); color: var(--white); }
.footer-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.85rem, 1.7vw, 1.6rem); padding-block: clamp(1.75rem, 2.65vw, 2.5rem); }
.footer-cta h2 { font-size: clamp(1.6rem, 2.68vw, 2.55rem); font-weight: 730; letter-spacing: -.035em; line-height: 1.32; }
.footer-store { padding: .78rem 1.55rem; gap: 1.45em; font-size: clamp(1.05rem, 1.55vw, 1.45rem); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: .85rem 0 1.2rem; border-top: 1px solid var(--rule); color: var(--muted-on-dark); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 2.25rem; font-size: .95rem; text-decoration: none; }
.footer-bottom a:hover { color: var(--aqua); text-decoration: underline; text-underline-offset: .2em; }

html[lang="zh-Hans"] { font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html[lang="zh-Hant"] { font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
html[lang="zh-Hant"] .hero h1 .hero-highlight { font-size: .75em; }
html[lang="en"] .brand { font-size: clamp(1rem, 1.85vw, 1.85rem); }
html[lang="en"] .hero h1 { font-size: clamp(1.9rem, 4.7vw, 4.6rem); }
html[lang="en"] .hero h1 .hero-highlight { font-size: .94em; }
html[lang="en"] .hero-description { max-width: 41rem; font-size: clamp(1rem, 1.42vw, 1.38rem); }

@media (max-width: 1050px) {
  .section-link { display: none; }
  .hero h1 { font-size: clamp(2.8rem, 5.55vw, 3.7rem); }
  .hero-description { line-height: 1.75; }
  .hero-figure { width: min(65%, 19rem); }
  .device { border-radius: 1.72rem; }
  .device-screen { border-radius: 1.36rem; }
  .desktop-break { display: none; }
}

@media (max-width: 790px) {
  .header-inner { min-height: 4.35rem; gap: .65rem; }
  .brand { gap: .65rem; }
  .brand img { width: 36px; height: 36px; }
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { padding: 3.55rem 0 0; }
  .hero h1 { font-size: clamp(2.6rem, 8.15vw, 4.2rem); }
  .hero-description { max-width: 30rem; margin-top: 1.25rem; }
  .hero-store { margin-top: 1.65rem; }
  .hero-note { margin-top: .7rem; }
  .hero-visual { padding-block: 2.65rem 2.7rem; }
  .hero-figure { width: min(68%, 18rem); margin-inline: auto; }
  .device { --tilt: -6deg; --turn: 8deg; }
  .earth { left: 50%; width: min(116%, 33rem); transform: translate(-41%, -54%); }
  .feature-grid { gap: 1.25rem; }
  .feature-image { margin-inline: 0; }
  .data-band { grid-template-columns: 1fr; gap: .55rem; }
  .data-band h2 { text-align: left; }
  .data-band > div { padding-left: 0; border-left: 0; }
  .footer-cta { grid-template-columns: auto 1fr; }
  .footer-store { grid-column: 1 / -1; }
  html[lang="en"] .hero h1 { font-size: clamp(1.9rem, 7.7vw, 4rem); }
}

@media (max-width: 570px) {
  .store-link-outline { display: none; }
  .hero h1 { font-size: clamp(2rem, 9.6vw, 3.4rem); }
  .hero-copy { padding-top: 2.55rem; }
  .hero-description { font-size: 1rem; }
  .hero-store { padding: .88rem 1.2rem; min-height: 3.25rem; }
  .hero-figure { width: min(74%, 16.5rem); }
  .device { --tilt: -5deg; --turn: 7deg; border-radius: 1.48rem; }
  .device-screen { border-radius: 1.13rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .feature h3 { font-size: 1.5rem; }
  .feature p { font-size: 1rem; }
  .feature-image { max-width: 27rem; }
  .data-band { padding: 1.05rem; }
  .data-band p { font-size: .94rem; }
  .footer-cta > img { width: 42px; height: 42px; }
  .footer-cta h2 { font-size: clamp(1.25rem, 5vw, 1.7rem); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .store-link { transition: none; }
}
