:root {
  color-scheme: light;
  --bg: #f5f5f3;
  --panel: rgba(255, 255, 255, 0.74);
  --ink: #111111;
  --muted: #626262;
  --muted-strong: #414141;
  --muted-soft: #767672;
  --line: rgba(17, 17, 17, 0.11);
  --soft: rgba(17, 17, 17, 0.045);
  --focus: #000000;
  --error: #b42318;
  --positive: #28a745;
  --positive-border: rgba(40, 167, 69, 0.68);
  --positive-line: var(--positive-border);
  --positive-inset: rgba(40, 167, 69, 0.24);
  --positive-soft: rgba(40, 167, 69, 0.1);
  --positive-highlight: rgba(40, 167, 69, 0.055);
  --positive-highlight-border: rgba(40, 167, 69, 0.22);
  --recommend: var(--positive);
  --selected: rgba(255, 255, 255, 0.9);
  --selected-overlay: rgba(17, 17, 17, 0.032);
  --surface: rgba(255, 255, 255, 0.58);
  --button-text: #ffffff;
  --placeholder: #8a8a85;
  --hover-line: rgba(17, 17, 17, 0.24);
  --panel-border: rgba(17, 17, 17, 0.075);
  --selected-inset: rgba(17, 17, 17, 0.12);
  --recommend-border: var(--positive-border);
  --logo-filter: none;
  --watermark-filter: none;
  --watermark-opacity: 0.032;
  --card-bg: rgba(255, 255, 255, 0.58);
  --card-base-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
  --card-hover-shadow: 0 16px 38px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.66);
  --card-selected-shadow: 0 20px 48px rgba(0, 0, 0, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  --quote-shadow: 0 40px 110px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  --advice-bg: rgba(255, 255, 255, 0.72);
  --advice-border: rgba(17, 17, 17, 0.1);
  --advice-shadow: 0 18px 46px rgba(0, 0, 0, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  --field-focus-shadow: 0 0 0 4px rgba(17, 17, 17, 0.045), 0 12px 26px rgba(0, 0, 0, 0.04);
  --button-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  --button-hover-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  --mobile-bar-bg: rgba(255, 255, 255, 0.76);
  --mobile-bar-shadow: 0 18px 48px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0c;
  --panel: rgba(25, 25, 27, 0.76);
  --ink: #f2f2f2;
  --muted: #a7a7a7;
  --muted-strong: #d2d2d2;
  --muted-soft: #8e8e8e;
  --line: rgba(242, 242, 242, 0.1);
  --soft: rgba(242, 242, 242, 0.055);
  --focus: #f2f2f2;
  --selected: rgba(34, 34, 36, 0.92);
  --selected-overlay: rgba(255, 255, 255, 0.035);
  --surface: rgba(255, 255, 255, 0.055);
  --button-text: #0e0e0e;
  --placeholder: #777777;
  --hover-line: rgba(242, 242, 242, 0.22);
  --panel-border: rgba(242, 242, 242, 0.09);
  --selected-inset: rgba(242, 242, 242, 0.14);
  --recommend-border: var(--positive-border);
  --logo-filter: invert(1);
  --watermark-filter: invert(1);
  --watermark-opacity: 0.018;
  --card-bg: rgba(255, 255, 255, 0.052);
  --card-base-shadow: 0 1px 0 rgba(255, 255, 255, 0.035);
  --card-hover-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --card-selected-shadow: 0 20px 46px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --quote-shadow: 0 30px 78px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  --advice-bg: rgba(255, 255, 255, 0.06);
  --advice-border: rgba(242, 242, 242, 0.105);
  --advice-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --field-focus-shadow: 0 0 0 4px rgba(242, 242, 242, 0.06), 0 14px 32px rgba(0, 0, 0, 0.26);
  --button-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  --button-hover-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  --mobile-bar-bg: rgba(26, 26, 28, 0.74);
  --mobile-bar-shadow: 0 18px 52px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes total-pop {
  0% {
    opacity: 0.66;
    transform: translateY(3px) scale(0.992);
  }

  56% {
    opacity: 1;
    transform: translateY(-1px) scale(1.018);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobile-total-soft-change {
  0% {
    opacity: 0.7;
    transform: translateY(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobile-suggestion-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes summary-discount-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes complete-pack-total-highlight {
  0%,
  100% {
    background: transparent;
    border-color: var(--line);
  }

  18%,
  72% {
    background: var(--positive-highlight);
    border-color: var(--positive-highlight-border);
  }
}

@keyframes service-select-pop {
  0% {
    transform: scale(0.995);
  }

  58% {
    transform: scale(1.018);
  }

  100% {
    transform: scale(1.01);
  }
}

@keyframes checkbox-select-pop {
  0% {
    opacity: 0.5;
    transform: scale(0.82);
  }

  60% {
    opacity: 1;
    transform: scale(1.16);
  }

  100% {
    opacity: 0.9;
    transform: scale(1);
  }
}

@keyframes service-error-attention {
  0% {
    border-color: var(--panel-border);
    box-shadow: var(--card-base-shadow);
  }

  42%,
  100% {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.055), inset 0 0 0 1px var(--error);
  }
}

@keyframes service-error-exit {
  0% {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.055), inset 0 0 0 1px var(--error);
  }

  100% {
    border-color: var(--panel-border);
    box-shadow: var(--card-base-shadow);
  }
}

@keyframes service-start-outline {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  5% {
    opacity: 1;
    stroke-dashoffset: 1;
  }

  56% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  91% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes service-start-card-lift {
  0% {
    filter: none;
    box-shadow: var(--card-base-shadow);
    transform: translateY(0);
  }

  14%,
  100% {
    filter: brightness(1.015);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-1.5px);
  }
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.app {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.back-home-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  transition: color 220ms var(--ease-soft), opacity 220ms var(--ease-soft);
}

.back-home-link:hover {
  color: var(--ink);
}

.back-home-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 8px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 26px;
}

.brand-link {
  display: inline-flex;
  width: 72px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  animation: reveal-up 280ms var(--ease-out) both;
}

.brand-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.brand-logo {
  display: block;
  width: 72px;
  height: 32px;
  filter: var(--logo-filter);
  object-fit: contain;
  object-position: center;
}

button.theme-toggle {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 32px;
  min-width: 0;
  height: 32px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 280ms var(--ease-soft), border-color 260ms var(--ease-soft),
    box-shadow 260ms var(--ease-soft), opacity 260ms var(--ease-soft);
}

button.theme-toggle:hover {
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
  transform: rotate(0deg);
}

button.theme-toggle[aria-pressed="true"] {
  transform: rotate(180deg);
}

button.theme-toggle[aria-pressed="true"]:hover {
  transform: rotate(180deg);
}

.half {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.half.black {
  background: #000;
}

.half.white {
  background: #fff;
}

html[data-theme="dark"] button.theme-toggle {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] button.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}

.intro {
  position: relative;
  isolation: isolate;
  margin-bottom: 30px;
  overflow: hidden;
}

.intro > :not(.hero-watermark) {
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: 58%;
  right: -300px;
  z-index: 0;
  width: min(62vw, 690px);
  max-width: none;
  filter: var(--watermark-filter);
  opacity: var(--watermark-opacity);
  pointer-events: none;
  transform: translateY(-50%) rotate(0deg);
  user-select: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: 4.8rem;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.description {
  max-width: 610px;
  margin-bottom: 8px;
  color: var(--muted-strong);
  font-size: 1.14rem;
  line-height: 1.5;
}

.hero-subline,
.hero-note {
  max-width: 520px;
  line-height: 1.45;
}

.hero-subline {
  margin-bottom: 6px;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 720;
}

.hero-note {
  margin-bottom: 0;
  color: var(--muted-soft);
  font-size: 0.9rem;
  font-weight: 560;
}

.hero-cta {
  margin-top: 22px;
  padding: 0 22px;
}

.intro h1,
.intro .description,
.intro .hero-subline,
.intro .hero-note,
.intro .hero-cta {
  animation: reveal-up 280ms var(--ease-out) both;
}

.intro h1 {
  animation-delay: 0ms;
}

@media (min-width: 769px) {
  .desktop-nowrap {
    white-space: nowrap;
  }
}

.intro .description {
  animation-delay: 80ms;
}

.intro .hero-subline {
  animation-delay: 120ms;
}

.intro .hero-cta {
  animation-delay: 160ms;
}

.intro .hero-note {
  animation-delay: 160ms;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 32px;
  align-items: start;
}

.selector,
.request-panel,
.quote-panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
}

.selector {
  grid-column: 1;
  grid-row: 1;
}

.selector {
  padding: 30px;
}

.request-panel {
  grid-column: 1;
  grid-row: 2;
  padding: 28px;
}

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

.section-heading h2,
.summary h2 {
  margin-bottom: 0;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: right;
}

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

.service-start-outline {
  position: absolute;
  inset: -8px;
  z-index: 2;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  overflow: visible;
  pointer-events: none;
}

.service-start-outline rect {
  fill: none;
  opacity: 0;
  stroke: var(--positive-line);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.service-grid.is-starting-project .service-start-outline rect {
  animation: service-start-outline 2850ms var(--ease-soft) both;
}

.service-card {
  position: relative;
  display: block;
  min-height: 150px;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--card-bg);
  cursor: pointer;
  box-shadow: var(--card-base-shadow);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  backdrop-filter: blur(10px) saturate(125%);
  transition: transform 860ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 860ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 860ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 860ms cubic-bezier(0.22, 1, 0.36, 1),
    background 860ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 860ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms var(--ease-out);
  will-change: transform;
}

.service-grid.is-starting-project .service-card {
  filter: brightness(1.015);
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-1.5px);
}

.service-grid.is-ending-project .service-card {
  filter: none;
  box-shadow: var(--card-base-shadow);
  transform: translateY(0);
}

.service-card:hover {
  border-color: var(--hover-line);
  box-shadow: var(--card-hover-shadow);
  transform: scale(1.01);
}

.custom-service-card {
  grid-column: 1 / -1;
  cursor: default;
}

.custom-service-trigger {
  display: block;
  cursor: pointer;
}

.service-card input {
  position: absolute;
  inset: 18px auto auto 18px;
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
  cursor: pointer;
  opacity: 0.38;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.service-card:has(input:focus-visible),
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.service-card:has(input:checked) {
  border-color: var(--hover-line);
  background: linear-gradient(var(--selected-overlay), var(--selected-overlay)), var(--selected);
  box-shadow: inset 0 0 0 1px var(--selected-inset), var(--card-selected-shadow);
  transform: translateY(-1px) scale(1.01);
}

.service-card:hover input,
.service-card:has(input:checked) input {
  opacity: 0.9;
}

.service-extra-label {
  position: absolute;
  top: 19px;
  right: 18px;
  color: var(--muted-strong);
  font-size: 0.62rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  line-height: 1;
  pointer-events: none;
}

.service-card.is-recommended {
  border-color: var(--recommend-border);
  box-shadow: inset 0 0 0 1px var(--positive-soft), 0 12px 26px var(--positive-highlight);
}

.service-card.is-complete-pack {
  border-color: var(--recommend-border);
  box-shadow: inset 0 0 0 1px var(--positive-inset), var(--card-selected-shadow);
}

.service-card.is-recommended:hover {
  border-color: var(--recommend-border);
}

.service-card.is-complete-pack:hover,
.service-card.is-complete-pack:has(input:checked) {
  border-color: var(--recommend-border);
}

.service-card.is-complete-pack:has(input:checked) {
  box-shadow: inset 0 0 0 1px var(--positive-inset), var(--card-selected-shadow);
}

.service-card.needs-attention {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.055), inset 0 0 0 1px var(--error);
}

.service-card.needs-attention {
  animation: service-error-attention 1450ms ease-in-out both;
}

.service-card.is-attention-exiting {
  animation: service-error-exit 520ms ease-out both;
}

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid var(--recommend-border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--recommend);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateY(-3px);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  backdrop-filter: blur(10px) saturate(125%);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.service-card.is-recommended .service-badge {
  opacity: 0.82;
  transform: translateY(0);
}

.service-content {
  display: grid;
  min-height: 150px;
  padding: 50px 20px 20px;
}

.service-name {
  align-self: end;
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.15;
}

.service-subname {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 650;
}

.service-price {
  align-self: end;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 720;
}

.service-price-note {
  display: block;
  max-width: 280px;
  margin-top: 5px;
  color: var(--muted-soft);
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.35;
}

.quote-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 24px;
  padding: 32px;
  animation: reveal-up 280ms var(--ease-out) 220ms both;
  box-shadow: var(--quote-shadow);
}

.quote-topline {
  display: inline-flex;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  margin-bottom: 24px;
  padding: 8px 11px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.quote-topline span {
  overflow-wrap: anywhere;
}

.total-block {
  padding: 4px 0 32px;
  border-bottom: 1px solid var(--line);
}

.total-block span,
.quote-details span,
.split span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.total-block strong {
  display: block;
  margin-top: 12px;
  font-size: 5.08rem;
  font-weight: 820;
  line-height: 0.92;
  letter-spacing: -0.02em;
  transform-origin: left center;
}

.total-block strong.is-text-total {
  max-width: 100%;
  font-size: 2.65rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.total-block strong.is-changing {
  animation: total-pop 240ms var(--ease-out) both;
}

.custom-price-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.custom-price-note span {
  display: block;
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 0.82rem;
  font-weight: 620;
}

.custom-price-note[hidden] {
  display: none;
}

.quote-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.quote-details[hidden] {
  display: none;
}

.quote-details strong {
  display: block;
  margin-top: 7px;
  font-size: 1.18rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.split div {
  min-width: 0;
  padding: 0 14px 0 0;
}

.split div + div {
  padding: 0 0 0 14px;
  border-left: 1px solid var(--line);
}

.split strong {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem;
}

.advice {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--advice-border);
  border-radius: 12px;
  background: var(--advice-bg);
  box-shadow: var(--advice-shadow);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
}

.advice h2 {
  margin-bottom: 10px;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.advice p {
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.5;
}

.advice .advice-kicker {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
}

.summary {
  padding: 28px 0 8px;
}

.summary h2 {
  margin-bottom: 14px;
}

.summary ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.45;
}

.summary li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft);
}

.summary li:last-child {
  border-bottom: 0;
}

.summary .item-name {
  color: var(--ink);
  font-weight: 650;
}

.summary .item-price {
  color: var(--muted);
  font-weight: 700;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.summary li.discount-line .item-price {
  color: var(--recommend);
}

.summary li.discount-line {
  animation: summary-discount-fade 220ms var(--ease-out) both;
}

.summary li.final-total-line {
  margin-top: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary li.final-total-line.is-pack-complete {
  animation: complete-pack-total-highlight 560ms var(--ease-out) both;
}

.summary li.final-total-line .item-name,
.summary li.final-total-line .item-price {
  color: var(--ink);
  font-weight: 820;
}

.summary li.final-total-line .item-price {
  font-size: 1.08rem;
}

.summary li.saving-line {
  align-items: center;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--positive-highlight-border);
  border-radius: 14px;
  background: linear-gradient(var(--positive-highlight), var(--positive-highlight)), var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.summary li.saving-line .item-name,
.summary li.saving-line .item-price {
  color: var(--ink);
  font-weight: 780;
}

.summary li.saving-line .item-price {
  font-size: 1.04rem;
}

.how-it-works {
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-it-works h2 {
  margin-bottom: 12px;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.how-it-works ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.custom-details,
.project-notes,
.project-details,
.invoice-section {
  margin-top: 18px;
}

.request-panel .invoice-section {
  margin-top: 0;
}

.custom-details label,
.project-notes label,
.project-details label,
.invoice-section h2,
.invoice-grid label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.invoice-section h2 {
  margin-bottom: 7px;
}

.invoice-caption {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.invoice-guidance {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.48;
}

.invoice-required-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.required-mark {
  margin-left: 3px;
  color: var(--error);
  font-size: 0.78em;
  font-weight: 850;
}

.privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

.custom-details textarea,
.project-notes textarea,
.project-details input,
.invoice-grid input {
  display: block;
  width: 100%;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 13px 14px;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.45;
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out), opacity 220ms var(--ease-out);
}

.custom-service-card .custom-details {
  max-height: 0;
  margin: 0 20px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: max-height 260ms var(--ease-out), margin-bottom 260ms var(--ease-out),
    opacity 220ms var(--ease-out), visibility 0ms linear 260ms;
}

.custom-service-card .custom-details.is-open {
  max-height: 520px;
  margin-bottom: 20px;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: max-height 260ms var(--ease-out), margin-bottom 260ms var(--ease-out),
    opacity 220ms var(--ease-out), visibility 0ms linear 0ms;
}

.custom-details-inner {
  min-height: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.custom-details textarea,
.project-notes textarea {
  min-height: 108px;
  resize: vertical;
}

.project-details input {
  margin-top: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
}

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

.invoice-grid label {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.invoice-grid label:has(input[required])::after {
  content: "*";
  position: absolute;
  top: calc(0.74rem + 30px);
  right: 14px;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.68;
  pointer-events: none;
}

.invoice-grid input {
  margin-top: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
}

.invoice-grid input[required] {
  padding-right: 34px;
}

.invoice-full {
  grid-column: 1 / -1;
}

.custom-details textarea::placeholder,
.project-notes textarea::placeholder,
.project-details input::placeholder {
  color: var(--placeholder);
}

.custom-details textarea:focus-visible,
.project-notes textarea:focus-visible,
.project-details input:focus-visible,
.invoice-grid input:focus-visible {
  border-color: var(--hover-line);
  outline: none;
  background: var(--panel);
  box-shadow: var(--field-focus-shadow), inset 0 0 0 1px var(--hover-line);
}

.invoice-grid input.is-invalid {
  border-color: var(--panel-border);
  box-shadow: none;
}

.project-details input.is-error {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

.invoice-grid input.is-error {
  border-color: var(--panel-border);
  box-shadow: none;
}

.invoice-grid input.needs-attention {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.055), inset 0 0 0 1px var(--error);
  animation: service-error-attention 1450ms ease-in-out both;
}

.invoice-grid input.is-attention-exiting {
  animation: service-error-exit 520ms ease-out both;
}

.project-details input.needs-attention,
.custom-details textarea.needs-attention {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08), inset 0 0 0 1px var(--error);
}

.custom-details textarea.is-error {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

.field-error {
  display: block;
  max-height: 0;
  margin-top: 0;
  color: var(--error);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0;
  overflow: hidden;
  text-transform: none;
  transform: translateY(-2px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out),
    max-height 220ms var(--ease-out), margin-top 220ms var(--ease-out);
}

.field-error.is-visible {
  max-height: 72px;
  margin-top: 7px;
  opacity: 1;
  transform: translateY(0);
}

.service-error {
  margin: 0;
}

.service-error.is-visible {
  margin-top: 10px;
}

.actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 10px;
}

.cta-helper {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.cta-helper[hidden] {
  display: none;
}

button,
.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--button-text);
  cursor: pointer;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--button-shadow);
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out),
    color 200ms var(--ease-out), opacity 200ms var(--ease-out), box-shadow 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

.hero-cta:hover,
.email-button[data-ready="true"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--button-hover-shadow);
}

.hero-cta:active,
.email-button[data-ready="true"]:active {
  transform: scale(0.98);
  box-shadow: var(--button-shadow);
  transition-duration: 150ms;
}

.email-button[data-ready="false"] {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.email-button[data-ready="false"]:hover,
.email-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.email-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.email-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.portfolio-link-row {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.portfolio-link-row a {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.portfolio-link-row a:hover {
  opacity: 0.72;
}

.portfolio-link-row a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.cta-trust {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
}

.cta-payment {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.after-submit {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.after-submit h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.after-submit ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

button.secondary {
  min-width: 92px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.feedback {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.audience-note {
  width: min(1120px, calc(100% - 32px));
  margin: -14px auto 0;
  padding: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

.audience-note p {
  max-width: 720px;
  margin: 0 auto;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 5px;
}

.site-footer__nav a {
  color: currentColor;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.site-footer__nav a:hover {
  color: var(--ink);
}

.mobile-quote-bar {
  display: none;
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 24px, 680px);
    padding-top: 22px;
  }

  .site-footer,
  .audience-note {
    width: min(100% - 24px, 680px);
  }

  .app {
    width: min(100% - 24px, 680px);
    padding: 28px 0 32px;
  }

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

  .selector,
  .request-panel,
  .quote-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .quote-panel {
    position: static;
  }

  h1 {
    font-size: 3.7rem;
  }

  .hero-watermark {
    right: -150px;
    width: 420px;
    opacity: calc(var(--watermark-opacity) * 0.86);
  }
}

@media (max-width: 768px) {
  body {
    line-height: 1.55;
  }

  .site-header {
    width: min(100% - 24px, 680px);
    padding-top: 20px;
  }

  .app {
    width: min(100% - 24px, 680px);
    padding: 32px 0 44px;
  }

  .intro {
    margin-bottom: 24px;
  }

  .selector,
  .request-panel,
  .quote-panel {
    padding: 22px;
  }

  .workspace {
    gap: 26px;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading p {
    max-width: none;
    margin-top: 9px;
    line-height: 1.55;
    text-align: left;
  }

  .quote-details,
  .invoice-grid,
  .split,
  .actions {
    grid-template-columns: 1fr;
  }

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

  .custom-service-card {
    grid-column: 1 / -1;
  }

  h1 {
    font-size: 3.15rem;
    line-height: 0.96;
  }

  .description {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-subline,
  .hero-note {
    line-height: 1.55;
  }

  .hero-watermark {
    display: block;
    top: 58%;
    right: -112px;
    width: min(72vw, 330px);
    opacity: calc(var(--watermark-opacity) * 0.7);
    transform: translateY(-50%) rotate(0deg);
  }

  .quote-topline {
    min-height: 38px;
    margin-bottom: 20px;
    line-height: 1.35;
  }

  .total-block {
    padding-bottom: 28px;
  }

  .total-block strong {
    font-size: 4.12rem;
    line-height: 0.94;
  }

  .total-block strong.is-text-total {
    font-size: 2.25rem;
  }

  .quote-details {
    gap: 14px;
    padding: 18px 0;
  }

  .quote-details strong {
    margin-top: 8px;
    font-size: 1.28rem;
  }

  .split {
    gap: 0;
    padding: 20px 0;
  }

  .split div,
  .split div + div {
    padding: 0;
    border-left: 0;
  }

  .split div + div {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .split strong {
    font-size: 1.55rem;
  }

  .advice {
    margin-top: 22px;
    padding: 18px;
  }

  .advice p,
  .summary ul,
  .how-it-works ol,
  .note,
  .cta-trust {
    line-height: 1.55;
  }

  .summary {
    padding: 28px 0 10px;
  }

  .summary h2 {
    margin-bottom: 16px;
  }

  .summary ul {
    gap: 12px;
    font-size: 0.94rem;
  }

  .summary li {
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
  }

  .summary li:not(.saving-line) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    text-align: left !important;
  }

  .summary .item-name {
    flex: 1 1 auto !important;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left !important;
  }

  .summary .item-price {
    flex: 0 0 auto !important;
    font-size: 0.94rem;
    margin-left: 16px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  .summary li.saving-line {
    padding: 14px 15px;
  }

  .how-it-works {
    margin-top: 22px;
    padding: 22px 0;
  }

  .how-it-works ol {
    gap: 12px;
  }

  .custom-details,
  .project-notes,
  .project-details,
  .invoice-section {
    margin-top: 22px;
  }

  .invoice-caption {
    margin-bottom: 17px;
    line-height: 1.55;
  }

  .invoice-grid {
    gap: 16px;
  }

  .invoice-grid label:has(input[required])::after {
    top: calc(0.74rem + 34px);
    right: 16px;
  }

  .custom-details textarea,
  .project-notes textarea,
  .project-details input,
  .invoice-grid input {
    min-height: 52px;
    padding: 15px 16px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .invoice-grid input[required] {
    padding-right: 38px;
  }

  .custom-details textarea,
  .project-notes textarea {
    min-height: 132px;
  }

  .custom-service-card .custom-details {
    margin: 0 14px;
  }

  .custom-service-card .custom-details.is-open {
    margin-bottom: 16px;
  }

  .service-card,
  .service-content {
    min-height: 132px;
  }

  .service-card input {
    inset: 16px auto auto 16px;
    width: 17px;
    height: 17px;
  }

  .service-extra-label {
    top: 18px;
    right: 16px;
    font-size: 0.58rem;
  }

  .service-card:has(input:checked) {
    transform: scale(1.01);
  }

  .service-content {
    padding: 50px 14px 16px;
  }

  .service-name {
    margin-top: 22px;
    font-size: 1.02rem;
    line-height: 1.2;
  }

  .service-price {
    font-size: 0.98rem;
  }

  .service-badge {
    top: 14px;
    right: 12px;
    min-height: 22px;
    padding: 4px 7px;
  }

  .mobile-quote-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 58px;
    padding: 10px 18px;
    border: 1px solid var(--panel-border);
    border-radius: 999px;
    background: var(--mobile-bar-bg);
    box-shadow: var(--mobile-bar-shadow);
    color: var(--ink);
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translateY(calc(100% + 18px));
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    will-change: transform, opacity;
    transition: transform 260ms var(--ease-out), opacity 240ms var(--ease-out),
      border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out), color 260ms var(--ease-out);
  }

  .mobile-quote-total,
  .mobile-quote-message {
    display: block;
  }

  .mobile-quote-total {
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 860;
    transform-origin: center;
  }

  .mobile-quote-total.is-soft-changing {
    animation: mobile-total-soft-change 260ms var(--ease-out) both;
  }

  .mobile-quote-message {
    color: var(--muted-strong);
    font-size: 0.76rem;
    font-weight: 650;
  }

  .mobile-quote-message.is-saving-suggestion {
    animation: mobile-suggestion-fade 220ms var(--ease-out) both;
    color: var(--positive);
  }

  .mobile-quote-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-quote-bar.is-empty {
    border-color: rgba(220, 53, 69, 0.58);
    box-shadow: var(--mobile-bar-shadow), 0 0 0 3px rgba(220, 53, 69, 0.08);
  }

  .mobile-quote-bar.is-suggestion,
  .mobile-quote-bar.is-standard,
  .mobile-quote-bar.is-custom {
    border-color: var(--line);
    box-shadow: var(--mobile-bar-shadow);
    color: var(--ink);
  }

.mobile-quote-bar.is-promo {
  border-color: var(--positive-border);
  box-shadow: var(--mobile-bar-shadow), 0 0 0 3px var(--positive-soft);
  color: var(--ink);
}

  .site-footer {
    margin-top: 8px;
    padding: 22px 0 104px;
  }

  body.is-instagram-browser .mobile-quote-bar,
  body.is-standalone-app .mobile-quote-bar {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 84px);
  }

  body.is-instagram-browser .site-footer,
  body.is-standalone-app .site-footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 150px);
  }

  .cta-helper {
    margin-top: 22px;
  }

  .actions {
    gap: 12px;
    margin-top: 14px;
  }

  .after-submit {
    margin-top: 20px;
    padding-top: 20px;
  }

  button,
  .email-button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .cta-trust {
    margin-top: 14px;
  }

  button.secondary {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-footer,
  .audience-note,
  .app {
    width: calc(100% - 24px);
  }

  .selector,
  .request-panel,
  .quote-panel {
    padding: 20px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .total-block strong {
    font-size: 3.45rem;
  }

  .service-grid {
    gap: 12px;
  }

  .service-card,
  .service-content {
    min-height: 126px;
  }

  .service-name {
    font-size: 0.96rem;
  }

  .service-subname {
    font-size: 0.74em;
  }

  .service-price {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .brand-link,
  .intro,
  .service-card,
  .quote-panel {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .service-card:hover,
  .service-card:has(input:checked),
  .service-card.needs-attention {
    transform: none;
  }

  .total-block strong.is-changing {
    animation: none;
  }
}
