:root {
  color-scheme: light;
  --ink: #172326;
  --muted: #657174;
  --line: #d9e0dc;
  --paper: #fbfaf6;
  --soft: #eef4f1;
  --teal: #0f766e;
  --teal-dark: #0b504b;
  --gold: #d8a321;
  --coral: #d85f45;
  --sky: #dcebf2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 35, 38, 0.13);
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 40px;
  color: var(--ink);
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(217, 224, 220, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #405052;
  font-size: 15px;
}

.site-nav a {
  padding: 24px 0;
}

.site-nav a:hover {
  color: var(--teal);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

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

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 99px;
}

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

.hero {
  position: relative;
  min-height: 500px;
  height: 68svh;
  max-height: 690px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 27, 0.82) 0%, rgba(12, 28, 27, 0.6) 46%, rgba(12, 28, 27, 0.24) 100%),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=82")
      center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1160px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #bce7dc;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1.08;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 10px 22px rgba(216, 95, 69, 0.28);
}

.button-primary:hover {
  background: #c44d36;
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 150px));
  gap: 12px;
  margin: 36px 0 0;
}

.hero-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hero-metrics dt {
  margin-bottom: 4px;
  color: #f7d36a;
  font-size: 24px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.intro-band {
  padding: 24px 0 56px;
  background: var(--white);
}

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

.intro-grid article,
.feature-card,
.price-card,
.process li,
.estimate-box,
.lead-form,
.software-items article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--teal);
  background: var(--soft);
  border-radius: 8px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.intro-grid h2,
.feature-card h3,
.software-items h3,
.price-card h3,
.process h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.intro-grid p,
.feature-card p,
.website-copy p,
.software-grid p,
.price-card p,
.process p,
.estimate-box p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.intro-grid p,
.feature-card p,
.price-card p,
.process p,
.software-items p {
  margin-bottom: 0;
  font-size: 15px;
}

.section {
  padding: 84px 0;
  background: var(--paper);
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.website-copy h2,
.software-grid h2,
.contact-grid h2 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.18;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(23, 35, 38, 0.06);
}

.feature-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card div {
  padding: 22px;
}

.website-grid,
.software-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.website-copy p,
.software-grid > div > p,
.contact-grid > div > p {
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #354649;
  line-height: 1.6;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.website-preview {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.website-preview > img {
  height: 430px;
  object-fit: cover;
}

.preview-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(340px, calc(100% - 56px));
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 35, 38, 0.2);
}

.preview-topbar {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: #e9efeb;
}

.preview-topbar span {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
}

.preview-topbar span:nth-child(2) {
  background: var(--coral);
}

.preview-topbar span:nth-child(3) {
  background: var(--teal);
}

.preview-hero {
  padding: 24px 22px;
  color: var(--white);
  background: var(--teal-dark);
}

.preview-hero strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.preview-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.preview-rows {
  display: grid;
  gap: 11px;
  padding: 18px 22px 22px;
}

.preview-rows span {
  height: 10px;
  background: #d6e0db;
  border-radius: 999px;
}

.preview-rows span:nth-child(2) {
  width: 72%;
}

.preview-rows span:nth-child(3) {
  width: 48%;
}

.software-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.software-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.software-visual img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.software-items {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.software-items article {
  padding: 20px;
  background: #ffffff;
}

.software-items h3 {
  color: var(--teal-dark);
}

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

.price-card {
  position: relative;
  padding: 28px;
}

.price-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.plan-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: var(--sky);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.price {
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 34px;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: #354649;
  line-height: 1.55;
}

.estimate-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 26px;
  background: #fffaf0;
  border-color: rgba(216, 163, 33, 0.5);
}

.estimate-box h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.estimate-box h3 span {
  color: var(--coral);
}

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

label {
  display: grid;
  gap: 8px;
  color: #354649;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  min-height: 112px;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.checkbox-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

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

.process li {
  padding: 24px;
}

.process span {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 30px;
  font-weight: 900;
}

.section-dark {
  color: var(--white);
  background: #112123;
}

.section-dark .eyebrow {
  color: #a2ddcf;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-methods {
  margin-top: 28px;
}

.contact-methods a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
}

.lead-form .button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  padding: 30px 0;
  background: #0b1617;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.site-footer strong,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 12px;
    padding: 0 20px;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 14px 20px 22px;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(23, 35, 38, 0.12);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

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

  h1 {
    font-size: 42px;
  }

  .intro-grid,
  .feature-list,
  .pricing-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .website-grid,
  .software-grid,
  .contact-grid,
  .estimate-box {
    grid-template-columns: 1fr;
  }

  .software-visual {
    order: 2;
  }

  .section-heading h2,
  .website-copy h2,
  .software-grid h2,
  .contact-grid h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .section-inner,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 66px;
  }

  .site-nav {
    inset: 66px 0 auto 0;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(12, 28, 27, 0.9) 0%, rgba(12, 28, 27, 0.64) 60%, rgba(12, 28, 27, 0.42) 100%),
      url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1000&q=82")
        center / cover;
  }

  h1 {
    font-size: 36px;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .hero-metrics div {
    padding: 12px 8px;
  }

  .hero-metrics dt {
    font-size: 20px;
  }

  .hero-metrics dd {
    font-size: 12px;
  }

  .intro-band {
    padding-bottom: 38px;
  }

  .intro-grid,
  .feature-list,
  .pricing-grid,
  .process,
  .estimate-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading h2,
  .website-copy h2,
  .software-grid h2,
  .contact-grid h2 {
    font-size: 29px;
  }

  .website-preview,
  .website-preview > img {
    min-height: 360px;
    height: 360px;
  }

  .preview-panel {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .estimate-box,
  .lead-form {
    padding: 20px;
  }
}
