/* Make-an-offer page (/offer/<domain>); builds on /style.css tokens */
.o-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: start;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.o-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 14px;
}
.o-pitch h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 22px;
}
h1.o-domain {
  font-size: clamp(28px, 4vw, 46px);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  hyphens: none;
}
.o-pitch .lead { font-size: 17px; color: var(--muted); max-width: 42ch; margin: 0 0 32px; }

/* form card */
.o-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 28px 28px 24px;
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(27, 29, 33, 0.35);
}
.o-card h2 { font-size: 21px; font-weight: 600; margin: 0 0 18px; letter-spacing: -0.01em; }
.o-card label { display: block; font-size: 15px; font-weight: 500; margin: 16px 0 6px; }
.o-card label:first-of-type { margin-top: 0; }
.o-opt { font-weight: 400; color: var(--muted); }
.o-card input[type=text], .o-card input[type=email], .o-card textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #8a8578;
  border-radius: 0;
  padding: 11px 12px;
  min-height: 46px;
}
.o-card textarea { resize: vertical; min-height: 96px; }
.o-card input:focus, .o-card textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--accent); background: #fff; }
.o-money { position: relative; }
.o-money span {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--muted); pointer-events: none;
}
.o-money input { padding-left: 28px !important; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 18px !important; }
.o-card [aria-invalid=true] { border-color: #a32020; }
.o-err { color: #a32020; font-size: 14px; margin: 6px 0 0; }
.o-err:not(.o-err-form)::before { content: "Error: "; font-weight: 600; }
.o-err-form { background: #fbeaea; border: 1px solid #a32020; padding: 10px 12px; color: #7d1717; }
.o-err-form:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.o-err-form { margin: 0 0 16px; }
.o-submit { width: 100%; margin-top: 22px; border: 0; cursor: pointer; font: inherit; font-weight: 500; font-size: 17px; padding: 14px 20px; min-height: 48px; }
.o-small { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.o-submit:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.o-submit[disabled] { opacity: 0.7; cursor: wait; }
.o-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* steps (left column) */
.o-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); max-width: 44ch; counter-reset: step; }
.o-steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--rule); }
.o-steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  color: var(--accent);
  font-size: 15px;
  padding-top: 2px;
}
.o-steps h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.o-steps p { margin: 0; color: var(--muted); font-size: 16px; }
.o-tagline { font-size: 19px; color: var(--ink); max-width: 40ch; margin: -6px 0 14px; }
.o-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.o-seller { font-size: 15px; color: var(--muted); margin: 28px 0 0; max-width: 44ch; }
.o-seller p { margin: 0 0 6px; }
.o-seller strong { color: var(--ink); font-weight: 600; }
.o-hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* thank-you state */
.o-done { padding: 72px 0 80px; }
.o-done h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 18px; font-weight: 600; }
.o-done .lead { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 0 12px; }
.o-name-inline { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--ink); }

@media (max-width: 860px) {
  .o-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; border-bottom: 0; }
  .o-done { padding: 40px 0 56px; }
  .o-pitch .lead { font-size: 18px; margin-bottom: 20px; }
  .o-card { padding: 22px 18px 20px; }
  /* phones: heading, form, then the buying steps */
  .o-hero { display: flex; flex-direction: column; gap: 0; }
  .o-pitch { display: contents; }
  .o-eyebrow, .o-pitch h1, .o-tagline, .o-pitch .lead { order: 1; }
  .o-card { order: 2; margin: 4px 0 32px; }
  .o-pitch > .o-label, .o-steps, .o-seller { order: 3; }
}

/* spacing review */
.o-card textarea, .o-card input { display: block; }
.o-small { margin: 8px 0 0; }
.o-card .o-small a { display: inline-block; padding: 2px 0; }
.o-card .o-small { line-height: 1.5; }
.o-card .o-small + .o-small { margin-top: 12px; }
.o-card .o-submit + .o-small { margin-top: 14px; }
