:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5d6470;
  --line: #d9dce1;
  --accent: #e4002b;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.site-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name,
.brand-subtitle,
.folio,
.hero-text,
.note,
.footer p,
.card p,
.trust-item p {
  margin: 0;
}

.brand-name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.brand-subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.topnav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 8px;
  font-size: 14px;
}

.topnav a {
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.topnav a:hover {
  border-color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.folio {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero h1,
.section-head h2,
.card h3 {
  margin: 0;
  font-weight: 700;
}

.hero h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--text);
  font-size: 15px;
}

.primary-link {
  background: var(--text);
  color: #ffffff;
}

.secondary-link {
  color: var(--text);
  background: transparent;
}

.hero-panel,
.card,
.company-block {
  background: var(--surface);
}

.hero-panel {
  border: 1px solid var(--line);
  padding: 20px 20px 8px;
}

.panel-line,
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.panel-line span,
.info-row span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 14px;
}

.panel-line strong,
.info-row strong {
  text-align: right;
  font-size: 16px;
  line-height: 1.6;
}

.content-grid,
.trust-strip,
.company {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
}

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

.card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
}

.card h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.card p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

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

.trust-item {
  padding: 18px 0 0;
  border-top: 2px solid var(--accent);
}

.trust-index {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.trust-item p {
  color: var(--muted);
  line-height: 1.8;
}

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

.company-block {
  border: 1px solid var(--line);
  padding: 10px 20px 20px;
}

.info-row-stack {
  display: block;
}

.info-row-stack strong {
  display: block;
  margin-top: 10px;
  text-align: left;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero,
  .section-head,
  .cards,
  .trust-items,
  .company-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer {
    flex-direction: column;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-panel,
  .card,
  .company-block {
    min-width: 0;
  }

  .panel-line,
  .info-row {
    flex-direction: column;
    gap: 8px;
  }

  .panel-line strong,
  .info-row strong {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding: 18px 16px 32px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .cards,
  .trust-items,
  .company-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}
