:root {
  color-scheme: light dark;
  --ground: #fff;
  --text: #18172a;
  --muted: #565568;
  --accent: #3634a3;
  --on-accent: #fff;
  --soft: #eeeefa;
  --surface: #f6f6fa;
  --line: #dddded;
  --hero: #eeedf9;
  --hero-edge: #dcd9f4;
  --frame: #23223b;
  --shadow: #25225f29;
  --green: #176742;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #14131c;
    --text: #f4f2ff;
    --muted: #bcb9cf;
    --accent: #c6c4fc;
    --on-accent: #211d54;
    --soft: #282545;
    --surface: #1d1b28;
    --line: #3a3653;
    --hero: #242039;
    --hero-edge: #3e385d;
    --frame: #4d476a;
    --shadow: #0008;
    --green: #9ae2ba;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  color: var(--text);
  font: 1rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 740; line-height: 1.13; text-wrap: balance; }
p { overflow-wrap: break-word; }
[lang="en"] h1, [lang="en"] h2 { letter-spacing: -.048em; }
.wrap { width: min(74rem, calc(100% - clamp(2rem, 7vw, 5rem))); margin-inline: auto; }
.skip {
  position: absolute;
  transform: translateY(-200%);
  z-index: 3;
  padding: .5rem 1rem;
  background: var(--ground);
}
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, .nav-links, .languages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.header-inner { justify-content: space-between; gap: .45rem 1.4rem; min-height: 4.75rem; padding-block: .6rem; }
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .57rem;
  color: var(--text);
  font-size: 1.23rem;
  font-weight: 760;
  letter-spacing: -.042em;
  text-decoration: none;
}
.brand img { width: 2rem; height: 2rem; border-radius: 25%; }
.nav-links { gap: .2rem 1.1rem; }
.languages { gap: .2rem; }
.header-inner .languages { margin-left: auto; }
.nav-links a, .languages a {
  color: var(--muted);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover, .languages a:hover, .nav-links [aria-current] {
  color: var(--accent);
  text-decoration: underline;
}
.languages a { padding: .15rem .45rem; border-radius: .45rem; }
.languages [aria-current] { color: var(--accent); background: var(--soft); }
.hero { padding-block: clamp(2.4rem, 6vw, 5.1rem) clamp(3.1rem, 7vw, 6rem); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  gap: clamp(1.6rem, 5vw, 4.4rem);
  align-items: center;
}
.hero-copy { padding-block: .4rem; }
.kicker { color: var(--accent); font-weight: 680; font-size: .91rem; }
.hero h1 {
  margin-block: 1rem 1.15rem;
  font-size: clamp(2.3rem, 5vw, 4.65rem);
  line-height: 1.045;
}
:lang(zh) .hero h1, :lang(ja) .hero h1 { line-height: 1.16; font-size: clamp(2.25rem, 5vw, 4rem); }
.title-phrase { display: inline-block; }
.lede { max-width: 36ch; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.23rem); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  gap: .85rem;
  padding: .6rem 1rem;
  border-radius: .7rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 670;
  text-decoration: none;
}
.button:hover { text-decoration: underline; }
.availability {
  margin-top: 1.35rem;
  display: flex;
  align-items: baseline;
  gap: .55rem;
  color: var(--muted);
  font-size: .87rem;
}
.availability::before { content: ""; flex: 0 0 .48rem; height: .48rem; border-radius: 50%; background: var(--green); }
.showcase {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
  padding: 10% 8% 8%;
  border-radius: clamp(1.25rem, 3vw, 2.2rem);
  overflow: hidden;
  background: var(--hero);
  border: 1px solid var(--hero-edge);
}
.showcase::before, .showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid var(--hero-edge);
  border-radius: 50%;
  width: 120%;
  aspect-ratio: 1;
  inset: auto auto -60% -4%;
  box-shadow: 0 0 0 1.75rem var(--hero), 0 0 0 calc(1.75rem + 1px) var(--hero-edge);
}
.showcase::after { inset: -77% -40% auto auto; }
.phone {
  background: var(--frame);
  padding: clamp(3px, .55vw, 7px);
  border-radius: 12% / 5.7%;
  overflow: hidden;
  box-shadow: 0 12px 25px var(--shadow);
}
.phone img { border-radius: 10% / 4.8%; width: 100%; }
.showcase .phone { width: 47%; }
.showcase .phone:first-child { margin-bottom: 7%; }
.showcase .phone:last-child { margin-top: 7%; }
.section-heading { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.section-heading h2, .next h2 { font-size: clamp(1.95rem, 3vw, 3.05rem); }
.features { padding-bottom: clamp(3.4rem, 7vw, 6rem); }
.feature-grid, .gallery { display: grid; gap: 1rem; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: clamp(1.05rem, 2.2vw, 1.75rem);
}
.feature h3 { font-size: 1.17rem; margin-block: .85rem .42rem; }
.feature p, .gallery p, .next p { color: var(--muted); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--soft);
  color: var(--accent);
  border-radius: .65rem;
}
.feature-icon svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.65; }
.gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}
.gallery figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  padding: clamp(1.15rem, 2.6vw, 2rem);
  border-radius: 1.2rem;
  background: var(--soft);
}
.gallery figcaption { align-self: stretch; }
.gallery h3 { margin-bottom: .4rem; font-size: clamp(1.2rem, 2.1vw, 1.55rem); }
.gallery .phone { width: min(100%, 15rem); }
.next { border-block: 1px solid var(--line); background: var(--surface); padding-block: clamp(2.5rem, 6vw, 4.8rem); }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.next p { margin-top: .7rem; }
.next ul { margin: 0; padding: 0; list-style: none; }
.next li { display: flex; align-items: center; gap: .8rem; padding-block: .72rem; border-bottom: 1px solid var(--line); font-weight: 630; }
.next li:last-child { border-bottom: 0; }
.next li::before { content: ""; flex: 0 0 .5rem; height: .5rem; border: 1.5px solid var(--accent); border-radius: 50%; }
.site-footer { margin-top: auto; padding-block: 1.45rem; }
.footer-inner { justify-content: space-between; gap: 1rem 2rem; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.footer-brand p { color: var(--muted); font-size: .86rem; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.info { width: min(48rem, 100%); margin-inline: auto; padding-block: clamp(2.2rem, 6vw, 5rem); }
.info h1 { font-size: clamp(2.25rem, 5.5vw, 4.2rem); }
.info .intro { font-size: 1.12rem; color: var(--muted); margin-top: .75rem; }
.info .effective { margin-top: 1rem; color: var(--accent); font-size: .91rem; font-weight: 670; }
.info section { margin-top: 1.75rem; padding: clamp(1.15rem, 3vw, 1.8rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.info section + section { margin-top: .7rem; }
.info h2 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); margin-bottom: .45rem; }
.info section p + p { margin-top: .7rem; }
.info .button { margin-top: 1.25rem; }
.site-footer { border-top: 1px solid var(--line); }
.home-main + .site-footer { border-top: 0; }
@media (max-width: 52rem) {
  .hero-inner { gap: 1.5rem; }
}
@media (max-width: 42rem) {
  .header-inner .nav-links { width: 100%; }
  .hero-inner, .feature-grid, .next-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .showcase { padding-inline: 10%; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 24rem) {
  .header-inner { column-gap: .5rem; }
  .header-inner .brand { font-size: 1.1rem; }
  .header-inner .brand img { width: 1.75rem; height: 1.75rem; }
  .header-inner .languages { margin-left: 0; }
  .languages a { padding-inline: .3rem; font-size: .79rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
