.site-header,
.smart-fold-bar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 232, 0.78);
}

.wordmark {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.btn-primary,
.btn-secondary,
.jump-tool-btn,
[data-jump-tool] {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  height: 46px;
  justify-content: center;
  line-height: 1;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.btn-primary,
header .btn-primary,
nav .btn-primary,
.site-header nav a.btn-primary,
.smart-fold-bar .btn-primary,
.jump-tool-btn,
[data-jump-tool] {
  background: var(--primary) !important;
  color: var(--on-primary, #ffffff) !important;
  font-weight: 700 !important;
}

.btn-primary:hover,
.jump-tool-btn:hover,
[data-jump-tool]:hover {
  box-shadow: 0 10px 24px rgba(217, 95, 24, 0.24);
}

.btn-primary:active,
.btn-secondary:active,
.jump-tool-btn:active,
[data-jump-tool]:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
}

.mobile-jump {
  display: none;
}

[data-layer="marketing"] {
  min-height: calc(100vh - 68px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 72px) 34px;
}

.hero h1,
.section-title,
#workspace-title {
  color: var(--navy);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin: 0;
  max-width: 780px;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.photo-thumbnail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.photo-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #f1f2f4;
}

.hero-copy {
  color: #35445a;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
  margin: 18px 0 26px;
  max-width: 720px;
}

.hero-actions,
.preset-row,
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.glass-card,
.capture-card,
.checklist-card,
.job-strip {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-card {
  padding: 20px;
}

.proof-item,
.price-line,
.detail-line,
.missing-link {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.proof-item {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.proof-item:last-child {
  border-bottom: 0;
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 10px;
  white-space: nowrap;
}

.status-pill.missing {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-pill.ready {
  background: var(--success-soft);
  color: var(--success);
}

.status-pill.neutral {
  background: rgba(19, 34, 56, 0.08);
  color: var(--muted);
}

.status-rail {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.status-rail [data-required-count] {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.pricing-toggle,
.pill-group,
.checklist-area-tabs {
  background: rgba(19, 34, 56, 0.06);
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
}

.pricing-toggle button,
.pill-group button,
.checklist-area-tabs button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  min-height: 36px;
  padding: 0 12px;
}

.pricing-toggle button[aria-pressed="true"],
.pill-group button[aria-pressed="true"],
.checklist-area-tabs button[aria-pressed="true"] {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 5px 14px rgba(19, 34, 56, 0.12);
}

.price {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout-disabled {
  background: rgba(19, 34, 56, 0.08);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-weight: 800;
  height: 44px;
  align-items: center;
  padding: 0 16px;
}

.smart-fold-bar {
  align-items: center;
  background: rgba(255, 254, 250, 0.88);
  border-bottom: 1px solid var(--line);
  display: none;
  gap: 12px;
  height: 44px;
  justify-content: space-between;
  padding: 0 clamp(14px, 4vw, 44px);
  position: sticky;
  top: 0;
  z-index: 22;
}

body.returning [data-layer="marketing"] {
  display: none;
}

body.returning .smart-fold-bar {
  display: flex;
}

.page-shell {
  padding: 28px clamp(14px, 4vw, 44px) 44px;
}

[data-layer="utility"] {
  scroll-margin-top: 68px;
}

body.returning [data-layer="utility"] {
  scroll-margin-top: 44px;
}

.job-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
}

.job-strip > div:last-child {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.reset-draft-btn {
  height: 38px;
  margin-top: 6px;
}

#workspace-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(260px, 0.72fr) minmax(340px, 1fr);
  gap: 16px;
  min-width: 0;
}

.capture-card,
.checklist-card {
  min-width: 0;
  padding: 18px;
}

.capture-card h2,
.checklist-card h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
}

form {
  display: grid;
  gap: 16px;
}

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

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

.field label,
.form-label {
  color: #35445a;
  font-size: 0.82rem;
  font-weight: 800;
}

input,
textarea,
select {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 34, 56, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 44px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 82px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 95, 24, 0.16);
}

.preset-row button,
.chip-button {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 38px;
  padding: 0 12px;
}

.file-input {
  border-style: dashed;
}

.line-items {
  display: grid;
  gap: 8px;
}

.line-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

.checklist-group {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.checklist-group:first-of-type {
  border-top: 0;
}

.checklist-group h3 {
  align-items: center;
  display: flex;
  font-family: var(--font-heading);
  font-size: 1rem;
  justify-content: space-between;
  line-height: 1.2;
  margin: 0 0 8px;
}

.checklist-group h3 span:last-child {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
}

.checklist-intro {
  color: #35445a;
  line-height: 1.45;
  margin: -2px 0 12px;
}

.checklist-area-tabs {
  margin-bottom: 8px;
}

.packet-status-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  line-height: 1.4;
  margin: 10px 0 12px;
  padding: 12px;
}

.packet-status-card strong {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.2;
}

.packet-status-card p {
  color: #35445a;
  margin: 0;
}

.packet-missing {
  background: var(--danger-soft);
  border-color: rgba(164, 61, 36, 0.26);
}

.packet-ready {
  background: var(--success-soft);
  border-color: rgba(29, 127, 79, 0.3);
}

.packet-empty {
  background: rgba(255, 255, 255, 0.66);
}

.missing-group {
  display: grid;
  gap: 6px;
}

.missing-group h4 {
  color: var(--danger);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin: 6px 0 0;
  text-transform: uppercase;
}

.evidence-check {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #35445a;
  cursor: pointer;
  display: flex;
  gap: 10px;
  line-height: 1.35;
  margin-top: 8px;
  padding: 10px;
}

.evidence-check input {
  accent-color: var(--success);
  flex: 0 0 auto;
  margin-top: 2px;
  min-height: 18px;
  width: 18px;
}

.evidence-check.is-checked {
  background: var(--success-soft);
  border-color: rgba(29, 127, 79, 0.34);
  color: var(--navy);
}

.missing-link {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #35445a;
  margin-top: 8px;
  padding: 10px;
  text-decoration: none;
}

.deliverable-wrapper {
  min-width: 0;
}

[data-deliverable="sheet"] {
  background: var(--paper);
  border: 1px solid rgba(19, 34, 56, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(19, 34, 56, 0.18);
  overflow: hidden;
}

.sheet-toolbar {
  align-items: center;
  background: rgba(19, 34, 56, 0.04);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  padding: 12px;
}

.sheet-toolbar span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

table,
.table-wrap,
.table-wrapper,
.table-container {
  max-width: 100%;
  overflow-x: auto;
}

#executive-deliverable {
  background: var(--paper);
  color: #111827;
  display: grid;
  gap: 14px;
  min-height: 640px;
  padding: clamp(18px, 3vw, 32px);
}

.deliverable-head {
  display: flex;
  align-items: flex-start;
  border-bottom: 2px solid #111827;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
}

.deliverable-head h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}

.deliverable-logo {
  border: 1px dashed rgba(17, 24, 39, 0.28);
  border-radius: 6px;
  color: #647083;
  display: grid;
  font-size: 0.78rem;
  min-height: 54px;
  min-width: 128px;
  place-items: center;
  text-align: center;
}

.meta-date,
.meta-time,
.packet-id {
  white-space: nowrap;
}

.deliverable-section {
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
  padding: 12px;
}

.deliverable-section h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

.detail-line {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  padding-bottom: 6px;
}

.detail-line span:first-child {
  color: #526071;
  font-size: 0.78rem;
  font-weight: 800;
}

.detail-line span:last-child {
  font-weight: 800;
  text-align: right;
}

.note-callout,
.free-watermark,
.status-callout {
  background: rgba(217, 95, 24, 0.08);
  border-radius: 6px;
  line-height: 1.45;
  padding: 10px;
}

.status-section {
  grid-column: 1 / -1;
}

.handoff-summary,
.handoff-missing-section {
  grid-column: 1 / -1;
}

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

.summary-grid > div {
  background: rgba(19, 34, 56, 0.04);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 6px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
}

.summary-grid span,
.checklist-state-row strong,
.handoff-missing-group h4 {
  color: #526071;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.summary-grid strong {
  color: #111827;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.summary-grid p {
  line-height: 1.4;
  margin: 0;
  overflow-wrap: anywhere;
}

.checklist-state-list {
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
}

.checklist-state-row {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  line-height: 1.35;
}

.checklist-state-row span:first-child {
  display: grid;
  gap: 2px;
}

.checklist-state-row span:last-child {
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 8px;
  white-space: nowrap;
}

.checklist-state-row.is-complete span:last-child,
.handoff-empty-list {
  background: var(--success-soft);
  color: var(--success);
}

.checklist-state-row.is-missing span:last-child {
  background: var(--danger-soft);
  color: var(--danger);
}

.handoff-empty-list {
  border-radius: 6px;
  font-weight: 800;
  padding: 10px;
}

.handoff-missing-group {
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  padding: 10px 0 0;
}

.handoff-missing-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.handoff-missing-group h4 {
  margin: 0 0 6px;
}

.handoff-missing-group ul {
  line-height: 1.42;
  margin: 0;
  padding-left: 18px;
}

.handoff-missing-group li + li {
  margin-top: 4px;
}

.status-callout {
  display: grid;
  gap: 6px;
}

.status-callout strong {
  color: var(--danger);
}

.status-callout p {
  margin: 0;
}

.status-section.is-ready .status-callout {
  background: var(--success-soft);
}

.status-section.is-ready .status-callout strong {
  color: var(--success);
}

.free-watermark {
  color: #526071;
  font-size: 0.82rem;
  text-align: center;
}

.modal {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
  padding: 22px;
}

.modal::backdrop {
  background: rgba(19, 34, 56, 0.44);
}

.hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero,
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .deliverable-wrapper {
    order: 3;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .mobile-jump {
    display: inline-flex;
  }

  .site-header nav {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }

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

  .pricing-toggle,
  .pill-group,
  .checklist-area-tabs {
    border-radius: 12px;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .capture-card,
  .checklist-card {
    padding: 14px;
  }

  .job-strip,
  .deliverable-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2.55rem;
  }
}

@page {
  margin: 10mm;
}

@media print {
  body,
  main,
  .page-shell,
  .workspace,
  .deliverable-wrapper {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  table,
  tr,
  td,
  th,
  .deliverable-section,
  .deliverable-card,
  .deliverable-head,
  article,
  [data-deliverable="sheet"] {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  form,
  nav,
  header,
  footer,
  button,
  [data-layer="marketing"],
  [data-action="print-deliverable"],
  [data-action="export-csv"],
  .smart-fold-bar,
  .capture-card,
  .checklist-card,
  .job-strip,
  .sheet-toolbar {
    display: none !important;
  }

  [data-deliverable="sheet"] {
    border: 0;
    box-shadow: none;
  }

  #executive-deliverable {
    min-height: auto;
    padding: 0.35in;
  }
}

a.nav-tools-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 12px;
  line-height: 1.2;
}

.nav-tools-link,
a.nav-tools-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 12px;
  line-height: 1.2;
}

a.nav-tools-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 14px;
  line-height: 1.2;
}

a.nav-tools-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  line-height: 1.2;
}

a.nav-tools-link,
.nav-tools-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 12px;
  line-height: 1.2;
}
