/* Lead sites (buylandincolorado.com, sellmycoloradoland.com): one stylesheet, copied into each site by build.py */
:root { --ink: #1c1a17; --paper: #faf6ee; --card: #fff; --pine: #1f3b2f; --pine2: #2f5745; --sun: #dd5f24; --sun2: #bf4d17; --sand: #f0e7d6; --line: #e3d9c6; --muted: #675f54;
  --head: 'Fraunces', Georgia, serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine2); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); margin: 0 0 0.8rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

/* buttons */
.btn, .lead-form button { display: inline-block; background: var(--sun); color: #fff; font: 600 1.02rem var(--body); padding: 0.85rem 1.4rem; border: 0; border-radius: 10px; text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.btn:hover, .lead-form button:hover { background: var(--sun2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn.dark { background: var(--pine); }
.btn.dark:hover { background: var(--pine2); }
.btn.small { padding: 0.55rem 1rem; font-size: 0.95rem; white-space: nowrap; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 238, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; font: 600 1.2rem var(--head); color: var(--pine); text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.top nav { display: flex; align-items: center; gap: 1.4rem; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.top nav a:not(.btn):hover { color: var(--sun); }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } .brand { font-size: 1.05rem; } }

/* hero */
.hero { position: relative; color: #fff; background: var(--pine) center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16, 28, 22, 0.86) 0%, rgba(16, 28, 22, 0.62) 48%, rgba(16, 28, 22, 0.25) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #ffc59e; }
.hero .lede { color: rgba(255, 255, 255, 0.9); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.hero ul.ticks { margin-top: 1.4rem; }
.hero ul.ticks li { color: #fff; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.6rem; padding-bottom: 2.6rem; } .hero::before { background: rgba(16, 28, 22, 0.72); } }
.pagehead { background: var(--pine); color: #fff; padding: 2.8rem 0 2.4rem; }
.pagehead.photo { position: relative; background: var(--pine) center/cover no-repeat; padding: 5rem 0 3rem; }
.pagehead.photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 28, 22, 0.35), rgba(16, 28, 22, 0.82)); }
.pagehead .wrap { position: relative; }
.pagehead h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 48rem; margin: 0; }
.pagehead .eyebrow { color: #ffc59e; }
.pagehead .eyebrow a { color: inherit; text-decoration: none; }

/* ticks */
ul.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.55rem; }
ul.ticks li { padding-left: 1.9rem; position: relative; }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: 0.28em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat; }
ul.ticks.two { grid-template-columns: 1fr 1fr; gap: 0.8rem 2rem; }
@media (max-width: 700px) { ul.ticks.two { grid-template-columns: 1fr; } }

/* forms */
.lead-form { background: var(--card); color: var(--ink); border-radius: 16px; padding: 1.6rem; box-shadow: 0 18px 50px rgba(20, 30, 24, 0.22); }
.lead-form.flat { box-shadow: none; border: 1px solid var(--line); }
.lead-form h2 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.lead-form .sub { color: var(--muted); font-size: 0.98rem; margin: 0 0 0.6rem; }
.lead-form label { display: block; font-weight: 600; font-size: 0.9rem; margin: 0.85rem 0 0.3rem; }
.lead-form label small { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form textarea { width: 100%; font: 1rem var(--body); padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fffdf9; color: var(--ink); }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--pine2); box-shadow: 0 0 0 3px rgba(47, 87, 69, 0.18); }
.lead-form button { width: 100%; margin-top: 1.1rem; font-size: 1.08rem; padding: 0.95rem; }
.lead-form .form-note { font-size: 0.85rem; color: var(--muted); margin: 0.8rem 0 0; text-align: center; }
.lead-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.9rem; }
@media (max-width: 520px) { .lead-form .grid2 { grid-template-columns: 1fr; } .lead-form { padding: 1.25rem; } }
.lead-form.done { text-align: center; }
.lead-form.done .big { font-size: 2.2rem; line-height: 1; margin-bottom: 0.5rem; }

/* sections */
section { padding: 4rem 0; }
section.sand { background: var(--sand); }
section.pine { background: var(--pine); color: #fff; }
section.pine h2 { color: #fff; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.strip { background: var(--pine); color: #fff; padding: 1.1rem 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.4rem; font-weight: 600; font-size: 0.98rem; }
.strip span::before { content: '✓'; color: #ffb68a; margin-right: 0.5rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 30, 24, 0.14); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card .in { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.96rem; line-height: 1.5; }
.card .more { margin-top: auto; font-weight: 600; color: var(--sun); }
.card .more::after { content: ' →'; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin-top: 2rem; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--pine); color: #fff; font: 600 1.15rem var(--head); margin-bottom: 0.9rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-top: 0.8rem; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 0.7rem 0 0; color: var(--muted); }

/* article pages (guides, area pages) */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; padding-top: 2.6rem; padding-bottom: 3.5rem; align-items: start; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .article aside { display: none; } }
.prose { max-width: 44rem; }
.prose p, .prose li { font-size: 1.08rem; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a.cta { color: var(--sun2); }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.6rem 0.7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--sand); }
.prose .note { background: var(--sand); border-left: 4px solid var(--sun); border-radius: 0 10px 10px 0; padding: 0.8rem 1.1rem; margin: 1.4rem 0; }
.prose .lead-form { margin-top: 2.5rem; }
.linklist { list-style: none; padding: 0 !important; display: grid; gap: 0.7rem; }
.linklist li { margin: 0; }
.linklist a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0.95rem 1.1rem; text-decoration: none; font-weight: 600; color: var(--ink); }
.linklist a:hover { border-color: var(--sun); color: var(--sun2); }
.linklist a::after { content: ' →'; color: var(--sun); }
aside .promo { position: sticky; top: 88px; background: var(--pine); color: #fff; border-radius: 16px; padding: 1.5rem; }
aside .promo h3 { color: #fff; font-size: 1.3rem; }
aside .promo p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); margin: 0 0 1.1rem; }
aside .promo .btn { width: 100%; text-align: center; }
aside .promo .alt { display: block; text-align: center; margin-top: 0.9rem; color: #fff; font-size: 0.92rem; }

/* book cover (ebook page) */
.book { width: min(300px, 70vw); aspect-ratio: 3/4; margin: 0 auto; border-radius: 6px 14px 14px 6px; background: var(--pine) center/cover no-repeat; position: relative; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 8px 0 0 rgba(0, 0, 0, 0.25); transform: rotate(-3deg); overflow: hidden; }
.book::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 28, 22, 0.88) 0%, rgba(16, 28, 22, 0.45) 55%, rgba(16, 28, 22, 0.1) 100%); }
.book div { position: absolute; inset: 1.4rem 1.3rem auto 1.7rem; }
.book b { display: block; font: 600 1.75rem/1.1 var(--head); color: #fff; }
.book span { display: block; margin-top: 0.7rem; font-size: 0.85rem; color: #ffc59e; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 900px) { .hero .book { display: none; } }

/* bottom */
footer { background: #16261f; color: rgba(255, 255, 255, 0.75); padding: 2.4rem 0 5.5rem; font-size: 0.92rem; }
footer a { color: #fff; }
footer p { margin: 0 0 0.5rem; max-width: 52rem; }
.mbar { display: none; }
@media (max-width: 960px) { .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--pine); padding: 0.6rem 0.8rem; gap: 0.6rem; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2); } .mbar .btn { flex: 1; text-align: center; padding: 0.75rem 0.5rem; font-size: 0.98rem; } }
@media (min-width: 961px) { footer { padding-bottom: 2.4rem; } }
