:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #5c6470;
  --paper: #fbfbf8;
  --panel: #ffffff;
  --line: #e6e1d8;
  --red: #f04457;
  --cyan: #18c9cf;
  --gold: #c89035;
  --dark: #101820;
  --shadow: 0 20px 60px rgba(17, 19, 24, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 251, 248, .88);
  border-bottom: 1px solid rgba(230, 225, 216, .8);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--cyan));
  border-radius: 8px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  font-size: 14px;
  color: #29313b;
}

.nav-cta {
  padding: 9px 14px;
  color: #fff;
  background: var(--dark);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 60px));
  overflow: hidden;
  background: #080b0f;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 6, 9, .82), rgba(3, 6, 9, .48) 48%, rgba(3, 6, 9, .14));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(82px, 11vw, 150px) clamp(18px, 5vw, 70px) 78px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover,
.text-link:hover,
.article-grid a:hover {
  transform: translateY(-1px);
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #e93362 48%, var(--cyan));
  box-shadow: 0 12px 28px rgba(240, 68, 87, .28);
}

.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
}

.hero-metrics {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 44px;
  color: rgba(255, 255, 255, .76);
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 70px);
}

.band {
  background: #f1eee8;
}

.section-head {
  width: min(860px, 100%);
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.intro-grid,
.service-grid,
.article-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.service-card,
.article-grid article,
.proof-grid div,
.calc-panel,
.calc-result,
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-grid article {
  padding: 26px;
}

.number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 900;
}

.service {
  background: var(--paper);
}

.service-card {
  position: relative;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(17, 19, 24, .05);
}

.service-card.featured {
  border-color: rgba(240, 68, 87, .34);
  box-shadow: var(--shadow);
}

.tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

ul {
  padding-left: 18px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 900;
}

.calc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 18px;
}

.calc-panel,
.calc-result {
  padding: 28px;
}

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

label {
  display: grid;
  gap: 10px;
  color: #333a45;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8f7f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--red);
}

.calc-result {
  display: grid;
  align-content: center;
  gap: 10px;
}

.calc-result p,
.calc-result span {
  color: var(--muted);
}

.calc-result strong {
  font-size: 48px;
  line-height: 1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 160px;
  padding: 24px;
  color: #fff;
  background: var(--dark);
  border-radius: 8px;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 22px;
}

.timeline span {
  color: rgba(255, 255, 255, .76);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: center;
}

.proof-text p:not(.eyebrow) {
  color: var(--muted);
}

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

.proof-grid div {
  min-height: 150px;
  padding: 24px;
}

.proof-grid strong {
  display: block;
  color: var(--red);
  font-size: 42px;
  line-height: 1;
}

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

.article-grid article {
  padding: 24px;
}

.article-date {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.article-grid a {
  transition: color .2s ease;
}

.article-grid a:hover {
  color: var(--red);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  justify-content: space-between;
  padding: 34px clamp(18px, 5vw, 70px);
  color: #fff;
  background: #0e1217;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .68);
}

.article-page {
  background:
    linear-gradient(180deg, #f1eee8 0, #fbfbf8 360px);
}

.content {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 62px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(17, 19, 24, .07);
}

.content h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

.content h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 32px);
}

.content p {
  color: #424a55;
  font-size: 17px;
}

.content .btn {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(3, 6, 9, .82), rgba(3, 6, 9, .56));
  }

  .intro-grid,
  .service-grid,
  .article-grid,
  .calc-wrap,
  .proof,
  .timeline,
  .calc-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    font-size: 15px;
  }

  .top-nav {
    font-size: 13px;
  }

  .hero-content {
    padding-top: 70px;
  }

  .hero-actions .btn,
  .site-footer .btn {
    width: 100%;
  }

  .hero-metrics {
    gap: 14px;
  }
}
