:root {
  color-scheme: light;
  --ink: #13263a;
  --secondary: #43586b;
  --accent: #176ca0;
  --paper: #f2f6fa;
  --line: #cedbe5;
  --focus: #0567a6;
  --night: #101f32;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.wrap {
  width: min(calc(100% - 2.5rem), 73rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--night);
  border-radius: 0.5rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid #dfe8ef;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-inner {
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  font-size: 1.1rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.035em;
}

.brand img {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
}

.header-links,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.35rem;
}

.header-links {
  margin-inline-start: auto;
  margin-inline-end: clamp(0rem, 2.5vw, 1.7rem);
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--secondary);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-link:hover,
.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.language {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.language summary {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  padding-inline: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 700;
  list-style: none;
}

.language summary::-webkit-details-marker {
  display: none;
}

.language summary::after {
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.14rem) rotate(45deg);
  content: "";
}

.language[open] summary::after {
  transform: translateY(0.14rem) rotate(225deg);
}

.language-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.38rem);
  min-width: 10rem;
  margin: 0;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem #13263a22;
  list-style: none;
}

.language-menu a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding-inline: 0.65rem;
  color: var(--secondary);
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0.6rem;
}

.language-menu a:hover {
  background: #e1ebf2;
}

.language-menu a[aria-current="page"] {
  color: #fff;
  background: #183a53;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 64%, #d6e8f7 0, transparent 54%),
    linear-gradient(180deg, var(--paper) 0%, #f7fafc 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 6.25rem) clamp(1.8rem, 4vw, 4.5rem);
}

.hero-copy {
  max-width: 36rem;
}

.hero h1 {
  font-size: clamp(2.58rem, 8vw, 5.55rem);
  font-weight: 760;
  letter-spacing: -0.062em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hero h1 span {
  color: var(--accent);
}

:lang(ja) .hero h1,
:lang(zh-Hans) .hero h1 {
  letter-spacing: -0.03em;
  line-height: 1.19;
}

.hero-summary {
  max-width: 28rem;
  margin-top: 1.3rem;
  color: var(--secondary);
  font-size: clamp(1.03rem, 1.65vw, 1.28rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 1.65rem;
  padding: 0.65rem 1.32rem;
  border-radius: 0.8rem;
  color: #fff;
  background: var(--night);
  font-size: 1rem;
  font-weight: 720;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.primary-link:hover {
  background: #24516e;
}

.availability {
  margin-top: 0.55rem;
  color: var(--secondary);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  width: min(100%, 40rem);
  min-height: 0;
  margin: 1.65rem auto 0;
  aspect-ratio: 1.22;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 13% 2% 0;
  content: "";
  border: 1px solid #d1e3ee;
  border-radius: 46% 42% 36% 44%;
  background: radial-gradient(ellipse at 32% 44%, #f7e5cf 0%, #ddecf7 65%, #d0e5f4 100%);
}

.screen {
  position: absolute;
  overflow: hidden;
  border: 2px solid #fffe;
  border-radius: clamp(0.8rem, 2vw, 1.55rem);
  box-shadow: 0 1.2rem 2.9rem #193e592e, 0 0.3rem 0.9rem #193e591f;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.indoor-screen {
  z-index: 1;
  top: 2%;
  left: 4%;
  width: 51%;
  height: 93%;
  background: #f0e8dd;
  transform: rotate(-4deg);
}

.indoor-screen img {
  object-position: center 50%;
}

.weather-screen {
  top: 12%;
  right: 3.5%;
  width: 47%;
  height: 83%;
  background: #22384b;
  transform: rotate(4deg);
}

.weather-screen img {
  object-position: center 49%;
}

.features {
  padding-block: clamp(3.4rem, 7vw, 6rem) clamp(2.75rem, 5.5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.07;
}

.feature-grid {
  display: grid;
  gap: 1.65rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.7rem);
}

.feature {
  --preview-border: #b9d5e7;
  --preview-bg: #edf6fb;
}

.indoor-feature {
  --preview-border: #e5d0b8;
  --preview-bg: #f6eddc;
}

.sky-feature {
  --preview-border: #354a62;
  --preview-bg: #17283d;
}

.feature-visual {
  overflow: hidden;
  margin-bottom: 0.9rem;
  border: 1px solid var(--preview-border);
  border-radius: 1.1rem;
  background: var(--preview-bg);
  aspect-ratio: 1.62;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature h3 {
  margin-bottom: 0.4rem;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.feature p,
.measurement-note p {
  max-width: 45ch;
  color: var(--secondary);
}

.sky-panel {
  display: grid;
  overflow: hidden;
  align-items: center;
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
  color: #f5faff;
  background:
    radial-gradient(ellipse at 85% 95%, #254d57 0, transparent 57%),
    #102539;
}

.sky-copy {
  padding: clamp(1.65rem, 5.5vw, 4.1rem);
}

.sky-copy p {
  max-width: 38ch;
  margin-top: 0.9rem;
  color: #deebf4;
  font-size: 1.06rem;
}

.sky-copy .sky-note {
  color: #bdcedc;
  font-size: 0.92rem;
}

.sky-visual {
  position: relative;
  overflow: hidden;
  min-height: 13.5rem;
  max-height: 31rem;
  align-self: stretch;
  aspect-ratio: 1.2;
}

.sky-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 47%;
}

.sky-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #102539 0, transparent 20%);
  pointer-events: none;
  content: "";
}

.measurement-note {
  padding-block: clamp(2.8rem, 6vw, 4.6rem);
}

.measurement-note h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  letter-spacing: -0.034em;
}

.measurement-note p {
  max-width: 62ch;
}

.site-footer {
  padding-block: 1.6rem 2rem;
  color: var(--secondary);
  background: #f7fafc;
  border-top: 1px solid #e3edf4;
  font-size: 0.95rem;
}

.site-footer span {
  color: var(--ink);
  font-weight: 730;
}

.site-footer a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
}

@media (min-width: 44rem) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 3vw, 2.2rem);
  }

  .sky-panel {
    grid-template-columns: 1fr 1fr;
  }

  .sky-visual {
    aspect-ratio: 1.34;
  }

  .sky-visual::after {
    background: linear-gradient(90deg, #102539 0, transparent 16%);
  }
}

@media (min-width: 51rem) {
  .wrap {
    width: min(calc(100% - 5rem), 73rem);
  }

  .hero-inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0.9rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 6.15vw, 5.55rem);
  }

  .hero-visual {
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 40rem) {
  .header-links {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    gap: 0 1rem;
  }
}

@media (max-width: 23rem) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .brand img {
    width: 2.1rem;
    height: 2.1rem;
  }

  .brand {
    font-size: 0.97rem;
  }
}

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