/* seasonalcontracts.com. Light and green like the app; Barlow Condensed for
   headlines (signage, truck lettering), the app's system font for reading.
   One bold element: the billing year, striped like a mowed lawn, one stripe
   per month. Design notes: docs/superpowers/specs/2026-10-13-marketing-site-design.md */

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --turf: #2b7a4b;
  --turf-dark: #1d5a37;
  --pine: #123a25;
  --fog: #f3f5f2;
  --clip: #dcebe0;
  --clip-2: #e9f2eb;
  --ink: #16201a;
  --body-ink: #34433a;
  --muted: #56645b;
  --rule: #d9e1db;
  --frost: #b42318;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-behavior: smooth; }
body { margin: 0; background: var(--fog); color: var(--ink); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turf-dark); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 4px; }

h1, h2 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--pine); text-wrap: balance; }
h2 { font-size: clamp(38px, 5.2vw, 60px); line-height: 0.98; letter-spacing: -0.005em; }
h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; color: var(--pine); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 50; padding: 8px 14px; background: #fff; }

/* Pilot or open: one attribute on <html> picks which buttons show. */
[data-signups="pilot"] .when-open,
[data-signups="open"] .when-pilot,
[data-signups="open"] .pilot-only { display: none !important; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 8px; background: var(--turf); color: #fff; font-weight: 650; font-size: 17px; text-decoration: none; transition: background-color 0.15s; }
.btn:hover { background: var(--turf-dark); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-light { background: #fff; color: var(--pine); }
.btn-light:hover { background: var(--clip); }
.text-link { color: var(--pine); font-weight: 600; text-underline-offset: 3px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(243, 245, 242, 0.95); border-bottom: 1px solid var(--rule); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 650; font-size: 18px; text-decoration: none; white-space: nowrap; }
.top-nav { display: flex; gap: 26px; margin-left: 20px; }
.top-nav a { color: var(--muted); font-size: 16px; text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.login { color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.login:hover { color: var(--turf-dark); }

/* Hero: a headline you could letter on a truck door, the explanation beside it. */
.hero { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(54px, 8.6vw, 124px); line-height: 0.9; letter-spacing: -0.01em; }
.hero h1 span { display: block; }
.hero-side { max-width: 640px; margin-top: clamp(24px, 3.5vw, 40px); }
.hero-side .note { max-width: 52ch; }
.lede { max-width: 46ch; color: var(--body-ink); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.note { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* The billing year */
.year { padding-bottom: var(--section); }
.board { padding: clamp(20px, 3vw, 36px); background: #fff; border: 1px solid var(--rule); border-radius: 18px; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.board-head h2 { font-size: clamp(32px, 4vw, 44px); }
.board-caption { margin-top: 6px; color: var(--muted); font-size: 16px; }
.switch { display: inline-flex; padding: 4px; background: var(--fog); border: 1px solid var(--rule); border-radius: 10px; }
.switch button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 600 15px var(--body); cursor: pointer; }
.switch button:hover { color: var(--ink); }
.switch button[aria-pressed="true"] { background: var(--pine); color: #fff; }

.chart { position: relative; height: clamp(260px, 34vw, 400px); padding: 48px 0 36px; border-radius: 12px; background: repeating-linear-gradient(90deg, var(--clip-2) 0 calc(100% / 12), var(--clip) calc(100% / 12) calc(100% / 6)); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); height: 100%; margin: 0; padding: 0; list-style: none; }
.bars li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 0 clamp(3px, 0.9vw, 12px); }
.board[data-mode="visit"] .bars li { --h: var(--v); --bar: #8dbd9c; --edge: #4f8560; }
.board[data-mode="visit"] .bars li.zero { --h: 0.016; --bar: var(--frost); --edge: var(--frost); }
.board[data-mode="contract"] .bars li { --h: var(--level); --bar: var(--turf); --edge: var(--turf); }
.board.is-growing .bars li { --h: 0; }
.bar { display: block; height: 100%; background: var(--bar); border-top: 3px solid var(--edge); border-radius: 5px 5px 0 0; transform: scaleY(var(--h)); transform-origin: bottom; transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.2, 1), background-color 0.6s, border-color 0.6s; transition-delay: calc(var(--i, 0) * 45ms); }
.amount { position: absolute; left: 0; right: 0; bottom: calc(var(--v) * 100% + 8px); text-align: center; font: 700 clamp(14px, 1.5vw, 20px) / 1 var(--display); color: var(--pine); white-space: nowrap; transition: opacity 0.4s 0.6s; }
.zero .amount { bottom: 14px; color: var(--frost); }
.board[data-mode="contract"] .amount, .board.is-growing .amount { opacity: 0; transition-delay: 0s; }
.month { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font: 600 15px / 1 var(--display); color: var(--muted); letter-spacing: 0.02em; }
.bars li:nth-child(2) { --i: 1; } .bars li:nth-child(3) { --i: 2; } .bars li:nth-child(4) { --i: 3; }
.bars li:nth-child(5) { --i: 4; } .bars li:nth-child(6) { --i: 5; } .bars li:nth-child(7) { --i: 6; }
.bars li:nth-child(8) { --i: 7; } .bars li:nth-child(9) { --i: 8; } .bars li:nth-child(10) { --i: 9; }
.bars li:nth-child(11) { --i: 10; } .bars li:nth-child(12) { --i: 11; }

.level { position: absolute; top: 48px; bottom: 36px; left: 0; right: 0; pointer-events: none; }
.level::before { content: ""; position: absolute; left: 8px; right: 8px; bottom: calc(var(--level) * 100%); border-top: 2px dashed var(--pine); opacity: 0.5; }
.board[data-mode="contract"] .level::before { border-top: 4px solid var(--pine); opacity: 1; }
.level span { position: absolute; left: 12px; bottom: calc(var(--level) * 100% + 10px); padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.88); color: var(--pine); font: 700 clamp(18px, 2.3vw, 30px) / 1 var(--display); }

.board-foot { margin-top: 44px; font-size: 18px; font-weight: 600; color: var(--ink); }
.board[data-mode="visit"] .say-contract, .board[data-mode="contract"] .say-visit { display: none; }
html:not(.js) .switch { display: none; }
html:not(.js) .board .board-foot p { display: block; }

/* Sections */
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 19px; }
.section-head h2 span { display: block; }

/* A season, month by month */
.how { padding-bottom: var(--section); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--turf); }
.timeline li { position: relative; padding-top: 28px; }
.timeline li::before { content: ""; position: absolute; top: -10px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--fog); border: 3px solid var(--turf); }
.when { margin-bottom: 12px; font: 700 27px / 1 var(--display); color: var(--turf); }
.timeline li > p:last-child { color: var(--body-ink); font-size: 17px; }

/* What you get */
.features { padding-bottom: var(--section); }
.feature { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--rule); }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.feature-text p { max-width: 46ch; color: var(--body-ink); }
.shot { justify-self: center; border-radius: 10px; }

/* The rate card */
.pricing { padding-bottom: var(--section); }
.rate { width: 100%; max-width: 860px; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); }
.rate th, .rate td { padding: 20px clamp(12px, 2vw, 28px); text-align: left; border-bottom: 1px solid var(--rule); }
.rate thead th { background: var(--fog); color: var(--muted); font-size: 15px; font-weight: 600; line-height: 1.3; vertical-align: bottom; }
.offer { display: block; margin-top: 6px; color: var(--turf); font: 700 clamp(17px, 1.8vw, 22px) / 1.1 var(--display); }
.per { display: block; margin-top: 8px; color: var(--muted); font: 500 14px / 1.2 var(--body); }
.rate tbody th { font: 700 clamp(26px, 3vw, 34px) / 1 var(--display); color: var(--pine); }
.rate td { font: 600 clamp(24px, 3vw, 34px) / 1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rate td[data-cell="limit"] { color: var(--muted); }
.rate tbody tr:last-child > * { border-bottom: 0; }
.rate-notes { display: flex; flex-wrap: wrap; gap: 6px 32px; margin-top: 16px; color: var(--muted); font-size: 16px; }
.pricing .actions { margin-top: 32px; }
.pricing .note { flex-basis: 100%; margin-top: 0; }

/* Questions */
.faq { padding-bottom: var(--section); }
.faq-list { max-width: 860px; border-bottom: 1px solid var(--rule); }
details { padding: 18px 0; border-top: 1px solid var(--rule); }
summary { display: flex; justify-content: space-between; gap: 16px; color: var(--pine); font-size: 19px; font-weight: 650; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; flex-shrink: 0; color: var(--turf); font: 600 28px / 0.8 var(--display); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 62ch; margin-top: 10px; color: var(--body-ink); font-size: 17px; }

/* Closing */
.closing { padding: clamp(64px, 9vw, 112px) 0; background: var(--pine); color: #cfe3d5; }
.closing h2 { color: #fff; font-size: clamp(44px, 7vw, 92px); }
.closing-inner > p { margin-top: 14px; font-size: 19px; }
.closing .text-link { color: #fff; }
.closing :focus-visible { outline-color: #fff; }

/* Footer */
.foot { padding: 40px 0 56px; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.foot-brand p { max-width: 52ch; margin-top: 10px; color: var(--muted); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.foot-links a { color: var(--muted); }

@media (max-width: 900px) {
  .top-nav { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 36px 28px; border-top: 0; }
  .timeline li { border-top: 3px solid var(--turf); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .top-inner { height: 58px; gap: 14px; }
  .brand { font-size: 16px; }
  .actions .btn { width: 100%; }
  .switch { width: 100%; }
  .switch button { flex: 1; padding: 0 8px; font-size: 14px; }
  .chart { padding-top: 40px; }
  .level { top: 40px; }
  .level span { left: 4px; font-size: 16px; }
  .peak .amount { display: none; }
  .month { font-size: 12px; letter-spacing: 0; }
  .timeline { grid-template-columns: 1fr; }
  .rate th, .rate td { padding: 14px 8px; }
  .rate thead th { font-size: 13px; }
  .offer { font-size: 16px; }
  .per { font-size: 12px; }
  .rate tbody th, .rate td { font-size: 22px; }
}

@media (max-width: 420px) {
  .top-actions .btn-small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .amount, summary::after { transition: none; }
}

@media print {
  .board.is-growing .bars li { --h: var(--v); }
  .switch, .top { display: none; }
}
