:root {
  font:
    17px/1.6 Inter,
    "Segoe UI",
    sans-serif;
  color: #242039;
  background: #faf8f3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(1120px, 92%);
  margin: auto;
}
header,
footer,
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
header {
  min-height: 80px;
  border-bottom: 1px solid #dcd7ce;
}
nav {
  flex-wrap: wrap;
}
a {
  color: #523593;
  text-underline-offset: 0.22em;
}
nav a,
.brand {
  text-decoration: none;
  color: inherit;
}
.brand {
  font-weight: 800;
  font-size: 1.45rem;
}
nav a:hover,
nav a[aria-current] {
  text-decoration: underline;
}
main {
  padding: clamp(2rem, 6vw, 6rem) 0;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font:
    600 clamp(3rem, 6.8vw, 5.8rem) / 0.99 Georgia,
    serif;
  letter-spacing: -0.054em;
  margin-bottom: 1.4rem;
  max-width: 16ch;
}
h2 {
  font:
    600 1.9rem/1.12 Georgia,
    serif;
}
.lead {
  max-width: 55ch;
  color: #534c60;
  font-size: 1.16rem;
}
.hero,
.band,
.cards {
  display: grid;
  gap: 2rem;
}
.hero {
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
}
.eyebrow,
dt {
  font-weight: 700;
}
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #614a80;
}
.button,
button {
  display: inline-block;
  background: #523593;
  color: white;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.hero aside,
article,
.estimate {
  background: #fff;
  border: 1px solid #dcd7ce;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border-radius: 1.25rem;
}
.hero aside {
  background: #eee9f8;
}
.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
}
.schedule li {
  display: flex;
  gap: 1.3rem;
  border-top: 1px solid #cfc5dc;
  padding: 1rem 0;
}
.schedule small,
label {
  display: block;
}
.schedule time,
.price {
  font-variant-numeric: tabular-nums;
}
.band {
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #dcd7ce;
  padding-top: 3rem;
  margin-top: 4rem;
}
.cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.price {
  font-size: 2.5rem;
  font-weight: 750;
  line-height: 1;
}
.price small {
  font-size: 0.85rem;
}
.cards ul {
  padding-left: 1.1rem;
}
.estimate {
  margin-top: 2rem;
}
.estimate form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
}
input {
  display: block;
  max-width: 9rem;
  border: 1px solid #777;
  border-radius: 0.4rem;
  padding: 0.65rem;
  font: inherit;
}
.steps li,
dd {
  max-width: 65ch;
  margin: 0 0 1.3rem;
}
.steps li strong {
  display: block;
}
footer {
  border-top: 1px solid #dcd7ce;
  padding: 1.4rem 0;
  font-size: 0.9rem;
}
.skip {
  position: absolute;
  top: -5rem;
}
.skip:focus {
  top: 0;
  background: white;
}
a:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid #8257c9;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .hero,
  .band,
  .cards {
    grid-template-columns: 1fr;
  }
  header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 0;
  }
  nav {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .band {
    margin-top: 2rem;
  }
}
.demo-link { display:inline-block; padding:.7rem 1rem; }
.demo form { display:grid; gap:1rem; }
.demo fieldset { border:1px solid #dcd7ce; padding:.8rem 1rem; }
.demo label:has(input[type=checkbox]) { display:inline-block; margin-right:1rem; }
.demo input[type=checkbox] { display:inline; width:auto; }
.demo textarea, .demo input[type=datetime-local] { display:block; box-sizing:border-box; width:100%; max-width:100%; padding:.65rem; font:inherit; }
.demo .estimate { align-self:start; margin-top:0; overflow-wrap:anywhere; }
.demo button { justify-self:start; }
