:root {
  --ink: #16211f;
  --muted: #63716d;
  --line: #d9e1dd;
  --panel: #ffffff;
  --soft: #f4f7f5;
  --mint: #57c49f;
  --teal: #0f7d7e;
  --coral: #ef7d59;
  --gold: #d6a23c;
  --shadow: 0 18px 50px rgba(29, 47, 42, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(87, 196, 159, 0.16), transparent 32%),
    linear-gradient(300deg, rgba(239, 125, 89, 0.12), transparent 36%),
    #eef3f0;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px;
  color: #f7fffb;
  background: #172522;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #10211e;
  background: var(--mint);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 5px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.68;
}

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

h1 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.workspace-switcher {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.backup-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.backup-panel h2 {
  font-size: 1rem;
}

.backup-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.backup-panel small {
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.45;
}

.import-button {
  display: grid;
  place-items: center;
  text-align: center;
}

#importWorkspaces {
  display: none;
}

.workspace-switcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workspace-switcher h2 {
  font-size: 1rem;
}

.workspace-list {
  display: grid;
  gap: 7px;
  max-height: 220px;
  overflow: auto;
}

.workspace-item {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.workspace-item strong,
.workspace-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-item span {
  font-size: 0.73rem;
  opacity: 0.68;
}

.workspace-item.is-active {
  color: #ffffff;
  border-color: rgba(87, 196, 159, 0.5);
  background: rgba(87, 196, 159, 0.14);
}

.workspace-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini-button,
.tool-button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f7fffb;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 800;
}

.tool-button.danger {
  color: #ffe8df;
}

.tool-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.workspace-switcher small {
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.45;
}

.section-tabs {
  display: grid;
  gap: 8px;
}

.tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.tab span {
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 800;
}

.tab.is-active {
  color: #ffffff;
  border-color: rgba(87, 196, 159, 0.5);
  background: rgba(87, 196, 159, 0.14);
}

.score-panel {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.score-panel p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.score-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
}

.score-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.meter {
  height: 9px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--mint));
  transition: width 200ms ease;
}

.workspace {
  min-width: 0;
  padding: 28px;
}

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

.topbar .eyebrow,
.section-copy p,
.preview .eyebrow {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.primary-button,
.secondary-button,
.icon-button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

.primary-button {
  padding: 0 18px;
  color: white;
  background: var(--teal);
}

.secondary-button {
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  color: var(--ink);
  border-color: var(--line);
  background: white;
  text-decoration: none;
}

.link-button {
  white-space: nowrap;
}

.icon-button {
  display: grid;
  width: 42px;
  place-items: center;
  border-color: var(--line);
  background: white;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  gap: 22px;
  align-items: start;
}

.notice-band {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 162, 60, 0.42);
  border-radius: 8px;
  color: #503b14;
  background: #fff7e6;
  line-height: 1.45;
}

.notice-band strong {
  flex: 0 0 auto;
}

.builder,
.preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.builder {
  padding: 22px;
}

.form-section {
  display: none;
}

.form-section.is-visible {
  display: grid;
  gap: 16px;
}

.section-copy {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.section-copy p {
  margin-bottom: 0;
  line-height: 1.55;
}

label {
  display: grid;
  gap: 8px;
  color: #2f3c39;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6d1;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(15, 125, 126, 0.22);
  outline-offset: 2px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check-grid {
  display: grid;
  gap: 10px;
}

.check-card {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 600;
  line-height: 1.45;
}

.check-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.preview {
  position: sticky;
  top: 28px;
  overflow: hidden;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.preview-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.preview-header span {
  align-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  color: #31524c;
  background: #dff4eb;
  font-size: 0.76rem;
  font-weight: 800;
}

.document-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: #f9fbfa;
}

.doc-tab {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.doc-tab.is-active {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}

.document-preview {
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding: 24px;
  line-height: 1.6;
}

.print-pack {
  display: none;
}

.document-preview h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.document-preview h3 {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.document-preview ul {
  padding-left: 20px;
}

.document-preview li + li {
  margin-top: 7px;
}

.answer-list {
  display: grid;
  gap: 12px;
}

.answer-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.answer-card strong {
  display: block;
  margin-bottom: 6px;
}

.answer-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.questionnaire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.readiness-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.readiness-hero div {
  display: grid;
  gap: 8px;
}

.readiness-hero strong {
  font-size: 2.4rem;
}

.readiness-status {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.readiness-status.ready-to-send-after-review {
  color: #174338;
  background: #cbf2e3;
}

.readiness-status.needs-review {
  color: #563f11;
  background: #fff0c2;
}

.readiness-status.not-deal-ready {
  color: #6c2417;
  background: #ffe1d6;
}

.readiness-card {
  display: grid;
  gap: 8px;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.questionnaire-summary {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #31524c;
  background: #dff4eb;
  font-weight: 700;
  line-height: 1.45;
}

.questionnaire-card {
  display: grid;
  gap: 8px;
}

.questionnaire-card small {
  color: var(--muted);
  font-weight: 700;
}

.status-pill {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-pill.ready-to-send {
  color: #174338;
  background: #cbf2e3;
}

.status-pill.needs-review {
  color: #563f11;
  background: #fff0c2;
}

.status-pill.cannot-answer-yes-yet {
  color: #6c2417;
  background: #ffe1d6;
}

.status-pill.high {
  color: #6c2417;
  background: #ffe1d6;
}

.status-pill.medium {
  color: #563f11;
  background: #fff0c2;
}

.evidence-coverage {
  display: grid;
  gap: 8px;
}

.coverage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.coverage-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.coverage-status.evidence-tracked {
  color: #174338;
  background: #cbf2e3;
}

.coverage-status.needs-evidence {
  color: #563f11;
  background: #fff0c2;
}

.coverage-status.control-not-implemented {
  color: #4d5968;
  background: #e8edf2;
}

.evidence-card {
  display: grid;
  gap: 8px;
}

.evidence-card small {
  color: var(--muted);
  font-weight: 700;
}

.tool-button.light {
  width: fit-content;
  color: var(--ink);
  border-color: var(--line);
  background: #ffffff;
}

.sales-page {
  background: #f4f7f5;
}

.sales-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
}

.sales-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.sales-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.sales-nav nav a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.sales-nav-button {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 8px;
  color: #ffffff !important;
  background: var(--teal);
}

.sales-hero,
.sales-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px;
}

.sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 92px);
}

.sales-hero-copy {
  display: grid;
  gap: 18px;
}

.sales-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  line-height: 0.95;
}

.sales-hero-copy > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sales-actions .primary-button,
.sales-actions .secondary-button {
  min-height: 46px;
}

.sales-disclaimer {
  max-width: 620px;
  font-size: 0.9rem !important;
}

.sales-product-shot {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.shot-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.shot-topline span,
.shot-row span {
  color: var(--muted);
  font-weight: 800;
}

.shot-topline strong {
  font-size: 3rem;
}

.shot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border-radius: 8px;
}

.shot-row.good {
  background: #dff4eb;
}

.shot-row.warn {
  background: #fff0c2;
}

.shot-row.block {
  background: #ffe1d6;
}

.sales-section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 22px;
}

.sales-section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article,
.pricing-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-grid p,
.pricing-grid p,
.audience-list span,
.privacy-section p,
.concierge-section p {
  color: var(--muted);
  line-height: 1.6;
}

.audience-list {
  display: grid;
  gap: 12px;
}

.audience-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.pricing-grid article {
  display: grid;
  gap: 12px;
}

.pricing-grid article > span {
  color: var(--teal);
  font-weight: 800;
}

.pricing-grid article > strong {
  font-size: 2.3rem;
}

.pricing-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.featured-plan {
  border-color: rgba(15, 125, 126, 0.45) !important;
  box-shadow: var(--shadow);
}

.privacy-section,
.concierge-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.concierge-section {
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}

.lead-section {
  padding-top: 24px;
}

.lead-form {
  display: grid;
  gap: 16px;
  max-width: 860px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-status {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.sample-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 36px;
}

.sample-hero-copy {
  display: grid;
  gap: 16px;
}

.sample-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  line-height: 0.96;
}

.sample-hero-copy > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.sample-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.sample-score {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.sample-score span {
  color: var(--muted);
  font-weight: 800;
}

.sample-score strong {
  font-size: 3.6rem;
  line-height: 1;
}

.sample-score p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.sample-sections {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.sample-section-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.sample-section-card h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.sample-section-card p {
  color: var(--muted);
  line-height: 1.6;
}

.sample-table-wrap {
  overflow-x: auto;
}

.sample-table-wrap table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.sample-table-wrap td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
  vertical-align: top;
}

.sample-table-wrap td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.buy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 36px;
}

.buy-hero-copy {
  display: grid;
  gap: 16px;
}

.buy-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  line-height: 0.96;
}

.buy-hero-copy > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.checkout-note {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.checkout-note span,
.checkout-placeholder-note {
  color: var(--muted);
  font-weight: 800;
}

.checkout-note strong {
  font-size: 1.7rem;
  line-height: 1.1;
}

.checkout-note p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.buy-package-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.buy-package-card > span {
  color: var(--teal);
  font-weight: 800;
}

.buy-package-card > strong {
  font-size: 3rem;
  line-height: 1;
}

.buy-package-card p {
  color: var(--muted);
  line-height: 1.6;
}

.buy-package-card ul,
.readiness-checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.buy-package-card .primary-button {
  width: fit-content;
  text-decoration: none;
}

.checkout-policy-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.policy-copy {
  display: grid;
  gap: 12px;
}

.policy-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.inline-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-link-row a {
  color: var(--teal);
  font-weight: 800;
}

.checkout-readiness-section {
  padding-top: 24px;
}

.legal-hero {
  display: grid;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px 28px;
}

.legal-hero h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.legal-hero > p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.legal-sections {
  display: grid;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.legal-section-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.legal-section-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.legal-section-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

  .sidebar {
    position: static;
  }

  .section-tabs {
    grid-template-columns: repeat(7, 1fr);
  }

  .score-panel {
    margin-top: 0;
  }

  .workspace-list {
    max-height: none;
  }

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

  .preview {
    position: static;
  }

  .document-preview {
    max-height: none;
  }

  .sales-hero,
  .sample-hero,
  .buy-hero,
  .feature-grid,
  .pricing-grid,
  .buy-package-grid,
  .privacy-section,
  .concierge-section,
  .checkout-policy-section,
  .lead-grid,
  .sample-section-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .sales-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .sales-nav nav {
    justify-content: flex-start;
  }

  .sales-hero,
  .sample-hero,
  .buy-hero,
  .sales-section {
    padding: 36px 18px;
  }

  .sales-hero-copy h1,
  .sample-hero-copy h1,
  .buy-hero-copy h1,
  .legal-hero h1 {
    font-size: 2.7rem;
  }

  .sales-actions .primary-button,
  .sales-actions .secondary-button {
    width: 100%;
  }

  .shot-row,
  .shot-topline,
  .audience-list div {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .workspace,
  .sidebar {
    padding: 18px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .actions {
    justify-content: stretch;
  }

  .actions .primary-button,
  .actions .secondary-button {
    flex: 1 1 150px;
  }

  .section-tabs {
    grid-template-columns: 1fr;
  }

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

  .notice-band {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .readiness-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .app-shell {
    display: none;
  }

  .print-pack {
    display: block;
    max-width: 760px;
    margin: 0 auto;
    color: #111111;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.55;
  }

  .print-pack h2 {
    margin: 0 0 18px;
    font-size: 26px;
  }

  .print-pack h3 {
    margin: 24px 0 8px;
    padding-top: 12px;
    border-top: 1px solid #d7d7d7;
    font-size: 18px;
  }

  .print-pack h4 {
    margin: 18px 0 6px;
    font-size: 15px;
  }

  .print-pack p,
  .print-pack li,
  .print-pack pre {
    font-size: 12px;
  }

  .print-pack pre {
    white-space: pre-wrap;
    word-break: break-word;
  }
}
