:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --surface: #fbfaf6;
  --ink: #202723;
  --secondary: #505953;
  --muted: #626b65;
  --rule: #d8dbd2;
  --blue: #114e70;
  --blue-dark: #12394c;
  --blue-light: #e4eef4;
  --gutter: clamp(20px, 5vw, 80px);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }

.container {
  width: min(100% - var(--gutter) * 2, 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 12px auto auto 12px;
  transform: translateY(-200%);
  padding: 12px 16px;
  background: var(--surface);
  color: var(--blue);
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); }

.header-inner {
  display: grid;
  min-height: 76px;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { flex: 0 0 auto; }
.brand-name { display: block; font-weight: 600; line-height: 1.2; }

.brand-name span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.header-nav { display: flex; gap: clamp(16px, 3vw, 44px); }

.header-nav a,
.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a:hover, .back-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  min-height: 48px;
  width: fit-content;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-outline { justify-self: end; border-color: #aebbbd; color: var(--blue); }
.button-outline:hover { background: var(--blue-light); border-color: var(--blue); }
.button-primary { background: var(--blue-dark); color: #fff; }
.button-primary:hover { background: var(--blue); }
.button-light { background: var(--surface); color: var(--blue-dark); }
.button-light:hover { background: var(--blue-light); }
.button-light:focus-visible { outline-color: #fff; }
.arrow { font-family: system-ui, sans-serif; font-size: 18px; font-weight: 400; line-height: 1; }

.hero { padding-top: clamp(48px, 6vw, 88px); }

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.8fr);
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.section-label::before { content: ""; width: 24px; height: 2px; background: currentColor; }

.hero h1 {
  font-size: clamp(44px, 6.1vw, 88px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.13;
}

.hero-summary {
  max-width: 400px;
  padding-bottom: 4px;
  color: var(--secondary);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.8;
}

.hero-summary .button { margin-top: 24px; }

.hero-figure { position: relative; }

.hero-image {
  width: 100%;
  height: clamp(350px, 35vw, 472px);
  object-fit: cover;
  object-position: center 48%;
  border-radius: 8px;
  background: #9d9281;
}

.hero-figure figcaption {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.progress { padding-block: clamp(64px, 8vw, 112px); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading h2, .access h2 {
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.2;
}

.section-heading p { color: var(--secondary); font-size: 16px; line-height: 1.8; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
}

.product:nth-child(2) { background: #edf1ef; }

.product-name {
  color: var(--blue);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.05;
}

.product h3 { margin-block: 12px 8px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; }
.product-header > p:last-child { color: var(--secondary); line-height: 1.75; }
.product-details { flex: 1; margin-top: 28px; }

.product-details > div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.75;
}

.product-details dt { font-weight: 600; }
.product-details dd { color: var(--secondary); }

.text-link {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover { color: var(--ink); }

.workflow {
  padding-block: clamp(56px, 7vw, 96px);
  border-block: 1px solid var(--rule);
  background: #eeeee7;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  position: relative;
  padding: 20px 24px 4px 0;
  border-top: 1px solid #a3b5b9;
}

.workflow-steps li:last-child { border-top-color: var(--blue); }
.workflow-steps li:not(:last-child)::after { content: "→"; position: absolute; top: 16px; right: 0; color: var(--blue); }
.workflow-source { color: var(--blue); font-size: 13px; font-weight: 600; }
.workflow h3 { margin-block: 8px; font-size: 22px; font-weight: 600; }
.workflow-steps p { color: var(--secondary); font-size: 15px; line-height: 1.75; }

.access { padding-block: clamp(56px, 7vw, 96px); }

.access-panel {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: clamp(28px, 5vw, 68px);
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
}

.access p { max-width: 37em; margin-top: 16px; color: #e1eaee; line-height: 1.8; }
.access .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 16px; }
.back-link { gap: 8px; }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .product { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
  }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 0; padding-top: 12px; }
  .header-nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; gap: 8px; margin-top: 8px; }
  .hero-intro, .section-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .section-label { margin-bottom: 16px; }
  .hero-summary .button { margin-top: 16px; }
  .hero-image { height: clamp(260px, 64vw, 400px); object-position: 58% center; }
  .product-grid, .workflow-steps { grid-template-columns: minmax(0, 1fr); }
  .workflow-steps { gap: 20px; }
  .workflow-steps li:not(:last-child)::after { content: "↓"; }
  .access-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .button { gap: 8px; padding-inline: 12px; }
  .brand { gap: 8px; }
  .header-nav a { font-size: 13px; }
  .product-details > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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