/* 字体自托管（GDPR：不连谷歌字体）；只含拉丁子集，中文落到系统字体。 */
@font-face {
  font-family: "Inter";
  src: url("fonts/InterVariable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/*
 * 配色照名片与海报：深海军蓝为主，冷灰白底，青绿是唯一的强调色。
 * 浅底上的链接与按钮用深青（白底对比 6.2:1）；--teal 白底只有 3.6:1，只做装饰；深蓝底上的字用 --teal-light。
 */
:root {
  --navy-950: #0e1f2a;
  --navy-900: #102431;
  --navy: #142936;
  --bg: #ffffff;
  --bg-alt: #f3f6f6;
  --text: #142936;
  --muted: #56686f;
  --line: #d5e0e2;
  --teal: #3e9298;
  --teal-dark: #286a74;
  --teal-darker: #1f5760;
  --teal-light: #65bac0;
  --on-navy: #ffffff;
  --on-navy-muted: #c8d6da;
  --on-navy-faint: #a9bdc4;
  --on-navy-line: rgba(255, 255, 255, 0.14);
  --bezel: #0b0b0c;
  --device-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 64px;
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

/* 短页（法律信息）也让页脚贴底。 */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  color: var(--teal-darker);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 排版：拉丁大字收紧字距；中文不收（方块字收紧会粘连）。 */
h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  hyphens: manual;
}

h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 680;
}

h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-weight: 640;
}

/* 标题按行均分、正文避免末行只剩一个字（中文尤其明显：「企\n业。」）。 */
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

/* 中文标题按词组成块折行：均分折行会把「批发」拆到两行。 */
.phrase {
  display: inline-block;
}

:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3 {
  letter-spacing: 0;
  line-height: 1.25;
  font-weight: 650;
}

.lead {
  margin-top: 20px;
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.008em;
}

/* 小标签：大写加字距，前面一段青绿短线（名片上的那条）。 */
.eyebrow,
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.label::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  border-radius: 1px;
  background: var(--teal);
}

/* 顶栏：深蓝，和首屏连成一片。 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 36, 49, 0.92);
  border-bottom: 1px solid var(--on-navy-line);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark .mark {
  width: 26px;
  height: 26px;
  color: var(--teal-light);
}

.wordmark span {
  color: var(--on-navy-faint);
  font-weight: 500;
}

.wordmark:hover {
  color: var(--on-navy);
  text-decoration: none;
}

.primary-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.primary-nav a,
.lang-switch a {
  color: var(--on-navy-muted);
  font-size: 14px;
}

/* 导航的命中区撑到 36px 高，字号不动。 */
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.primary-nav a:hover,
.lang-switch a:hover {
  color: var(--on-navy);
  text-decoration: none;
}

.site-header a:focus-visible {
  outline-color: var(--teal-light);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 语言切换的命中区撑到 36px，字号不动。 */
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.lang-switch a[aria-current] {
  color: var(--on-navy);
  box-shadow: inset 0 -2px 0 var(--teal-light);
  border-radius: 0;
  font-weight: 650;
}

/* 按钮：直角略圆，和海报的方正版式一致。 */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  background: var(--teal-light);
  color: var(--navy-900);
}

.button.primary:hover {
  background: #7cc7cc;
  color: var(--navy-900);
}

.button.secondary {
  color: var(--on-navy);
  box-shadow: inset 0 0 0 1.5px var(--on-navy-line);
}

.button.secondary:hover {
  color: var(--on-navy);
  box-shadow: inset 0 0 0 1.5px var(--on-navy-faint);
}

/* 设备外框：截图是苹果商店用的演示数据，外框只用圆角和黑边，不画听筒、按键。 */
.device {
  --radius: 36px;
  --pad: 11px;
  padding: var(--pad);
  border-radius: var(--radius);
  background: var(--bezel);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--device-shadow);
}

.device img {
  width: 100%;
  border-radius: calc(var(--radius) - var(--pad));
}

.device.iphone {
  --radius: 40px;
  --pad: 8px;
}

/* iPad 截图的状态栏「09:41」贴着屏幕左上角：屏幕圆角大了会切掉开头的 0，所以 iPad 边框更宽、屏幕圆角更小。 */
.device.ipad {
  --radius: 24px;
  --pad: 14px;
}

/* 首屏：深蓝底，右上一团青绿光和两道细弧线（名片正面的做法）；设备在底边被裁掉。 */
.hero {
  overflow: hidden;
  background:
    url("img/arcs.svg") right -120px top -80px / 900px auto no-repeat,
    radial-gradient(900px 520px at 88% 18%, rgba(62, 146, 152, 0.32), transparent 65%),
    linear-gradient(165deg, #18323f 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: var(--on-navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
}

.hero-copy {
  align-self: center;
  padding: clamp(56px, 8vw, 112px) 0;
}

.hero .eyebrow {
  color: var(--teal-light);
}

.hero .lead {
  color: var(--on-navy-muted);
}

.hero h1 {
  max-width: 14ch;
}

:lang(zh) .hero h1 {
  max-width: 9em;
}

.devices {
  position: relative;
  height: clamp(420px, 42vw, 600px);
  margin-top: clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.devices .ipad {
  position: absolute;
  top: 0;
  right: 0;
  width: min(80%, 420px);
}

.devices .iphone {
  position: absolute;
  top: 26%;
  left: 0;
  width: min(36%, 180px);
}

/* 区块 */
.section {
  padding: clamp(80px, 10vw, 136px) 0;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 0;
  list-style: none;
}

.modules li {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.modules .icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--teal-dark);
}

.modules p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

/* 对勾清单：青绿圆点里一个白勾，全用 CSS 画（CSP 不许 data: 图片）。 */
.checks {
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 32px;
}

.checks li + li {
  margin-top: 12px;
}

.checks li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-dark);
}

.checks li::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 和上面的模块同列宽，三条一行。 */
.moda .checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 40px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.moda .checks li + li {
  margin-top: 0;
}

.sales,
.wash {
  background: var(--bg-alt);
}

/* 发票与染洗系统没有截图：模块下面一行写界面与语言，右边是它自己的网址。 */
.product-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.product-foot .checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.product-foot .checks li + li {
  margin-top: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 620;
}

.product-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

.sales-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.sales .checks {
  margin-top: 32px;
}

/* 苹果商店：桌面上扫码、旁边是按钮；手机上扫自己的屏幕没意义，只留按钮（见窄屏）。 */
.store {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 36px;
}

.store-code {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 140px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.store-qr {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--line);
}

.phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  max-width: 560px;
  margin-left: auto;
}

.phones .device:last-child {
  transform: translateY(12%);
}

.company-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

/* 联系：深蓝整条，和页脚连成海报底部那一段。 */
.contact {
  background:
    url("img/arcs.svg") left -260px bottom -360px / 900px auto no-repeat,
    var(--navy);
  color: var(--on-navy);
}

.contact .label {
  color: var(--teal-light);
}

.contact .lead {
  color: var(--on-navy-muted);
}

.email {
  display: inline-block;
  color: var(--teal-light);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 620;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.email:hover {
  color: var(--on-navy);
}

.contact a:focus-visible {
  outline-color: var(--teal-light);
}

/* 二维码在深蓝底上要有白底留边，否则扫不出来：码图自带 4 格白边，外面只补一圈白底给圆角，码按 160px 显示、不再缩小。 */
.wechat {
  margin-top: 24px;
}

.wechat img {
  box-sizing: content-box;
  width: 160px;
  height: 160px;
  padding: 4px;
  border-radius: 6px;
  background: #ffffff;
}

.wechat figcaption {
  margin-top: 8px;
  color: var(--on-navy-muted);
  font-size: 14px;
}

address {
  margin-top: 20px;
  color: var(--on-navy-muted);
  font-style: normal;
}

.site-footer {
  padding: 28px 0 40px;
  background: var(--navy-950);
  color: var(--on-navy-faint);
  font-size: 13px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
}

.footer-row nav {
  display: flex;
  gap: 24px;
}

.footer-row a {
  color: var(--on-navy);
}

.footer-row a:hover {
  color: var(--teal-light);
}

.site-footer a:focus-visible {
  outline-color: var(--teal-light);
}

@media (max-width: 960px) {
  .modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moda .checks {
    grid-template-columns: minmax(0, 1fr);
  }

  .sales-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .phones {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .devices {
    height: clamp(300px, 84vw, 520px);
  }

  .devices .ipad {
    right: 4%;
    width: 64%;
  }

  .devices .iphone {
    top: 22%;
    left: 4%;
    width: 30%;
  }
}

@media (max-width: 720px) {
  .primary-nav {
    display: none;
  }

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

  /* 窄屏：图标放左边，一个模块不占一整屏。 */
  .modules {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .modules li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0 16px;
    padding-top: 20px;
  }

  .modules .icon {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .device {
    --radius: 22px;
    --pad: 7px;
  }

  .device.iphone {
    --radius: 26px;
    --pad: 5px;
  }

  .device.ipad {
    --radius: 16px;
    --pad: 9px;
  }

  .phones .device:last-child {
    transform: translateY(8%);
  }

  .store-code {
    display: none;
  }

  .store {
    margin-top: 28px;
  }

  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

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

/* 法律信息与隐私说明：窄栏正文，字号比首页小，正文用主色保证可读。 */
.legal {
  max-width: calc(760px + 2 * var(--gutter));
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

/* 「Datenschutzerklärung」一个词在 320 宽放不下：允许按语言断字。 */
.legal h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.03em;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

.legal h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 24px;
  border-radius: 2px;
  background: var(--teal);
}

.legal h2 {
  margin-top: 40px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 640;
}

.legal p,
.legal address {
  margin-top: 14px;
  color: var(--text);
}

.legal .basis {
  margin-top: 20px;
  color: var(--muted);
}

.legal .updated,
.legal .governing {
  margin-top: 40px;
  color: var(--muted);
  font-size: 15px;
}

.legal .governing {
  margin-top: 8px;
}
