/* 宇租官网 · 静态站样式（无构建步骤，与仓库其它前端一致） */

:root {
  --ink: #0d1b2a;
  --ink-2: #33475b;
  --ink-3: #64778c;
  --line: #e3e8ef;
  --line-soft: #eef2f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --brand: #12386e;
  --brand-2: #1d5fbf;
  --brand-soft: #eaf1fb;
  --accent: #0f9d76;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 27, 42, .04), 0 8px 24px rgba(13, 27, 42, .06);
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .5px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: 1.5px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--ink-2);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brand-2); text-decoration: none; }
.site-nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

/* ---------- 通用块 ---------- */

.section { padding: 76px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.3px;
}
.section-desc { margin: 0; color: var(--ink-2); font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(18, 56, 110, .22); }
.btn-primary:hover { background: #0e2d59; color: #fff; }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); }

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

.hero {
  padding: 92px 0 84px;
  background:
    radial-gradient(900px 420px at 88% -8%, var(--brand-soft) 0%, rgba(234, 241, 251, 0) 62%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 44px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -1px;
}
.hero h1 em { font-style: normal; color: var(--brand-2); }

.hero-lead {
  margin: 0 0 32px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 560px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.hero-card h3 {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: .5px;
}
.hero-steps { list-style: none; margin: 0; padding: 0; }
.hero-steps li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.hero-steps li:last-child { border-bottom: none; }
.hero-steps .n {
  flex: 0 0 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.hero-steps .t { font-size: 15px; font-weight: 600; }
.hero-steps .d { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

/* ---------- 卡片网格 ---------- */

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

.card-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 21px; height: 21px; }

/* ---------- 流程条 ---------- */

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.flow-item .step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-2);
  margin-bottom: 10px;
}
.flow-item h4 { margin: 0 0 8px; font-size: 16px; }
.flow-item p { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ---------- 图文分栏 ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.split ul { margin: 0; padding-left: 0; list-style: none; }
.split ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 15px;
}
.split ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
}
.split ul li strong { color: var(--ink); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.panel h4 { margin: 0 0 6px; font-size: 16px; }
.panel .kv { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.panel .kv:last-child { border-bottom: none; }
.panel .kv span { color: var(--ink-3); flex: 0 0 auto; }
.panel .kv strong { font-weight: 600; text-align: right; }

/* ---------- 表格 ---------- */

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.table th { color: var(--ink-3); font-weight: 600; background: var(--bg-soft); }
.table tr:last-child td { border-bottom: none; }

/* ---------- 文章型页面 ---------- */

.page-hero {
  padding: 62px 0 42px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { margin: 0 0 12px; font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.page-hero p { margin: 0; color: var(--ink-2); max-width: 720px; }

.prose { max-width: 800px; }
.prose h2 { font-size: 22px; margin: 42px 0 14px; font-weight: 700; }
.prose h3 { font-size: 17px; margin: 28px 0 10px; font-weight: 700; }
.prose p { color: var(--ink-2); margin: 0 0 14px; }
.prose ul { color: var(--ink-2); padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose .note {
  background: var(--bg-soft);
  border-left: 3px solid var(--brand-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 18px;
}

/* ---------- CTA ---------- */

.cta {
  background: linear-gradient(135deg, var(--brand) 0%, #1a4b96 100%);
  color: #fff;
  border-radius: 18px;
  padding: 50px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.cta p { margin: 0; color: rgba(255, 255, 255, .82); }
.cta .btn-ghost { background: #fff; border-color: #fff; color: var(--brand); }

/* ---------- 页脚 ---------- */

.site-footer {
  background: #0b1b2f;
  color: #9fb2c8;
  padding: 54px 0 30px;
  font-size: 14px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.site-footer p { margin: 0 0 8px; line-height: 1.9; }
.site-footer a { color: #9fb2c8; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #7189a5;
  font-size: 13px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .grid-2, .flow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 24px; }
  .section { padding: 54px 0; }
  .hero { padding: 56px 0; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }
  .brand-sub { display: none; }
  .cta { padding: 34px 26px; }
}

@media (max-width: 620px) {
  /* 小屏不隐藏导航：页头换成两行，导航横向可滚动，保证四个页面都能到达 */
  .site-header .wrap {
    height: auto;
    padding-top: 10px;
    padding-bottom: 2px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav {
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; padding-bottom: 8px; }
  .hero h1 { font-size: 27px; }
  .hero { padding: 40px 0 46px; }
  .cta { padding: 28px 22px; }
  .card, .panel, .flow-item { padding: 22px; }
}
