/* Print Foreman landing page, Phase 1a (verification page).
   Load print-foreman-tokens.css first. Dark graphite base; orange only for the brand and the primary button. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pf-bg);
  color: var(--pf-text);
  font: 400 17px/1.6 var(--pf-font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--pf-accent-text); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--pf-focus); outline-offset: 2px; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--pf-font-mono); font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: 16px; top: -48px; background: var(--pf-accent); color: var(--pf-on-accent); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }

/* Header: logo small, top left (1 PAS: never lead with the name; brand kit: 26 px minimum, mark on phones at 28 px). */
.site-head { padding: 20px 16px; }
.brand { display: inline-block; padding: 7px; margin: -7px; } /* clear space: one layer height (about 7 px at this size) */
.brand img { height: 32px; width: auto; }
@media (max-width: 599px) { .brand img { height: 28px; } }

/* Hero: headline, subhead, then the offer box on the right and the photo on the left (desktop). On phones the offer follows the headline. */
.hero {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px 48px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "offer" "lede" "photo";
}
.hero-copy { grid-area: copy; }
.offer { grid-area: offer; }
.lede { grid-area: lede; }
.farm-photo { grid-area: photo; }

@media (min-width: 900px) {
  .site-head { padding: 28px 32px; }
  .hero {
    padding: 16px 32px 64px;
    column-gap: 40px;
    row-gap: 32px;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 400px);
    grid-template-areas: "copy offer" "lede offer" "photo offer";
    align-items: start;
  }
  .offer { position: sticky; top: 24px; margin-top: 30px; }
  h1 { font-size: clamp(36px, 4.4vw, 60px); }
}

.eyebrow {
  margin: 0 0 14px;
  font: 500 13px/1.3 var(--pf-font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pf-accent-text);
}
h1, h2 {
  font-family: var(--pf-font-display);
  font-stretch: 118%;
  text-wrap: balance;
  margin: 0;
}
h1 {
  font-weight: 900;
  font-size: clamp(32px, 6.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.01em;
  max-width: 18ch;
}
.subhead {
  margin: 16px 0 0;
  font-family: var(--pf-font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
  color: var(--pf-text);
  max-width: 32ch;
  text-wrap: balance;
}
.lede {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--pf-text);
}

/* Offer box */
.offer {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: 12px;
  padding: 24px 20px;
}
.offer h2 { font-size: 24px; font-weight: 800; line-height: 1.15; }
.offer > p { margin: 10px 0 18px; color: var(--pf-text-muted); font-size: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; }
.field input {
  font: inherit;
  font-size: 16px; /* stops iOS zoom on focus */
  color: var(--pf-text);
  background: var(--pf-bg);
  border: 1px solid var(--pf-border-strong);
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 46px;
  width: 100%;
}
.field input:focus-visible { outline-offset: 0; border-color: var(--pf-focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--pf-accent);
  color: var(--pf-on-accent); /* graphite on orange, never white */
  font: 600 17px/1.2 var(--pf-font-body);
  cursor: pointer;
}
.btn:hover { background: var(--pf-accent-hover); }
.btn[disabled] { opacity: .7; cursor: progress; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--pf-text-muted); }
.form-msg { margin: 10px 0 0; font-size: 15px; min-height: 1px; }
.form-msg:empty { display: none; }

/* Farm photo */
.farm-photo { margin: 0; }
.farm-photo img, .photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  object-fit: cover;
  background: var(--pf-surface-2);
}
.photo-placeholder {
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  border: 2px dashed var(--pf-border-strong);
  color: var(--pf-text-muted);
  font-size: 15px;
}
.photo-placeholder .mono { color: var(--pf-text); font-size: 14px; }
.farm-photo figcaption { margin-top: 12px; font-size: 15px; color: var(--pf-text-muted); }
.farm-photo figcaption .mono { color: var(--pf-text); }
/* Text-only farm line while the photo is deferred */
.farm-line { font-size: 15px; color: var(--pf-text-muted); }
.farm-line .mono { color: var(--pf-text); }

/* Footer */
.site-foot {
  border-top: 1px solid var(--pf-border);
  padding: 24px 16px 32px;
  font-size: 14px;
  color: var(--pf-text-muted);
  text-align: center;
}
.site-foot p { margin: 4px auto; max-width: 70ch; }
.site-foot .small { font-size: 13px; }

/* Privacy page */
.doc { width: 100%; max-width: 720px; margin: 0 auto; padding: 8px 16px 56px; flex: 1; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); max-width: none; }
.doc h2 { font-size: 20px; font-weight: 800; margin-top: 32px; }
.doc p, .doc li { color: var(--pf-text); }
.doc .meta { color: var(--pf-text-muted); font: 400 14px var(--pf-font-mono); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Screenshot tour */
.tour { max-width: 1240px; margin: 0 auto; padding: 8px 20px 64px; }
.tour h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; }
.tour-note { margin: 8px 0 0; color: var(--pf-text-muted); font-size: 15px; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
.tour-item { margin: 0; min-width: 0; }
.tour-item img, .tour-item .clip { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 10px; border: 1px solid var(--pf-border); background: var(--pf-surface); }
.tour-item figcaption { margin-top: 10px; font-size: 15px; color: var(--pf-text-muted); }
.tour-item figcaption b { display: block; color: var(--pf-text); font-weight: 600; font-size: 16px; }
.tour-cta { margin: 32px 0 0; }
.tour-cta .btn { display: inline-flex; align-items: center; justify-content: center; width: auto; padding-inline: 28px; text-decoration: none; }
@media (min-width: 900px) {
  .tour { padding: 16px 32px 80px; }
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; }
  .tour-item.wide { grid-column: 1 / -1; }
}
.tour-item .zoom { display: block; border-radius: 10px; }
.tour-item .zoom:focus-visible { outline: 2px solid var(--pf-accent); outline-offset: 3px; }
