* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: #171717;
  background: #fbfaf7;
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #171717;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.link,
.back-link,
footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 64px) 40px;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 196, 199, 0.18), transparent 28%),
    linear-gradient(135deg, #fff8d8 0%, #fbfaf7 46%, #e6fbf8 100%);
}

.hero-content {
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #007b7e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.summary {
  max-width: 590px;
  margin-bottom: 32px;
  color: #424242;
  font-size: 20px;
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #171717;
  border-radius: 6px;
  color: #fff;
  background: #171717;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.link,
.back-link {
  color: #171717;
  font-size: 15px;
  font-weight: 800;
}

.desktop-scene {
  overflow: hidden;
  justify-self: center;
  width: min(100%, 520px);
  max-width: 100%;
  min-width: 0;
  min-height: 390px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(32, 54, 62, 0.16);
}

.window-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: #f3f4f5;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff7a59;
}

.window-bar span:nth-child(2) {
  background: #f6d365;
}

.window-bar span:nth-child(3) {
  background: #00c4c7;
}

.workspace {
  position: relative;
  min-height: 350px;
  background:
    linear-gradient(rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px),
    #f8fbff;
  background-size: 28px 28px;
}

.pet {
  position: absolute;
  width: clamp(112px, 24vw, 176px);
  image-rendering: auto;
}

.pet-cat {
  left: 14%;
  bottom: 62px;
}

.pet-dog {
  right: 12%;
  bottom: 88px;
}

.dock {
  position: absolute;
  right: 9%;
  bottom: 24px;
  left: 9%;
  height: 34px;
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  background: rgba(23, 23, 23, 0.1);
}

.trust-strip div {
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 44px);
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.trust-strip span {
  color: #525252;
  font-size: 15px;
  line-height: 1.55;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 64px);
}

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

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

.steps article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.step-number {
  display: block;
  margin-bottom: 58px;
  color: #ff6d4d;
  font-size: 14px;
  font-weight: 900;
}

.steps p,
.final-cta p,
.document p,
.document li {
  color: #474747;
  font-size: 17px;
  line-height: 1.68;
}

.styles-section {
  background: #102224;
  color: #fff;
}

.styles-section .eyebrow {
  color: #7ff1e8;
}

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

.style-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.style-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.style-grid h3 {
  margin: 0;
  padding: 18px;
}

.final-cta {
  max-width: 760px;
}

.final-cta p {
  margin-bottom: 28px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  color: #424242;
  font-size: 14px;
  font-weight: 700;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 72px 20px;
}

.document {
  width: min(100%, 760px);
}

.document h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 7vw, 64px);
}

.document h2 {
  margin: 38px 0 12px;
  font-size: 25px;
  line-height: 1.2;
}

.document ul {
  padding-left: 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
}

.legal-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.legal-list a {
  display: block;
  padding: 18px 0;
  border-top: 1px solid #d9d9d0;
  color: #171717;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.button:focus-visible,
.link:focus-visible,
.back-link:focus-visible,
.nav-links a:focus-visible,
.legal-list a:focus-visible {
  outline: 3px solid #00c4c7;
  outline-offset: 3px;
}

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .desktop-scene {
    min-height: 330px;
  }

  .workspace {
    min-height: 292px;
  }

  .trust-strip,
  .steps,
  .style-grid {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: 220px;
  }

  .step-number {
    margin-bottom: 34px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero-content,
  .summary,
  .desktop-scene {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  h1 {
    max-width: calc(100vw - 48px);
    font-size: 34px;
    line-height: 1.03;
  }

  h2 {
    font-size: 34px;
  }

  .summary {
    max-width: 315px;
    font-size: 17px;
  }

  .pet {
    width: 104px;
  }

  .pet-cat {
    left: 8%;
  }

  .pet-dog {
    right: auto;
    left: 56%;
  }
}
