:root {
  --ink: #202124;
  --muted: #60656f;
  --paper: #fffdf8;
  --panel: #ffffff;
  --line: #e6e0d6;
  --mint: #d9f0e5;
  --sage: #5f8f7a;
  --coral: #ef7b68;
  --sun: #ffd166;
  --blue: #355c7d;
  --shadow: 0 18px 50px rgba(32, 33, 36, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

.home-page {
  --ink: #241a35;
  --muted: #665c75;
  --paper: #fbf6ff;
  --panel: #ffffff;
  --line: #ded0ef;
  --mint: #bfead8;
  --sage: #2e8f70;
  --coral: #ff8ab3;
  --sun: #fff2a8;
  --blue: #6f51d9;
  background:
    linear-gradient(90deg, rgba(255, 138, 179, 0.16) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #f0e7ff 0%, #fff7d7 44%, #fbf6ff 100%);
  background-size: 100% 100%, 100% 100%;
}

.promo-bar {
  display: grid;
  min-height: 38px;
  place-items: center;
  background: #6f51d9;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  padding: 8px 14px;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.home-page .site-header {
  background: rgba(251, 246, 255, 0.92);
  border-bottom-color: rgba(111, 81, 217, 0.18);
}

.home-page .brand-mark {
  background: #ff8ab3;
  color: #241a35;
}

.home-page .button {
  background: #6f51d9;
  box-shadow: none;
}

.home-page .button.warm {
  background: #241a35;
  box-shadow: none;
}

.home-page .button.secondary {
  background: #ffffff;
  border-color: #ded0ef;
  color: #241a35;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--blue);
}

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

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.warm {
  background: var(--coral);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 42px;
}

.home-page .hero {
  padding-top: 66px;
}

.home-page .hero h1 {
  color: #241a35;
}

.home-page .hero p {
  color: #665c75;
}

.home-page .hero-art {
  border-color: #ded0ef;
  background: #f3e9ff;
  box-shadow: 12px 12px 0 #ff8ab3;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-art {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #f8eadb;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2,
.content h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

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

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.home-page .card {
  border-color: #ded0ef;
  box-shadow: none;
}

.home-page .grid.three .card:nth-child(1) {
  background: #fff8dd;
}

.home-page .grid.three .card:nth-child(2) {
  background: #f0e7ff;
}

.home-page .grid.three .card:nth-child(3) {
  background: #e9fff4;
}

.swatches {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}

.swatches i {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(36, 26, 53, 0.22);
  border-radius: 999px;
}

.swatches i:nth-child(1) {
  background: #f0e7ff;
}

.swatches i:nth-child(2) {
  background: #ff8ab3;
}

.swatches i:nth-child(3) {
  background: #bfead8;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
}

.price {
  color: var(--blue);
  font-weight: 850;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #315646;
  font-size: 0.82rem;
  font-weight: 760;
}

.home-page .badge {
  background: #fff2a8;
  color: #241a35;
}

.home-page .price {
  color: #6f51d9;
}

.home-page .step::before {
  background: #ff8ab3;
  color: #241a35;
}

.home-page .site-footer {
  background: #f0e7ff;
  border-top-color: #ded0ef;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 22px 22px 68px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--sun);
  font-weight: 850;
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 22px 24px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

form {
  display: grid;
  gap: 18px;
}

.form-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.form-section h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.summary {
  position: sticky;
  top: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row.total {
  border-bottom: 0;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 850;
}

.notice {
  border: 1px solid #f2d78c;
  border-radius: 8px;
  background: #fff8df;
  color: #66501b;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 650;
}

.content {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 22px 70px;
}

.content section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f6f1e9;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .summary {
    position: static;
  }
}
