/* SprayNelly
   Distinct trade brand: plum + cream paper, wizard quote, compare sliders
   Not a generic 4-card SaaS layout */

:root {
  --ink: #1c1528;
  --ink-soft: #3d344d;
  --plum: #4a2f78;
  --plum-deep: #3a2460;
  --lilac: #7c5aad;
  --lilac-soft: #d4c4ee;
  --cream: #f7f2ea;
  --paper: #faf7f2;
  --white: #ffffff;
  --muted: #6a6275;
  --line: #e8e0d4;
  --line-strong: #d4cbbd;
  --danger: #9b2c2c;
  --shadow: 0 18px 44px rgba(28, 21, 40, 0.12);
  --shadow-soft: 0 8px 22px rgba(28, 21, 40, 0.07);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --wrap: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* .btn { display: inline-flex } would otherwise override native [hidden] */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.5rem;
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--plum);
}

a:hover {
  color: var(--plum-deep);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--plum);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 1.35rem));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 2.4rem));
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top strip */

.top-strip {
  background: var(--ink);
  color: #cfc6d8;
  font-size: 0.82rem;
}

.top-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  min-height: 2.2rem;
  padding-block: 0.35rem;
}

.top-price strong {
  color: #f0e6ff;
  font-weight: 700;
}

.top-strip a {
  color: #efe8f6;
  text-decoration: none;
  font-weight: 500;
}

.top-strip a:hover {
  color: var(--lilac-soft);
}

.top-strip-sep {
  opacity: 0.4;
}

.top-strip-note {
  margin-left: auto;
  color: #9a90a8;
  font-size: 0.78rem;
}

@media (max-width: 560px) {
  .top-strip-note {
    display: none;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 21, 40, 0.05);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.15rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--ink);
  border-radius: 12px;
  padding: 0.32rem 0.55rem;
}

.logo img {
  height: 2.25rem;
  width: auto;
}

.menu {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.menu a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.94rem;
}

.menu a:hover {
  color: var(--plum);
}

.menu-cta {
  background: var(--plum);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.menu-cta:hover {
  background: var(--plum-deep);
  color: var(--white) !important;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: var(--ink);
  margin-inline: auto;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .menu {
    display: flex;
  }

  .burger {
    display: none;
  }
}

@media (max-width: 899px) {
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0 1rem;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
  }

  .menu-cta {
    margin: 0.5rem 1.25rem 0;
    text-align: center;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
}

.btn.solid {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}

.btn.solid:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
  color: var(--white);
}

.btn.ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn.ghost-dark:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.btn.outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}

.btn.outline:hover {
  background: var(--plum);
  color: var(--white);
}

button.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero */

.hero {
  padding: 1.75rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(124, 90, 173, 0.12), transparent 55%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    min-height: min(72vh, 640px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--plum);
}

.eyebrow.dark {
  color: var(--plum);
}

.eyebrow.light {
  color: var(--lilac-soft);
}

.live {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3d9b6e;
  box-shadow: 0 0 0 0 rgba(61, 155, 110, 0.45);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 155, 110, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(61, 155, 110, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 155, 110, 0);
  }
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--plum);
  font-weight: 600;
}

.lede {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.trust-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .trust-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
  }
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-row img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.trust-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--plum);
  flex-shrink: 0;
}

/* Hero panel with compare */

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.panel-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.panel-note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.compare-slider-hero {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
}

/* VS band */

.vs-band {
  padding: 2.25rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.vs-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .vs-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.vs-copy h2 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
}

.vs-copy p {
  margin: 0;
  color: var(--muted);
}

.vs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.vs-card {
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  border: 1px solid var(--line);
}

.vs-card.is-old {
  background: #f3efe8;
  color: var(--muted);
}

.vs-card.is-new {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
  box-shadow: var(--shadow-soft);
}

.vs-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.vs-big {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
}

.vs-card p:last-child {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

/* Sections */

.section {
  padding: 3.25rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4.25rem 0;
  }
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.section-head.split {
  max-width: none;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .section-head.split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2rem;
  }
}

.section-head h2,
.vs-copy h2,
.quality h2,
.colours h2,
.about h2,
.quote-intro h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head.light h2 {
  color: var(--white);
}

.section-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-lede.light {
  color: rgba(255, 255, 255, 0.78);
}

/* Service rail */

.services {
  background: var(--paper);
}

.service-rail {
  display: grid;
  gap: 0.85rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72%, 1fr);
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 720px) {
  .service-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }
}

.service-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 15rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.service-tile img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}

.service-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(28, 21, 40, 0.88));
  color: var(--white);
}

.service-tile-body h3 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.service-tile-body p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.88;
}

/* Projects */

.projects {
  background:
    linear-gradient(160deg, #2a1c40 0%, #1c1528 50%, #261a38 100%);
  color: var(--white);
}

.compare-featured {
  margin-bottom: 1.5rem;
}

.compare-caption,
.compare-card-label {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.compare-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .compare-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.compare-card {
  margin: 0;
}

/* Compare slider */

.compare-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  user-select: none;
  touch-action: pan-y;
  --compare: 50%;
  cursor: ew-resize;
}

.hero-panel .compare-slider {
  border-color: var(--line);
  box-shadow: none;
}

.compare-slider-lg {
  max-width: 760px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .compare-slider-lg {
    aspect-ratio: 4 / 3;
  }
}

.compare-layer {
  position: absolute;
  inset: 0;
}

.compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.compare-before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--compare)) 0 0);
}

.compare-after {
  z-index: 0;
}

.compare-tag {
  position: absolute;
  top: 0.55rem;
  z-index: 2;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
}

.compare-tag-before {
  left: 0.55rem;
  background: rgba(28, 21, 40, 0.88);
  color: #f4f0e8;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.compare-tag-after {
  right: 0.55rem;
  background: var(--plum);
  color: var(--white);
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare);
  z-index: 3;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.compare-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.45rem;
  height: 2.45rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(28, 21, 40, 0.82);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
}

.compare-arrows {
  width: 0.95rem;
  height: 0.55rem;
  background:
    linear-gradient(var(--lilac-soft), var(--lilac-soft)) left center / 0.28rem
      0.12rem no-repeat,
    linear-gradient(var(--lilac-soft), var(--lilac-soft)) right center / 0.28rem
      0.12rem no-repeat;
  position: relative;
}

.compare-arrows::before,
.compare-arrows::after {
  content: "";
  position: absolute;
  top: 50%;
  border-style: solid;
  border-width: 0.28rem 0.32rem;
  transform: translateY(-50%);
}

.compare-arrows::before {
  left: 0;
  border-color: transparent var(--lilac-soft) transparent transparent;
  margin-left: -0.28rem;
}

.compare-arrows::after {
  right: 0;
  border-color: transparent transparent transparent var(--lilac-soft);
  margin-right: -0.28rem;
}

.compare-range-label {
  position: absolute;
  inset: 0;
  z-index: 4;
  margin: 0;
  cursor: ew-resize;
  pointer-events: none;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  touch-action: pan-y;
}

.compare-range:focus {
  pointer-events: auto;
}

/* Quality */

.quality {
  background: var(--white);
}

.quality-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .quality-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
  }
}

.quality p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: inset 0 0 0 3px var(--cream);
}

.quality-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.quality-media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.quality-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(28, 21, 40, 0.85));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Process track */

.process {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  counter-reset: none;
}

@media (min-width: 720px) {
  .process-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process-track li {
    border-radius: 0;
    border-right: 0;
    position: relative;
  }

  .process-track li:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .process-track li:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
    border-right: 1px solid var(--line);
  }

  .process-track li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.6rem;
    right: -0.35rem;
    width: 0.55rem;
    height: 0.55rem;
    border-top: 2px solid var(--lilac);
    border-right: 2px solid var(--lilac);
    transform: rotate(45deg);
    z-index: 1;
    background: var(--cream);
  }
}

.process-track li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.05rem 1.25rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.process-track h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.process-track p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Colours */

.colours {
  background: var(--paper);
}

.colours-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .colours-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.75rem;
  }
}

.colours p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.swatch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 520px) {
  .swatch-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.swatch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  padding: 0.5rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.swatch:hover,
.swatch.is-picked {
  border-color: var(--plum);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--plum) 20%, transparent);
}

.swatch-chip {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--sw);
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.swatch-chip.light {
  border-color: rgba(0, 0, 0, 0.18);
}

.swatch-hint {
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--plum);
  font-weight: 500;
  margin: 0 0 1rem;
}

.colours-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.colours-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* About */

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

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about p {
  color: var(--muted);
  margin: 0 0 1rem;
}

/* Quote wizard */

.quote {
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(124, 90, 173, 0.1), transparent 50%),
    var(--cream);
  border-top: 1px solid var(--line);
}

.quote-shell {
  display: grid;
  gap: 1.75rem;
  max-width: 720px;
}

@media (min-width: 900px) {
  .quote-shell {
    max-width: none;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.quote-intro p {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.quote-phone a {
  font-weight: 700;
  text-decoration: none;
}

.quote-phone a:hover {
  text-decoration: underline;
}

.wizard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

@media (min-width: 520px) {
  .wizard {
    padding: 1.5rem 1.6rem;
  }
}

.wizard-progress {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.wizard-bar {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--plum);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.wizard-step-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.wizard-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-family: var(--display);
  font-weight: 600;
}

.wizard-help {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.wizard-mini {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.wizard-pane[hidden] {
  display: none;
}

.check-grid {
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 480px) {
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.7rem;
}

.check:has(input:checked) {
  border-color: var(--plum);
  background: color-mix(in srgb, var(--plum) 8%, var(--white));
}

.check input {
  margin-top: 0.12rem;
  accent-color: var(--plum);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.field-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--lilac);
  outline-offset: 1px;
  border-color: var(--plum);
}

.field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  color: var(--danger);
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
}

.review-list {
  margin: 0 0 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.review-list dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.55rem;
}

.review-list dt:first-child {
  margin-top: 0;
}

.review-list dd {
  margin: 0.15rem 0 0;
  font-weight: 500;
  color: var(--ink);
}

.wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

.wizard-nav .btn {
  min-width: 7.5rem;
}

.wizard-nav [data-wizard-submit][hidden],
.wizard-nav [data-wizard-next][hidden],
.wizard-nav [data-wizard-back][hidden] {
  display: none !important;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #cfc6d8;
  padding: 2.25rem 0 1.75rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-brand img {
  height: 2.4rem;
  width: auto;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 22rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: #efe8f6;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--lilac-soft);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #8a8098;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

/* Mobile sticky CTA */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(28, 21, 40, 0.08);
}

.mobile-cta .btn {
  width: 100%;
}

.mobile-cta.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

@media (min-width: 720px) {
  .mobile-cta {
    display: none;
  }
}

/* Toast */

.toast {
  position: fixed;
  bottom: calc(4.5rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 50;
  box-shadow: var(--shadow);
  max-width: calc(100% - 2rem);
  text-align: center;
}

@media (min-width: 720px) {
  .toast {
    bottom: 1.15rem;
  }
}

/* Reveals */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="left"] {
  transform: translate3d(-28px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(28px, 0, 0);
}

[data-reveal="scale"] {
  transform: translate3d(0, 16px, 0) scale(0.97);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-rise] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rise-delay, 0ms);
}

[data-rise].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .live {
    animation: none;
  }

  [data-reveal],
  [data-rise] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
