/* Little Homestead website. Colors match the app (src/theme.js). */
:root {
  --bg: #F1F6E8; --surface: #FFFFFF; --surface2: #EAF2DC; --ink: #1F2E1D; --ink-soft: #56684E;
  --line: #D2DFBF; --leaf: #3B8A3E; --leaf-deep: #2A6A2D; --leaf-tint: #D9EEC9;
  --sun: #F7C531; --sun-tint: #FDF0C2; --tomato: #D9472F; --honey: #C98408; --sky: #2479C2; --berry: #A23E74;
  --sky-scene: #CFE8F5; --hill1: #7CBF5A; --hill2: #A9D67F; --barn: #D9472F; --roof: #8A5A2B; --cloud: #FFFFFF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13201A; --surface: #1B2B22; --surface2: #22362A; --ink: #ECF4E4; --ink-soft: #A8BA9F;
    --line: #304A39; --leaf: #6CC070; --leaf-deep: #3E8A43; --leaf-tint: #244A2B;
    --sun: #F4C64E; --sun-tint: #4A3D12; --tomato: #FF7A62; --honey: #F2B442; --sky: #6BB8F2; --berry: #E784B5;
    --sky-scene: #1E3550; --hill1: #2F6234; --hill2: #3E7A42; --barn: #B5503D; --roof: #6B4524; --cloud: #3E577C;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--leaf); font-weight: 600; }
a:hover { color: var(--leaf-deep); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.top { padding: 16px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand svg { width: 36px; height: 36px; border-radius: 9px; flex: none; }
nav a { margin-left: 16px; text-decoration: none; color: var(--ink-soft); }
nav a:first-child { margin-left: 0; }
nav a[aria-current] { color: var(--leaf); }
.scene { display: block; width: 100%; height: clamp(150px, 22vw, 240px); }
.hero { text-align: center; padding: 28px 16px 8px; }
h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.5px; }
h2 { font-size: 24px; line-height: 1.25; margin: 36px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
.pitch { font-size: clamp(19px, 3.6vw, 23px); color: var(--ink-soft); margin: 0 auto 22px; max-width: 30em; }
.badge {
  display: inline-block; background: var(--ink); color: var(--bg); border-radius: 999px;
  padding: 10px 22px; font-weight: 700; font-size: 16px;
}
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.features li { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.features strong { display: block; font-size: 18px; }
.features span { color: var(--ink-soft); font-size: 16px; }
.features li::before { content: ""; display: block; width: 36px; height: 6px; border-radius: 3px; background: var(--c, var(--leaf)); margin-bottom: 10px; }
.plans { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plans li { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.plans strong { display: block; font-size: 18px; }
.plans .price { display: block; font-size: 24px; font-weight: 800; margin: 2px 0 6px; }
.plans span:not(.price) { color: var(--ink-soft); font-size: 16px; }
.fine { color: var(--ink-soft); font-size: 15px; }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 24px 0; }
.card.note { background: var(--leaf-tint); border-color: transparent; }
.card p:first-child, .card h2:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.doc { padding-top: 8px; padding-bottom: 24px; }
.doc h1 { font-size: clamp(30px, 6vw, 40px); }
.meta { color: var(--ink-soft); margin-top: 0; }
.doc li { margin: 6px 0; }
details { background: var(--surface); border: 2px solid var(--line); border-radius: 16px; padding: 0 18px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: inside; }
details[open] summary { border-bottom: 2px dashed var(--line); margin-bottom: 4px; }
.ph { background: var(--sun-tint); outline: 2px dashed var(--sun); border-radius: 4px; padding: 0 4px; font-weight: 700; }
footer { border-top: 2px dashed var(--line); margin-top: 40px; padding: 20px 0 36px; color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { margin-right: 14px; }
@media (max-width: 480px) {
  body { font-size: 16px; }
  nav a { margin-left: 12px; }
}
