:root {
  --ink: #132033;
  --ink-soft: #3d4754;
  --paper: #f3efe6;
  --white: #fffcf7;
  --line: #d8d1c4;
  --accent: #9d4324;
  --accent-hover: #7e341b;
  --ok: #2c5a45;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a:hover {
  text-decoration: underline;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.topbar {
  background: var(--ink);
  color: #e8e4db;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar a {
  color: #e8e4db;
}

.topbar-name {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  position: relative;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

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

.logo-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-copy small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.16em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.site-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.header-cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  padding: 72px 0 56px;
  background: var(--ink);
  color: #f4efe6;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 5.4vw, 44px);
  line-height: 1.25;
  font-weight: 700;
}

.hero p.lead {
  max-width: 640px;
  color: #d5cfc3;
  font-size: clamp(15px, 2.4vw, 18px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero .btn-primary {
  background: #c45c32;
}

.trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 13px;
  color: #c9c2b4;
}

.section {
  padding: 64px 0;
}

.section h1,
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 28px);
}

.section .kicker {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 12px;
  font-size: 13px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.cta-band {
  background: var(--accent);
  color: #fff;
  padding: 40px 0;
}

.cta-band h2,
.cta-band p {
  margin: 0 0 12px;
}

.cta-band .btn {
  background: #fff;
  color: var(--accent);
}

.site-footer {
  background: var(--ink);
  color: #cfc8bb;
  padding: 40px 0 24px;
  font-size: 14px;
}

.site-footer a {
  color: #e7e0d3;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.footer-brand .logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  letter-spacing: 0.12em;
}

.legal {
  border-top: 1px solid #2a3848;
  margin-top: 28px;
  padding-top: 16px;
  font-size: 12px;
  color: #9aa3ad;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 13px;
  display: grid;
  gap: 6px;
}

input,
textarea,
select {
  font: inherit;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
}

.mock {
  border: 1px solid #3b4c60;
  background: #1b2b3d;
  min-height: 220px;
  padding: 16px;
  color: #d7d0c3;
  font-size: 12px;
}

.mock .bar {
  height: 10px;
  background: #c45c32;
  width: 62%;
  margin: 8px 0 16px;
}

.mock .row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #314457;
  padding: 6px 0;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
  }

  .site-nav.is-open {
    display: block;
    z-index: 50;
    background: var(--paper);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .mobile-cta {
    display: flex;
    gap: 8px;
    margin-top: 16px;
  }
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
  }

  .site-nav ul {
    flex-direction: row;
  }

  .mobile-cta {
    display: none;
  }
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 36px 0 32px;
  }

  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .topbar-name {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-copy small {
    display: none;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}
