:root {
  --bg: #faf9f6;
  --paper: #ffffff;
  --navy: #11233f;
  --slate: #5b6b7e;
  --line: #e2e5e9;
  --gold: #b9974a;
  --gold-deep: #7d5f26;
  --focus: #11233f;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Manrope", -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

header.top {
  padding: 30px 0 0;
}

.wordmark {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.wordmark .gold { color: var(--gold-deep); }

main {
  padding: 64px 0 40px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin: 0 0 20px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 17ch;
  color: var(--navy);
}

.sub {
  font-size: 1.13rem;
  color: var(--slate);
  max-width: 50ch;
  margin: 0 0 44px;
}

/* Signature: recovery receipt card */
.receipt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 32px;
}

.receipt__ticker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.receipt__amount {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.6rem);
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}

.receipt__label {
  color: var(--slate);
  font-size: 14px;
}

.receipt__rows {
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: grid;
  gap: 12px;
}

.receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--navy);
}

.receipt__row .status {
  color: var(--slate);
}
.receipt__row .status.recovered {
  color: var(--gold-deep);
  font-weight: 700;
}

form.signup {
  margin-top: 48px;
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 8px;
  font-family: inherit;
}
input[type="email"]::placeholder { color: #a3adba; }

button.cta {
  background: var(--navy);
  color: #faf9f6;
  border: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  white-space: nowrap;
  transition: background 0.15s ease;
}
button.cta:hover { background: #0b1830; }
button.cta:disabled { opacity: 0.6; cursor: default; }

.form-msg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.4em;
}
.form-msg.ok { color: var(--gold-deep); font-weight: 600; }
.form-msg.err { color: #b3452f; }

.value-rows {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  display: grid;
  gap: 28px;
}
.value-row h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--navy);
}
.value-row p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  max-width: 54ch;
}

footer {
  padding: 60px 0 40px;
  color: #9aa5b1;
  font-size: 13px;
}

@media (max-width: 560px) {
  .receipt { padding: 24px 20px; }
  form.signup { flex-direction: column; }
  input[type="email"] { flex: 0 0 auto; width: 100%; }
  button.cta { width: 100%; }
  .receipt__row { flex-direction: column; gap: 2px; }
}
