/* Modern farmhouse, light only: linen white walls, charcoal trim like black window frames,
   white oak for warmth, board-and-batten as the one texture. Deliberately single-theme. */
:root {
  --linen: #fbfaf6;
  --white: #ffffff;
  --charcoal: #23272a;
  --stone: #686c66;
  --batten: #e5e2d9;
  --sage: #eef0e9;
  --oak: #a2774c;
  --cta: #e0a92a;
  --cta-hover: #cc9418;
  --cta-edge: #b8861a;
  --cta-ink: #23272a;
  --blue: #3567a8;
  --blue-deep: #284f82;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 4px;
  --wrap: 1140px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--charcoal);
  font: 400 17px/1.7 var(--body);
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
a { color: var(--charcoal); text-decoration-color: var(--oak); text-underline-offset: 3px; }
a:hover { color: var(--oak); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; color: var(--charcoal); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin: 0.3em 0 0.45em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin: 0 0 0.55em; }
h3 { font-size: 1.15rem; margin: 0 0 0.3em; line-height: 1.3; }
p { margin: 0 0 1em; }
main > section, .plan > h2 { margin-top: 72px; }
main > section:first-of-type { margin-top: 0; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--batten);
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 76px;
  padding-left: max(28px, env(safe-area-inset-left, 0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
}
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.25rem; color: var(--blue); text-decoration: none; }
.brand:hover { color: var(--blue-deep); }
.mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  background: var(--blue); color: var(--white); border-radius: 3px; font-family: var(--display); font-size: 1.2rem;
}
.brand:hover .mark { background: var(--blue-deep); }
.main-nav { justify-self: center; display: flex; gap: 30px; }
.btn-header { justify-self: end; padding: 10px 20px; font-size: 0.88rem; white-space: nowrap; }
.main-nav a { text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.crumbs { font-size: 0.85rem; color: var(--stone); margin-top: 22px; }
.crumbs a { color: var(--stone); }

/* Hero: board-and-batten band */
.hero {
  position: relative;
  margin: 0 calc(50% - 50vw);
  padding: 72px calc(50vw - 50%) 64px;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, var(--batten) 46px 48px),
    var(--white);
  border-bottom: 1px solid var(--batten);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.hero-plan { margin: 0; background: var(--linen); border: 1px solid var(--batten); padding: 22px 22px 16px; }
.hero-plan svg { width: 100%; height: auto; display: block; }
.hero-plan figcaption { text-align: center; }
.hero-inner { min-width: 0; background: var(--white); padding: 34px 38px 30px; border: 1px solid var(--batten); }
.hero .eyebrow { margin-top: 0; }
.lede { font-size: 1.14rem; color: var(--charcoal); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 700;
  color: var(--oak); margin: 26px 0 0;
}

.btn, .btn-ghost {
  display: inline-block; padding: 13px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none;
  border: 1.5px solid var(--charcoal); transition: background 0.15s, color 0.15s;
}
.btn { background: var(--cta); border-color: var(--cta-edge); color: var(--cta-ink); font-weight: 700; }
.btn:hover { background: var(--cta-hover); border-color: var(--cta-edge); color: var(--cta-ink); }
.btn-ghost { background: transparent; color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }
.card .btn-ghost { padding: 8px 16px; font-size: 0.88rem; }

/* Plan cards */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-head p { max-width: 560px; color: var(--stone); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; margin-top: 22px; }
.card { background: var(--white); border: 1px solid var(--batten); display: flex; flex-direction: column; min-width: 0; }
.card-img { display: block; aspect-ratio: 3 / 2; max-width: 100%; background: var(--sage); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 a { color: var(--charcoal); text-decoration: none; }
.card-body h3 a:hover { color: var(--oak); }
.card-body .btn-ghost { margin-top: auto; align-self: flex-start; }
.specs { color: var(--stone); font-size: 0.9rem; margin: 0; font-variant-numeric: tabular-nums; }
.price { font-weight: 700; margin: 0; font-variant-numeric: tabular-nums; }
.feature { margin: 0 0 14px; font-size: 0.95rem; }

.picks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; }
.picks li { padding: 12px 0; border-top: 1px solid var(--batten); }
.picks strong { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oak); }

main ul:not(.picks) { padding-left: 1.2em; }
main li { margin: 0.35em 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--batten); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--batten); vertical-align: top; }
thead th { background: var(--sage); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.specs-table th { width: 42%; font-weight: 600; }
.specs-table td { font-variant-numeric: tabular-nums; }

figure { margin: 30px 0; }
figure img { width: 100%; border: 1px solid var(--batten); background: var(--sage); }
figcaption { font-size: 0.82rem; color: var(--stone); margin-top: 8px; letter-spacing: 0.02em; }

/* Plan page */
.plan { max-width: 100%; }
.plan > p, .plan > ul, .plan .plan-head p, .plan .note { max-width: 880px; }
.plan .plan-head h1 { max-width: 1000px; }
.plan figure img { max-height: 760px; object-fit: contain; }
.plan-head .price { margin: 6px 0 20px; }
.plan .lede { font-size: 1.16rem; }
.note { background: var(--sage); padding: 14px 18px; font-size: 0.92rem; border-left: 3px solid var(--oak); }

.faq-item { border-top: 1px solid var(--batten); padding: 18px 0; }
.faq-item h3 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; }
.faq-item p { margin: 0; max-width: 70ch; }

.cta-band {
  background: var(--charcoal); color: var(--white); padding: 40px 42px; margin: 72px 0 0;
}
.cta-band h2 { color: var(--white); margin-top: 0; }
.cta-band p { color: #d9d8d2; max-width: 62ch; }
.cta-band .btn { border-color: var(--cta); }

.small { font-size: 0.85rem; color: var(--stone); }

/* Footer */
.site-footer { margin-top: 96px; border-top: 1px solid var(--batten); background: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding-block: 36px; font-size: 0.92rem; color: var(--stone); }
.footer-inner a { color: var(--stone); }
.brand-foot { font-family: var(--display); font-size: 1.15rem; color: var(--charcoal); margin-top: 0; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 10px 16px; padding-block: 12px;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; overflow-x: auto; max-width: 100%; }
  .brand { font-size: 1.05rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-plan { max-width: 320px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero-inner { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .main-nav { gap: 16px; }
  .btn-header { padding: 8px 14px; font-size: 0.82rem; }
  .mark { width: 32px; height: 32px; }
  .cta-band { padding: 28px 22px; }
  main > section, .plan > h2 { margin-top: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
