:root {
  --ink: #111827;
  --muted: #657184;
  --line: #dbe3ee;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --blue: #155dfc;
  --teal: #008a92;
  --green: #15803d;
  --amber: #b45309;
  --navy: #0f172a;
  --shadow: 0 20px 50px rgba(17, 24, 39, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: #42526a;
  font-size: 14px;
  white-space: nowrap;
}

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

.nav-button,
.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.btn.primary,
.nav-button {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .1);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 138, 146, .42), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #132b4d 52%, #0f766e 100%);
}

.hero-grid {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0 84px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #6ee7d8;
  font-size: 14px;
  font-weight: 900;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6.2vw, 74px);
  line-height: 1.03;
}

.lead {
  max-width: 650px;
  color: #dce8f8;
  font-size: 18px;
}

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

.hero-metrics {
  display: grid;
  max-width: 560px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.hero-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.hero-metrics span {
  color: #cbd5e1;
  font-size: 13px;
}

.hero-card {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .24);
}

.hero-card img {
  display: block;
  border-radius: 8px;
}

.hero-card figcaption {
  padding-top: 10px;
  color: #dce8f8;
  font-size: 13px;
  text-align: center;
}

.quick-bar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
}

.keyword-row span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #334155;
  background: #eef4ff;
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 84px 0;
}

.muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.section-grid,
.service-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.section h2,
.tool-section h2,
.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.section-intro,
.section-head p,
.service-copy p,
.seo-copy p,
.cta p {
  color: var(--muted);
}

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

.feature-grid article,
.service-list article,
.steps article,
.tool-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 33, 45, .06);
}

.feature-grid article,
.service-list article {
  padding: 22px;
}

.feature-grid b,
.service-list h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-grid p,
.service-list p,
.steps p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.tool-section {
  padding: 84px 0;
  background: #0f172a;
  color: #fff;
}

.compact {
  max-width: 760px;
  margin-bottom: 26px;
}

.compact p {
  color: #cbd5e1;
}

.tool-panel {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 18px;
  padding: 18px;
  background: #fff;
  color: var(--ink);
}

.tool-controls {
  display: grid;
  gap: 10px;
  align-content: start;
}

.tool-controls label {
  color: #42526a;
  font-size: 13px;
  font-weight: 900;
}

.tool-controls input,
.tool-controls select,
.tool-controls button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

.tool-controls button {
  margin-top: 6px;
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-weight: 900;
}

.tool-result {
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #14325b, #0f766e);
}

.tool-result span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 900;
}

.tool-result strong {
  display: block;
  margin: 8px 0 10px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1;
}

.tool-result p {
  color: #e5f0ff;
}

.bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bars div {
  display: grid;
  grid-template-columns: 70px 1fr 48px;
  gap: 10px;
  align-items: center;
}

.bars i {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6ee7d8 var(--w), rgba(255,255,255,.2) var(--w));
}

.bars em {
  font-style: normal;
  color: #e5f0ff;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.steps article {
  padding: 22px;
}

.steps span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #eaf1ff;
  font-weight: 900;
}

.seo-copy {
  background: #fff;
}

.seo-copy .wrap {
  max-width: 920px;
}

.faq {
  background: var(--soft);
}

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

.faq-list details {
  padding: 18px 20px;
}

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

.faq-list p {
  padding-top: 10px;
}

.cta {
  padding: 56px 0;
  color: #fff;
  background: var(--teal);
}

.cta p {
  color: #dffcf8;
}

.cta .btn {
  align-self: center;
  justify-self: end;
}

.site-footer {
  padding: 28px 0;
  color: #667386;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .section-grid,
  .service-grid,
  .tool-panel,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .feature-grid,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta .btn {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero-grid {
    min-height: auto;
    padding: 52px 0 64px;
  }

  .hero-metrics,
  .steps,
  .feature-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .section,
  .tool-section {
    padding: 60px 0;
  }

  .bars div {
    grid-template-columns: 60px 1fr 44px;
  }
}
