:root {
  color-scheme: light;
  --ink: #17231e;
  --muted: #65716b;
  --cream: #f4f1e8;
  --paper: #fffefa;
  --line: #d9ded8;
  --green: #176b4b;
  --green-dark: #0d5238;
  --mint: #dceadf;
  --coral: #f0775e;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(240, 119, 94, .12), transparent 28rem),
    var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

.shell {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: 54px 0;
}

.intro { align-self: stretch; display: flex; flex-direction: column; }

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 23px;
  font-weight: 760;
  letter-spacing: -.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 10px 10px 10px 3px;
  color: white;
  background: var(--green);
  font-family: Georgia, serif;
  font-size: 21px;
  font-style: italic;
}

.intro-copy { margin: auto 0; padding: 72px 0; }
.eyebrow, .step { color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 18px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.lede { max-width: 430px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.privacy-note { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.privacy-note p { margin: 0; }
.privacy-note strong { color: var(--ink); }
.lock { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ccd4cd; border-radius: 50%; color: var(--green); font-size: 21px; }

.card {
  background: rgba(255, 254, 250, .92);
  border: 1px solid rgba(23, 35, 30, .09);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(41, 49, 44, .11);
  padding: clamp(28px, 5vw, 52px);
  backdrop-filter: blur(14px);
}

.card-heading { margin-bottom: 32px; }
.step { margin: 0 0 9px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; letter-spacing: -.035em; }
form label { display: block; margin: 22px 0 8px; font-size: 13px; font-weight: 730; }
.hint { display: inline-grid; place-items: center; margin-left: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 11px; cursor: help; }
.field-wrap { position: relative; }
.field-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 17px; pointer-events: none; }
input { font: inherit; }
.field-wrap input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field-wrap input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 107, 75, .12); }
.helper { margin: 7px 0 0; color: #89918d; font-size: 12px; }

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 138px;
  padding: 20px;
  border: 1.5px dashed #b9c5bc;
  border-radius: 12px;
  text-align: center;
  background: #fafbf7;
  transition: border-color .2s, background .2s, transform .2s;
}
.dropzone.dragging { border-color: var(--green); background: #f0f7f1; transform: scale(1.01); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone p { margin: 4px 0; font-size: 13px; }
.dropzone p:last-child { color: var(--muted); font-size: 12px; }
.upload-glyph { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 3px; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 21px; }

button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding: 16px 19px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: var(--green);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
button:hover { background: var(--green-dark); transform: translateY(-1px); }
button:disabled { opacity: .62; cursor: wait; transform: none; }
.message { margin-top: 18px; padding: 12px 14px; border-radius: 9px; color: #852e24; background: #fde8e3; font-size: 13px; line-height: 1.5; }

.receipt { text-align: center; }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 10px auto 22px; border-radius: 50%; color: white; background: var(--green); font-size: 28px; }
.receipt > p { color: var(--muted); line-height: 1.6; }
.receipt dl { margin: 30px 0; border-top: 1px solid var(--line); }
.receipt dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; max-width: 65%; overflow-wrap: anywhere; font-weight: 700; }
.secondary { justify-content: center; color: var(--green); background: var(--mint); }
.secondary:hover { color: white; }

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; gap: 34px; padding: 28px 0 48px; }
  .intro-copy { padding: 68px 0 26px; }
  .privacy-note { display: none; }
  .card { border-radius: 20px; }
}

@media (max-width: 480px) {
  .shell { width: min(100% - 24px, 1120px); }
  .card { padding: 25px 20px; }
  h1 { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
