:root {
  --ink: #171833;
  --text: #30324f;
  --muted: #777b99;
  --line: #e7e8f5;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: #ffffff;
  --violet: #6652f4;
  --violet-dark: #5743dd;
  --pink: #f05eb6;
  --green: #22ad7c;
  --amber: #f5a524;
  --lavender: #f2f0ff;
  --rose: #fff0f8;
  --blue-soft: #eef5ff;
  --shadow: 0 22px 60px rgba(52, 47, 121, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f7f8ff;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 221, 226, 0.95), transparent 19rem),
    radial-gradient(circle at 83% 78%, rgba(216, 224, 255, 0.95), transparent 22rem),
    linear-gradient(180deg, #fbfbff 0%, #f5f6ff 100%);
}

body[data-view="home"] .topbar {
  margin-bottom: 0;
}

body[data-view="home"] .topbar h1,
body[data-view="home"] .top-progress {
  display: none;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.app-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.about-link,
.nav-item {
  border: 0;
  background: transparent;
  color: inherit;
}

.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--violet);
  background: var(--lavender);
}

.brand svg,
.nav-item svg,
.about-link svg,
.btn svg,
.status svg,
.mini-card svg,
.check-row svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.main-nav {
  display: grid;
  gap: 10px;
}

.nav-item,
.about-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #8185a1;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.nav-item:hover,
.about-link:hover {
  color: var(--violet);
  background: #f8f7ff;
}

.nav-item.active {
  color: var(--violet);
  background: var(--lavender);
}

.side-note {
  flex: 1;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 12px;
  border: 1px solid #ffd8ec;
  border-radius: var(--radius);
  color: #a03570;
  background: var(--rose);
  font-size: 0.74rem;
  line-height: 1.45;
  overflow: hidden;
}

.side-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.side-note p {
  margin: 0;
}

.ad-space {
  padding: 0;
  border-color: var(--line);
  background: #fff;
}

.ad-space img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: fill;
  object-position: center;
}

.about-link {
  min-height: 44px;
  margin-top: auto;
}

.workspace {
  min-width: 0;
  padding: 26px clamp(18px, 4vw, 48px) 38px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 12px;
  border: 1px solid #ddd9ff;
  border-radius: 999px;
  color: var(--violet);
  background: rgba(242, 240, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.6vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.32rem;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 8px;
  color: #292b4f;
  font-size: 0.98rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.progress-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(34, 173, 124, 0.18);
  border-radius: 999px;
  color: #16845d;
  background: rgba(34, 173, 124, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.top-progress {
  width: min(460px, 62vw);
  height: 4px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(231, 232, 245, 0.95);
}

.top-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  transition: width 0.25s ease;
}

.view-root {
  animation: fadeIn 0.22s ease-out;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

body[data-view="home"] .dashboard-grid {
  margin-top: 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.screen-card {
  min-height: 840px;
}

.screen-card.stack {
  align-content: stretch;
}

.wizard-card {
  display: grid;
  grid-template-rows: auto auto minmax(520px, 1fr) auto;
}

.screen-card > .screen-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.screen-card > .screen-head .accent-line {
  margin: 13px 0 0;
}

.panel-pad {
  padding: clamp(20px, 3vw, 30px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 20px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 221, 208, 0.92), transparent 8rem),
    radial-gradient(circle at 86% 70%, rgba(204, 211, 255, 0.82), transparent 13rem),
    linear-gradient(110deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 52%, rgba(249,247,255,0.8) 100%);
}

.hero-panel > * {
  position: relative;
}

.hero-copy {
  align-self: end;
  z-index: 2;
}

.hero-copy h2 {
  max-width: 650px;
  font-size: clamp(2.1rem, 4.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.hero-stat {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #565a7f;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-stat svg {
  width: 15px;
  height: 15px;
  color: var(--violet);
}

.hero-illustration {
  position: relative;
  align-self: end;
  justify-self: stretch;
  min-height: 390px;
  isolation: isolate;
}

.hero-illustration::before {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 8%;
  width: min(31vw, 410px);
  height: min(31vw, 410px);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 244, 235, 0.85), rgba(235, 234, 255, 0.86)),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.88), transparent 45%);
  box-shadow: inset 0 0 80px rgba(130, 107, 220, 0.14), 0 28px 70px rgba(101, 83, 190, 0.12);
  z-index: 0;
}

.sun {
  position: absolute;
  right: 31%;
  bottom: 59%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd0a5, #ffb6d8);
  box-shadow: 0 0 40px rgba(255, 178, 154, 0.6);
  z-index: 1;
}

.mountain {
  position: absolute;
  right: 10%;
  bottom: 23%;
  width: min(28vw, 360px);
  height: min(15vw, 190px);
  clip-path: polygon(0 82%, 25% 28%, 42% 58%, 61% 15%, 100% 82%, 100% 100%, 0 100%);
  z-index: 2;
}

.mountain-back {
  right: 19%;
  bottom: 31%;
  opacity: 0.82;
  background: linear-gradient(135deg, #f4a5cf 0%, #a994f4 54%, #6d63de 100%);
}

.mountain-front {
  background: linear-gradient(135deg, #dfb2ff 0%, #9b8bf1 42%, #6253d6 100%);
  filter: drop-shadow(0 24px 32px rgba(83, 73, 167, 0.22));
}

.lake {
  position: absolute;
  right: 15%;
  bottom: 18%;
  width: min(25vw, 320px);
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(138, 125, 239, 0.22), rgba(255,255,255,0.35));
  transform: rotate(-4deg);
  z-index: 3;
}

.lavender {
  position: absolute;
  bottom: 8%;
  width: 5px;
  height: 126px;
  border-radius: 999px;
  background: linear-gradient(#7b6af1, #88c3b0);
  transform-origin: bottom center;
  z-index: 4;
}

.lavender::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 36px;
  height: 92px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 8%, #8d6cff 0 4px, transparent 5px),
    radial-gradient(circle at 35% 23%, #a76bff 0 4px, transparent 5px),
    radial-gradient(circle at 62% 34%, #6e63ef 0 4px, transparent 5px),
    radial-gradient(circle at 38% 49%, #9a73ff 0 4px, transparent 5px),
    radial-gradient(circle at 61% 64%, #6f65e9 0 4px, transparent 5px),
    radial-gradient(circle at 44% 80%, #b36fe8 0 4px, transparent 5px);
}

.lavender-one {
  right: 39%;
  transform: rotate(-12deg);
}

.lavender-two {
  right: 31%;
  height: 154px;
  transform: rotate(4deg);
}

.lavender-three {
  right: 24%;
  height: 118px;
  transform: rotate(14deg);
}

.accent-line {
  width: min(460px, 74%);
  height: 4px;
  margin: 20px 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink), rgba(240, 94, 182, 0.1));
}

.lede {
  max-width: 610px;
  color: var(--muted);
  line-height: 1.75;
}

.quick-actions,
.mini-grid,
.two-col,
.form-grid {
  display: grid;
  gap: 14px;
}

.quick-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
  align-items: start;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 16px;
}

.mini-card,
.action-card,
.summary-card,
.question-card,
.check-row,
.heir-row,
.option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.mini-card,
.action-card,
.summary-card,
.question-card,
.option-card {
  padding: 16px;
}

.question-card {
  box-shadow: 0 10px 24px rgba(69, 63, 141, 0.05);
}

.mini-card {
  min-height: 116px;
}

.mini-card svg,
.action-card svg {
  color: var(--violet);
}

.mini-card p,
.action-card p,
.summary-card p,
.question-card p,
.muted {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.action-card {
  display: grid;
  gap: 8px;
  min-height: 124px;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.action-card:hover {
  border-color: #d8d2ff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(77, 67, 160, 0.1);
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--violet);
  border-radius: var(--radius);
  color: #fff;
  background: var(--violet);
  font-weight: 800;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  border-color: var(--violet-dark);
  background: var(--violet-dark);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--line);
  color: #565a7f;
  background: #fff;
}

.btn.ghost:hover {
  border-color: #d8d2ff;
  color: var(--violet);
  background: #f8f7ff;
}

.btn.full {
  width: 100%;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group.compact {
  gap: 5px;
}

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

label {
  color: #292b4f;
  font-size: 0.82rem;
  font-weight: 800;
}

.field {
  width: 100%;
  min-height: 44px;
  padding: 0.72rem 0.86rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea.field {
  resize: vertical;
}

.field:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(102, 82, 244, 0.12);
}

.field-group.invalid .field,
.field-group.invalid select,
.field-group.invalid textarea {
  border-color: #dc3f61;
  background: #fff8fb;
}

.field-error {
  margin: 0;
  color: #c02d50;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.validation-summary {
  padding: 12px 14px;
  border: 1px solid rgba(220, 63, 97, 0.24);
  border-radius: var(--radius);
  color: #9f2441;
  background: #fff2f6;
  font-size: 0.86rem;
  font-weight: 800;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #565a7f;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}

.chip.active {
  border-color: var(--violet);
  color: #fff;
  background: var(--violet);
}

.heir-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 150px 96px 40px;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #c5455c;
  background: #fff;
}

.status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(34, 173, 124, 0.18);
  border-radius: var(--radius);
  color: #16664d;
  background: rgba(34, 173, 124, 0.08);
  font-size: 0.85rem;
  line-height: 1.55;
}

.status.warn {
  border-color: rgba(245, 165, 36, 0.22);
  color: #83510c;
  background: rgba(245, 165, 36, 0.12);
}

.check-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  text-align: left;
}

.check-row svg {
  color: var(--green);
}

.check-row.incomplete svg {
  color: var(--amber);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wizard-step {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #767a99;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.wizard-step span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: var(--radius);
  color: #8589a8;
  background: #f5f6ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.wizard-step strong {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}

.wizard-step.active {
  border-color: #d8d2ff;
  color: var(--violet);
  background: var(--lavender);
}

.wizard-step.active span,
.wizard-step.done span {
  color: #fff;
  background: var(--violet);
}

.wizard-actions {
  display: flex;
  align-self: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.wizard-content {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 520px;
}

.wizard-content > div:first-child {
  min-height: 62px;
}

.wizard-content .form-grid {
  align-self: start;
}

.wizard-content .question-card,
.wizard-content .status,
.wizard-content .field-group,
.wizard-content .empty {
  width: 100%;
}

.wizard-content .question-card {
  min-height: 116px;
}

.pdf-preview {
  position: sticky;
  top: 24px;
  padding: 18px;
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.pdf-page {
  min-height: 590px;
  padding: 42px 34px;
  border: 1px solid #ececf4;
  border-radius: var(--radius);
  color: #151515;
  background: #fff;
  box-shadow: 0 16px 34px rgba(35, 35, 62, 0.16);
  font-family: Georgia, "Times New Roman", serif;
}

.pdf-page h2 {
  padding: 10px 0;
  border-top: 2px solid #151515;
  border-bottom: 2px solid #151515;
  color: #151515;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 0;
}

.pdf-page p,
.pdf-page li {
  color: #2c2c2c;
  font-size: 0.82rem;
  line-height: 1.55;
}

.pdf-page .small-heading {
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid #d7d7d7;
  font-weight: 700;
}

.empty {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 22px;
  border: 1px dashed #d7d9ed;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

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

@media (max-width: 1080px) {
  .dashboard-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .pdf-preview {
    position: static;
  }
}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
  }

  .brand,
  .nav-item,
  .about-link {
    min-width: 72px;
  }

  .main-nav {
    display: flex;
    flex: 1 0 auto;
  }

  .side-note {
    display: none;
  }

  .workspace {
    padding: 22px 16px 34px;
  }

  .topbar {
    display: grid;
  }

  .topbar-actions {
    justify-content: space-between;
  }

  .hero-panel,
  .quick-actions,
  .mini-grid,
  .form-grid,
  .wizard-steps {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-copy h2,
  h1 {
    font-size: 2.2rem;
  }

  .heir-row {
    grid-template-columns: 1fr;
  }

  .screen-card {
    min-height: auto;
  }

  .wizard-card {
    grid-template-rows: auto auto auto auto;
  }

  .wizard-content {
    min-height: 0;
  }

  .icon-btn {
    width: 100%;
  }

  .wizard-actions {
    display: grid;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 82px;
    background:
      radial-gradient(circle at 72% 8%, rgba(255, 221, 226, 0.8), transparent 13rem),
      linear-gradient(180deg, #fbfbff 0%, #f5f6ff 100%);
  }

  .sidebar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    height: 76px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -16px 38px rgba(52, 47, 121, 0.1);
    overflow: visible;
  }

  .brand,
  .side-note {
    display: none;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
  }

  .nav-item,
  .about-link {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 58px;
    padding: 5px 3px;
    font-size: 0.64rem;
    line-height: 1.1;
    text-align: center;
  }

  .about-link {
    flex: 0 0 58px;
    margin-top: 0;
  }

  .brand svg,
  .nav-item svg,
  .about-link svg,
  .btn svg,
  .status svg,
  .mini-card svg,
  .check-row svg {
    width: 18px;
    height: 18px;
  }

  .workspace {
    padding: 16px 12px 22px;
  }

  .topbar {
    gap: 12px;
    margin-bottom: 14px;
  }

  .topbar-actions {
    width: 100%;
    align-items: stretch;
  }

  .topbar-actions .btn {
    min-width: 44px;
    padding: 0 11px;
  }

  .topbar-actions .btn span {
    display: none;
  }

  .eyebrow {
    margin-bottom: 9px;
    font-size: 0.68rem;
  }

  h1,
  .hero-copy h2 {
    font-size: clamp(1.85rem, 11vw, 2.45rem);
    line-height: 1.02;
  }

  h2 {
    font-size: 1.18rem;
  }

  .panel-pad {
    padding: 16px;
  }

  .dashboard-grid {
    gap: 14px;
  }

  .hero-panel {
    min-height: 0;
    padding-bottom: 180px;
  }

  .hero-copy {
    align-self: start;
  }

  .hero-illustration {
    position: absolute;
    right: -42px;
    bottom: -38px;
    width: 260px;
    min-height: 210px;
    opacity: 0.72;
    pointer-events: none;
  }

  .hero-illustration::before {
    right: 16%;
    bottom: 8%;
    width: 210px;
    height: 210px;
  }

  .sun {
    right: 38%;
    bottom: 62%;
    width: 34px;
    height: 34px;
  }

  .mountain {
    right: 12%;
    width: 210px;
    height: 112px;
  }

  .lake {
    right: 15%;
    width: 190px;
    height: 38px;
  }

  .lavender {
    height: 88px;
  }

  .lavender-two {
    height: 106px;
  }

  .quick-actions {
    gap: 10px;
  }

  .action-card,
  .mini-card,
  .summary-card,
  .question-card,
  .option-card {
    padding: 14px;
  }

  .screen-card > .screen-head {
    display: grid;
    gap: 10px;
  }

  .screen-card > .screen-head .progress-pill {
    width: fit-content;
  }

  .wizard-steps {
    display: flex;
    gap: 8px;
    margin-inline: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .wizard-step {
    flex: 0 0 146px;
    min-height: 52px;
    scroll-snap-align: start;
  }

  .wizard-step strong {
    font-size: 0.78rem;
  }

  .segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chip {
    width: 100%;
    padding: 0 8px;
    white-space: normal;
  }

  .check-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .check-row .muted {
    grid-column: 2;
  }

  .pdf-preview {
    padding: 12px;
  }

  .pdf-page {
    min-height: 430px;
    padding: 28px 18px;
    overflow-wrap: anywhere;
  }

  .pdf-page h2 {
    font-size: 0.95rem;
  }

  .pdf-page p,
  .pdf-page li {
    font-size: 0.75rem;
  }
}
