/* Single-offer pages (/plan, /cover): one column, the offer stated like a classified ad. */
:root {
  --paper: #f1ebe0; --paper-2: #e8e0d1; --ink: #161310; --ink-2: #4a433b;
  --red: #e03a26; --red-ink: #b42a19; --pine: #2f4f3e; --rule: #cfc5b3; --on-red: #fff8f0;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161310; --paper-2: #221d18; --ink: #f1ebe0; --ink-2: #bdb3a4;
    --red: #ef4b36; --red-ink: #ff8a76; --pine: #8fbfa3; --rule: #3a332c; --on-red: #161310;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #161310; --paper-2: #221d18; --ink: #f1ebe0; --ink-2: #bdb3a4;
  --red: #ef4b36; --red-ink: #ff8a76; --pine: #8fbfa3; --rule: #3a332c; --on-red: #161310;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
.wrap { max-width: 40rem; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
h1, h2 { font-family: var(--display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.top { border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; text-decoration: none; border-bottom: 3px solid var(--red); line-height: 1.1; }
.tag { font-size: 0.8rem; color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
main.wrap { padding-block: 40px 64px; display: flex; flex-direction: column; gap: 52px; }
section { display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pine); }
h1 { font-size: clamp(2.3rem, 8.5vw, 3.7rem); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); line-height: 1.15; font-weight: 800; }
.fine { font-size: 0.85rem; color: var(--ink-2); }
.ad { border: 2px solid var(--ink); border-radius: 4px; padding: 18px 20px; margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; font-family: var(--mono); font-size: 0.95rem; }
.ad dt { color: var(--ink-2); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; }
.ad dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ad .free { color: var(--red-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--red); background: var(--red); color: var(--on-red); font: 600 1.08rem/1 var(--body); text-decoration: none; cursor: pointer; align-self: flex-start; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
.got { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.got li { padding: 12px 0; border-bottom: 1px dashed var(--rule); }
.got strong { display: block; }
.got span { color: var(--ink-2); font-size: 0.95rem; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 12px; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--red-ink); line-height: 1.1; }
.steps strong { display: block; }
.who { display: flex; flex-direction: column; gap: 10px; }
.who p { padding-left: 16px; border-left: 3px solid var(--red); }
.apply, .done { background: var(--paper-2); border-radius: 16px; padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; min-width: 0; }
.opt { font-weight: 400; color: var(--ink-2); }
input, select, textarea { font: 400 1.05rem var(--body); padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--red-ink); font-weight: 600; }
.rules { border-top: 1px solid var(--rule); padding-top: 18px; }
.rules ul { margin: 8px 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: 0.9rem; display: flex; flex-direction: column; gap: 6px; }
.foot { border-top: 1px solid var(--rule); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; font-size: 0.85rem; color: var(--ink-2); }
