/* Digital Recovery claim page. Built from design/green.css; fonts are self-hosted. */
@font-face{font-family:'IBM Plex Sans';src:url('/fonts/IBMPlexSans-latin-wght.woff2') format('woff2');font-weight:100 700;font-style:normal;font-display:swap}
@font-face{font-family:'Source Serif 4';src:url('/fonts/SourceSerif4-latin-wght.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
/* Digital Recovery claim page, "Original" layout in pine green, brass and sand.
   One stylesheet for the canvas and the live site. The site prepends its @font-face rules. */

:root {
  --white: #ffffff;
  --sand: #f4f0e6;
  --line: #ddd7ca;
  --edge: #7d837c;
  --ink: #16201b;
  --muted: #56615a;
  --green: #1d4a38;
  --green-hover: #153a2b;
  --green-soft: #e6eee9;
  --pine: #0f241b;
  --on-pine: #ffffff;
  --on-pine-muted: #b5c3ba;
  --brass: #8c6420;
  --danger: #a3242b;
  --danger-soft: #fbeeee;
  --radius: 4px;
  --radius-card: 6px;
  --measure: 680px;
  --control: 52px;
  --font-serif: "Source Serif 4", "Source Serif 4 Variable", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "IBM Plex Sans Variable", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
p { margin: 0; }

.dr-page { width: 100%; min-height: 100vh; display: flex; flex-direction: column; background: var(--white); }
.dr-wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 20px; }
.dr-stack { display: flex; flex-direction: column; gap: 28px; }
.dr-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dr-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Type */
.dr-eyebrow { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.dr-display { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 52px; line-height: 60px; letter-spacing: -0.01em; color: var(--ink); }
.dr-title { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 30px; line-height: 38px; color: var(--ink); }
.dr-heading { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 24px; line-height: 32px; }
.dr-lead { margin: 0; font-size: 18px; line-height: 29px; color: #2a332e; }
.dr-text { margin: 0; }
.dr-small { margin: 0; font-size: 15px; line-height: 22px; color: var(--muted); }
.dr-caption { font-size: 13px; line-height: 18px; color: var(--muted); }
.dr-figure { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0.02em; }

/* Buttons */
.dr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 26px;
  border: 1.5px solid var(--green); border-radius: var(--radius);
  background: var(--green); color: var(--white);
  font: 600 17px/22px var(--font-sans); text-decoration: none; cursor: pointer;
}
.dr-btn:hover { background: var(--green-hover); border-color: var(--green-hover); color: var(--white); }
.dr-btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.dr-btn--secondary { background: var(--white); color: var(--green); }
.dr-btn--secondary:hover { background: var(--green-soft); color: var(--green-hover); }
.dr-btn--compact { min-height: 50px; padding: 0 22px; }
.dr-btn--block { width: 100%; }
.dr-btn .dr-icon { width: 18px; height: 18px; }
.dr-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--edge); border-radius: var(--radius);
  background: var(--white); color: var(--green); cursor: pointer;
}
.dr-icon-btn:hover { border-color: var(--green); background: var(--green-soft); }
.dr-icon-btn .dr-icon { width: 18px; height: 18px; }

/* Header (not used on the page; kept for the canvas board) */
.dr-header { display: none; }

/* Sections */
.dr-hero { padding: 80px 0 56px; background: var(--white); border-bottom: 1px solid var(--line); }
.dr-hero__inner { display: flex; flex-direction: column; gap: 20px; }
.dr-hero__inner .dr-eyebrow { margin-bottom: 4px; }
.dr-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 12px; }
.dr-section { padding: 64px 0; background: var(--sand); border-bottom: 1px solid var(--line); }
.dr-section--surface { background: var(--white); }

/* How it works */
.dr-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dr-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 20px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.dr-step .dr-index {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1.5px solid var(--green); border-radius: 50%;
  font: 600 17px/1 var(--font-serif); color: var(--green);
}
.dr-step__text { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; font-weight: 600; font-size: 17px; line-height: 26px; }
.dr-step__detail { font-weight: 400; font-size: 15px; line-height: 22px; color: var(--muted); }

/* What we buy */
.dr-checks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dr-checks li { display: flex; align-items: flex-start; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.dr-checks .dr-icon { margin-top: 3px; color: var(--green); stroke-width: 2.25; }

/* Form layout */
.dr-form { display: flex; flex-direction: column; gap: 36px; }
.dr-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.dr-legend { display: block; width: 100%; margin: 0 0 20px; padding: 0; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.dr-legend .dr-index { margin-right: 0.45em; }
.dr-legend .dr-index::after { content: " \00B7"; }
.dr-fields { display: flex; flex-direction: column; gap: 26px; }
.dr-field { display: flex; flex-direction: column; gap: 6px; }
.dr-label, .dr-question { display: block; margin: 0; padding: 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.dr-question { margin-bottom: 10px; }
.dr-optional { font-weight: 400; color: var(--muted); }
.dr-hint { display: block; margin: 0 0 4px; font-size: 15px; line-height: 22px; color: var(--muted); }

.dr-input {
  display: block; width: 100%; min-height: var(--control); padding: 12px 16px;
  border: 1px solid var(--edge); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  font: 400 17px/24px var(--font-sans);
  -webkit-appearance: none; appearance: none;
}
.dr-input::placeholder { color: #8b928c; }
.dr-input:hover { border-color: var(--ink); }
.dr-input:focus, .dr-input:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.dr-input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
textarea.dr-input { min-height: 100px; resize: vertical; }
select.dr-input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2316201b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px 18px;
}
.dr-input--figure { font-variant-numeric: tabular-nums; }

.dr-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dr-choice {
  display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--edge); border-radius: var(--radius); background: var(--white);
  font-size: 17px; line-height: 24px; cursor: pointer;
}
.dr-choice:hover { border-color: var(--ink); }
.dr-choice:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: var(--green-soft); }
.dr-choice input, .dr-check input { accent-color: var(--green); margin: 0; flex: none; }
.dr-choice input { width: 20px; height: 20px; }
.dr-choice:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.dr-choice input:focus-visible, .dr-drop input:focus-visible { outline: none; }

.dr-check { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 25px; cursor: pointer; }
.dr-check input { width: 22px; height: 22px; margin-top: 1px; }

/* Asset rows */
.dr-rows__head, .dr-row { display: grid; grid-template-columns: 22px minmax(0, 1.15fr) minmax(0, 1fr) 44px; gap: 8px 10px; align-items: center; }
.dr-rows__head { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dr-rows { display: flex; flex-direction: column; gap: 10px; }
.dr-row__num { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.dr-row__spacer { display: block; width: 44px; }
.dr-rows__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }

/* Balance screenshot */
.dr-upload-card { display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 24px; background: var(--white); border: 1px solid var(--green); border-radius: var(--radius-card); }
.dr-upload-card__title { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; }
.dr-upload-row { display: flex; gap: 18px; align-items: flex-start; }
.dr-example { flex: none; width: 132px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.dr-example__frame {
  height: 184px; padding: 9px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  font-size: 8px; line-height: 10px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink);
}
.dr-example__row { display: flex; justify-content: space-between; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.dr-example__stamp { display: flex; justify-content: space-between; padding: 3px 5px; border: 1px solid var(--green); border-radius: 3px; color: var(--green); font-weight: 700; }
.dr-upload { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dr-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 136px; padding: 20px; text-align: center;
  border: 1.5px dashed var(--green); border-radius: var(--radius-card); background: var(--white);
  color: var(--green); cursor: pointer;
}
.dr-drop:hover { background: var(--green-soft); }
.dr-drop:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.dr-drop .dr-icon { width: 24px; height: 24px; }
.dr-drop__text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dr-drop__action { font-weight: 600; font-size: 17px; line-height: 24px; color: var(--green); }
.dr-file { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sand); font-size: 15px; line-height: 22px; }
.dr-file__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dr-file__size { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.dr-field-error { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--danger); }
.dr-field-error .dr-icon { width: 18px; height: 18px; margin-top: 2px; }

/* Notices and confirmation */
.dr-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); background: var(--white); }
.dr-notice--danger { border-left-color: var(--danger); background: var(--danger-soft); }
.dr-notice__title { margin: 0; font-weight: 600; }
.dr-notice .dr-icon, .dr-notice--danger .dr-notice__title { color: var(--danger); }
.dr-notice .dr-icon { margin-top: 3px; }
.dr-confirm { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-card); }
.dr-confirm__status { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.dr-confirm__status .dr-icon { width: 18px; height: 18px; }
.dr-confirm__ref { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--radius); background: var(--sand); }
.dr-confirm__ref .dr-figure { font-size: 24px; line-height: 32px; color: var(--green); }

/* Questions */
.dr-faq { border-top: 1px solid var(--line); }
.dr-faq details { border-bottom: 1px solid var(--line); }
.dr-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 62px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px; line-height: 24px;
}
.dr-faq summary::-webkit-details-marker { display: none; }
.dr-faq summary:hover { color: var(--green); }
.dr-faq__mark {
  flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d4a38' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  transition: transform 0.15s ease;
}
.dr-faq details[open] .dr-faq__mark { transform: rotate(180deg); }
.dr-faq__answer { padding: 0 32px 20px 0; color: #2a332e; }

/* Footer */
.dr-footer { padding: 56px 0 64px; background: var(--pine); color: var(--on-pine-muted); font-size: 15px; line-height: 24px; }
.dr-footer__inner { display: flex; flex-direction: column; gap: 18px; }
.dr-footer__name { margin: 0 0 2px; font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 28px; color: var(--on-pine); }
.dr-footer address { font-style: normal; }
.dr-footer a { color: var(--on-pine); }
.dr-footer a:hover { color: var(--on-pine-muted); }
.dr-footer strong { color: var(--on-pine); font-weight: 600; }
.dr-footer__legal { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; line-height: 22px; }

/* Security check */
.cf-turnstile { min-height: 65px; }

/* Small screens */
@media (max-width: 600px) {
  .dr-hero { padding: 56px 0 44px; }
  .dr-display { font-size: 38px; line-height: 45px; }
  .dr-title { font-size: 26px; line-height: 33px; }
  .dr-section { padding: 48px 0; }
  .dr-steps { grid-template-columns: 1fr; }
  .dr-upload-row { flex-direction: column-reverse; align-items: stretch; }
  .dr-upload { flex: none; }
  .dr-example { align-self: flex-start; }
  .dr-rows__head, .dr-row { grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; }
}
