/* farmsoft.com – one design for every section.
   Palette: eucalyptus (deep green), leaf, citrus (Producepak orange), cool-room (pale green-grey), ink.
   Type: Bricolage Grotesque (headings) + Instrument Sans (text).
   Motif: the produce label – section kickers are printed label tags with a barcode edge. */
:root {
  --euc: #113b2e; --euc-2: #0b2a20; --leaf: #2f8f4e; --leaf-2: #247a40; --citrus: #f5a524; --citrus-2: #e08e10; --orange: #f28c28;
  --cool: #eef4f0; --cool-2: #e1ebe4; --ink: #17221c; --ink-2: #4b5a52; --line: #d5e0d8; --white: #fff;
  --fh: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --fb: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gut: clamp(16px, 4vw, 40px); --max: 1200px; --r: 14px; --r-s: 8px;
  --shadow: 0 1px 2px rgba(17, 59, 46, .06), 0 8px 24px -12px rgba(17, 59, 46, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--fb); font-size: 1.0625rem; line-height: 1.62; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--leaf-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--euc); }
:focus-visible { outline: 3px solid var(--citrus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--fh); color: var(--euc); margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); line-height: 1.12; font-weight: 750; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; margin-top: 1.2em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: .2em 0; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); height: 70px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 32px; width: auto; display: block; }
.brand-tag { font-family: var(--fh); font-weight: 700; font-size: .92rem; color: var(--euc); padding-left: 12px; border-left: 2px solid var(--cool-2); white-space: nowrap; }
.nav { display: flex; align-items: center; flex: 1; gap: 12px; }
.nav-list { display: flex; list-style: none; margin: 0 auto; padding: 0; gap: 2px; }
.nav-item { position: relative; margin: 0; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; font: 600 .95rem/1 var(--fb); color: var(--ink); background: none; border: 0; padding: 10px 11px; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.nav-btn:hover, .nav-item.open > .nav-btn { background: var(--cool); color: var(--euc); }
.nav-btn.on { color: var(--leaf-2); box-shadow: inset 0 -2px 0 var(--citrus); border-radius: 0; }
.chev { transition: transform .15s; }
.nav-item.open .chev { transform: rotate(180deg); }
.nav-panel { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 48px -20px rgba(11, 42, 32, .35); padding: 22px 24px; gap: 28px; z-index: 60; }
.nav-item.open > .nav-panel { display: grid; }
.nav-panel.cols-1 { grid-template-columns: minmax(230px, auto); }
.nav-panel.cols-2 { grid-template-columns: repeat(2, minmax(220px, auto)); }
.nav-panel.cols-3 { grid-template-columns: repeat(3, minmax(200px, auto)); }
.nav-panel.cols-4 { grid-template-columns: repeat(4, minmax(190px, auto)); }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-col ul { list-style: none; margin: 0; padding: 0; }
.nav-col ul.two { columns: 2; column-gap: 20px; }
.nav-col li { margin: 0; break-inside: avoid; }
.nav-col li a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.nav-col li a:hover, .nav-col li a[aria-current] { color: var(--leaf-2); }
.nav-h { display: block; font-family: var(--fh); font-weight: 700; font-size: .98rem; color: var(--euc); text-decoration: none; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--cool-2); }
a.nav-h:hover { color: var(--leaf-2); border-color: var(--citrus); }
.nav-extra { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.navtoggle { display: none; margin-left: auto; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 600 .95rem var(--fb); color: var(--euc); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

@media (max-width: 1239px) {
  .navtoggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gut) 20px; max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .top.menu-open .nav { display: flex; }
  .nav-list { flex-direction: column; margin: 0; }
  .nav-btn { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--cool-2); font-size: 1.02rem; }
  .nav-btn.on { box-shadow: none; }
  .nav-panel { position: static; transform: none; box-shadow: none; border: 0; padding: 6px 4px 14px; gap: 14px; }
  .nav-item.open > .nav-panel { display: grid; grid-template-columns: 1fr; }
  .nav-col ul.two { columns: 2; }
  .nav-extra { justify-content: space-between; padding-top: 16px; }
}
@media (max-width: 520px) { .brand-tag { display: none; } }

.crumbs { max-width: var(--max); margin: 0 auto; padding: 14px var(--gut) 0; font-size: .88rem; color: var(--ink-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #9fb0a6; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--leaf-2); text-decoration: underline; }
.previewbar { background: var(--citrus); color: var(--ink); text-align: center; padding: 8px; font-weight: 600; }

/* ---------------------------------------------------------------- sections */
.pp-sec { padding: clamp(40px, 6vw, 72px) 0; position: relative; }
.pp-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.pp-sec:not(.pp-soft):not(.pp-dark):not(.pp-hero):not(.pp-statsec) + .pp-sec:not(.pp-soft):not(.pp-dark):not(.pp-hero):not(.pp-statsec) { padding-top: 8px; }
.pp-soft { background: var(--cool); }
.pp-center { text-align: center; }
.pp-center .pp-btns { justify-content: center; }
.pp-sec[id] { scroll-margin-top: 90px; }

/* kicker = printed label tag with a barcode edge */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 650 .86rem/1 var(--fb); color: var(--euc); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px 7px 8px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 16px; flex: none; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 3px, currentColor 3px 4px, transparent 4px 6px, currentColor 6px 9px, transparent 9px 10px); opacity: .85; }
.kicker a { color: inherit; text-decoration: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.small { font-size: .9rem; color: var(--ink-2); }

/* hero */
.pp-hero { background: var(--euc); color: #e7f0ea; padding: clamp(44px, 7vw, 92px) 0 clamp(48px, 7vw, 96px); overflow: hidden; border-bottom: 6px solid var(--citrus); }
.pp-hero::after { content: ""; position: absolute; inset: auto -10% -40% 45%; height: 120%; background: radial-gradient(closest-side, rgba(47, 143, 78, .45), transparent); pointer-events: none; }
.pp-hero[style*="--bg"] { background: linear-gradient(90deg, rgba(11, 42, 32, .92), rgba(11, 42, 32, .6)), var(--bg) center / cover no-repeat; }
.pp-hero .pp-wrap { position: relative; z-index: 1; }
.pp-hero h1, .pp-hero h2, .pp-hero h3 { color: var(--white); }
.pp-hero h1 { max-width: 16ch; }
.pp-hero .pp-row { align-items: center; }
.pp-hero .lead { color: #c9dccf; }
.pp-hero .small { color: #a9c3b2; }
.pp-hero .kicker { background: var(--citrus); border-color: var(--citrus); color: var(--ink); }
.pp-hero a:not(.btn) { color: #ffd28a; }
.pp-hero figure { margin: 0; }
.pp-hero figure img { border-radius: var(--r); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; outline: 1px solid rgba(255,255,255,.12); outline-offset: 8px; }
.pp-hero figcaption { color: #a9c3b2; }
.pp-hero ul { color: #d6e6dc; }
.pp-hero .pp-pills a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: var(--white); }
.pp-tall { min-height: 60vh; display: flex; align-items: center; }
.pp-tall > .pp-wrap { width: 100%; }

/* dark call to action */
.pp-dark { background: var(--euc-2); color: #dbe8df; }
.pp-dark h2, .pp-dark h3 { color: var(--white); }
.pp-dark a:not(.btn) { color: #ffd28a; }
.pp-dark .lead { color: #c3d6c9; }
.pp-cta { max-width: 760px; }
.pp-center .pp-cta { margin: 0 auto; }
.pp-dark .pp-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.pp-cta .kicker { margin-bottom: 12px; }
.pp-sec:not(.pp-dark) .pp-cta { background: var(--cool); border-radius: var(--r); padding: 22px 26px; margin: 1.6em 0; border-left: 5px solid var(--citrus); max-width: none; }
.pp-sec:not(.pp-dark) .pp-cta p:last-child { margin-bottom: 0; }

/* stats strip */
.pp-statsec { padding: 0; background: var(--cool); border-bottom: 1px solid var(--line); }
.pp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pp-stats p { margin: 0; padding: 26px 22px 24px; color: var(--ink-2); font-size: .95rem; line-height: 1.4; border-left: 1px solid var(--line); }
.pp-stats p:first-child { border-left: 0; padding-left: 0; }
.pp-stats strong { display: block; font-family: var(--fh); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; line-height: 1; color: var(--leaf-2); letter-spacing: -.03em; margin-bottom: 6px; }
@media (max-width: 700px) { .pp-stats { grid-template-columns: 1fr 1fr; } .pp-stats p { padding: 18px 12px; } .pp-stats p:nth-child(odd) { border-left: 0; padding-left: 0; } .pp-stats p:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* rows, columns, cards */
.pp-row { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
@media (min-width: 900px) {
  .pp-row:has(> [data-w="7"]):has(> [data-w="5"]) { grid-template-columns: 7fr 5fr; }
  .pp-row:has(> [data-w="8"]):has(> [data-w="4"]) { grid-template-columns: 8fr 4fr; }
  .pp-row:has(> [data-w="4"] + [data-w="8"]) { grid-template-columns: 4fr 8fr; }
}
.pp-col > :last-child, .pp-card > :last-child, .pp-note > :last-child { margin-bottom: 0; }
.pp-panel { background: var(--cool); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.pp-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 1.2em 0; }
.pp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.pp-card h2, .pp-card h3 { font-size: 1.15rem; margin-top: 0; }
.pp-card figure { margin: -22px -22px 16px; }
.pp-card figure img { border-radius: var(--r) var(--r) 0 0; width: 100%; }
.pp-pick { border-color: var(--citrus); box-shadow: 0 0 0 2px var(--citrus); }
.pp-head { max-width: 760px; margin-bottom: 1.4em; }
.pp-center .pp-head { margin-left: auto; margin-right: auto; }
.pp-note { background: #fff8eb; border: 1px solid #f6d7a2; border-radius: var(--r); padding: 18px 22px; margin: 1.4em 0; }
.pp-note h2 { font-size: 1.15rem; }

/* figures */
figure { margin: 1.4em 0; }
figure img { display: block; border-radius: var(--r-s); }
figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 8px; }
.pp-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; align-items: start; }
.pp-stack img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.pp-stack img:nth-child(2) { margin-top: 40px; }
.pp-stack img:only-child { grid-column: 1 / -1; aspect-ratio: auto; margin: 0; }
.pp-wide img { width: 100%; border-radius: var(--r); }
.pp-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; margin: 1em 0; }
.pp-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pp-map { aspect-ratio: 4 / 3; }

/* lists */
.pp-ticks { list-style: none; padding: 0; }
.pp-ticks li { position: relative; padding-left: 30px; margin: .45em 0; }
.pp-ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pp-hero .pp-ticks li::before { background-color: var(--citrus); }
.pp-steps { list-style: none; padding: 0; counter-reset: step; margin: 1.2em 0; }
.pp-steps li { counter-increment: step; position: relative; padding: 0 0 18px 56px; margin: 0; }
.pp-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--euc); color: var(--white); font: 800 1rem/38px var(--fh); text-align: center; }
.pp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 4px; width: 2px; background: var(--cool-2); }
.pp-steps li > strong { display: block; font-family: var(--fh); font-size: 1.08rem; color: var(--euc); }
.pp-steps .pp-desc { color: var(--ink-2); }
.pp-links { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pp-links li { margin: 0; }
.pp-links a { display: block; height: 100%; padding: 14px 16px 14px 18px; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); background: var(--white); position: relative; }
.pp-links a::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--citrus); }
.pp-links a:hover { border-color: var(--leaf); }
.pp-links a:hover strong { color: var(--leaf-2); }
.pp-links strong { display: block; color: var(--euc); font-family: var(--fh); font-weight: 700; }
.pp-links .pp-desc, .pp-cards .pp-desc { display: block; color: var(--ink-2); font-size: .9rem; margin-top: 2px; }
.pp-soft .pp-links a { background: var(--white); }
.pp-cards { list-style: none; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin: 1.2em 0; }
.pp-cards li { margin: 0; }
.pp-cards a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.pp-cards a:hover { border-color: var(--leaf); }
.pp-cards img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 0; }
.pp-cards .pp-cat { margin: 14px 18px 0; font-size: .8rem; font-weight: 650; color: var(--leaf-2); }
.pp-cards strong { margin: 4px 18px 0; font-family: var(--fh); font-size: 1.12rem; line-height: 1.25; color: var(--euc); }
.pp-cards .pp-desc { margin: 6px 18px 18px; }
.pp-refs { list-style: none; padding: 0; columns: 2 320px; column-gap: 32px; font-size: .92rem; }
.pp-refs li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); margin: 0; }
.pp-refs a { color: var(--ink-2); }
.pp-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: .6em 0 1.4em; }
.pp-pills li { margin: 0; }
.pp-pills a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--euc); font-weight: 600; font-size: .93rem; background: var(--white); }
.pp-pills a:hover { border-color: var(--citrus); background: #fff8eb; }
dl { margin: 1em 0; }
dt { font-family: var(--fh); font-weight: 700; color: var(--euc); margin-top: 1em; }
dd { margin: .2em 0 0; color: var(--ink-2); }
blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--citrus); font-size: 1.1rem; }

/* buttons */
.pp-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.4em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1.2 var(--fb); padding: 13px 22px; border-radius: 10px; background: var(--citrus); color: var(--ink); text-decoration: none; border: 2px solid var(--citrus); cursor: pointer; transition: background .15s, border-color .15s; text-align: center; }
.btn:hover { background: var(--citrus-2); border-color: var(--citrus-2); color: var(--ink); }
.btn-2, .btn.btn-2 { background: transparent; color: var(--euc); border-color: var(--line); }
.btn-2:hover, .btn.btn-2:hover { background: var(--cool); border-color: var(--leaf); color: var(--euc); }
.pp-hero .btn-2, .pp-dark .btn-2 { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.pp-hero .btn-2:hover, .pp-dark .btn-2:hover { background: rgba(255, 255, 255, .1); color: var(--white); border-color: var(--white); }
.nav-cta { padding: 10px 18px; font-size: .95rem; }

/* FAQ */
.pp-faq { border-top: 1px solid var(--line); max-width: 900px; margin: 1em 0; }
.pp-faq details { border-bottom: 1px solid var(--line); }
.pp-faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-family: var(--fh); font-weight: 700; font-size: 1.08rem; color: var(--euc); }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cool); color: var(--euc); font: 600 1.2rem/28px var(--fb); text-align: center; }
.pp-faq details[open] summary::after { content: "–"; background: var(--citrus); }
.pp-faq details > :not(summary) { margin: 0 0 18px; color: var(--ink-2); max-width: 75ch; }
details:not(.pp-faq details) > summary { cursor: pointer; font-weight: 650; }

/* tables */
.tablewrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--r-s); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--white); }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--cool); font-weight: 650; color: var(--euc); }
tbody tr:last-child td { border-bottom: 0; }
caption { caption-side: top; text-align: left; padding: 10px 14px; font-weight: 650; }

/* long articles (blog, AI guides) */
.pp-prose p, .pp-prose li { max-width: 72ch; }
.pp-prose h2 { margin-top: 1.6em; }
.pp-prose h2:first-child { margin-top: 0; }
.pp-prose.has-toc .pp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .9rem; border-left: 2px solid var(--cool-2); padding-left: 16px; }
.toc p { font-family: var(--fh); font-weight: 700; color: var(--euc); margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.on { color: var(--leaf-2); }
@media (max-width: 1099px) { .pp-prose.has-toc .pp-wrap { display: block; } .toc { display: none; } }

.pp-prose figure:not(.pp-wide) { max-width: 760px; }

/* ROI calculator */
.pp-calc { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; margin: 1.2em 0; }
.calc-in { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; background: var(--cool); border-radius: var(--r); padding: 22px; }
.calc-in label { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--euc); }
.calc-in input { font: 600 1.05rem var(--fb); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--ink); width: 100%; }
.calc-in details { grid-column: 1 / -1; }
.calc-in details[open] { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.calc-in details summary { grid-column: 1 / -1; color: var(--leaf-2); }
.calc-out { background: var(--euc); color: #dbe8df; border-radius: var(--r); padding: 8px 22px; }
.calc-out p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.calc-out p:last-child { border-bottom: 0; }
.calc-out strong { color: var(--white); font-family: var(--fh); font-size: 1.1rem; white-space: nowrap; }
.calc-out .tot strong { color: var(--citrus); font-size: 1.45rem; }
.pp-calc > .small { grid-column: 1 / -1; margin: 0; }
@media (max-width: 860px) { .pp-calc { grid-template-columns: 1fr; } .calc-in, .calc-in details[open] { grid-template-columns: 1fr; } }

/* forms */
.pp-form { display: grid; gap: 12px; max-width: 640px; }
.pp-field input, .pp-field textarea, .pp-field select { width: 100%; font: 1rem var(--fb); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-s); }
.pp-opt { display: inline-flex; gap: 6px; margin-right: 14px; }
.hp { position: absolute; left: -9999px; }
.pp-form-msg.ok { color: var(--leaf-2); font-weight: 650; }
.pp-form-msg.err { color: #b42318; font-weight: 650; }

.notfound h1 { margin-top: 0; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--euc-2); color: #b9cdc0; font-size: .92rem; margin-top: 0; }
.foot a { color: #dbe8df; text-decoration: none; }
.foot a:hover { color: var(--citrus); text-decoration: underline; }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 56px var(--gut) 36px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { margin: 16px 0 0; line-height: 1.55; }
.foot-brand .btn { color: var(--ink); }
.foot-brand .btn:hover { color: var(--ink); text-decoration: none; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 32px; }
.foot-cols h3 { font-size: .98rem; color: var(--white); margin: 0 0 10px; }
.foot-cols h3:not(:first-child) { margin-top: 22px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin: 0; padding: 3px 0; line-height: 1.35; }
.foot-cols div:has(> ul > li:nth-child(20)) { grid-column: span 2; }
.foot-cols div:has(> ul > li:nth-child(20)) ul { columns: 2; column-gap: 32px; }
.foot-base { max-width: 1320px; margin: 0 auto; padding: 20px var(--gut) 28px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr; } .foot-cols div:has(> ul > li:nth-child(20)) { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .foot, .crumbs, .toc { display: none; } .pp-hero, .pp-dark { background: none; color: #000; } .pp-hero h1, .pp-dark h2 { color: #000; } }
