:root {
  --pitch: #174a23;
  --pitch-d: #0f3518;
  --turf: #2f7d3a;
  --lime: #8cc63f;
  --sun: #f7b500;
  --sun-d: #d99a00;
  --flag: #d7141f;
  --flag-d: #b00f19;
  --paper: #f2f4f1;
  --card: #ffffff;
  --mist: #e6ebe4;
  --rule: #d5ddd2;
  --ink: #1b241d;
  --ink-2: #445047;
  --ink-3: #6b766d;
  --head: "Rubik", "Segoe UI", Arial, sans-serif;
  --text: "Source Sans 3", system-ui, sans-serif;
  --max: 1200px;
  --read: 760px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.65 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turf); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--pitch); }
.pt-hide, .pt-hop:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-hop:focus { position: fixed; z-index: 99; top: 8px; left: 8px; background: #fff; color: #000; padding: 8px 12px; }
.pt-wordmark { font: 800 26px/1 var(--head); color: #fff; letter-spacing: -.02em; }

/* two-tier header: dark green strip + light menu bar */
.pt-top { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(10, 40, 18, .18); }
.pt-top__in { background: var(--pitch); background-image: linear-gradient(100deg, var(--pitch-d), var(--pitch) 40%, #1d5a2b); }
.pt-top__in { display: flex; align-items: center; gap: 20px; min-height: 68px; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); }
.pt-top__logo img { height: 42px; width: auto; }
.pt-top__act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pt-tongue { display: flex; gap: 4px; margin-right: 6px; }
.pt-tongue a { color: #d6e8d4; font: 600 13px/1 var(--head); text-decoration: none; padding: 7px 8px; border-radius: 6px; }
.pt-tongue a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; }
.pt-top__burger { display: none; }
.pt-menu { background: #fff; border-bottom: 1px solid var(--rule); padding: 0 max(20px, calc((100vw - var(--max)) / 2)); }
.pt-menu__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.pt-menu__list a { display: block; padding: 14px 14px 12px; color: var(--ink); font: 500 15px/1.2 var(--head); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.pt-menu__list a:hover { color: var(--turf); }
.pt-menu__list .is-here a { color: var(--pitch); border-bottom-color: var(--sun); font-weight: 600; }

/* buttons */
.pt-key { display: inline-block; background: var(--flag); color: #fff; font: 600 15px/1 var(--head); padding: 12px 20px; border-radius: 8px; text-decoration: none; border: 0; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.pt-key:hover { background: var(--flag-d); color: #fff; }
.pt-key--gold { background: var(--sun); color: #1f1600; }
.pt-key--gold:hover { background: var(--sun-d); color: #1f1600; }
.pt-keys { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }

/* page frame */
.pt-page { max-width: var(--max); margin: 0 auto; padding: 26px 20px 60px; }
.pt-head { margin: 0 0 22px; }
.pt-trail { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.pt-trail a { color: var(--ink-3); }
.pt-title { margin: 0; font: 700 clamp(30px, 3.8vw, 44px)/1.12 var(--head); letter-spacing: -.02em; color: var(--pitch-d); max-width: 26ch; text-wrap: balance; }
.pt-title::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 14px; background: linear-gradient(90deg, var(--lime) 0 60%, var(--sun) 60%); border-radius: 3px; }

/* homepage */
.pt-reel { position: relative; margin: 0 0 24px; border-radius: 12px; overflow: hidden; background: var(--pitch); }
.pt-reel__belt { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pt-reel__belt::-webkit-scrollbar { display: none; }
.pt-reel__slide { flex: 0 0 100%; scroll-snap-align: start; }
.pt-reel img { width: 100%; aspect-ratio: 1600 / 480; object-fit: cover; }
.pt-reel__ticks { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); margin: 0; display: flex; gap: 6px; }
.pt-reel__ticks button { width: 30px; height: 6px; border: 0; padding: 0; border-radius: 1px; background: rgba(255, 255, 255, .55); transform: skewX(-20deg); cursor: pointer; }
.pt-reel__ticks button.is-here { background: var(--sun); }
.pt-score { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-radius: 12px; overflow: hidden; background: var(--pitch); }
.pt-score li { padding: 14px 18px; border-right: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 3px; }
.pt-score small { font: 500 12px/1.2 var(--head); text-transform: uppercase; letter-spacing: .07em; color: #a9d18e; }
.pt-score strong { font: 700 18px/1.25 var(--head); color: #fff; }
.pt-fix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 34px; }
.pt-fix a { display: grid; align-content: start; gap: 4px; padding: 16px 18px 18px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: 15px; line-height: 1.45; position: relative; overflow: hidden; }
.pt-fix a::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--turf); }
.pt-fix a:hover { border-color: var(--turf); box-shadow: 0 6px 18px rgba(23, 74, 35, .1); }
.pt-fix em { font: 600 12px/1 var(--head); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--flag); }
.pt-fix b { font: 700 18px/1.25 var(--head); color: var(--pitch-d); }

/* page top banner */
.pt-cover { margin: 0 0 26px; }
.pt-cover figure { margin: 0; }
.pt-cover img { width: 100%; border-radius: 12px; }

/* reading column + contents rail */
.pt-split { display: grid; grid-template-columns: minmax(0, var(--read)) 290px; gap: 44px; justify-content: space-between; align-items: start; }
.pt-rail { order: 2; position: sticky; top: 140px; }
.pt-rail__box { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.pt-rail__box summary { list-style: none; cursor: pointer; padding: 13px 16px; background: var(--pitch); color: #fff; font: 600 14px/1 var(--head); text-transform: uppercase; letter-spacing: .07em; }
.pt-rail__box summary::-webkit-details-marker { display: none; }
.pt-rail ol { list-style: none; margin: 0; padding: 6px 0; }
.pt-rail a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 16px; color: var(--ink-2); font-size: 15px; line-height: 1.35; text-decoration: none; border-left: 3px solid transparent; }
.pt-rail a i { font: 600 12px/1.6 var(--head); font-style: normal; color: var(--ink-3); }
.pt-rail a:hover, .pt-rail a.is-here { color: var(--pitch-d); background: var(--mist); border-left-color: var(--lime); }
.pt-copy { order: 1; min-width: 0; }
.pt-copy--solo { max-width: var(--read); }
.pt-copy > *:first-child { margin-top: 0; }
.pt-copy p { margin: 0 0 1.1em; }
.pt-copy h2 { font: 700 clamp(24px, 2.4vw, 30px)/1.2 var(--head); color: var(--pitch-d); letter-spacing: -.012em; margin: 2.1em 0 .6em; padding-left: 16px; border-left: 5px solid var(--lime); }
.pt-copy h3 { font: 600 20px/1.3 var(--head); color: var(--ink); margin: 1.6em 0 .5em; }
.pt-copy ul, .pt-copy ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.pt-copy li { margin-bottom: .45em; }
.pt-copy ul > li::marker { color: var(--turf); }
.pt-copy strong { font-weight: 700; color: var(--ink); }

/* tables */
.pt-table { margin: 1.6em 0; font-size: 16px; line-height: 1.45; }
.pt-table__x { overflow-x: auto; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; }
.pt-table table { width: 100%; border-collapse: collapse; }
.pt-table th { text-align: left; font: 600 14px/1.3 var(--head); color: #fff; background: var(--turf); padding: 11px 14px; }
.pt-table td { padding: 11px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
.pt-table tbody tr:nth-child(even) td { background: #f7f9f6; }
.pt-table figcaption, .pt-fig__cap { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.pt-sheet td:first-child { color: var(--ink-3); width: 38%; }
.pt-sheet td:last-child { font-weight: 600; }

/* editorial components */
.pt-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; margin: 1.8em 0; font-size: 17px; }
.pt-vs::before { content: "vs"; grid-column: 2; grid-row: 1; align-self: center; margin: 0 -14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: #1f1600; font: 700 14px/40px var(--head); text-align: center; }
.pt-vs__side { padding: 16px 26px 16px 18px; border-radius: 12px; }
.pt-vs__claim { grid-column: 1; grid-row: 1; background: var(--mist); color: var(--ink-2); }
.pt-vs__fact { grid-column: 3; grid-row: 1; background: var(--card); border: 2px solid var(--turf); padding-left: 26px; }
.pt-vs__side p { margin: 0; }
.pt-vs .pt-vs__lbl { font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; color: var(--turf); }
.pt-vs__claim .pt-vs__lbl { color: var(--ink-3); }
.pt-flag { margin: 1.8em 0; padding: 16px 18px 16px 20px; border-radius: 0 12px 12px 0; background: #fff8e1; border-left: 5px solid var(--sun); font-size: 17px; }
.pt-flag p { margin: 0 0 .5em; } .pt-flag p:last-child { margin: 0; }
.pt-flag .pt-flag__lbl { font: 600 12px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: #8a6400; }
.pt-copy ol.pt-steps { list-style: none; padding: 0; margin: 1.6em 0; counter-reset: s; position: relative; }
.pt-copy ol.pt-steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--rule); }
.pt-steps > li { counter-increment: s; position: relative; margin: 0 0 12px; padding: 4px 0 0 56px; min-height: 36px; }
.pt-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--pitch); color: #fff; font: 700 15px/36px var(--head); text-align: center; box-shadow: 0 0 0 4px var(--paper); }

/* images */
.pt-fig { margin: 1.8em 0; }
.pt-fig img { border-radius: 12px; }
.pt-duo { display: grid; grid-template-columns: 42% 1fr; gap: 26px; align-items: start; margin: 1.8em 0; }
.pt-duo--r { grid-template-columns: 1fr 42%; }
.pt-duo--r .pt-duo__pic { order: 2; }
.pt-duo .pt-fig { margin: 0; }

/* faq */
.pt-qa { margin-top: 2.4em; counter-reset: q; }
.pt-qa__row { counter-increment: q; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; margin-bottom: 8px; }
.pt-qa__row[open] { border-color: var(--turf); }
.pt-qa__row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 20px; gap: 10px; align-items: center; padding: 14px 16px; font: 600 17px/1.35 var(--head); color: var(--ink); }
.pt-qa__row summary::-webkit-details-marker { display: none; }
.pt-qa__row summary::before { content: counter(q, decimal-leading-zero); font: 700 13px/1 var(--head); color: var(--turf); }
.pt-qa__row summary::after { content: "+"; font: 500 22px/1 var(--head); color: var(--turf); text-align: right; }
.pt-qa__row[open] summary::after { content: "−"; }
.pt-qa__a { padding: 0 16px 16px 60px; color: var(--ink-2); }
.pt-qa__a p { margin: 0 0 .6em; }

/* page end */
.pt-whistle { max-width: var(--read); margin-top: 44px; padding: 20px 22px; border-radius: 12px; background: var(--pitch); background-image: linear-gradient(100deg, var(--pitch-d), var(--turf)); display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.pt-whistle p { margin: 0; color: #e3f0df; }
.pt-foot { background: var(--pitch-d); color: #b9cdb6; font-size: 15px; padding: 34px max(20px, calc((100vw - var(--max)) / 2)) 30px; }
.pt-foot__in { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.pt-foot__brand { max-width: 60ch; }
.pt-foot__brand img { height: 34px; width: auto; margin-bottom: 12px; }
.pt-foot__brand p { margin: 0; }
.pt-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-foot__list a { color: #e3f0df; text-decoration: none; }
.pt-foot__list a:hover { color: var(--sun); }
.pt-foot__line { margin: 8px 0 0; display: flex; align-items: center; gap: 10px; }
.pt-foot__copy { color: #86a083; }
.pt-18 { flex: none; font: 700 12px/1 var(--head); color: #fff; background: var(--flag); border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; }
.pt-dock { display: none; }
.pt-gone { padding-top: 40px; }
.pt-gone__n { font: 800 72px/1 var(--head); color: var(--turf); margin: 0 0 10px; }

/* calculators */
.pt-tool { margin: 2em 0; background: var(--card); border: 1px solid var(--rule); border-top: 5px solid var(--sun); border-radius: 12px; padding: 20px; font-size: 16px; }
.pt-tool__h { margin: 0 0 14px; font: 700 20px/1.2 var(--head); color: var(--pitch-d); }
.pt-tool__f { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pt-tool__wide { grid-column: 1 / -1; }
.pt-tool__f label { display: grid; gap: 5px; font-size: 14px; color: var(--ink-3); }
.pt-tool__f input, .pt-tool__f select { font: 600 17px/1 var(--head); padding: 10px 12px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 8px; width: 100%; }
.pt-tool__f input:focus, .pt-tool__f select:focus { outline: 2px solid var(--lime); border-color: var(--turf); }
.pt-tool__r dl { margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pt-tool__r dl div { background: var(--pitch); border-radius: 10px; padding: 12px 14px; }
.pt-tool__r dt { font-size: 13px; color: #a9d18e; }
.pt-tool__r dd { margin: 4px 0 0; font: 700 19px/1.25 var(--head); color: #fff; }
.pt-tool__r small { display: block; margin-top: 4px; font: 400 13px/1.3 var(--text); color: #cfe3cb; }
.pt-tool__n { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }

@media (max-width: 1100px) {
  .pt-fix { grid-template-columns: repeat(2, 1fr); }
  .pt-split { grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 76px; }
  body { padding-bottom: 72px; }
  .pt-top__in { min-height: 60px; gap: 10px; padding: 0 12px 0 16px; }
  .pt-top__logo img { height: 34px; }
  .pt-top__act .pt-key { padding: 10px 12px; font-size: 13px; }
  .pt-top__burger { display: grid; place-items: center; width: 42px; height: 40px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; background: none; cursor: pointer; }
  .pt-top__burger span, .pt-top__burger span::before, .pt-top__burger span::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; content: ""; }
  .pt-top__burger span::before { position: absolute; top: -6px; } .pt-top__burger span::after { position: absolute; top: 6px; }
  .pt-menu { display: none; padding: 6px 0; }
  .pt-menu.is-open { display: block; }
  .pt-menu__list { flex-direction: column; }
  .pt-menu__list a { padding: 13px 18px; border-bottom: 0; border-left: 4px solid transparent; font-size: 16px; }
  .pt-menu__list .is-here a { border-left-color: var(--sun); background: var(--mist); }
  .pt-page { padding: 18px 16px 40px; }
  .pt-split { grid-template-columns: 1fr; gap: 0; }
  .pt-rail { order: 0; position: static; margin-bottom: 24px; }
  .pt-rail__box summary::after { content: " +"; }
  .pt-rail__box[open] summary::after { content: " −"; }
  .pt-dock { display: block; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 10px; text-align: center; background: var(--flag); color: #fff; font: 600 16px/1 var(--head); padding: 16px; border-radius: 10px; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
  .pt-foot { padding: 26px 16px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .pt-top__act .pt-key:not(.pt-key--gold) { display: none; }
  .pt-tongue { display: none; }
  .pt-reel img { aspect-ratio: 16 / 7; }
  .pt-score { grid-template-columns: 1fr 1fr; }
  .pt-fix { grid-template-columns: 1fr; }
  .pt-vs { grid-template-columns: 1fr; gap: 0; }
  .pt-vs::before { grid-column: 1; grid-row: 2; justify-self: center; margin: -12px 0; }
  .pt-vs__claim { grid-row: 1; grid-column: 1; padding-bottom: 24px; }
  .pt-vs__fact { grid-row: 3; grid-column: 1; padding: 24px 18px 16px; }
  .pt-duo, .pt-duo--r { grid-template-columns: 1fr; }
  .pt-duo--r .pt-duo__pic { order: 0; }
  .pt-whistle { flex-direction: column; align-items: flex-start; }
  .pt-qa__a { padding-left: 16px; }
  .pt-table--cards .pt-table__x { border: 0; background: none; }
  .pt-table--cards thead { display: none; }
  .pt-table--cards table, .pt-table--cards tbody, .pt-table--cards tr, .pt-table--cards td { display: block; }
  .pt-table--cards tr { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
  .pt-table--cards td, .pt-table--cards tbody tr:nth-child(even) td { display: grid; grid-template-columns: 40% 1fr; gap: 10px; background: none; }
  .pt-table--cards tbody tr td:first-child { border-top: 0; background: var(--turf); color: #fff; font-weight: 700; }
  .pt-table--cards td::before { content: attr(data-h); font-size: 13px; color: var(--ink-3); }
  .pt-table--cards td:first-child::before { color: #d6ecd0; }
}
@media (prefers-reduced-motion: reduce) { .pt-reel__belt { scroll-behavior: auto; } }
