:root {
  --bg: #f7f3ed;
  --ink: #1f2430;
  --muted: #6d7280;
  --line: rgba(31, 36, 48, 0.12);
  --brand: #b45f43;
  --brand-dark: #7f382f;
  --gold: #d9a85f;
  --plum: #33364f;
  --cream: #fffaf3;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(58, 45, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 237, 0.82);
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--cream);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(180, 95, 67, 0.26);
}

.brand-text {
  font-size: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(31, 36, 48, 0.72);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.nav-cta {
  padding: 10px 18px;
  color: var(--cream) !important;
  background: var(--ink);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.section {
  padding: 104px 0;
}

.section-dark {
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 168, 95, 0.36), transparent 30%),
    linear-gradient(135deg, #272b3e 0%, #3d3346 48%, #7f382f 100%);
}

.hero {
  min-height: 760px;
  padding: 96px 0 110px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 250, 243, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--brand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.hero-lead,
.section-heading p,
.section-text,
.download-card p,
.safety-panel p {
  color: rgba(255, 250, 243, 0.74);
  font-size: 18px;
  line-height: 1.82;
}

.section-heading p,
.section-text,
.download-card p,
.safety-panel p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 42px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
}

.button.primary {
  color: var(--cream);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 16px 38px rgba(180, 95, 67, 0.32);
}

.button.ghost {
  color: var(--cream);
  border-color: rgba(255, 250, 243, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.button.full {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.hero-metrics {
  display: flex;
  gap: 36px;
}

.hero-metrics strong {
  display: block;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.hero-metrics span {
  color: rgba(255, 250, 243, 0.64);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-card {
  position: absolute;
  right: 48px;
  top: 20px;
  width: min(380px, 82vw);
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 42px;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.34);
}

.phone-top {
  width: 86px;
  height: 6px;
  margin: 0 auto 26px;
  background: rgba(31, 36, 48, 0.16);
  border-radius: 999px;
}

.profile-card,
.match-card {
  padding: 24px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.profile-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
}

.avatar-shape {
  width: 80px;
  height: 100px;
  background:
    radial-gradient(circle at 52% 28%, #f3c7a0 0 22%, transparent 23%),
    linear-gradient(160deg, #8b95aa, #d9a85f);
  border-radius: 42px 42px 30px 30px;
}

.badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  color: var(--brand-dark);
  background: rgba(180, 95, 67, 0.11);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.profile-card h3 {
  font-size: 20px;
}

.profile-card p,
.match-card span {
  color: var(--muted);
  font-size: 14px;
}

.match-card {
  margin-top: 16px;
}

.match-card strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 26px;
}

.progress {
  height: 10px;
  overflow: hidden;
  background: #eee5da;
  border-radius: 999px;
}

.progress i {
  display: block;
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: inherit;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.action-row span {
  padding: 12px 8px;
  text-align: center;
  background: rgba(31, 36, 48, 0.06);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
}

.float-card {
  position: absolute;
  padding: 15px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  font-weight: 750;
}

.card-one {
  left: 14px;
  top: 138px;
}

.card-two {
  right: 4px;
  bottom: 74px;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.capability-card,
.scene-card,
.download-card,
.safety-panel {
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.capability-card {
  min-height: 292px;
  padding: 28px;
}

.capability-card.highlight {
  color: var(--cream);
  background: linear-gradient(160deg, var(--plum), var(--brand-dark));
}

.card-index {
  display: block;
  margin-bottom: 46px;
  color: var(--brand);
  font-weight: 850;
}

.highlight .card-index,
.highlight p {
  color: rgba(255, 250, 243, 0.72);
}

.capability-card p,
.scene-card p,
.trust-item p {
  color: var(--muted);
  line-height: 1.72;
}

.trust-section {
  background: var(--cream);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 16px;
}

.trust-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 24px;
}

.trust-item > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--brand-dark);
  background: rgba(180, 95, 67, 0.11);
  border-radius: 16px;
  font-weight: 850;
}

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

.scene-card {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background: radial-gradient(circle at 70% 12%, rgba(217, 168, 95, 0.64), transparent 32%);
}

.scene-a {
  background: linear-gradient(160deg, #fffaf3, #ead9ca);
}

.scene-b {
  background: linear-gradient(160deg, #f7ede3, #dfb588);
}

.scene-c {
  color: var(--cream);
  background: linear-gradient(160deg, #30364f, #7f382f);
}

.scene-card > * {
  position: relative;
}

.scene-label {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.scene-c p {
  color: rgba(255, 250, 243, 0.74);
}

.safety-section {
  background: #efe6da;
}

.safety-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 46px;
  background: var(--cream);
}

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

.safety-grid div {
  min-height: 132px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 22px;
}

.safety-grid strong,
.safety-grid span {
  display: block;
}

.safety-grid strong {
  margin-bottom: 10px;
  font-size: 20px;
}

.safety-grid span {
  color: var(--muted);
}

.download-card {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: start;
  padding: 46px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 24px;
}

.lead-form label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #faf7f2;
  border: 1px solid rgba(31, 36, 48, 0.12);
  border-radius: 14px;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(180, 95, 67, 0.1);
}

.form-note {
  margin: 0;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.footer {
  padding: 54px 0 28px;
  color: rgba(255, 250, 243, 0.72);
  background: #202432;
}

.footer-grid,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  color: var(--cream);
}

.footer p {
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 243, 0.12);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .safety-panel,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-card {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(255, 250, 243, 0.98);
    border: 1px solid rgba(31, 36, 48, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 84px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-metrics {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-visual {
    min-height: 438px;
  }

  .phone-card {
    top: 0;
    width: min(340px, 92vw);
    padding: 18px;
    border-radius: 34px;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .avatar-shape {
    width: 72px;
    height: 86px;
  }

  .float-card {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .capability-grid,
  .scene-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .scene-card {
    min-height: 260px;
  }

  .safety-panel,
  .download-card {
    padding: 26px;
    border-radius: 24px;
  }

  .download-card {
    gap: 28px;
  }

  .lead-form {
    padding: 16px;
  }

  .footer-grid,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
