* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #26262d;
  background: #f7f3ef;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.site {
  max-width: 760px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 48px rgba(54, 39, 29, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid #eee4dc;
  background: rgba(255, 255, 255, .95);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: .08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #74665d;
  font-size: 13px;
  white-space: nowrap;
}

.nav-links a:last-child,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: #8e5f48;
  color: #fff;
  font-weight: 700;
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(42, 32, 26, .12), rgba(42, 32, 26, .78)),
    url("https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1200&q=82") center 28% / cover;
}

.hero-inner {
  padding: 44px 24px 38px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

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

h1 {
  max-width: 12em;
  margin-bottom: 12px;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 32em;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
}

section,
.page {
  padding: 34px 24px;
}

.section-title {
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.25;
}

.section-sub {
  max-width: 42em;
  margin-bottom: 22px;
  color: #756a64;
  font-size: 14px;
}

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

.card,
.plan,
.notice,
.order-box {
  border: 1px solid #eaded4;
  border-radius: 8px;
  background: #fffaf6;
}

.card {
  padding: 18px;
}

.card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.card p,
.plan li,
.notice,
.order-box,
.legal p,
.legal li {
  color: #74665d;
  font-size: 14px;
}

.link-card {
  display: block;
}

.link-card:hover {
  border-color: #8e5f48;
  box-shadow: 0 8px 22px rgba(142, 95, 72, .10);
}

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

.plan {
  padding: 20px;
  background: #fff;
}

.plan.recommend {
  border-color: #8e5f48;
  box-shadow: 0 8px 24px rgba(142, 95, 72, .12);
}

.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.plan-name {
  font-size: 19px;
  font-weight: 800;
}

.price {
  color: #8e5f48;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.price b {
  font-size: 30px;
}

ul {
  padding-left: 20px;
}

.plan ul {
  margin: 0 0 16px;
}

.muted {
  color: #82766e;
  font-size: 13px;
}

.notice {
  margin-top: 16px;
  padding: 14px;
}

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

.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.step span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #8e5f48;
  color: #fff;
  font-weight: 800;
}

.footer {
  padding: 26px 24px 34px;
  background: #302823;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  text-align: center;
}

.footer a {
  color: rgba(255, 255, 255, .86);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page h1 {
  margin-bottom: 12px;
  color: #26262d;
  font-size: 30px;
}

.order-box {
  padding: 18px;
  margin: 18px 0;
}

.order-actions {
  display: grid;
  gap: 10px;
}

.button.secondary {
  background: #fff;
  color: #8e5f48;
  border: 1px solid #8e5f48;
}

.legal h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 18px;
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .nav-links a:not(:last-child) {
    font-size: 12px;
  }

  .hero {
    min-height: 500px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .plan-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
