/* AgriDraw home page. Tokens match Lovable .brand-agridraw / :root. */
.mkt-home {
  --brand: oklch(0.346 0.074 256);
  --brand-deep: oklch(0.291 0.062 255.8);
  --brand-foreground: oklch(0.985 0.005 250);
  --accent-brand: oklch(0.766 0.136 79.9);
  --accent-brand-foreground: oklch(0.291 0.062 255.8);
  --surface: oklch(0.344 0.039 254.6);
  --surface-foreground: oklch(0.985 0.005 250);
  --font-heading: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  background: var(--brand);
  color: var(--brand-foreground);
  font-family: var(--font-body);
  line-height: 1.5;
}
.mkt-home * { box-sizing: border-box; }
.mkt-home h1, .mkt-home h2, .mkt-home h3, .mkt-home h4 { font-family: var(--font-heading); letter-spacing: -0.025em; }
.mkt-home h1 { margin: 2rem 0 0; font-size: 3rem; font-weight: 700; line-height: 1.05; }
.mkt-home h2 { margin: 0; font-size: 1.875rem; font-weight: 700; line-height: 1.15; }
.mkt-home h3 { margin: 0; }
.mkt-home a { color: inherit; }
.mkt-home .accent { color: var(--accent-brand); }
.mkt-home .wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.mkt-home .narrow { max-width: 48rem; }
.mkt-home .lede { margin: 1rem 0 0; max-width: 48rem; font-size: 1.125rem; line-height: 1.625; color: color-mix(in srgb, var(--brand-foreground) 80%, transparent); }
.mkt-home .eyebrow { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-brand); }
.mkt-home .eyebrow.dim { color: color-mix(in srgb, var(--brand-foreground) 60%, transparent); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent);
  background: color-mix(in srgb, var(--brand-deep) 90%, transparent);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 0; }
.brand-lockup { display: flex; align-items: center; gap: 0.75rem; }
.mark {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.375rem;
  background: var(--accent-brand); color: var(--accent-brand-foreground);
  font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700;
}
.brand-name { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.375rem; background: var(--accent-brand); color: var(--accent-brand-foreground);
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; letter-spacing: -0.025em;
  text-decoration: none; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); transition: transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.contact-row { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding-top: 0.5rem; padding-bottom: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--brand-foreground) 70%, transparent); }
.contact-row a { text-decoration: none; }
.contact-row a:hover { color: var(--accent-brand); }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--brand-deep) 80%, transparent); }
.hero-copy { max-width: 56rem; margin: 0 auto; padding: 7rem 1.5rem; text-align: center; }
.pill {
  display: inline-flex; align-items: center; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-foreground) 25%, transparent);
  padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: color-mix(in srgb, var(--brand-foreground) 80%, transparent);
}
.hero-copy p { max-width: 42rem; margin: 1.5rem auto 0; font-size: 1.125rem; line-height: 1.625; color: color-mix(in srgb, var(--brand-foreground) 85%, transparent); }

.terms { border-top: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); background: var(--brand-deep); }
.terms-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 4rem; padding-top: 2.5rem; padding-bottom: 2.5rem; text-align: center; }
.terms-row strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--accent-brand); }
.terms-row span { display: block; margin-top: 0.25rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--brand-foreground) 60%, transparent); }

.band { border-top: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); background: var(--brand-deep); }
.band > .wrap, .how > .wrap, .faq > .wrap, .contact > .wrap { padding-top: 6rem; padding-bottom: 6rem; }
.portal-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
.portal-card {
  display: flex; flex-direction: column; border-radius: 0.625rem;
  border: 1px solid color-mix(in srgb, var(--brand-foreground) 15%, transparent);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  color: var(--surface-foreground); padding: 2rem;
}
.portal-card h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.portal-card p { margin: 0.75rem 0 0; flex: 1; line-height: 1.625; color: color-mix(in srgb, var(--surface-foreground) 85%, transparent); }
.portal-card a { margin-top: 1.5rem; font-weight: 600; color: var(--accent-brand); text-decoration: none; }
.portal-card a:hover { text-decoration: underline; }

.showcase { padding-top: 6rem; }
.showcase .lede { max-width: 48rem; }
.show-stack { display: grid; gap: 6rem; margin-top: 4rem; }
.show-row { display: grid; gap: 3rem; align-items: center; }
.show-row h3 { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; }
.show-row p, .mfr p { margin: 1rem 0 0; line-height: 1.625; color: color-mix(in srgb, var(--brand-foreground) 80%, transparent); }
.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.625rem; }
.ticks.wrap { display: flex; flex-wrap: wrap; gap: 0.625rem 1.5rem; }
.ticks li { display: flex; gap: 0.75rem; color: color-mix(in srgb, var(--brand-foreground) 80%, transparent); }
.ticks i { width: 0.375rem; height: 0.375rem; margin-top: 0.55rem; border-radius: 999px; background: var(--accent-brand); flex: none; }
.mfr h3 { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; }
.mfr .shot { margin-top: 2.5rem; }

.shot { margin: 0; overflow: hidden; border-radius: 0.875rem; border: 1px solid color-mix(in srgb, var(--brand-foreground) 15%, transparent); background: var(--surface); color: var(--surface-foreground); box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4); }
.shot-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--surface-foreground) 10%, transparent); background: color-mix(in srgb, var(--surface-foreground) 4%, transparent); }
.shot-bar i { width: 0.625rem; height: 0.625rem; border-radius: 999px; background: color-mix(in srgb, var(--surface-foreground) 20%, transparent); }
.shot-bar span { margin-left: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.75rem; color: color-mix(in srgb, var(--surface-foreground) 60%, transparent); }
.shot img { display: block; width: 100%; background: #fff; object-fit: cover; object-position: top; }
.shot figcaption, .mock figcaption { border-top: 1px solid color-mix(in srgb, var(--surface-foreground) 10%, transparent); padding: 0.5rem 1.25rem; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--surface-foreground) 45%, transparent); }
.mock-body { background: #F4F5F7; padding: 1.5rem 1.25rem; }
.mock-panel { border: 1px solid #e5e7eb; border-radius: 0.5rem; background: #fff; padding: 1.25rem; }
.mock-panel + .mock-panel { margin-top: 1rem; }
.mock-head { display: flex; align-items: center; gap: 0.5rem; }
.mock-head h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #111827; letter-spacing: 0; }
.mock-head .aside { margin-left: auto; font-size: 0.75rem; color: #9ca3af; }
.chev { color: #9ca3af; font-size: 1rem; line-height: 1; }
.count { border-radius: 999px; background: #f3f4f6; color: #6b7280; font-size: 0.75rem; font-weight: 600; padding: 0.125rem 0.5rem; }
.empty { margin: 1rem 0 0; font-size: 0.875rem; color: #d1d5db; }
.program-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.program-card { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 0.5rem; background: #fff; padding: 1.25rem; box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.program-top { display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-start; }
.program-name { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.program-blurb { margin: 0.25rem 0 0; font-size: 0.875rem; color: #6b7280; }
.program-type { flex: none; border-radius: 999px; padding: 0.25rem 0.625rem; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.program-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin: 1.25rem 0 0; }
.program-meta dt { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9ca3af; }
.program-meta dd { margin: 0.125rem 0 0; font-size: 0.875rem; font-weight: 500; color: #374151; }
.program-meta dd.strong { font-size: 1rem; font-weight: 700; color: #111827; }
.program-meta dd.sub { font-size: 0.75rem; font-weight: 400; color: #9ca3af; }
.program-meta .span2 { grid-column: 1 / -1; }
.program-products { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #f3f4f6; }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9ca3af; }
.chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.5rem; }
.chip { border: 1px solid #e5e7eb; border-radius: 0.375rem; background: #f9fafb; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 500; color: #4b5563; }

.fico { margin-top: 2.5rem; }
.fico-band { border-radius: 0.625rem; border: 1px solid color-mix(in srgb, var(--accent-brand) 40%, transparent); background: color-mix(in srgb, var(--accent-brand) 10%, transparent); padding: 2rem; }
.fico-band p { margin: 1rem 0 0; max-width: 48rem; font-size: 1.125rem; line-height: 1.625; color: color-mix(in srgb, var(--brand-foreground) 85%, transparent); }
.elig { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.elig > div { border-radius: 0.625rem; border: 1px solid color-mix(in srgb, var(--brand-foreground) 15%, transparent); padding: 2rem; }
.elig ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; color: color-mix(in srgb, var(--brand-foreground) 85%, transparent); }
.elig ul.dim { color: color-mix(in srgb, var(--brand-foreground) 70%, transparent); }
.note { margin: 1.25rem 0 0; font-size: 0.875rem; color: color-mix(in srgb, var(--brand-foreground) 60%, transparent); }

.covers { padding-top: 6rem; padding-bottom: 6rem; }
.cover-list { display: grid; gap: 1.25rem; margin-top: 3rem; }
.cover-list article { border-radius: 0.625rem; background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--surface-foreground); padding: 2rem; }
.cover-list h3 { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-brand); }
.cover-list p { margin: 0.75rem 0 0; max-width: 48rem; line-height: 1.625; color: color-mix(in srgb, var(--surface-foreground) 85%, transparent); }

.how ol { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem; }
.how li { display: flex; gap: 1.25rem; }
.how li > span {
  margin-top: 0.25rem; display: grid; place-items: center; width: 2rem; height: 2rem; flex: none;
  border-radius: 0.375rem; border: 1px solid color-mix(in srgb, var(--accent-brand) 50%, transparent);
  font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--accent-brand);
}
.how h3 { font-size: 1.125rem; font-weight: 600; }
.how p { margin: 0.5rem 0 0; line-height: 1.625; color: color-mix(in srgb, var(--brand-foreground) 75%, transparent); }

.closing { padding: 6rem 1.5rem; text-align: center; }
.closing p { margin: 0; font-size: 0.875rem; color: color-mix(in srgb, var(--brand-foreground) 70%, transparent); }
.closing a { color: var(--accent-brand); text-decoration: none; }

.faq-wrap { max-width: 56rem; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); }
.faq-list details { padding: 1.25rem 0; border-top: 1px solid color-mix(in srgb, var(--brand-foreground) 10%, transparent); }
.faq-list details:first-child { border-top: 0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; cursor: pointer; list-style: none; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { flex: none; color: var(--accent-brand); transition: transform 0.2s; }
.faq-list details[open] .plus { transform: rotate(45deg); }
.faq-list p { margin: 0.75rem 0 0; line-height: 1.625; color: color-mix(in srgb, var(--brand-foreground) 75%, transparent); }

.help { border-bottom: 0; }
.help-inner { padding-top: 2.5rem; padding-bottom: 2.5rem; text-align: center; }
.help-inner > p { margin: 0; font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--brand-foreground) 70%, transparent); }
.help-inner div { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin-top: 0.75rem; }
.help-inner a { font-size: 1.125rem; font-weight: 600; color: var(--accent-brand); text-decoration: none; }
.help-inner a:hover { text-decoration: underline; }

.contact { border-bottom: 0; }
.frame-card { margin-top: 2.5rem; overflow: hidden; border-radius: 0.625rem; background: var(--surface); padding: 0.5rem; }
.frame-card iframe { display: block; width: 99%; height: 720px; border: 0; }
.back { margin: 2rem 0 0; text-align: center; }
.back a { font-size: 0.875rem; font-weight: 600; color: var(--accent-brand); }
.back a:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .mkt-home h1 { font-size: 3.75rem; }
  .mkt-home h2 { font-size: 2.25rem; }
  .show-row h3, .mfr h3 { font-size: 1.875rem; }
  .fico-band { padding: 2.5rem; }
  .elig { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .portal-grid { grid-template-columns: repeat(3, 1fr); }
  .show-row { grid-template-columns: 1fr 1fr; }
  .show-row.flip > div:first-child { order: 2; }
  .program-grid { grid-template-columns: repeat(3, 1fr); }
}
