/* 简朴科技官网 — 与画布「定稿」页一致：≥1024px 用桌面稿，<1024px 用手机稿。 */

:root {
  --paper: #F4F2EC;
  --ink: #1F1E1D;
  --muted: #6B6862;
  --green: #39563F;
  --link: #2F4A35;
  --hairline: rgba(31, 30, 29, 0.2);
  --on-dark: #F4F2EC;
  --on-dark-muted: rgba(244, 242, 236, 0.72);
  --gutter: clamp(20px, 8.34vw, 120px);
  --font-zh: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
  --font-en-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-zh);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: linear-gradient(200deg, #2B3F31 0%, #45604B 48%, #869E87 100%);
  color: var(--on-dark);
}
.hero__road {
  position: absolute;
  top: 0;
  right: 0;
  width: 1083px;
  height: 885px;
  opacity: 0.96;
  pointer-events: none;
  user-select: none;
}
.hero > .wrap { position: relative; height: 100%; }

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.brand:hover { color: var(--on-dark); }
.brand img { width: 24px; height: 24px; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { color: rgba(244, 242, 236, 0.78); }
.site-nav a:hover { color: var(--on-dark); }
.site-nav .lang {
  color: var(--on-dark);
  border-left: 0.5px solid rgba(244, 242, 236, 0.4);
  padding-left: 36px;
}

.hero__text {
  position: absolute;
  left: var(--gutter);
  top: 168px;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__text h1 { font-size: 64px; line-height: 1.25; font-weight: 600; }
.hero__text p { color: rgba(244, 242, 236, 0.9); }

/* ---------- 通用栏目 ---------- */

.section-title { font-size: 24px; font-weight: 600; letter-spacing: 0.08em; }
.statement { font-size: 32px; line-height: 1.5; font-weight: 600; }
.muted { color: var(--muted); }

.split { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }

/* 理念 */
.ideas { padding-top: 120px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 72px; }
.ideas .split:first-child { align-items: baseline; }
.ideas .section-title { line-height: 1.5; }
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.principles li {
  border-top: 0.5px solid var(--hairline);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.principles .num { font-size: 13px; color: var(--green); font-variant-numeric: tabular-nums; }
.principles h3 { font-size: 16px; font-weight: 600; }

/* 关于我们 */
.about-inner { border-top: 0.5px solid var(--hairline); padding-block: 112px; }
.about .section-title, .contact .section-title { line-height: 2; }
.about-body { display: flex; flex-direction: column; gap: 48px; }
.about-text { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.facts > div {
  border-top: 0.5px solid var(--hairline);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.facts dt { font-size: 13px; color: var(--muted); }

/* 联系与页脚（深色收尾区） */
.closing { background: linear-gradient(20deg, #2B3F31 0%, #45604B 100%); color: var(--on-dark); }
.contact { padding-top: 120px; padding-bottom: 112px; }
.contact-body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.email {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--on-dark);
  border-bottom: 0.5px solid rgba(244, 242, 236, 0.5);
}
.email:hover { color: var(--on-dark); border-bottom-color: var(--on-dark); }
.contact p { color: rgba(244, 242, 236, 0.82); }

.site-footer {
  border-top: 0.5px solid rgba(244, 242, 236, 0.2);
  padding: 40px 0 36px;
  font-size: 13px;
  color: var(--on-dark-muted);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--on-dark); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand { font-size: 16px; }
.footer-nav { display: flex; gap: 32px; }
.footer-legal {
  border-top: 0.5px solid rgba(244, 242, 236, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

/* ---------- 英文版：Apple 官网字体规范 ---------- */

body:lang(en) {
  font-family: var(--font-en-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
}
:lang(en) .brand { letter-spacing: 0.02em; }
:lang(en) .hero__text { max-width: 560px; }
:lang(en) .hero__text h1 { font-size: 72px; line-height: 1.05; }
:lang(en) .hero__text h1,
:lang(en) .section-title,
:lang(en) .statement,
:lang(en) .email {
  font-family: var(--font-en-display);
  letter-spacing: -0.015em;
}
:lang(en) .principles h3 { font-size: 17px; }

/* ---------- 手机与平板（<1024px） ---------- */

@media (max-width: 1023px) {
  :root { --gutter: 20px; }
  body { line-height: 1.75; }

  .hero { height: 560px; }
  .hero__road { width: 700px; height: 572px; }
  .site-header { height: 60px; }
  .brand { gap: 8px; }
  .brand img { width: 22px; height: 22px; }
  .site-nav { gap: 20px; }
  .site-nav a:not(.lang) { display: none; }
  .site-nav .lang { border-left: 0; padding: 10px 0; }

  .hero__text {
    top: auto;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 72px;
    max-width: none;
    align-items: flex-end;
    text-align: right;
    gap: 16px;
  }
  .hero__text h1 { font-size: 36px; line-height: 1.3; }
  .hero__text p { max-width: 260px; }

  .split { display: flex; flex-direction: column; gap: 20px; }
  .section-title { font-size: 16px; }
  .statement { font-size: 22px; line-height: 1.6; }

  .ideas { padding-top: 72px; padding-bottom: 64px; gap: 40px; }
  .ideas .split:first-child .statement { margin-bottom: 0; }
  .ideas .split > .spacer { display: none; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
  .principles li { padding-top: 16px; gap: 4px; }

  .about-inner { padding-block: 64px; }
  .about .section-title, .contact .section-title { line-height: 1.75; }
  .about-body { gap: 32px; }
  .facts { display: flex; flex-direction: column; gap: 12px; }
  .facts > div { flex-direction: row; justify-content: space-between; gap: 16px; padding-top: 12px; }
  .facts dd { text-align: right; }

  .contact { padding-top: 72px; padding-bottom: 64px; }
  .contact .split { gap: 20px; }
  .email { font-size: 22px; line-height: 1.6; }

  .site-footer { padding: 32px 0 28px; gap: 28px; }
  .footer-nav { display: none; }
  .footer-legal { flex-direction: column; gap: 4px; padding-top: 20px; }
  .footer-legal a { padding: 4px 0; }

  :lang(en) .hero__text { max-width: none; bottom: 56px; }
  :lang(en) .hero__text h1 { font-size: 40px; line-height: 1.1; }
  :lang(en) .section-title { font-size: 17px; }
}

/* ---------- 404 ---------- */

.hero--full { height: 100vh; height: 100svh; min-height: 560px; }
.site-nav .lang:only-child { border-left: 0; padding-left: 0; }
.notfound .notfound__en { color: rgba(244, 242, 236, 0.72); font-size: 13px; line-height: 1.6; }
.notfound__links { display: flex; align-items: baseline; gap: 24px; margin-top: 8px; }
.notfound__links a { color: rgba(244, 242, 236, 0.78); }
.notfound__links a:hover { color: var(--on-dark); }
.notfound__links .notfound__home {
  color: var(--on-dark);
  font-weight: 600;
  border-bottom: 0.5px solid rgba(244, 242, 236, 0.5);
}
@media (max-width: 1023px) {
  .hero--full { height: 100vh; height: 100svh; }
  .notfound .notfound__en { max-width: 260px; }
}
