/* Prelist. Same look as the Prelist decks: sage paper, Newsreader headings, Figtree body, green and clay accents.
   Light-only by design. Audience: real estate investors, mostly on desktop, often on phones between site visits. */

:root {
  color-scheme: light;
  --paper: #f7f9f6;
  --card: #ffffff;
  --ink: #22302a;
  --muted: #56655e;
  --line: #dde5df;
  --green: #3b6f60;
  --deep: #2b5247;
  --clay: #9c6436;
  --soft: #eaf1ec;
  --sand: #f6efe3;
  --error-bg: #fbece6;
  --error-ink: #8a3414;
  --focus: #d08a3c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(34, 48, 42, .04), 0 8px 24px rgba(34, 48, 42, .06);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--sans); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
a { color: var(--green); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.kicker { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 0 0 12px; }

/* Header / footer */
.top { padding: 20px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--green); }
@media (max-width: 560px) { .nav a:not(.btn) { display: none; } }
.foot { margin-top: 40px; padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); }

/* Buttons */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 14px 26px; font: 600 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; background: var(--green); color: #fff; }
.btn:hover { background: var(--deep); }
.btn-quiet { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-quiet:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--soft); }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { padding: 40px 0 72px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.hero::before { width: 560px; height: 560px; right: -160px; top: -220px; background: var(--soft); }
.hero::after { width: 360px; height: 360px; right: 120px; bottom: -220px; background: var(--sand); }
.hero h1 { max-width: 13em; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 36em; }

/* Green band (like the deck cover) */
.band { background: var(--green); color: #fff; }
.band .wrap { display: grid; gap: 1px; padding-top: 0; padding-bottom: 0; }
@media (min-width: 760px) { .band .wrap { grid-template-columns: repeat(3, 1fr); } }
.band div { padding: 26px 8px; }
.band strong { display: block; font: 500 1.7rem/1.2 var(--serif); }
.band span { color: var(--soft); font-size: .95rem; }

/* Sections and cards */
.section { padding: 64px 0 24px; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { color: var(--green); }
.card p:last-child { margin: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff; font: 600 1rem var(--sans); margin-bottom: 14px; }
.steps p { margin: 0; color: var(--muted); }

/* Deals */
.deals { display: grid; gap: 18px; }
@media (min-width: 720px) { .deals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .deals { grid-template-columns: repeat(3, 1fr); } }
.deal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px; }
.deal h3 { margin: 10px 0 2px; }
.deal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.deal-id { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.badge { font: 600 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 6px 10px; }
.badge-available { background: var(--soft); color: var(--green); }
.badge-assigned { background: var(--line); color: var(--muted); }
.deal-facts { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.deal-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deal-nums dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.deal-nums dd { margin: 0; font: 500 1.35rem/1.2 var(--serif); color: var(--ink); }
.deal-summary { font-size: .95rem; margin: 0 0 8px; }
.deal-close { font-size: .88rem; color: var(--clay); font-weight: 600; margin: 0 0 12px; }
.deal .btn { margin-top: auto; align-self: flex-start; }
.deal-assigned { opacity: .7; }
.empty { background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 36px; text-align: center; }
.empty p { margin: 0; }

/* Join form */
.join { background: var(--soft); border-radius: 24px; padding: 40px 24px; }
@media (min-width: 860px) { .join { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 48px; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .panel, .card, .steps li, .deal { padding: 20px; } .join { padding: 24px 16px; } }
.field { display: grid; gap: 6px; margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-weight: 600; padding: 0; }
.field .hint { font-size: .86rem; color: var(--muted); font-weight: 400; }
input[type=text], input[type=tel], input[type=email], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 88px; resize: vertical; }
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-size: .95rem; cursor: pointer; }
.checks input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; background: var(--soft);
  border-radius: 10px; padding: 14px 16px; margin: 4px 0 20px; font-size: .88rem; line-height: 1.55; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.error { background: var(--error-bg); color: var(--error-ink); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.optout { font-size: .9rem; margin: 16px 0 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Long text pages */
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.intro { max-width: 40em; margin-bottom: 28px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.badge-sample { background: var(--paper); color: var(--muted); border: 1px solid var(--line); margin-right: auto; margin-left: 6px; }
