:root {
  color-scheme: light;
  --ink: #17201d;
  --ink-strong: #0c1412;
  --muted: #60736d;
  --paper: #f7f6f0;
  --surface: #ffffff;
  --surface-soft: #f1f5ef;
  --line: #d8ddd4;
  --brand: #0b7f72;
  --brand-dark: #075c53;
  --brand-soft: #dff4ed;
  --accent: #b85d32;
  --accent-dark: #7f3e23;
  --accent-soft: #fff0e5;
  --blue-soft: #eaf0f5;
  --sun: #e9ae41;
  --coral: #c95746;
  --aqua: #9adfd7;
  --danger: #7a2e22;
  --warning: #735219;
  --warning-bg: #fff4d8;
  --shadow-sm: 0 12px 34px rgba(25, 41, 36, 0.08);
  --shadow-lg: 0 28px 80px rgba(20, 32, 29, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fbfaf6 0, var(--paper) 420px),
    var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

body.is-unlocked .builder-lock {
  display: none;
}

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

button {
  cursor: pointer;
}

a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(12, 20, 18, 0.08);
  background: rgba(251, 250, 245, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--ink-strong), var(--brand-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 18px rgba(12, 20, 18, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}

.nav-links a,
.nav-cta {
  border-radius: 999px;
  color: var(--ink);
  padding: 8px 10px;
  font-size: 0.88rem;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.nav-cta {
  background: var(--ink-strong);
  color: #fff;
}

.nav-cta:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

main {
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: min(760px, 82vh);
  display: grid;
  align-items: end;
  padding: clamp(88px, 14vw, 168px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 72px);
  background:
    linear-gradient(90deg, rgba(8, 17, 15, 0.82) 0%, rgba(8, 17, 15, 0.58) 48%, rgba(8, 17, 15, 0.18) 100%),
    url("assets/product-preview.svg") center / cover no-repeat,
    var(--ink-strong);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(251, 250, 245, 0), var(--paper));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua);
}

.hero-kicker {
  max-width: 760px;
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.1rem, 12vw, 9.2rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}

.primary-button {
  background:
    linear-gradient(135deg, var(--brand) 0%, #0a6f67 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(13, 118, 110, 0.22);
}

.primary-button:hover {
  background: var(--brand-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(13, 118, 110, 0.26);
}

.primary-button [data-price-label] {
  margin-left: 4px;
}

.secondary-button,
.ghost-button,
.icon-button {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(25, 41, 36, 0.04);
}

.hero .secondary-button {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover {
  background: var(--surface-soft);
  text-decoration: none;
  border-color: #b7c7bf;
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
}

.proof-strip,
.steps-section,
.pricing-section,
.workspace,
.tracker-section,
.info-grid,
.terms-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(216, 221, 212, 0.9);
  border-radius: 10px;
  background: var(--line);
  transform: translateY(-18px);
  box-shadow: var(--shadow-sm);
}

.proof-strip div {
  display: grid;
  gap: 3px;
  padding: 18px;
  background: #fff;
  border-top: 3px solid transparent;
}

.proof-strip div:nth-child(1) {
  border-top-color: var(--brand);
}

.proof-strip div:nth-child(2) {
  border-top-color: var(--accent);
}

.proof-strip div:nth-child(3) {
  border-top-color: var(--sun);
}

.proof-strip strong {
  font-size: 0.98rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.steps-section,
.pricing-section,
.tracker-section {
  padding: clamp(42px, 6vw, 72px) 0;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-intro h2,
.pricing-copy h2,
.builder-header h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.steps-grid article,
.price-card,
.panel,
.info-block,
.terms-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.steps-grid article {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.steps-grid article::before,
.price-card::before,
.form-panel::before,
.output-panel::before {
  content: "";
  display: block;
  height: 4px;
  margin: -24px -24px 18px;
  background: var(--brand);
}

.steps-grid article:nth-child(2)::before {
  background: var(--accent);
}

.steps-grid article:nth-child(3)::before {
  background: var(--sun);
}

.steps-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--ink-strong);
  font-weight: 950;
  border: 1px solid #f0c29a;
}

.steps-grid h3,
.price-card h3,
.item-header h3,
.info-block h2,
.terms-panel h2,
.section-heading h2 {
  margin: 12px 0 8px;
  color: var(--ink-strong);
  letter-spacing: 0;
}

.steps-grid p,
.pricing-copy p,
.info-block p,
.terms-copy p,
.fine-print {
  color: var(--muted);
  margin: 0;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tracker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.tracker-form,
.tracker-panel,
.response-panel {
  min-height: 100%;
}

.response-panel {
  grid-column: 1 / -1;
}

.tracker-empty {
  border: 1px dashed #b7c6bf;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 18px;
  text-align: center;
  font-weight: 800;
}

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

.tracker-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.tracker-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.tracker-card h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.tracker-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.tracker-meta-item {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.tracker-meta dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tracker-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.tracker-notes {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.tracker-action {
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 850;
}

.deadline-overdue {
  color: var(--danger);
}

.deadline-soon {
  color: var(--warning);
}

.deadline-ok {
  color: var(--brand-dark);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-sent,
.status-delivered {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.status-follow-up-needed {
  background: var(--warning-bg);
  color: var(--warning);
}

.status-response-received,
.status-closed {
  background: #edf0f6;
  color: #34425d;
}

.pricing-copy p {
  max-width: 650px;
  margin-top: 16px;
  font-size: 1.04rem;
}

.legal-callout {
  display: grid;
  gap: 4px;
  max-width: 680px;
  margin-top: 22px;
  border: 1px solid #f0c6ac;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
  padding: 15px 16px;
  color: var(--accent-dark);
}

.legal-callout span {
  color: #6b4b3c;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.price-card::before {
  background: var(--accent);
}

.plan-heading h3 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 22px 0;
  padding-left: 20px;
}

.subscription-terms-card {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  border: 1px solid #add9cf;
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  background: var(--brand-soft);
  padding: 16px;
  color: var(--brand-dark);
}

.subscription-terms-card > strong {
  color: var(--ink-strong);
  font-size: 1.02rem;
}

.subscription-terms-card ul {
  gap: 7px;
  margin: 0;
  color: #315f57;
  font-size: 0.92rem;
}

.checkout-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border-top: 1px solid rgba(0, 99, 87, 0.18);
  padding-top: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1.45;
}

.checkout-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.access-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.fine-print {
  margin-top: 14px;
  font-size: 0.86rem;
}

.site-disclaimer {
  display: grid;
  gap: 8px;
  border: 1px solid #ead4a1;
  border-radius: 10px;
  background: var(--warning-bg);
  color: #4b3b1c;
  padding: 14px;
}

.site-disclaimer strong {
  color: var(--ink-strong);
}

.site-disclaimer p {
  margin: 0;
  color: #66502a;
  font-size: 0.92rem;
}

.compact-disclaimer {
  margin-top: 16px;
}

@media (min-width: 900px) {
  .price-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
    gap: 18px 24px;
    align-items: start;
  }

  .price-card::before {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .price-card .plan-heading,
  .price-card > ul,
  .price-card > .primary-button,
  .price-card > .access-form {
    grid-column: 1;
  }

  .price-card .subscription-terms-card {
    grid-column: 2;
    grid-row: 2 / span 4;
    margin: 0;
  }

  .price-card .compact-disclaimer {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

.builder-disclaimer {
  grid-column: 1 / -1;
}

.workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(42px, 6vw, 72px) 0;
}

.anchor-target {
  position: absolute;
  top: 0;
}

.builder-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.access-status {
  border: 1px solid #e7d09a;
  border-radius: 999px;
  background: var(--warning-bg);
  color: var(--warning);
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.access-status.is-unlocked {
  border-color: #add9cf;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.builder-lock {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #e7d09a;
  border-radius: 10px;
  background:
    linear-gradient(90deg, var(--warning-bg), #fff8e7);
  color: var(--warning);
  padding: 14px 16px;
}

.builder-lock span {
  color: #8b6b34;
}

.panel {
  --panel-pad: clamp(16px, 3vw, 24px);
  position: relative;
  overflow: hidden;
  padding: var(--panel-pad);
}

.form-panel::before,
.output-panel::before {
  margin: calc(-1 * var(--panel-pad)) calc(-1 * var(--panel-pad)) 18px;
}

.form-panel::before {
  background: var(--brand);
}

.output-panel::before {
  background: var(--accent);
}

.setup-panel {
  position: sticky;
  top: 92px;
}

.report-source-panel {
  display: grid;
  gap: 14px;
  margin: 24px 0 6px;
  padding: 18px;
  border: 1px solid #cfe3dc;
  border-radius: 12px;
  background: #fbfcfa;
}

.report-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

.report-source-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.report-source-card,
.report-source-card:hover,
.report-source-card:focus,
.report-source-card:focus-visible,
.report-source-card * {
  text-decoration: none;
}

.report-source-card:hover,
.report-source-card:focus-visible {
  border-color: var(--brand);
  background: #e5f7f1;
  box-shadow:
    0 0 0 4px rgba(154, 223, 215, 0.34),
    0 16px 30px rgba(13, 118, 110, 0.13);
  transform: translateY(-1px);
}

.report-source-card.preferred {
  border-color: #9ed7ca;
}

.report-source-card.preferred:hover,
.report-source-card.preferred:focus-visible {
  background: #e5f7f1;
}

.report-source-card span {
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-source-card strong {
  font-size: 1rem;
}

.fico-status {
  justify-self: start;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.fico-status.has-fico {
  border-color: #9ed7ca;
  background: #e0f3ee;
  color: var(--brand-dark);
}

.fico-status.no-fico {
  border-color: #e6b852;
  background: #fff4d8;
  color: #735219;
}

.report-source-card small {
  color: var(--muted);
  line-height: 1.4;
}

.report-source-boundary {
  border: 1px solid #d9dccf;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: #fff;
  color: #315d56;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.upload-panel {
  margin: 24px 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.verification-panel {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #add9cf;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #f7fdfb, #eef8f5);
}

.output-panel {
  position: static;
}

.builder-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.builder-header h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: 1.38rem;
}

.section-note {
  max-width: 54ch;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.section-note.is-success {
  color: var(--brand-dark);
}

.with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field.compact {
  margin-bottom: 0;
}

.field span,
.checks legend {
  color: #273532;
  font-size: 0.9rem;
  font-weight: 900;
}

.field small {
  color: var(--muted);
  font-size: 0.84rem;
}

.field-label-with-note {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.field-label-row span {
  color: #273532;
  font-size: 0.9rem;
  font-weight: 900;
}

.compact-action {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 0.82rem;
}

.recipient-address-field small.is-success {
  color: var(--brand-dark);
  font-weight: 800;
}

.recipient-address-field small.is-warning {
  color: var(--warning);
  font-weight: 800;
}

.field-label-with-note em {
  color: #66736f;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
}

.recipient-heading {
  margin-top: 10px;
}

.recipient-quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.recipient-chip {
  min-height: 42px;
  border: 1px solid #b9c8c2;
  border-radius: 999px;
  background: #fff;
  color: #243530;
  padding: 9px 14px;
  font-weight: 850;
}

.recipient-chip:hover,
.recipient-chip.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.item-detail-disclaimer {
  display: block;
  max-width: 980px;
  margin-top: 8px;
  color: #536560;
  line-height: 1.45;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  min-height: 44px;
  line-height: 1.35;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

select {
  min-height: 50px;
  padding-right: 38px;
  text-overflow: ellipsis;
}

textarea {
  resize: vertical;
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(13, 118, 110, 0.2);
  outline-offset: 2px;
  border-color: var(--brand);
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 118, 110, 0.08);
}

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 9px;
  text-align: center;
  padding: 26px 18px;
  border: 2px dashed #94b4aa;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fbfdfb, var(--surface-soft));
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.dropzone.is-dragging {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 14px 28px rgba(13, 118, 110, 0.14);
  transform: translateY(-1px);
}

.dropzone input {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  cursor: pointer;
  pointer-events: auto;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--brand), #0a615a);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(13, 118, 110, 0.22);
}

.upload-icon.small {
  width: 34px;
  height: 34px;
  font-size: 1.25rem;
}

.compact-dropzone {
  margin-top: 14px;
  padding: 18px 14px;
}

.dropzone small {
  color: var(--muted);
  max-width: 32ch;
}

.file-card {
  display: grid;
  gap: 3px;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.file-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.file-card.is-empty {
  background: var(--surface-soft);
}

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

.verification-guidance,
.verification-checklist,
.upload-completion-status {
  display: grid;
  gap: 6px;
  border: 1px solid #cfe3dc;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  color: #315d56;
  font-size: 0.9rem;
  line-height: 1.45;
}

.verification-guidance strong,
.verification-checklist strong,
.upload-completion-status strong {
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.upload-completion-status.is-pending {
  border-color: #e4d6ac;
  border-left-color: #b08325;
  background: #fff9e8;
  color: #5e4d25;
}

.upload-completion-status.is-complete {
  border-color: #b8dfd3;
  border-left-color: var(--brand);
  background: var(--brand-soft);
}

.verification-checklist ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.import-compatibility {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  border: 1px solid #add9cf;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: #e8f8f5;
  color: #315d56;
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.import-compatibility strong {
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.import-boundary,
.suggestion-boundary {
  margin: -2px 0 16px;
  border: 1px solid #b9ded4;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: #e8f7f2;
  color: #315d56;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.suggestion-boundary {
  margin: 0 0 14px;
}

.related-letters-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  border: 1px solid #add9cf;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #f7fdfb, #edf8f5);
  padding: 13px;
}

.related-letters-panel.is-hidden {
  display: none;
}

.related-letters-header,
.related-letter-group {
  display: grid;
  gap: 7px;
}

.related-letters-header strong,
.related-letter-group > span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.related-letters-header span,
.related-letters-panel small,
.related-empty {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.related-letter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-letter-button {
  min-height: 38px;
  padding: 8px 12px;
  border-color: #add9cf;
  color: var(--brand-dark);
}

.related-letter-button.has-imported-address {
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: 0 8px 16px rgba(13, 118, 110, 0.08);
}

.verification-preview-panel {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  border: 1px solid #cfe3dc;
  border-radius: 12px;
  background: #fff;
  padding: 13px;
}

.verification-preview-panel.is-hidden {
  display: none;
}

.verification-preview-panel > div:first-child {
  display: grid;
  gap: 3px;
}

.verification-preview-panel strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.verification-preview-panel span,
.verification-preview-panel small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.verification-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}

.verification-preview-card {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.verification-preview-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.verification-preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  background: #fff;
  object-fit: contain;
}

.verification-preview-media span {
  padding: 18px;
  text-align: center;
  font-weight: 800;
}

.verification-preview-card > span {
  overflow-wrap: anywhere;
}

.source-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.92rem;
}

.law-card {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  border: 1px solid #add9cf;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 12px;
  font-size: 0.9rem;
}

.law-card span {
  color: #315d56;
}

.item-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 4vw, 28px);
  margin-bottom: 14px;
  background: #fbfdfb;
  box-shadow: 0 8px 22px rgba(25, 41, 36, 0.04);
}

.item-card.is-detected {
  border-color: #add9cf;
  background:
    linear-gradient(180deg, #f7fdfb, #f2fbf8);
}

.item-card.is-detected::before {
  content: "Possible negative account detected from imported report. Review all suggested fields before creating a draft.";
  display: block;
  margin-bottom: 12px;
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 850;
}

.item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.item-header h3 {
  font-size: 1rem;
}

.item-card .grid.two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.item-card input,
.item-card select {
  min-height: 56px;
}

.item-card textarea {
  min-height: 150px;
}

.item-law-field {
  margin-top: 14px;
}

.item-outcome-note {
  margin-top: 12px;
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--brand-soft);
  color: #315d56;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.4;
}

.item-card textarea.item-law-issues {
  min-height: 128px;
  background: #f7fbfa;
  color: #244640;
}

.item-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin-top: 14px;
}

.item-review-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.item-review-card strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.item-review-card pre {
  margin: 0;
  white-space: pre-wrap;
  color: #315d56;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.45;
}

.item-strength-output {
  display: grid;
  gap: 12px;
}

.readiness-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.readiness-wheel {
  --score: 0;
  display: grid;
  place-items: center;
  position: relative;
  inline-size: 76px;
  block-size: 76px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 56%, transparent 57%),
    conic-gradient(var(--brand) calc(var(--score) * 1%), #e7ece8 0);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(13, 118, 110, 0.08), 0 8px 18px rgba(25, 41, 36, 0.08);
}

.readiness-wheel::after {
  content: "/100";
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.readiness-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.readiness-copy b {
  color: var(--ink);
  font-size: 1rem;
}

.readiness-copy span,
.readiness-next,
.readiness-breakdown small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.readiness-breakdown {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.readiness-breakdown li {
  display: grid;
  gap: 5px;
}

.readiness-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #315d56;
  font-size: 0.84rem;
  font-weight: 800;
}

.readiness-row strong {
  color: var(--ink);
  font-size: 0.84rem;
}

.readiness-bar {
  display: block;
  overflow: hidden;
  block-size: 7px;
  border-radius: 999px;
  background: #e7ece8;
}

.readiness-bar span {
  display: block;
  block-size: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.readiness-next {
  margin: 0;
  border-left: 3px solid var(--brand);
  padding-left: 10px;
  font-weight: 750;
}

.checks {
  display: grid;
  gap: 10px;
  border: 1px solid #ead4a1;
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0 18px;
  background:
    linear-gradient(180deg, var(--warning-bg), #fff8e7);
}

.checks label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #3d3322;
  font-size: 0.93rem;
}

.checks input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

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

.text-button {
  color: var(--danger);
  background: transparent;
  padding: 5px 7px;
  min-height: 32px;
}

.text-button:hover {
  background: #fff0ed;
}

.letter-shell {
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, #f2efe7, #ebe7db);
  min-height: 520px;
  overflow: auto;
  padding: clamp(14px, 2.5vw, 24px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

pre {
  margin: 0 auto;
  max-width: 820px;
  min-height: 520px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.62;
  padding: 38px;
  background: #fff;
  border: 1px solid #ece6d8;
  box-shadow: 0 22px 52px rgba(41, 55, 47, 0.12);
}

.analysis-output {
  max-width: none;
  min-height: 220px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  font-family: var(--font);
  font-size: 0.94rem;
  line-height: 1.55;
}

.notice {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px;
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: 10px;
  border: 1px solid #ebd49f;
  font-size: 0.92rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 24px;
}

.info-block {
  padding: clamp(18px, 3vw, 24px);
}

.info-block h2,
.terms-panel h2 {
  font-size: 1.25rem;
}

.info-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.terms-panel {
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 56px;
}

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

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(380px, calc(100vw - 36px));
  background: var(--ink-strong);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .workspace,
  .builder-grid,
  .pricing-section,
  .tracker-layout {
    grid-template-columns: 1fr;
  }

  .setup-panel,
  .output-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 190px;
  }

  .site-header {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .nav-links {
    width: 100%;
    justify-content: start;
  }

  .nav-links a,
  .nav-cta {
    text-align: center;
  }

  .nav-cta {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 720px;
    align-items: center;
    background:
      linear-gradient(180deg, rgba(8, 17, 15, 0.88) 0%, rgba(8, 17, 15, 0.58) 64%, rgba(8, 17, 15, 0.28) 100%),
      url("assets/product-preview.svg") center / cover no-repeat,
      var(--ink-strong);
  }

  .proof-strip,
  .steps-grid,
  .two,
  .three,
  .identity-doc-grid,
  .tracker-meta,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .builder-header,
  .builder-lock,
  .with-action {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 540px) {
  .proof-strip,
  .steps-section,
  .pricing-section,
  .workspace,
  .tracker-section,
  .info-grid,
  .terms-panel {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions,
  .actions,
  .output-actions {
    width: 100%;
  }

  .hero-actions a,
  .actions button,
  .output-actions button {
    width: 100%;
  }

  .item-card {
    padding: 18px;
  }

  .item-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .letter-shell {
    padding: 10px;
  }

  pre {
    padding: 20px;
    font-size: 0.94rem;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .output-panel {
    position: absolute;
    inset: 0;
    visibility: visible;
    border: 0;
    box-shadow: none;
    background: #fff;
    padding: 0;
  }

  .output-panel > :not(.letter-shell):not(.verification-preview-panel) {
    display: none !important;
  }

  .letter-shell,
  .letter-shell *,
  .verification-preview-panel,
  .verification-preview-panel * {
    visibility: visible;
  }

  .letter-shell {
    border: 0;
    min-height: auto;
    overflow: visible;
    padding: 0;
    background: #fff;
  }

  .verification-preview-panel {
    border: 0;
    border-radius: 0;
    margin: 24px 0 0;
    padding: 0;
    break-inside: avoid;
    background: #fff;
  }

  .verification-preview-panel.is-hidden {
    display: none !important;
  }

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

  .verification-preview-media {
    min-height: 220px;
    background: #fff;
  }

  pre {
    box-shadow: none;
    border: 0;
    max-width: none;
    padding: 0;
  }
}
