/* Overland affiliate site prototype — plain CSS, no build step. */
:root {
  --ink: #1f2420;
  --ink-soft: #4a524b;
  --muted: #6d756e;
  --bg: #faf8f3;
  --card: #ffffff;
  --line: #e4dfd3;
  --olive: #4f5d2f;
  --olive-dark: #3b4623;
  --sand: #efe7d6;
  --rust: #b5542b;
  --rust-dark: #96421f;
  --note: #2f6db5;
  --note-bg: #eef4fc;
  --radius: 10px;
  --max: 1080px;
  --read: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--olive-dark); }
a:hover { color: var(--rust); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .5rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--olive-dark); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }
.logo span { color: #e9b27f; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: #e8ead9; text-decoration: none; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: underline; }

.disclosure-bar { background: var(--sand); color: var(--ink-soft); font-size: .85rem; text-align: center; padding: 6px 12px; border-bottom: 1px solid var(--line); }

/* Hero */
.hero { background: linear-gradient(160deg, #3b4623 0%, #5d6b38 60%, #8a6b3f 100%); color: #fff; padding: 72px 0 64px; }
.hero p.lead { font-size: 1.2rem; max-width: 620px; color: #f1eee4; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #e9b27f; font-weight: 700; }

.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* Sections and cards */
section.block { padding: 48px 0; }
section.block.alt { background: #f3efe5; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card .price { color: var(--rust); font-weight: 700; font-size: .9rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.card a.more { margin-top: auto; font-weight: 600; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--olive); }
.tag.soon { color: var(--muted); }

/* Article */
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 24px 0 8px; }
.byline { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.disclosure-box { background: var(--sand); border-left: 4px solid var(--olive); padding: 10px 14px; font-size: .9rem; border-radius: 6px; margin: 16px 0 24px; }

.quick-picks { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 18px 0; }
.pick { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.pick.top { border-color: var(--olive); }
.pick .badge { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--olive); }
.pick .name { font-weight: 700; }
.pick .price { color: var(--rust); font-weight: 700; }
.pick .btn { margin-top: auto; text-align: center; font-size: .95rem; padding: 9px 14px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f3efe5; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.product h3 { margin-top: 0; }
.photo-slot { background: repeating-linear-gradient(45deg, #ece6d8, #ece6d8 10px, #e4dccb 10px, #e4dccb 20px); border-radius: 8px; height: 220px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-weight: 600; text-align: center; padding: 12px; margin-bottom: 14px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros-cons h4 { margin: 0 0 4px; font-size: .95rem; }
.pros-cons ul { margin: 0; padding-left: 18px; font-size: .95rem; }
.fits { font-size: .9rem; color: var(--ink-soft); background: #f6f3ec; padding: 8px 12px; border-radius: 6px; margin: 12px 0; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 24px; }
.before-after .ba-item { position: relative; }
.before-after img { width: 100%; height: 300px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.before-after figcaption { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .before-after { grid-template-columns: 1fr; } }
.rendering { position: relative; margin: 16px 0 24px; }
.rendering img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.rendering-tag { position: absolute; top: 12px; left: 12px; background: rgba(20,24,16,.85); color: #fff; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.rendering figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.owner-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.owner-photos img { width: 100%; height: 360px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.owner-photos figcaption { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .owner-photos { grid-template-columns: 1fr; } .owner-photos img { height: auto; } }
.ph { background: #fff4c2; padding: 0 3px; border-radius: 3px; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }

/* Email signup */
.signup { background: var(--olive-dark); color: #fff; border-radius: var(--radius); padding: 28px; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.signup input { flex: 1 1 220px; padding: 11px 14px; border-radius: 8px; border: 0; font-size: 1rem; }
.signup small { color: #d7dcc4; display: block; margin-top: 8px; }

/* Footer */
.site-footer { background: #24291f; color: #c9ccbd; padding: 36px 0; margin-top: 48px; font-size: .9rem; }
.site-footer a { color: #e8ead9; }
.site-footer .links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }

/* Learning mode: annotations explain why each part exists */
.note { display: none; }
body.learning .note {
  display: block;
  background: var(--note-bg);
  border: 1px dashed var(--note);
  color: #1d3f69;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: .9rem;
  line-height: 1.5;
}
body.learning .note::before { content: "How this earns: "; font-weight: 800; color: var(--note); }
.hero .note, .site-header .note { color: #1d3f69; }

.learn-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  background: var(--note); color: #fff; border: 0; border-radius: 999px;
  padding: 12px 18px; font-weight: 700; font-size: .95rem; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.learn-toggle:hover { background: #24599a; }

/* ---------- v2: photo-driven look ---------- */
.site-header { position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.logo { font-size: 1.4rem; }
.nav a { font-size: .95rem; }

.hero-photo {
  position: relative; color: #fff; min-height: 560px; display: flex; align-items: flex-end;
  background-size: cover; background-position: center 60%;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,24,16,.15) 0%, rgba(20,24,16,.55) 55%, rgba(20,24,16,.92) 100%);
}
.hero-photo .wrap { position: relative; padding-top: 120px; padding-bottom: 56px; width: 100%; }
.hero-photo h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; max-width: 820px; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero-photo p.lead { font-size: 1.2rem; max-width: 640px; color: #f1eee4; }
.hero-photo .eyebrow { color: #f0a868; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; }
.photo-credit { position: absolute; right: 12px; bottom: 8px; font-size: .7rem; color: rgba(255,255,255,.75); z-index: 2; }
.photo-credit a { color: inherit; }

.fit-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; }
.chip:hover { background: rgba(255,255,255,.25); color: #fff; }
.chip.dark { background: #eef0e6; color: var(--olive-dark); border-color: #d6dbc4; }

.trust-strip { background: var(--rust); color: #fff; }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.trust-strip div { font-size: .95rem; }
.trust-strip strong { display: block; font-size: 1.15rem; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 2rem; font-weight: 900; }
.section-head p { margin: 4px 0 0; color: var(--ink-soft); }
.eyebrow-dark { color: var(--rust); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; }

/* Founder story */
.story { padding: 64px 0 56px; background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.story-photo { border-radius: 16px; min-height: 420px; background: repeating-linear-gradient(45deg, #ece6d8, #ece6d8 12px, #e4dccb 12px, #e4dccb 24px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--ink-soft); font-weight: 700; position: relative; box-shadow: 0 14px 30px rgba(30,36,22,.15); }
.story-photo .badge { position: absolute; left: 16px; bottom: 16px; background: var(--olive-dark); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: .85rem; text-align: left; font-weight: 600; }
.story-photo .badge b { display: block; color: #f0a868; font-size: 1rem; }
.story-photo .badge .ph { color: var(--ink); }
.story-photo.has-photo { min-height: 0; padding: 0; background: none; box-shadow: none; display: block; text-align: left; }
.story-photo.has-photo img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 30px rgba(30,36,22,.2); border: 6px solid #fff; }
.story-photo.has-photo .story-caption { font-size: .9rem; color: var(--muted); font-weight: 600; margin: 10px 2px 12px; }
.story-photo.has-photo .badge { position: static; display: inline-block; }
.story h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 900; margin: 6px 0 16px; }
.story p { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 14px; }
.story p.big { font-size: 1.22rem; color: var(--ink); font-weight: 600; }
.build-now { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.build-now .label { font-weight: 800; color: var(--olive-dark); font-size: .9rem; margin-bottom: 8px; }
.build-now .steps { display: flex; flex-wrap: wrap; gap: 8px; }
.build-now .steps span { font-size: .85rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.build-now .done { background: #e6ecd6; color: var(--olive-dark); }
.build-now .next { background: #fbeadf; color: var(--rust-dark); }
.signature { font-weight: 800; color: var(--olive-dark); margin-top: 6px; }
.build-teaser .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--line); }
.rendering-tag.today { background: var(--olive); }
.build-teaser { display: grid; grid-template-columns: 520px 1fr; margin-top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s ease; }
.build-teaser:hover { box-shadow: 0 12px 28px rgba(30,36,22,.15); color: inherit; }
.build-teaser .img { position: relative; min-height: 190px; background-size: cover; background-position: center; }
.build-teaser .text { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.build-teaser p { margin: 0; color: var(--ink-soft); }
.build-teaser .go { font-weight: 800; color: var(--rust); }
@media (max-width: 900px) { .build-teaser { grid-template-columns: 1fr; } }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 36px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--rust); border-radius: 12px; padding: 16px; }
.pillar .num { font-weight: 900; color: var(--rust); font-size: .85rem; letter-spacing: .08em; }
.pillar h3 { margin: 4px 0 6px; font-size: 1.1rem; font-weight: 800; }
.pillar p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr; } .story-photo { min-height: 280px; } }

.cat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cat-card { position: relative; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; text-decoration: none; color: inherit; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(30,36,22,.18); color: inherit; }
.cat-card .img { height: 170px; background-size: cover; background-position: center; position: relative; }
.cat-card .price-chip { position: absolute; left: 10px; bottom: 10px; background: rgba(20,24,16,.85); color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.cat-card .new-chip { position: absolute; right: 10px; top: 10px; background: var(--rust); color: #fff; font-weight: 800; font-size: .72rem; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.cat-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.cat-card .check { font-size: .86rem; color: var(--ink-soft); }
.cat-card .check b { color: var(--ink); }
.cat-card .fits { font-size: .78rem; background: none; padding: 0; margin: 0; color: var(--olive); font-weight: 700; }
.cat-card .go { margin-top: auto; font-weight: 800; color: var(--rust); font-size: .9rem; }

.spec-decoder { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.decoder { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.decoder header { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--olive-dark); color: #fff; }
.decoder header .thumb { width: 56px; height: 56px; border-radius: 8px; background-size: cover; background-position: center; flex: none; }
.decoder header h3 { margin: 0; font-size: 1.05rem; }
.decoder header span { font-size: .8rem; color: #d7dcc4; }
.decoder table { font-size: .88rem; }
.decoder table { table-layout: fixed; }
.decoder td:first-child { font-weight: 800; width: 32%; }
.decoder .rule { background: #fbf3e8; color: var(--rust-dark); font-weight: 700; font-size: .85rem; padding: 10px 14px; border-top: 1px solid var(--line); }

.build-band { position: relative; color: #fff; background-size: cover; background-position: center; }
.build-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,16,.92) 0%, rgba(20,24,16,.75) 50%, rgba(20,24,16,.25) 100%); }
.build-band .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; }
.build-band h2 { margin-top: 0; font-size: 2rem; font-weight: 900; max-width: 560px; }
.tiers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 900px; margin-top: 18px; }
.tier { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 16px; backdrop-filter: blur(2px); }
.tier .amt { font-size: 1.5rem; font-weight: 900; color: #f0a868; }
.tier ul { margin: 8px 0 0; padding-left: 18px; font-size: .92rem; }

.guide-hero { position: relative; color: #fff; background-size: cover; background-position: center; }
.guide-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,16,.25), rgba(20,24,16,.9)); }
.guide-hero .read { position: relative; padding-top: 140px; padding-bottom: 32px; }
.guide-hero .breadcrumb, .guide-hero .breadcrumb a, .guide-hero .byline { color: #e6e3d6; }
.guide-hero h1 { font-weight: 900; }
.guide-hero .ph { color: var(--ink); }

.at-a-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.at-a-glance div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .85rem; color: var(--ink-soft); }
.at-a-glance b { display: block; font-size: 1.05rem; color: var(--ink); }

.signup.photo { background-size: cover; background-position: center; position: relative; overflow: hidden; }
.signup.photo::before { content: ""; position: absolute; inset: 0; background: rgba(20,24,16,.78); }
.signup.photo > * { position: relative; }

@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .hero-photo { min-height: 480px; }
  .section-head h2 { font-size: 1.6rem; }
}
