:root {
  color-scheme: light;
  --bg: #fffaf6;
  --paper: #ffffff;
  --ink: #2a2521;
  --muted: #756b62;
  --line: #eadfd5;
  --accent: #f47b3f;
  --accent-dark: #c65325;
  --soft: #fff1e7;
  --green: #5a9f78;
  --shadow: 0 18px 46px rgba(92, 57, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 246, 0.92);
  border-bottom: 1px solid rgba(234, 223, 213, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 56px 0 48px;
}

.hero-copy {
  max-width: 620px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button:hover {
  transform: translateY(-1px);
}

.availability {
  color: var(--muted);
  font-size: 14px;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.phone-stage::before {
  content: "";
  position: absolute;
  width: min(440px, 82vw);
  height: min(440px, 82vw);
  border-radius: 50%;
  background: radial-gradient(circle, #ffe4d1 0%, rgba(255, 228, 209, 0) 68%);
}

.phone-frame {
  position: relative;
  width: min(310px, 76vw);
  padding: 10px;
  border: 1px solid rgba(42, 37, 33, 0.13);
  border-radius: 42px;
  background: #171310;
  box-shadow: var(--shadow);
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 32px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 80px;
}

.feature {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature h2,
.feature h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.feature p,
.content p,
.content li {
  color: var(--muted);
}

.band {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section {
  padding: 76px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  align-items: start;
}

.section h2,
.content h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 760;
}

.page-hero {
  padding: 72px 0 28px;
}

.content {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 88px;
}

.content h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: 28px;
}

.content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 20px;
}

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

.content-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

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

.footer-links a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    min-height: 62px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 40px;
  }

  .phone-stage {
    min-height: 520px;
  }

  .feature-row,
  .section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    font-size: 18px;
  }

  .nav-links {
    gap: 9px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .shell,
  .content {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 62px;
  }

  .lead {
    font-size: 19px;
  }

  .phone-stage {
    min-height: 470px;
  }

  .phone-frame {
    width: min(270px, 78vw);
    border-radius: 36px;
  }

  .phone-frame img {
    border-radius: 28px;
  }

  .feature {
    min-height: auto;
  }
}
