.page-home {
  --home-rose: #ffc7e6;
  --home-lilac: #d9b3ff;
  --home-bright: #faf5ff;
  --home-border: #e1c3ff28;
  --home-interval: clamp(3.75rem, 7.5vw, 7.5rem);
}

.home-wrap {
  width: min(calc(100% - 2 * var(--gutter)), 1220px);
  margin-inline: auto;
}

.home-hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 7.2rem) 0 0;
  background: radial-gradient(ellipse at 83% 25%, #351c4c 0%, transparent 55%),
    radial-gradient(ellipse at 0% 0%, #261a41 0%, transparent 48%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: center;
}

.home-label {
  margin: 0 0 .8rem;
  color: var(--home-lilac);
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.home-hero h1,
.home-section h2 {
  margin: 0;
  color: var(--home-bright);
  font-family: var(--font-display);
  letter-spacing: -.059em;
  line-height: 1.02;
  text-wrap: balance;
}

.home-hero h1 {
  font-size: clamp(3.35rem, 5.45vw, 5.25rem);
  text-wrap: initial;
}

.home-hero h1 span {
  display: block;
  width: fit-content;
  color: var(--home-lilac);
  background: linear-gradient(105deg, #c7a1ff 1%, #f0a6ec 58%, #ffd3c3 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-lead {
  max-width: 38ch;
  margin: 1.25rem 0 0;
  color: #d5cce0;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.6;
}

.home-hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.3rem;
  margin: 1.7rem 0 1.45rem;
}

.home-hero-price p,
.home-price-value {
  margin: 0;
  line-height: 1.25;
}

.home-hero-price p:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .55rem;
  color: var(--home-bright);
  font-weight: 650;
}

.home-hero-price strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.25vw, 3.4rem);
  letter-spacing: -.055em;
  line-height: .95;
}

.home-hero-price p:last-child {
  padding-left: 1.2rem;
  border-left: 1px solid #edbbff40;
  color: #d3c5dd;
  font-size: .875rem;
  line-height: 1.35;
}

.home-hero-price a, .home-text-link {
  color: var(--home-lilac);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .23em;
}

.home-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.home-actions .btn, .home-price-card .btn { min-height: 3.25rem; }

.home-intro .btn-primary,
.home-price-card .btn-primary,
.home-close-card .btn-primary {
  color: #1e102c;
  background: linear-gradient(105deg, #dfc2ff, #f6b0df 75%, #ffbea9);
  box-shadow: 0 8px 32px #df71ff38;
}

.home-showcase { margin: 0; }

.home-showcase-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: clamp(1.55rem, 4vw, 3.6rem) clamp(1.3rem, 5vw, 4.3rem) clamp(2.4rem, 5vw, 4.25rem) clamp(1rem, 2.4vw, 2.2rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 84% 8%, #c4a3fa72, transparent 55%),
    radial-gradient(ellipse at 4% 89%, #c3559c69, transparent 60%),
    linear-gradient(145deg, #2b204c, #48325e 58%, #261731);
  border: 1px solid #e4c9ff5c;
  border-radius: clamp(1.1rem, 2vw, 1.9rem);
  box-shadow: 0 28px 80px #07040d80, inset 0 1px #fcdeff27;
}

.home-showcase-stage::before,
.home-showcase-stage::after {
  position: absolute;
  z-index: -1;
  inset: 15% -13%;
  border: 1px solid #ffe3ff38;
  border-radius: 50%;
  transform: rotate(-25deg);
  pointer-events: none;
  content: '';
}

.home-showcase-stage::after { inset: 27% -14%; border-color: #ffe3ff22; }

.home-browser {
  overflow: hidden;
  background: #111017;
  border: 1px solid #ffffff48;
  border-radius: clamp(.42rem, 1.1vw, .85rem);
  box-shadow: 0 19px 45px #08050c8c;
}

.home-browser-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 1.8rem;
  padding: .25rem .55rem;
  border-bottom: 1px solid #ffffff24;
  color: #e0d4e7;
  overflow-wrap: anywhere;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.2;
}

.home-browser-bar::before {
  width: 1.4rem;
  height: .26rem;
  flex: none;
  content: '';
  background: radial-gradient(circle closest-side, #baacc8 100%, transparent) 0 0 / .47rem 100% repeat-x;
}

.home-browser img, .home-phone img { width: 100%; }

.home-phone {
  position: absolute;
  right: 3.1%;
  bottom: 4.75%;
  width: 25%;
  overflow: hidden;
  background: #0a090d;
  border: clamp(2px, .45vw, 6px) solid #16111c;
  border-radius: clamp(.5rem, 1.5vw, 1.35rem);
  outline: 1px solid #f3d6ffc7;
  box-shadow: 0 16px 36px #09040ebf;
  transform: rotate(3deg);
}

.home-showcase figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .65rem;
  margin: .7rem 0 0;
  color: #bdaccc;
  font-size: .875rem;
}

.home-showcase figcaption strong { color: var(--home-bright); }

.home-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem 1rem;
  margin: clamp(2.4rem, 5vw, 4.5rem) 0 0;
  padding: 1.05rem 0;
  list-style: none;
  border-block: 1px solid var(--home-border);
  color: #e6d9ec;
}

.home-benefits li { text-align: center; font-weight: 630; }
.home-benefits li + li { border-left: 1px solid var(--home-border); }

.home-section { padding: var(--home-interval) 0 0; }
.home-section h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }

.home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.6rem;
}

.home-section-head h2 { text-wrap: initial; }
.home-section-head > p { margin: 0; }

.home-work-grid, .home-service-grid, .home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.home-project,
.home-service {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 1rem;
  color: var(--home-bright);
  background: #181321;
  transition: border-color .2s ease, background-color .2s ease;
}

.home-project:is(:hover, :focus-visible), .home-service:is(:hover, :focus-visible) {
  color: var(--home-bright);
  text-decoration: none;
  background: #24182e;
  border-color: #d1a4f0;
}

.home-project-media {
  padding: clamp(.65rem, 1.55vw, 1.25rem) clamp(.65rem, 1.55vw, 1.25rem) 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 15% 0%, var(--project-color), var(--project-surface) 80%);
}

.home-project-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border: 1px solid #fff5;
  border-bottom: 0;
  border-radius: .5rem .5rem 0 0;
  box-shadow: 0 10px 35px #09040e7a;
  transition: transform .25s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-project:hover img { transform: translateY(-.23rem); }
}

.home-project-copy, .home-service { padding: clamp(1rem, 2.2vw, 1.55rem); }

.home-section h3 {
  margin: 0;
  color: var(--home-bright);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.15vw, 1.7rem);
  letter-spacing: -.033em;
  line-height: 1.18;
}

.home-project-copy p, .home-service p { margin: .4rem 0 0; color: var(--muted); }

.home-price-card {
  position: relative;
  display: grid;
  grid-template-columns: .87fr 1.13fr;
  gap: clamp(1.6rem, 5vw, 4.5rem);
  padding: clamp(1.35rem, 6vw, 4.85rem);
  border: 1px solid #e4baff54;
  border-radius: clamp(1.05rem, 2vw, 1.9rem);
  background: radial-gradient(ellipse at 5% 2%, #5b386c, transparent 67%), #20152d;
  box-shadow: 0 22px 70px #08040e65;
}

.home-legacy-anchor { position: absolute; inset: 0 auto auto 0; }
.home-price-main h2 { max-width: 10ch; }
.home-price-value { margin: 1.25rem 0 1.4rem; color: #f8e7ff; }
.home-price-value strong {
  display: block;
  color: var(--home-rose);
  font-family: var(--font-display);
  font-size: clamp(4.25rem, 8.6vw, 7.2rem);
  line-height: .93;
  letter-spacing: -.065em;
}

.home-price-value span { display: block; margin-top: .55rem; font-weight: 650; }
.home-price-details { align-self: center; }

.home-included {
  display: grid;
  gap: .52rem;
  margin: .85rem 0 1.15rem;
  padding: 0;
  list-style: none;
  color: #e7d8ed;
}

.home-included li { position: relative; padding-left: 1.25rem; }
.home-included li::before { position: absolute; left: 0; color: var(--home-lilac); content: '✓'; }

.home-hosting {
  padding: .95rem 1rem;
  color: #ddd2e7;
  border: 1px solid var(--home-border);
  border-radius: .7rem;
  background: #130f1b86;
}

.home-hosting h3 { display: flex; flex-wrap: wrap; gap: .3rem .7rem; font-size: 1.1rem; }
.home-hosting h3 span { color: var(--home-lilac); }
.home-hosting p { margin: .4rem 0 0; }
.home-text-link { display: inline-block; margin: .85rem 0 0; }

.home-steps {
  margin: 0;
  padding: 1.45rem 0 0;
  list-style: none;
  border-top: 1px solid var(--home-border);
  counter-reset: home-step;
}

.home-steps li { position: relative; padding: .35rem 0 0 3.25rem; counter-increment: home-step; }
.home-steps li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  color: var(--home-lilac);
  border: 1px solid #e0acff61;
  border-radius: 50%;
  font-weight: 700;
  content: counter(home-step);
}

.home-steps p { margin: .5rem 0 0; }
.home-service p { flex: 1; }
.home-service span { margin-top: 1rem; color: var(--home-lilac); font-weight: 700; }
.home-service:hover span { text-decoration: underline; text-underline-offset: .2em; }

.home-faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 1.8rem clamp(1.6rem, 5vw, 4.8rem);
}

.home-faq-grid .faq { width: 100%; }
.home-close { padding-bottom: clamp(2.75rem, 6vw, 6rem); }

.home-close .home-close-card {
  position: relative;
  z-index: 0;
  isolation: isolate;
  margin: 0;
  padding: clamp(1.7rem, 7vw, 5.4rem);
  overflow: hidden;
  text-align: left;
  background: #21132e;
  border: 1px solid #e2b6f85c;
  border-radius: clamp(1.05rem, 2vw, 1.9rem);
}

.home-close-card > img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: right 40%;
  opacity: .75;
}

.home-close-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #241634 5%, #241634e8 29%, #24163437 71%);
  pointer-events: none;
  content: '';
}

.home-close .home-close-card p { max-width: 40ch; margin: .7rem 0 1.15rem; }
.home-close .home-close-card .home-close-phone { margin: .85rem 0 0; }

@media (min-width: 546px) { .home-service-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 1000px) {
  .home-hero h1 { font-size: clamp(3rem, 5.6vw, 4.35rem); }
  .home-hero-price { gap: .65rem .85rem; }
  .home-hero-price p:last-child { padding-left: .85rem; }
}

@media (max-width: 780px) {
  .home-hero-grid, .home-price-card, .home-faq-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: clamp(3.1rem, 9.5vw, 5.2rem); }
  .home-showcase { width: min(100%, 40rem); }
  .home-work-grid, .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-steps { grid-template-columns: 1fr; }
}

@media (max-width: 545px) {
  .home-hero { padding-top: 2.6rem; }
  .home-hero h1 { font-size: clamp(2.75rem, 11vw, 3.78rem); }
  .home-hero-price { margin-block: 1.4rem 1.15rem; }
  .home-hero-price p:last-child { padding-left: 0; border-left: 0; }
  .home-benefits { grid-template-columns: repeat(2, 1fr); font-size: .925rem; }
  .home-benefits li:nth-child(odd) { border-left: 0; }
  .home-work-grid, .home-service-grid { grid-template-columns: 1fr; }
  .home-close-card::after { background: #281938c9; }
}

@media (prefers-reduced-motion: reduce) {
  .home-project, .home-service, .home-project-media img { transition: none; }
}

@media (forced-colors: active) {
  .home-hero h1 span { background: none; -webkit-text-fill-color: CanvasText; }
}
