/* JR Dynamics — shared styles. Black #252525, green #348802 (#2C7402 for text/buttons on white). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #1B1B1B; font-family: 'Montserrat', system-ui, sans-serif; }
.page { background: #FFFFFF; color: #252525; font-size: 17px; line-height: 1.55; }
a { color: #252525; }
a:hover { color: #2C7402; }
img { max-width: 100%; }
summary::-webkit-details-marker { display: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #FFFFFF; padding: 10px 14px; border-radius: 6px; }
:focus-visible { outline: 3px solid #43A008; outline-offset: 2px; }
.slant { display: block; }
@media (max-width: 860px) { .slant { display: none; } }

/* header */
.top { background: #FFFFFF; border-bottom: 1px solid #DFE3DA; position: relative; z-index: 30; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 14px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #252525; min-height: 48px; }
.brand span { font-weight: 900; font-size: 17px; letter-spacing: 0.08em; }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; font-size: 15px; font-weight: 600; }
nav.main > a, nav.main summary { padding: 12px 14px; text-decoration: none; color: #252525; border-radius: 6px; }
nav.main > a.on, nav.main summary.on { color: #2C7402; font-weight: 800; }
nav.main details { position: relative; }
nav.main summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
nav.main summary:hover { color: #2C7402; }
nav.main .menu { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 240px; background: #FFFFFF; border: 1px solid #DFE3DA; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14); }
nav.main .menu a { padding: 12px 14px; border-radius: 6px; text-decoration: none; color: #252525; display: flex; flex-direction: column; }
nav.main .menu a:hover { background: #F3F5F1; }
nav.main .menu b { font-weight: 800; }
nav.main .menu span { font-size: 13px; font-weight: 500; color: #555B52; }
nav.main > a.cta { margin-left: 8px; padding: 12px 22px; background: #2C7402; color: #FFFFFF; font-weight: 700; }
nav.main > a.cta:hover { background: #245F02; color: #FFFFFF; }
@media (max-width: 720px) {
  .top-in { padding: 10px 16px; }
  nav.main { font-size: 14px; width: 100%; }
  nav.main > a, nav.main summary { padding: 10px 10px; }
  nav.main > a.cta { margin-left: auto; padding: 10px 16px; }
}

/* AG Software sub-navigation */
.subnav { background: #F3F5F1; border-bottom: 1px solid #DFE3DA; }
.subnav nav { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 15px; }
.subnav span { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #2C7402; margin-right: 16px; }
.subnav a { padding: 13px 14px; text-decoration: none; color: #555B52; font-weight: 600; }
.subnav a.on { padding-bottom: 10px; color: #252525; font-weight: 800; border-bottom: 3px solid #252525; }

/* shared blocks for the product and contact pages */
.wrap { max-width: 1240px; margin: 0 auto; padding: 96px 32px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #2C7402; }
.kicker.light { color: #8FD957; }
h1, h2, h3, p { margin: 0; }
.band h2, .p-hero h2 { font-weight: 900; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; }
.btn { display: inline-block; padding: 16px 28px; text-decoration: none; border-radius: 6px; font-weight: 800; border: 2px solid transparent; }
.btn.green { background: #2C7402; color: #FFFFFF; }
.btn.green:hover { background: #245F02; color: #FFFFFF; }
.btn.ghost { border-color: #252525; color: #252525; }
.btn.ghost:hover { background: #252525; color: #FFFFFF; }
.btn.white { background: #FFFFFF; color: #252525; }
.btn.white:hover { background: #EEF1EA; color: #252525; }

.p-hero .wrap { padding: 72px 32px 88px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.p-hero .copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }
.p-hero h1 { font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.p-hero .tag { font-size: 23px; font-weight: 700; line-height: 1.25; }
.p-hero .intro { color: #555B52; max-width: 520px; }
.p-hero .btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 700; margin-top: 4px; }
.chips span { background: #EEF1EA; border-radius: 999px; padding: 5px 12px; }
.p-hero .art { flex: 1.3 1 420px; min-height: 380px; border-radius: 10px; background: #252525; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.p-hero .art::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 46%; background: #348802; clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); }
.p-hero .art svg { position: relative; width: min(58%, 320px); height: auto; }
.p-hero .cards { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.card { border: 1px solid #DFE3DA; border-radius: 10px; padding: 24px 28px; background: #FFFFFF; }
.card .val { font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); margin-top: 6px; overflow-wrap: anywhere; }
.card .val a { text-decoration: none; }
.card .val.small { font-size: clamp(19px, 2vw, 24px); }
.card .mail { margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }
.card .mail a { color: #2C7402; }

.band.grey { background: #F3F5F1; }
.band.grey h2 { margin-bottom: 48px; }
.feats { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.feats > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid #252525; padding-top: 18px; }
.feats h3 { font-weight: 800; font-size: 20px; }
.feats p { color: #555B52; }

.band.dark { background: #252525; color: #FFFFFF; }
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.split.center { align-items: center; justify-content: space-between; }
.split .lead { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.steps { flex: 1 1 480px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.steps li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid #4A4A4A; }
.steps li:last-child { border-bottom: 1px solid #4A4A4A; }
.steps .n { font-weight: 900; font-size: 30px; color: #8FD957; min-width: 56px; }
.steps .t { font-weight: 800; font-size: 20px; }
.steps .d { color: #D5D8D0; }

.band.green-band { background: #2C7402; color: #FFFFFF; }
.band.green-band .wrap { padding: 80px 32px; }
.band.green-band h2 { margin-bottom: 12px; }
.band.green-band .big { font-size: 20px; font-weight: 500; max-width: 560px; }
.band.green-band > .wrap > div:first-child { flex: 1 1 480px; }
.stack { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.stack .or { font-weight: 700; }

/* footer */
.foot { background: #1B1B1B; color: #C9CCC5; font-size: 15px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 64px 32px 40px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.foot-in > div { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; }
.foot-in > .foot-brand { flex: 2 1 280px; gap: 14px; align-items: flex-start; }
.foot .h { font-weight: 800; color: #FFFFFF; margin-bottom: 6px; }
.foot a { color: #C9CCC5; text-decoration: none; padding: 6px 0; }
.foot a:hover { color: #8FD957; }
.foot-legal { max-width: 1240px; margin: 0 auto; padding: 20px 32px 40px; border-top: 1px solid #3A3A3A; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

@media (max-width: 720px) {
  .wrap, .p-hero .wrap, .band.green-band .wrap { padding-left: 16px; padding-right: 16px; }
  .wrap { padding-top: 64px; padding-bottom: 64px; }
  .subnav nav, .foot-in, .foot-legal { padding-left: 16px; padding-right: 16px; }
  .p-hero .art { min-height: 240px; }
}
