:root {
  --paper: #f6f4ed;
  --ink: #101010;
  --muted: #67635a;
  --line: rgba(16, 16, 16, .12);
  --panel: #ffffff;
  --soft: #e8e4d7;
  --dark: #171512;
  --dark-2: #241a18;
  --red: #f2262f;
  --cyan: #00d9ff;
  --lime: #b9ff40;
  --gold: #f0c852;
  --shadow: 0 24px 70px rgba(0, 0, 0, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #dfddd4;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 237, .92);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 160px;
}

.brand b {
  font-size: 15px;
  line-height: 1.2;
}

.brand span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .68);
  color: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.nav a:hover,
.button:hover,
.nav a.active {
  transform: translateY(-1px);
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button.red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button.dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 48px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, rgba(0, 217, 255, .08), transparent 42%),
    linear-gradient(315deg, rgba(242, 38, 47, .13), transparent 48%),
    var(--dark);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.lalm-logo {
  width: min(430px, 55vw);
  opacity: .9;
  mix-blend-mode: screen;
}

.hero-meta {
  display: grid;
  gap: 5px;
  min-width: 210px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(0, 0, 0, .24);
  color: rgba(255, 255, 255, .86);
  text-align: right;
  font-size: 14px;
  line-height: 1.45;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  gap: 42px;
  align-items: center;
  padding: 44px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .98;
  font-weight: 950;
}

.hero h1 .red,
.page-hero h1 .red {
  color: var(--red);
}

.hero-copy {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 21px;
  line-height: 1.6;
  font-weight: 650;
}

.hero-photo {
  position: relative;
  justify-self: end;
  width: min(360px, 100%);
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  transform: rotate(1.4deg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero-photo::before {
  content: "最高 / 日本博士后";
  position: absolute;
  left: -15px;
  top: 28px;
  padding: 7px 9px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.hero-actions,
.page-actions,
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.route-card,
.content-card,
.detail-card,
.problem-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .05);
}

.route-card {
  min-height: 184px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.route-card:hover {
  background: #fff;
  transform: translateY(-2px);
  transition: transform .15s ease, background .15s ease;
}

.route-card small,
.kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.route-card b {
  display: block;
  font-size: 25px;
  line-height: 1.18;
}

.route-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 56px 48px;
  border-bottom: 1px solid var(--line);
}

.section.dark {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(0deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 30px 30px,
    #151515;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin: 0 0 28px;
}

.section h2,
.page-section h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 950;
}

.section-head p,
.page-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 650;
}

.dark .section-head p,
.dark .page-lead {
  color: rgba(255, 255, 255, .72);
}

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

.content-card {
  padding: 22px;
}

.content-card b {
  display: block;
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.28;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.dark .content-card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
}

.dark .content-card p {
  color: rgba(255, 255, 255, .72);
}

.case-strip {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: center;
}

.browser-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  background: white;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
}

.browser-shot img {
  width: 100%;
}

.browser-shot::after {
  content: "www.wozhendehaokewu.com";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  background: rgba(242, 38, 47, .94);
  color: #fff;
  text-align: center;
  font-weight: 950;
}

.timeline {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}

.step i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-weight: 950;
}

.step b {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.step span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.page-hero {
  padding: 56px 48px 44px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, rgba(0, 217, 255, .08), transparent 42%),
    var(--dark);
}

.page-hero .breadcrumb {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  font-weight: 800;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, .84);
}

.page-hero .page-lead {
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
}

.page-section {
  padding: 48px;
  border-bottom: 1px solid var(--line);
}

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

.detail-card {
  padding: 22px;
}

.detail-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.18;
}

.detail-card p,
.detail-card li,
.page-section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.detail-card p {
  margin: 0 0 14px;
}

.detail-card ul,
.page-section ul {
  margin: 0;
  padding-left: 20px;
}

.quote-box {
  padding: 30px;
  border-left: 8px solid var(--red);
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-box p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.38;
  font-weight: 950;
}

.quote-box small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.problem-card {
  padding: 18px;
}

.problem-card b {
  display: block;
  margin: 0 0 8px;
  font-size: 19px;
}

.problem-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 48px 46px;
}

.mobile-menu-button {
  display: none;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
  }

  .nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-top: 10px;
  }

  .topbar.open {
    flex-wrap: wrap;
  }

  .topbar.open .nav {
    display: flex;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .hero,
  .section,
  .page-hero,
  .page-section,
  .footer-nav {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .hero-top,
  .hero-main,
  .case-strip,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-meta {
    text-align: left;
    min-width: 0;
  }

  .lalm-logo {
    width: min(330px, 100%);
  }

  .hero-main {
    gap: 28px;
    padding: 34px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-photo {
    justify-self: end;
    width: min(78vw, 310px);
  }

  .hero-photo img {
    height: 390px;
  }

  .route-grid,
  .content-grid,
  .detail-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 12px;
    align-items: start;
  }

  .section h2,
  .page-section h2 {
    font-size: 34px;
  }

  .section-head p,
  .page-lead {
    font-size: 16px;
  }

  .browser-shot::after {
    font-size: 13px;
  }

  .footer-nav {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .hero,
  .section,
  .page-hero,
  .page-section,
  .footer-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 39px;
  }

  .hero-photo img {
    height: 340px;
  }

  .route-card b {
    font-size: 22px;
  }

  .step {
    grid-template-columns: 42px 1fr;
    padding: 15px;
  }

  .quote-box {
    padding: 22px;
  }
}
