:root {
  --bg: #f3f0ea;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --surface-soft: #f8f7f3;
  --text: #1f2924;
  --muted: #6d756f;
  --line: rgba(31, 50, 41, 0.13);
  --green: #1f5a42;
  --green-dark: #153d2d;
  --green-soft: #e7f0eb;
  --gold: #b49055;
  --gold-soft: #f3eadb;
  --danger: #b44540;
  --success: #28714e;
  --shadow: 0 16px 42px rgba(29, 48, 39, 0.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.ambient,
.page-pattern {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.ambient {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.6;
}

.ambient-one {
  top: -220px;
  left: -150px;
  background: radial-gradient(circle, rgba(180, 144, 85, 0.26), transparent 68%);
}

.ambient-two {
  right: -180px;
  top: 42%;
  background: radial-gradient(circle, rgba(31, 90, 66, 0.19), transparent 68%);
}

.page-pattern {
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(31, 90, 66, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 90, 66, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.page-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 16px auto 48px;
}

.hero-panel,
.form-card,
.summary-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px clamp(24px, 5vw, 72px) clamp(50px, 7vw, 92px);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(255,255,255,0.13), transparent 25%),
    linear-gradient(135deg, #173f2f 0%, #215b43 52%, #183b2e 100%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,.35) 47%, transparent 48%),
    linear-gradient(120deg, transparent 0 66%, rgba(255,255,255,.2) 67%, transparent 68%);
  background-size: 220px 220px, 330px 330px;
}

.topbar,
.hero-grid {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: .03em;
}

.brand-copy small {
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

.availability-pill,
.live-badge,
.summary-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.availability-pill {
  padding: 10px 15px;
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.08);
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9de2b9;
  box-shadow: 0 0 0 6px rgba(157,226,185,.12);
  animation: pulse 3.2s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-copy h1,
.form-header h2,
.processing-card h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: .98;
  letter-spacing: -.035em;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.72;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.hero-features article {
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  transition: transform .25s ease, background .25s ease;
}

.hero-features article:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
}

.feature-number {
  display: block;
  margin-bottom: 23px;
  color: #d5b77e;
  font-size: 12px;
  font-weight: 800;
}

.hero-features strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

.hero-features p {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(205, 177, 123, .18);
  display: none;
}

.visual-card,
.floating-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 36px rgba(0,0,0,.15);
}

.visual-card-main {
  width: min(100%, 410px);
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,.11);
  transform: rotate(-2deg);
}

.visual-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.visual-card-head div {
  display: grid;
  gap: 6px;
}

.visual-card-head small,
.floating-card span {
  color: rgba(255,255,255,.6);
  font-size: 11px;
}

.visual-card-head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.live-badge {
  padding: 7px 10px;
  color: #b8efcc;
  background: rgba(96,190,130,.14);
}

.visual-progress {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.visual-progress span {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.visual-progress i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0be7e;
  box-shadow: 0 0 0 0 rgba(224,190,126,.32);
}

.floating-card {
  display: grid;
  gap: 4px;
  min-width: 166px;
  padding: 16px 18px;
  border-radius: 17px;
  background: rgba(20, 51, 39, .72);
}

.floating-card strong {
  font-size: 14px;
}

.floating-card-top {
  top: 48px;
  right: 0;
}

.floating-card-bottom {
  left: 0;
  bottom: 34px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.form-card,
.summary-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.form-card {
  overflow: hidden;
}

.form-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: end;
  padding: 42px clamp(24px, 5vw, 56px) 34px;
  border-bottom: 1px solid var(--line);
}

.form-header h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.05;
}

.form-header > div > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.progress-box {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
}

.progress-meta strong {
  color: var(--text);
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e5e0;
}

.progress-fill {
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #4a8b69);
  transition: width .22s ease-out;
}

.step-navigation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(248,247,243,.7);
}

.step-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  transition: .25s ease;
}

.step-tab span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8e8e3;
  transition: inherit;
}

.step-tab.active {
  color: var(--green);
  background: var(--green-soft);
}

.step-tab.active span,
.step-tab.completed span {
  color: #fff;
  background: var(--green);
}

.steps-viewport {
  min-height: 610px;
}

.form-step {
  display: none;
  padding: 42px clamp(24px, 5vw, 56px) 26px;
  animation: stepIn .22s ease-out;
}

.form-step.active {
  display: block;
}

.section-heading {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.section-heading > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
}

.section-heading h3,
.subsection h4,
.summary-head h3 {
  margin: 0;
}

.section-heading h3 {
  font-size: 22px;
}

.section-heading p,
.subsection-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field > span {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255,255,255,.9);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
  padding: 15px;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(31,90,66,.65);
  box-shadow: 0 0 0 4px rgba(31,90,66,.09);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(180,69,64,.08);
}

.field-note,
.textarea-meta {
  color: var(--muted);
  font-size: 11px;
}

.field-error,
.consent-error {
  min-height: 15px;
  color: var(--danger);
  font-size: 11px;
}

.input-with-suffix {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.input-with-suffix:focus-within {
  border-color: rgba(31,90,66,.65);
  box-shadow: 0 0 0 4px rgba(31,90,66,.09);
}

.input-with-suffix input {
  border: 0;
  box-shadow: none !important;
}

.input-with-suffix > span {
  padding: 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.budget-flex-panel {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(360px, 1.25fr);
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(180,144,85,.25);
  border-radius: 17px;
  background: var(--gold-soft);
  animation: reveal .18s ease-out;
}

.budget-flex-panel strong {
  font-size: 13px;
}

.budget-flex-panel p {
  margin: 5px 0 0;
  color: #7d6b4d;
  font-size: 11px;
  line-height: 1.45;
}

.segment-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255,255,255,.62);
}

.segment-control label {
  cursor: pointer;
}

.segment-control input {
  position: absolute;
  opacity: 0;
}

.segment-control span {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 9px;
  color: #725f42;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  transition: .2s ease;
}

.segment-control input:checked + span {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(31,90,66,.2);
}

.subsection + .subsection,
.description-field {
  margin-top: 34px;
}

.subsection-copy {
  margin-bottom: 17px;
}

.subsection h4 {
  font-size: 16px;
}

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

.addon-card {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.addon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31,90,66,.32);
  box-shadow: 0 12px 26px rgba(31,50,41,.08);
}

.addon-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.addon-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--green);
  background: var(--green-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  transition: .22s ease;
}

.addon-copy {
  display: grid;
  gap: 5px;
}

.addon-copy strong {
  font-size: 13px;
}

.addon-copy small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.addon-check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: 12px;
  transition: .22s ease;
}

.addon-card:has(input:checked) {
  border-color: rgba(31,90,66,.52);
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(31,90,66,.08);
}

.addon-card:has(input:checked) .addon-symbol,
.addon-card:has(input:checked) .addon-check {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.addon-card.disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.5);
}

.addon-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

.addon-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
  animation: reveal .18s ease-out;
}

.priority-section {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.priority-copy-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.selection-counter {
  min-width: 54px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.priority-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.priority-chip {
  cursor: pointer;
}

.priority-chip input {
  position: absolute;
  opacity: 0;
}

.priority-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 700;
  transition: .22s ease;
}

.priority-chip span:hover {
  border-color: rgba(31,90,66,.38);
  transform: translateY(-2px);
}

.priority-chip input:checked + span {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 10px 22px rgba(31,90,66,.18);
}

.priority-chip.limit-reached:not(:has(input:checked)) {
  opacity: .45;
  pointer-events: none;
}

.textarea-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.review-group {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.review-group h4 {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.review-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(31,50,41,.08);
  font-size: 11px;
}

.review-line:last-child {
  border-bottom: 0;
}

.review-line span {
  color: var(--muted);
}

.review-line strong {
  max-width: 58%;
  text-align: right;
  overflow-wrap: anywhere;
}

.consent-panel {
  margin-top: 22px;
  padding: 24px;
  border-radius: 20px;
  background: var(--green-soft);
}

.consent-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.55;
}

.consent-row input {
  position: absolute;
  opacity: 0;
}

.consent-box {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31,90,66,.35);
  border-radius: 7px;
  color: transparent;
  background: rgba(255,255,255,.7);
  transition: .2s ease;
}

.consent-row input:checked + .consent-box {
  color: #fff;
  background: var(--green);
}

.submit-button,
.next-button,
.secondary-button {
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.submit-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 20px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(31,90,66,.22);
}

.submit-button:hover,
.next-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 35px rgba(31,90,66,.25);
}

.submit-button:disabled {
  opacity: .58;
  cursor: wait;
}

.form-disclaimer {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.form-status {
  margin-top: 16px;
  padding: 15px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
}

.form-status.success,
.form-status.demo {
  color: var(--success);
  background: rgba(40,113,78,.1);
}

.form-status.error {
  color: var(--danger);
  background: rgba(180,69,64,.1);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px clamp(24px, 5vw, 56px) 28px;
  border-top: 1px solid var(--line);
}

.secondary-button,
.next-button {
  min-height: 47px;
  padding: 0 18px;
}

.secondary-button {
  color: var(--muted);
  background: var(--surface-soft);
}

.secondary-button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.next-button {
  min-width: 130px;
  color: #fff;
  background: var(--green);
}

.summary-column {
  position: sticky;
  top: 16px;
}

.summary-card {
  padding: 28px;
}

.summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.summary-head h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.summary-status {
  padding: 8px 11px;
  color: #8a6c39;
  background: var(--gold-soft);
}

.summary-status.ready {
  color: var(--success);
  background: rgba(40,113,78,.1);
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.summary-metrics article {
  min-width: 0;
  padding: 14px 10px;
  border-radius: 14px;
  background: var(--surface-soft);
  text-align: center;
}

.summary-metrics span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
}

.summary-metrics strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.summary-content {
  padding: 7px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 11px;
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  max-width: 60%;
  text-align: right;
}

.summary-section {
  padding-top: 20px;
}

.summary-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.summary-section-title span {
  font-size: 12px;
  font-weight: 800;
}

.summary-section-title small {
  color: var(--muted);
  font-size: 9px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag,
.empty-tag {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.tag {
  color: var(--green);
  background: var(--green-soft);
}

.empty-tag {
  color: var(--muted);
  background: var(--surface-soft);
}

.summary-insight {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.insight-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
}

.summary-insight strong {
  font-size: 11px;
}

.summary-insight p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 9px;
  line-height: 1.55;
}

.processing-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17,31,25,.74);
}

.processing-card {
  width: min(520px, 100%);
  padding: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, #173f2f, #102e22);
  box-shadow: 0 20px 55px rgba(0,0,0,.24);
  text-align: center;
  animation: modalIn .22s ease-out;
}

.processing-logo {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.processing-card h2 {
  margin: 0;
  font-size: 32px;
}

.processing-bar {
  height: 7px;
  overflow: hidden;
  margin: 24px 0;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.processing-bar span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d3b273, #f1dcae);
  transition: width .3s ease-out;
}

.processing-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.processing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  transition: .25s ease;
}

.processing-list li span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
}

.processing-list li.active {
  color: #fff;
}

.processing-list li.active span {
  border-color: #d3b273;
  box-shadow: inset 0 0 0 4px #173f2f;
  background: #d3b273;
}

.processing-list li.done {
  color: #a8ddb9;
}

.processing-list li.done span {
  display: grid;
  place-items: center;
  color: #173f2f;
  border-color: #a8ddb9;
  background: #a8ddb9;
}

.processing-list li.done span::after {
  content: "✓";
  font-size: 10px;
  font-weight: 800;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(157,226,185,.12); }
  50% { box-shadow: 0 0 0 10px rgba(157,226,185,0); }
}

@keyframes breathe {
  0%, 100% { transform: scale(.92); opacity: .6; }
  50% { transform: scale(1.08); opacity: .9; }
}

@keyframes floatCard {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-12px); }
}

@keyframes floatSmall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes processPulse {
  0%, 40%, 100% { box-shadow: 0 0 0 0 rgba(224,190,126,.4); opacity: .45; }
  15% { box-shadow: 0 0 0 8px rgba(224,190,126,0); opacity: 1; }
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes modalIn {
  from { opacity: 0; transform: scale(.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 350px;
  }

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

  .summary-column {
    position: static;
    order: -1;
  }

  .summary-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 22px;
  }

  .summary-head,
  .summary-metrics,
  .summary-content,
  .summary-section,
  .summary-insight {
    grid-column: auto;
  }
}

@media (max-width: 850px) {
  .page-shell {
    width: min(100% - 18px, 1480px);
    margin-top: 9px;
  }

  .hero-panel,
  .form-card,
  .summary-card {
    border-radius: 24px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-features article {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 10px;
  }

  .form-header {
    grid-template-columns: 1fr;
  }

  .step-navigation {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    justify-content: start;
  }

  .field-grid,
  .addons-grid,
  .review-card,
  .budget-flex-panel {
    grid-template-columns: 1fr;
  }

  .budget-flex-panel,
  .addon-details {
    grid-template-columns: 1fr;
  }

  .summary-card {
    display: block;
  }

  .summary-metrics,
  .summary-content,
  .summary-section,
  .summary-insight {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .topbar {
    align-items: flex-start;
  }

  .availability-pill {
    max-width: 150px;
    justify-content: center;
    text-align: center;
  }

  .hero-panel {
    padding: 22px 18px 45px;
  }

  .hero-copy h1 {
    font-size: 45px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .visual-card-main {
    width: 88%;
  }

  .floating-card {
    min-width: 145px;
  }

  .form-header,
  .form-step {
    padding-left: 20px;
    padding-right: 20px;
  }

  .form-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading {
    grid-template-columns: 42px 1fr;
  }

  .section-heading > span {
    width: 42px;
    height: 42px;
  }

  .segment-control {
    grid-template-columns: 1fr;
  }

  .summary-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .summary-metrics article:last-child {
    grid-column: 1 / -1;
  }

  .processing-card {
    padding: 28px 22px;
  }
}

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


/* Lekka wersja: ogranicza koszt renderowania bez usuwania interakcji. */
.hero-panel,
.form-card,
.summary-card,
.visual-card,
.floating-card {
  contain: layout paint;
}

.hero-panel,
.form-card,
.summary-card {
  background-clip: padding-box;
}

.hero-panel::after {
  opacity: .055;
}

.visual-progress i {
  box-shadow: 0 0 0 5px rgba(224,190,126,.12);
}

.floating-card {
  will-change: auto;
}

.form-step:not(.active) {
  content-visibility: hidden;
}

@media (max-width: 900px) {
  .hero-panel::after,
  .visual-glow {
    display: none;
  }

  .hero-panel,
  .form-card,
  .summary-card {
    box-shadow: 0 10px 28px rgba(29, 48, 39, .09);
  }
}

@media (prefers-reduced-motion: reduce) {
  .availability-dot {
    animation: none !important;
  }
}


/* Tryb osadzony na podstronie portfolio. */
html.embed-mode body { background: transparent; }
html.embed-mode .page-shell { width: 100%; margin: 0; }
html.embed-mode .hero-panel { display: none; }
html.embed-mode .workspace { margin-top: 0; gap: 18px; }
html.embed-mode .form-card,
html.embed-mode .summary-card { box-shadow: none; border-color: #d9e2dc; }
html.embed-mode .form-card { border-radius: 0; border-left: 0; border-top: 0; border-bottom: 0; }
html.embed-mode .summary-card { border-radius: 20px; }
html.embed-mode .summary-column { top: 12px; padding: 14px 14px 14px 0; }
html.embed-mode .form-header { padding-top: 32px; }
@media (max-width: 1180px) {
  html.embed-mode .workspace { grid-template-columns: 1fr; }
  html.embed-mode .summary-column { position: static; padding: 0 16px 16px; }
  html.embed-mode .form-card { border-right: 0; border-bottom: 1px solid #d9e2dc; }
}
