:root {
  color-scheme: light;
  --sky-50: #f4fbfe;
  --sky-100: #e2f5fc;
  --sky-200: #bfe8f7;
  --sky-500: #258fbd;
  --sky-650: #0f739f;
  --sky-800: #174c63;
  --ink: #14252d;
  --muted: #526b77;
  --line: #cfe1e9;
  --surface: #ffffff;
  --gold: #a57a2d;
  --green: #31745c;
  --shadow: 0 16px 40px rgba(20, 76, 99, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans SC", "Noto Sans TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--sky-50);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sky-50);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--sky-650);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sky-800);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(207, 225, 233, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.page-width {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}

.brand-link img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  white-space: nowrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--sky-650);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: 2px;
  padding: 3px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sky-50);
}

.language-switch button {
  min-width: 42px;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--sky-650);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--sky-100);
}

.hero::after {
  position: absolute;
  inset: 0 0 0 58%;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-background {
  position: absolute;
  z-index: 1;
  top: 54px;
  right: max(5vw, 30px);
  width: min(38vw, 430px);
  height: auto;
  border: 8px solid #ffffff;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 46% 90px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sky-650);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.24;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--sky-800);
  font-size: 1.28rem;
}

.hero-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--sky-650);
  border-radius: 7px;
  background: var(--sky-650);
  color: #ffffff;
  text-decoration: none;
  font-weight: 750;
}

.button:hover {
  color: #ffffff;
  background: var(--sky-800);
}

.button.secondary {
  color: var(--sky-800);
  background: rgba(255, 255, 255, 0.74);
}

.section {
  padding: 76px 0;
}

.section.white {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.link-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature,
.link-card,
.contact-card {
  border-top: 3px solid var(--sky-500);
  padding: 24px 0 0;
}

.feature:nth-child(2),
.link-card:nth-child(2) {
  border-color: var(--gold);
}

.feature:nth-child(3),
.link-card:nth-child(3) {
  border-color: var(--green);
}

.feature h3,
.link-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.feature p,
.link-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.product-shot {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 0.842;
  object-fit: cover;
  object-position: top;
}

.product-shot figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--sky-100);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--sky-800);
  font-size: 1.15rem;
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(180px, 1fr);
  gap: 70px;
  align-items: start;
}

.document {
  min-width: 0;
}

.document h2 {
  margin: 46px 0 12px;
  padding-top: 6px;
  color: var(--sky-800);
  font-size: 1.45rem;
}

.document h2:first-child {
  margin-top: 0;
}

.document h3 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
}

.document p,
.document li {
  color: #314b57;
}

.document ul,
.document ol {
  padding-left: 1.3rem;
}

.document li + li {
  margin-top: 8px;
}

.document-meta {
  position: sticky;
  top: 106px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.document-meta strong,
.document-meta span {
  display: block;
}

.document-meta span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.callout {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fffaf0;
}

.callout p {
  margin: 0;
}

.support-list {
  display: grid;
  gap: 18px;
}

.support-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-item h2,
.support-item h3,
.support-item p {
  margin-top: 0;
}

.support-item p:last-child {
  margin-bottom: 0;
}

.email-address {
  display: inline-block;
  margin-top: 10px;
  color: var(--sky-800);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 800;
  word-break: break-word;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #edf7fb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 22px;
  text-align: right;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    padding: 6px 0 2px;
    overflow-x: auto;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    min-height: 680px;
    align-items: start;
  }

  .hero::after {
    display: none;
  }

  .hero-background {
    top: auto;
    right: 50%;
    bottom: -350px;
    width: min(74vw, 330px);
    transform: translateX(50%);
    opacity: 0.22;
  }

  .hero-copy {
    padding: 72px 0 260px;
  }

  .feature-grid,
  .link-grid,
  .contact-grid,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    max-width: 430px;
    margin: 0 auto;
  }

  .document-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .document-meta {
    position: static;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .page-width,
  .hero-copy {
    width: min(100% - 28px, 1120px);
  }

  .brand-link span {
    display: none;
  }

  .site-nav {
    gap: 15px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy {
    padding-top: 56px;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 54px 0 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
