@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  color-scheme: light;
  --navy: #17374d;
  --navy-dark: #102c40;
  --muted: #5b6e7a;
  --line: #d9e1e5;
  --gold: #b28b37;
  --paper: #ffffff;
  --background: #f4f6f7;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--navy-dark);
  background: var(--background);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
main { flex: 1; min-width: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 12px 18px; background: white; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.landing { width: 100%; max-width: 1600px; margin: 0 auto; padding: clamp(22px, 2.5vw, 40px) clamp(12px, 2vw, 32px) 24px; }
.intro { display: grid; grid-template-columns: minmax(290px, 30%) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.brand { display: block; width: clamp(260px, 25vw, 360px); height: clamp(160px, 16vw, 220px); overflow: hidden; }
.brand img { display: block; width: 100%; height: auto; transform: translateY(-20%); }
.message { padding: 0 clamp(8px, 3vw, 48px) 16px; text-align: center; }
.message h1 { margin: 0 0 4px; font-size: clamp(1.65rem, 2.05vw, 2rem); font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.message .lead { margin: 0 0 22px; font-size: clamp(1.4rem, 1.75vw, 1.7rem); font-weight: 500; line-height: 1.4; }
.message p:not(.lead) { max-width: 900px; margin: 0 auto 18px; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.5; }
.message > p:last-child { margin-bottom: 0; }
.message strong { font-weight: 600; }
.message em { font-size: .92em; font-style: italic; }

/* A real, responsive report surface with the reference's 56 / 44 split. */
.report { overflow: hidden; border: 1px solid #ccd7de; border-radius: 12px; background: #edf2f5; box-shadow: 0 8px 30px #17374d0c; }
.report-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 20px; background: var(--navy-dark); color: white; border-bottom: 3px solid var(--gold); }
.report-brand { font-size: .875rem; font-weight: 700; letter-spacing: .1em; }
.report-brand span { margin-left: 8px; font-size: .75rem; font-weight: 400; color: #c6d2db; letter-spacing: .12em; }
.example-label { color: #e0e8ed; font-size: .75rem; white-space: nowrap; }
.report-grid { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: 10px; padding: 10px; align-items: stretch; }
.imagery { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.image-panel, .report-details { margin: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); overflow: hidden; }
.image-panel { padding: 0 10px 10px; }
.image-panel figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 4px 10px; }
.report h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.image-panel figcaption > span { color: var(--muted); font-size: .75rem; }
.image-panel img { display: block; width: 100%; height: auto; border-radius: 3px; }
.map { position: relative; }
.map svg { position: absolute; filter: drop-shadow(0 1px 2px #102c40); pointer-events: none; }
.map-axes { width: 27%; top: 1%; left: 1%; }
.compass { width: 16%; top: 24%; right: 9%; }
.report-details { min-width: 0; padding: 14px 12px 10px; }
.field-info { padding: 0 3px 12px; border-bottom: 1px solid var(--line); }
.field-info dl { display: grid; grid-template-columns: minmax(100px, 35%) minmax(0, 1fr); gap: 5px 14px; margin: 12px 0 0; font-size: clamp(.875rem, 1.35vw, 1.125rem); line-height: 1.4; }
.field-info dt { color: var(--muted); }
.field-info dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.field-info dd span { font-size: .9em; font-weight: 400; }
.scan { padding-top: 12px; }
.scan-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.scan-heading time { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.scan-summary { margin: 7px 0 12px; color: var(--muted); font-size: .9375rem; }
.scan-summary strong { color: var(--navy-dark); font-weight: 600; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 10px; }
.metric { display: flex; align-items: center; gap: 18px; padding: 6px 14px; border-radius: 5px; min-height: 52px; }
.metric strong { min-width: 1.3em; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.metric span { min-width: 0; overflow-wrap: anywhere; font-size: clamp(.875rem, 1.5vw, 1.125rem); }
.disease { color: #923f45; background: #f7e4e4; }
.variety { color: #765715; background: #f8edcd; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }
table { width: 100%; border-collapse: collapse; font-size: clamp(.75rem, 1.25vw, 1rem); font-variant-numeric: tabular-nums; line-height: 1.25; }
th { padding: 8px 9px; text-align: left; background: #e3ecf1; font-weight: 600; white-space: nowrap; }
td { padding: 3px 9px; border-top: 1px solid #e5ebef; white-space: nowrap; }
th:last-child, td:last-child { text-align: center; }
tbody tr:nth-child(even) { background: #f6f8fa; }
.separator { color: #7c8c97; padding: 0 3px; }
.condition { display: block; padding: 2px 6px; border-radius: 3px; font-size: .94em; }

.sticky-cta { position: sticky; z-index: 10; bottom: 0; min-height: 88px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 16px 24px; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffffff5; box-shadow: 0 -4px 24px #17374d08; backdrop-filter: blur(14px); }
.sticky-cta p { margin: 0; font-size: 1rem; }
.sticky-cta a { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-width: 205px; padding: 14px 18px; border-radius: 5px; background: var(--navy); color: white; text-decoration: none; font-size: .9rem; font-weight: 600; }
.sticky-cta a:hover { background: var(--navy-dark); }

@media (max-width: 1000px) and (min-width: 761px) {
  .image-panel figcaption > span { display: none; }
  .scan-heading { flex-wrap: wrap; gap: 6px; }
  .metric { gap: 8px; padding-inline: 8px; }
  .report-details { padding-inline: 8px; }
  th, td { padding-inline: 5px; }
}
@media (max-width: 760px) {
  .landing { padding: 18px 8px 16px; }
  .intro { grid-template-columns: minmax(100px, 31%) minmax(0, 1fr); gap: 12px; padding: 0 8px 14px; align-items: start; }
  .identity { grid-column: 1; grid-row: 1; min-width: 0; }
  .brand { width: 100%; max-width: 180px; height: auto; aspect-ratio: 1.65; }
  .message { display: contents; }
  .message-heading { grid-column: 2; grid-row: 1; min-width: 0; text-align: left; }
  .message h1 { font-size: clamp(1rem, 3.8vw, 1.25rem); line-height: 1.3; margin-bottom: 4px; }
  .message .lead { margin: 0; font-size: clamp(.875rem, 3.3vw, 1.0625rem); line-height: 1.35; }
  .message > p:not(.lead) { grid-column: 1 / -1; width: 100%; margin: 0; font-size: 1rem; line-height: 1.45; text-align: left; }
  .report-bar { padding: 12px; }
  .report-brand span { display: none; }
  .report-grid { grid-template-columns: 1fr; padding: 7px; gap: 8px; }
  .imagery { gap: 8px; }
  .report h2 { font-size: 1.35rem; }
  .field-info dl { font-size: 1rem; }
  .report-details { padding: 14px 10px 10px; }
  .scan-heading { flex-wrap: wrap; gap: 8px; }
  .metric { gap: 12px; }
  .metric strong { font-size: 2rem; }
  .metric span { font-size: .9375rem; }
  table { font-size: .875rem; }
  th, td { padding: 7px 5px; }
  th { font-size: .8rem; }
  .sticky-cta { min-height: 94px; gap: 12px; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .sticky-cta p { flex: 1; font-size: .8125rem; line-height: 1.4; }
  .sticky-cta a { min-width: 145px; gap: 12px; padding: 12px; font-size: .8125rem; }
}

@media (max-width: 380px) {
  .image-panel figcaption { flex-wrap: wrap; gap: 4px; }
  .metric { gap: 6px; padding-inline: 8px; }
  .sticky-cta { flex-wrap: wrap; }
  .sticky-cta p { flex-basis: 100%; }
  .sticky-cta a { width: 100%; min-height: 44px; }
}
