:root {
  --ink: #142033;
  --muted: #5c6b80;
  --line: #e4ebf4;
  --paper: #f4f7fb;
  --white: #ffffff;
  --blue: #1f6feb;
  --blue-deep: #12315c;
  --blue-soft: #e7f0ff;
  --gold: #e2a322;
  --ok: #0f8a4b;
  --shadow: 0 18px 50px rgba(20, 40, 70, 0.08);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
section[id] { scroll-margin-top: 88px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lockup {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1.15;
  color: var(--ink);
}
.lockup-logo {
  width: 82px;
  height: 40px;
  max-width: none;
  object-fit: contain;
}
.lockup-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
}
.site-nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--ink);
  color: white !important;
  border-radius: 999px;
  padding: 8px 16px;
}
.nav-cta:hover { background: var(--blue); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #c5d0de;
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -5px; }
.nav-toggle-lines::after { top: 5px; }

.hero { padding: 48px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
.kicker img {
  width: 22px;
  height: 22px;
  max-width: none;
  border-radius: 6px;
  object-fit: cover;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.02em;
}
h1 span { display: block; }
h1 .accent {
  color: var(--blue);
  position: relative;
  width: fit-content;
}
h1 .accent { padding-bottom: 8px; }
h1 .accent::after {
  content: "";
  position: absolute;
  left: 0.12em;
  right: 0.02em;
  bottom: 0;
  height: 9px;
  border-bottom: 3px solid var(--gold);
  border-radius: 0 0 40px 40px;
}
.lead {
  margin-top: 22px;
  max-width: 38em;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: #185ecb; }
.btn-ghost {
  background: var(--white);
  border: 1px solid #d5deea;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.cloud {
  position: relative;
  min-height: 420px;
  padding: 36px 28px;
  border-radius: 28px;
  border: 1px solid #d7e5f8;
  background: linear-gradient(180deg, #e7f1ff 0%, #f8fbff 72%);
  overflow: hidden;
}
.cloud-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cloud-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 12px 10px;
  min-height: 348px;
}
.cloud-tags span {
  --px: 0px;
  --py: 0px;
  --fy: 0px;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d3e2f4;
  color: #3c5270;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transform: translate3d(var(--px), calc(var(--py) + var(--fy)), 0);
  animation: float var(--a, 7s) ease-in-out var(--d, 0s) infinite;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.cloud-tags .lg {
  height: 44px;
  padding: 0 16px;
  font-size: 15px;
}
.cloud-tags .is-hot {
  background: var(--blue);
  border-color: transparent;
  color: white;
}
@property --fy {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@keyframes float {
  0%, 100% { --fy: 0px; }
  50% { --fy: -7px; }
}

.products, .about, .contact { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-index {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.section-index.light { color: #9ec0ff; }
h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.section-head p:last-child,
.brand-lead { margin-top: 14px; color: var(--muted); font-size: 17px; }

.product-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.product {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px 28px;
  border-top: 1px solid var(--line);
}
.product:first-child { border-top: 0; }
.product-no {
  font-family: var(--serif);
  color: #b7c3d4;
  font-size: 22px;
}
.product h3 { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; }
.product-body p { margin-top: 6px; color: var(--muted); }
.product-meta { font-size: 13px; }
.text-link {
  justify-self: end;
  white-space: nowrap;
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
}
.text-link::after { content: " →"; }
.product:hover { background: #f8fbff; }
.product:hover .product-no { color: var(--blue); }

.brand {
  background: var(--blue-deep);
  color: white;
  padding: 88px 0;
}
.brand-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.brand h2 { color: white; }
.brand-lead { color: #c5d4ea; }
.principles { list-style: none; display: grid; gap: 18px; }
.principles li {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.principles h3 { font-size: 18px; font-weight: 600; }
.principles p { margin-top: 6px; color: #c5d4ea; }

.about { background: var(--white); }
.about-copy { max-width: 40em; font-size: 17px; color: #314256; }
.about-copy p + p { margin-top: 16px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.7fr 0.9fr 1.4fr;
  gap: 14px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
}
a.contact-card:hover { border-color: var(--blue); }
.contact-card span { color: var(--muted); font-size: 13px; }
.contact-card strong { font-size: 20px; font-weight: 600; line-height: 1.45; }

.site-footer {
  background: #101828;
  color: #c5d0de;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 32px;
}
.footer-logo {
  width: 74px;
  height: 36px;
  max-width: none;
  object-fit: contain;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-label {
  color: white;
  font-weight: 600;
  margin-bottom: 10px;
}
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 6px; }
.site-footer a { color: #c5d0de; text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8ea0b5;
  font-size: 13px;
}
.footer-legal p { display: flex; gap: 16px; flex-wrap: wrap; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(20, 32, 51, 0.06);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
    border-top: 0;
  }
  .hero-grid, .brand-grid, .footer-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 28px; }
  .cloud { min-height: 0; padding: 24px 16px; }
  .cloud-tags { min-height: 0; }
  .product {
    grid-template-columns: 42px 1fr;
    align-items: start;
    padding: 22px 18px;
  }
  .product-no { padding-top: 2px; }
  .text-link { grid-column: 2; justify-self: start; margin-top: 4px; }
  .brand, .products, .about, .contact { padding: 64px 0; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  h1 { font-size: 44px; }
  .cloud-tags { gap: 8px; }
  .lead, .section-head p:last-child { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud-tags span { animation: none; }
}
