/* The selected reference rebuilt with live text and responsive, sharp phone UI. */
.reference-home-page,
.reference-home-page .site-header,
.reference-home-page .site-footer {
  font-family: "DM Sans", "Manrope", sans-serif !important;
}

.reference-hero {
  height: clamp(420px, 43.16vw, 530px);
  overflow: hidden;
  background: linear-gradient(90deg, #fffffff9 0%, #fffffff0 23%, #ffffffe2 40%, #ffffff2b 73%, #ffffff00 100%), url('/static/images/selected-design/field-background.png') center 58% / cover no-repeat;
}
.reference-hero:before,
.reference-hero:after { display: none; }
.reference-hero-grid { height: 100%; position: relative; display: block; }
.reference-hero-copy {
  position: relative !important;
  z-index: 2;
  width: min(56%, 650px) !important;
  height: auto !important;
  max-width: none;
  padding: clamp(50px, 5vw, 66px) 0 0 13px;
  overflow: visible !important;
  clip-path: none !important;
  white-space: normal !important;
}
.reference-kicker {
  margin-bottom: 17px;
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.3;
  letter-spacing: .29em;
  font-weight: 700;
}
.reference-hero h1 {
  margin: 0;
  color: #102e21;
  font-family: "DM Sans", "Manrope", sans-serif;
  font-size: clamp(59px, 5.9vw, 82px);
  line-height: 1.01;
  letter-spacing: -.056em;
  font-weight: 800;
}
.reference-lead {
  width: min(100%, 590px);
  max-width: none;
  margin-top: 19px;
  color: #263a30;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.45;
  font-weight: 400;
}
.reference-values { gap: clamp(16px, 1.9vw, 27px); margin-top: clamp(30px, 3.4vw, 47px); }
.reference-values span { gap: 7px; color: #344a3c; font-size: clamp(10px, .9vw, 13px); font-weight: 500; }
.reference-values svg { width: clamp(20px, 1.7vw, 27px); height: clamp(20px, 1.7vw, 27px); fill: none; stroke: #145b39; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.reference-values span:nth-child(2) svg { fill: #145b39; stroke-width: 1; }
.reference-script {
  top: clamp(315px, 33vw, 405px);
  right: -3px;
  color: #214831;
  font: 600 clamp(29px, 3vw, 42px)/.86 "Caveat", cursive;
  transform: rotate(-9deg);
}
.reference-script:after { width: 115px; margin-top: 7px; border-top-width: 2px; }

/* Device shells are CSS; screen content is real market and news data. */
.hero-phone-stage { position: absolute; z-index: 3; right: 2.7%; bottom: 0; width: min(44%, 510px); height: 100%; }
.hero-phone {
  position: absolute;
  bottom: -3px;
  box-sizing: border-box;
  padding: 5px;
  border: 3px solid #4e5650;
  border-radius: 38px;
  background: linear-gradient(115deg, #151b17, #4b5149 8%, #0e1310 18%, #070a08 84%, #777c72 97%, #171c18);
  box-shadow: 0 15px 28px #0b211c40, 0 3px 4px #0b211c55, inset 0 0 0 2px #080c09;
  font-size: clamp(7px, .75vw, 11px);
}
.hero-phone-market { left: 0; z-index: 2; width: 52%; height: 99%; transform: rotate(-.7deg); }
.hero-phone-news { right: 0; z-index: 1; width: 48%; height: 93%; transform: rotate(1.4deg); }
.hero-phone:before { content: ""; position: absolute; left: -5px; top: 70px; width: 2px; height: 35px; border-radius: 2px; background: #70776d; }
.hero-phone:after { content: ""; position: absolute; right: -5px; top: 120px; width: 2px; height: 49px; border-radius: 2px; background: #6c746b; }
.hero-phone-screen { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 2px solid #050806; border-radius: 31px; background: #fff; }
.hero-phone-notch { position: absolute; top: 0; left: 50%; z-index: 5; width: 39%; height: 4%; min-height: 11px; transform: translateX(-50%); border-radius: 0 0 12px 12px; background: #080b09; }
.hero-phone-status { flex: 0 0 5%; min-height: 17px; display: flex; justify-content: space-between; padding: 4px 7% 0; color: #101b14; font-size: .78em; font-weight: 700; }
.hero-phone-brand { flex: 0 0 8%; min-height: 28px; display: flex; align-items: center; gap: 3px; padding: 0 6%; color: #123a23; }
.hero-phone-brand img { width: 17px; height: 17px; object-fit: contain; }
.hero-phone-brand b { font-size: 1.22em; letter-spacing: -.05em; white-space: nowrap; }
.hero-phone-brand span { margin-left: auto; color: #145c36; font-size: 1.25em; }
.hero-phone-tabs { flex: 0 0 7%; min-height: 24px; display: flex; align-items: center; justify-content: space-around; gap: 1px; padding: 0 4%; border-bottom: 1px solid #eef1ec; color: #637168; }
.hero-phone-tabs > * { padding: .65em .46em; font-size: .83em; font-weight: 500; white-space: nowrap; }
.hero-phone-tabs b, .hero-phone-news-tabs b { border-radius: 4px; background: #195a36; color: #fff; font-weight: 700; }
.hero-phone-filters { flex: 0 0 7%; min-height: 25px; display: flex; align-items: center; gap: 3px; padding: 2px 5%; }
.hero-phone-filters span { flex: 1; display: flex; justify-content: space-between; align-items: center; min-width: 0; padding: 4px 5px; overflow: hidden; border: 1px solid #e5e9e4; border-radius: 4px; color: #39483d; font-size: .85em; white-space: nowrap; }
.hero-phone-filters i { color: #1c6540; font-style: normal; }
.hero-phone-price-list { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 3px 5%; overflow: hidden; }
.hero-phone-price-row { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; gap: 4px; overflow: hidden; border: 1px solid #e5eae4; border-radius: 5px; background: #fff; }
.hero-phone-price-row img { flex: 0 0 28%; width: 28%; height: 100%; object-fit: cover; }
.hero-phone-price-row > div { min-width: 0; align-self: center; display: flex; flex-direction: column; }
.hero-phone-price-row b { max-width: 9em; overflow: hidden; color: #1a2b20; font-size: .94em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.hero-phone-price-row strong { margin-top: .35em; color: #18251d; font-size: 1.44em; line-height: 1.05; white-space: nowrap; }
.hero-phone-price-row strong small { font-size: .62em; font-weight: 500; }
.hero-phone-price-row span { margin-top: .42em; color: #269051; font-size: .8em; }
.hero-phone-price-row svg { position: absolute; right: 2%; bottom: 15%; width: 21%; height: 30%; fill: none; stroke: #17905a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-phone-price-row:nth-child(2) svg { stroke: #da4247; }
.hero-phone-bottom { flex: 0 0 8%; min-height: 29px; display: flex; align-items: center; justify-content: space-around; border-top: 1px solid #e9ece7; background: #fff; }
.hero-phone-bottom span { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #777e78; font-size: 1.55em; line-height: 1; }
.hero-phone-bottom span.is-active { color: #0e633a; }
.hero-phone-bottom small { font-size: .42em; font-weight: 600; white-space: nowrap; }
.hero-phone-news h3 { flex: 0 0 6%; min-height: 22px; margin: 0; padding: 2px 6%; color: #17241b; font-size: 1.33em; line-height: 1.3; }
.hero-phone-news-tabs { flex: 0 0 7%; min-height: 23px; display: flex; align-items: center; justify-content: space-around; padding: 0 4%; border-bottom: 1px solid #edf0ea; }
.hero-phone-news-tabs > * { padding: .65em .45em; color: #59685f; font-size: .79em; white-space: nowrap; }
.hero-phone-news-tabs b { color: #fff; }
.hero-phone-news-list { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 4px 5%; overflow: hidden; }
.hero-phone-news-card { flex: 1; min-height: 0; overflow: hidden; border: 1px solid #e4e8e2; border-radius: 5px; background: #fff; }
.hero-phone-news-card > img { display: block; width: 100%; height: 43%; object-fit: cover; }
.hero-phone-news-card > div { padding: 5px 6px; }
.hero-phone-news-card strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #18251d; font-size: 1.09em; line-height: 1.16; }
.hero-phone-news-card p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: .45em 0; color: #5b695e; font-size: .78em; line-height: 1.25; }
.hero-phone-news-card small { display: block; overflow: hidden; color: #77837b; font-size: .69em; text-overflow: ellipsis; white-space: nowrap; }
.hero-phone-no-data { padding: 20px 7px; color: #68786d; font-size: 1em; line-height: 1.4; }

/* Bring the page beneath the hero into the reference's editorial scale. */
.reference-feature { min-height: 145px; padding: 15px 17px 14px; }
.reference-feature strong { font-size: clamp(13px, 1.03vw, 16px); }
.reference-feature small { max-width: 250px; color: #536258; font-size: clamp(10px, .85vw, 13px); line-height: 1.34; }
.reference-feature i { font-size: 18px; }
.reference-section-top h2 { font-size: clamp(18px, 1.45vw, 23px); }
.reference-section-top p { font-size: clamp(10px, .84vw, 12px); }
.reference-section-top > a { font-size: clamp(10px, .78vw, 12px); }
.reference-market, .reference-agenda { min-height: 292px; padding: 11px 13px 10px; }
.reference-price-main h3 { font-size: clamp(10px, .85vw, 13px); }
.reference-price-main strong { font-size: clamp(18px, 1.4vw, 24px); }
.reference-price-main strong small { font-size: .49em; }
.reference-price-main > div > span { font-size: clamp(8px, .63vw, 10px); }
.reference-secondary-prices b { font-size: clamp(10px, .78vw, 12px); }
.reference-secondary-prices strong { font-size: clamp(12px, 1vw, 16px); }
.reference-secondary-prices span { font-size: clamp(8px, .7vw, 10px); }
.reference-source-note { font-size: clamp(9px, .7vw, 11px); }
.reference-news-lead h3 { font-size: clamp(14px, 1.08vw, 17px); }
.reference-news-lead p { font-size: clamp(9px, .75vw, 12px); -webkit-line-clamp: 2; }
.reference-news-lead > small { font-size: clamp(8px, .67vw, 10px); }
.reference-news-layout { margin-top: 6px; }
.reference-news-side b { font-size: clamp(9px, .8vw, 12px); }
.reference-news-side small { font-size: clamp(8px, .67vw, 10px); }
.reference-network-grid b { font-size: clamp(10px, .82vw, 13px); }
.reference-network-grid small { font-size: clamp(9px, .7vw, 11px); }
.reference-network { padding-top: 8px; }
.reference-network-grid { margin-top: 7px; }
.reference-network-grid img { object-position: center 46%; }
.reference-network-grid > a:first-child img { object-position: center 54%; }
.reference-network-grid > a:nth-child(4) img { object-position: center 58%; }
.reference-cta { background: linear-gradient(90deg,#fffffff4 0%,#ffffffe7 30%,#ffffff16 61%,#ffffff00 100%),url('/static/images/selected-design/cta-farmer.webp') center 53% / cover no-repeat; }
.reference-cta h2 { font-size: clamp(21px, 1.65vw, 27px); }
.reference-cta p { font-size: clamp(11px, .95vw, 14px); }
.design-footer .footer-inner nav, .design-footer .footer-inner nav a, .design-footer .footer-brand p, .footer-leaf { font-size: clamp(10px, .75vw, 12px); }
.design-footer .footer-inner nav b, .design-footer .footer-social > b { font-size: clamp(10px, .78vw, 12px); }
.design-footer .footer-bottom { font-size: 10px; }

@media (max-width: 1120px) {
  .reference-hero-copy { width: 55% !important; }
  .reference-hero h1 { font-size: clamp(52px, 5.9vw, 66px); }
  .reference-lead { font-size: 17px; }
  .hero-phone-stage { width: 43%; right: 1%; }
  .reference-values { gap: 15px; }
  .reference-values span { font-size: 10px; }
  .reference-feature { min-height: 139px; }
  .reference-market, .reference-agenda { min-height: 292px; }
}
@media (max-width: 900px) {
  .reference-hero-copy { width: 57% !important; }
  .reference-hero h1 { font-size: 51px; }
  .reference-lead { font-size: 15px; }
  .reference-values span:nth-child(3) { display: none; }
  .hero-phone-stage { width: 41%; right: 0; }
  .hero-phone { font-size: 7px; }
  .reference-script { display: none; }
}
@media (max-width: 760px) {
  .reference-hero { height: auto; min-height: 710px; background-position: 58% center; }
  .reference-hero:before { display: block; z-index: 0; background: linear-gradient(180deg,#fffffff7 0%,#ffffffe8 43%,#ffffff20 75%,transparent); }
  .reference-hero-grid { min-height: 710px; }
  .reference-hero-copy { width: 100% !important; padding: 39px 0 0; }
  .reference-kicker { margin-bottom: 14px; font-size: 9px; letter-spacing: .22em; }
  .reference-hero h1 { font-size: clamp(43px, 11.8vw, 56px); letter-spacing: -.055em; }
  .reference-lead { max-width: 450px; margin-top: 15px; font-size: 14px; }
  .reference-values { gap: 13px; margin-top: 20px; }
  .reference-values span { font-size: 9px; }
  .reference-values svg { width: 17px; height: 17px; }
  .reference-script { display: none; }
  .hero-phone-stage { right: 50%; width: min(100%, 365px); height: 380px; transform: translateX(50%); }
  .hero-phone { font-size: 7.7px; border-radius: 32px; }
  .hero-phone-screen { border-radius: 26px; }
  .reference-feature { min-height: 140px; padding: 12px; }
  .reference-feature strong { font-size: 11px; }
  .reference-feature small { font-size: 9px; }
  .reference-section-top h2 { font-size: 18px; }
  .reference-market, .reference-agenda { min-height: 0; padding: 14px; }
  .reference-news-layout { margin-top: 11px; }
  .reference-news-lead h3 { font-size: 18px; }
  .reference-news-lead p { font-size: 11px; }
  .reference-cta { background-position: 55% center; }
}
@media (max-width: 390px) {
  .reference-hero, .reference-hero-grid { min-height: 680px; }
  .hero-phone-stage { width: min(100%, 340px); height: 355px; }
  .hero-phone { font-size: 7px; }
}
