/* =========================================================
   INNER PAGES — built on the Digitech design system tokens
   (see design-kit/DESIGN-RULES.md). Loaded after site.css.
   ========================================================= */
:root {
  --pg-green-50: #EEF8E6;
  --pg-green-700: #1F7A08;
  --pg-green-ink: #0C2A05;
  --pg-grad-action: linear-gradient(180deg, #9BF060 0%, #52C422 100%);
  --pg-grad-panel: linear-gradient(160deg, #101613 0%, #0B120E 55%, #0F2415 100%);
  --pg-sh-card: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -22px rgba(24, 80, 16, .28), 0 2px 6px rgba(16, 40, 12, .05);
  --pg-sh-hover: 0 1px 0 rgba(255,255,255,.9) inset, 0 26px 50px -22px rgba(24, 90, 16, .38), 0 2px 8px rgba(16, 40, 12, .06);
  --pg-ease: cubic-bezier(.16, 1, .3, 1);
}

.pg-main { display: block; }
.pg-main section[id], .pg-main [id] { scroll-margin-top: 96px; }

/* ---------- hero ---------- */
.pg-hero { position: relative; padding: 150px 0 72px; overflow: hidden; background: var(--bg); }
.pg-hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 130%; background: radial-gradient(closest-side, rgba(142, 240, 79, .22), rgba(142, 240, 79, 0) 70%); pointer-events: none; }
.pg-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.pg-hero .wrap { position: relative; z-index: 1; }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--mute); margin-bottom: 26px; }
.crumbs a { color: var(--mute); transition: color .2s ease; }
.crumbs a:hover { color: var(--pg-green-700); }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.pg-hero h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; font-size: clamp(34px, 4.6vw, 62px); margin-top: 18px; color: var(--ink); text-wrap: balance; }
.pg-hero .pg-answer { margin-top: 26px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: var(--body); max-width: 62ch; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.pg-hero .pg-note { margin-top: 18px; font-size: 13px; color: var(--mute); }

.pg-toc { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 24px 20px; box-shadow: var(--pg-sh-card); }
.pg-toc .t { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pg-green-700); margin-bottom: 12px; }
.pg-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.pg-toc li { counter-increment: toc; }
.pg-toc a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); transition: color .2s ease, padding-left .3s var(--pg-ease); }
.pg-toc li:first-child a { border-top: 0; }
.pg-toc a::before { content: counter(toc, decimal-leading-zero); font-size: 11.5px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.pg-toc a:hover { color: var(--pg-green-700); padding-left: 4px; }

/* ---------- sections ---------- */
.pg-sec { padding: 84px 0; background: var(--bg); }
.pg-sec.alt { background: #fff; border-block: 1px solid var(--line); }
.pg-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.pg-split > header { position: sticky; top: 110px; }
.pg-split h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; font-size: clamp(26px, 2.6vw, 38px); margin-top: 16px; text-wrap: balance; }
.pg-prose p { font-size: 17px; line-height: 1.75; color: var(--body); max-width: 68ch; }
.pg-prose p + p, .pg-prose p + .pg-cards, .pg-prose p + .pg-ticks, .pg-prose p + .pg-steps, .pg-prose p + .pg-table-wrap, .pg-prose p + .pg-faq,
.pg-prose .pg-cards + p, .pg-prose .pg-ticks + p, .pg-prose .pg-steps + p, .pg-prose .pg-table-wrap + p { margin-top: 18px; }
.pg-prose h3 { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; margin: 28px 0 10px; }
.pg-prose a:not(.btn):not(.pg-card) { color: var(--pg-green-700); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(31, 122, 8, .35); text-underline-offset: 3px; }
.pg-prose a:not(.btn):not(.pg-card):hover { text-decoration-color: currentColor; }

/* cards (bold-lead bullets and child pages) */
.pg-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-cards.c1 { grid-template-columns: minmax(0, 1fr); }
.pg-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--pg-sh-card); transition: transform .45s var(--pg-ease), box-shadow .4s ease, border-color .3s ease; min-width: 0; }
a.pg-card:hover { transform: translateY(-4px); box-shadow: var(--pg-sh-hover); border-color: rgba(76, 195, 31, .5); }
.pg-card .n { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--pg-green-50); color: var(--pg-green-700); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.pg-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin: 0; color: var(--ink); }
.pg-card p { font-size: 15px; line-height: 1.65; color: var(--body); max-width: none; margin: 0; }
.pg-card .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--pg-green-700); }
.pg-card .go svg { transition: transform .3s var(--pg-ease); }
a.pg-card:hover .go svg { transform: translateX(4px); }
.pg-card .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* tick list */
.pg-ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pg-ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; font-size: 15.5px; line-height: 1.55; color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 24px -18px rgba(24, 80, 16, .25); min-width: 0; }
.pg-ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--pg-grad-action) center / 100% no-repeat; -webkit-mask: none; position: relative; box-shadow: 0 0 0 4px rgba(76, 195, 31, .14); }
.pg-ticks li { position: relative; }
.pg-ticks li::after { content: ""; position: absolute; left: 25px; top: 22px; width: 6px; height: 11px; border: solid #0C2A05; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.pg-ticks.one { grid-template-columns: minmax(0, 1fr); }

/* checklist */
.pg-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pg-check label { display: flex; gap: 14px; align-items: flex-start; padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: 15.5px; line-height: 1.5; cursor: pointer; transition: border-color .25s ease, background .25s ease; }
.pg-check label:hover { border-color: rgba(76, 195, 31, .55); }
.pg-check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid #BFC8B8; border-radius: 7px; background: #fff; display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; cursor: pointer; }
.pg-check input:checked { background: var(--pg-grad-action); border-color: #52C422; }
.pg-check input:checked::after { content: ""; width: 5px; height: 10px; border: solid #0C2A05; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) translate(-1px, -1px); }
.pg-check input:checked + span { color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.pg-score { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--pg-green-700); }

/* steps */
.pg-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: st; }
.pg-steps li { counter-increment: st; position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--pg-sh-card); align-items: start; }
.pg-steps li::before { content: counter(st); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--pg-grad-action); color: var(--pg-green-ink); font-family: var(--font-display); font-weight: 800; font-size: 18px; box-shadow: 0 10px 20px -10px rgba(70, 150, 20, .6); }
.pg-steps h3 { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.02em; margin: 2px 0 4px; }
.pg-steps p { font-size: 15.5px; line-height: 1.65; color: var(--body); margin: 0; max-width: none; }

/* table */
.pg-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--pg-sh-card); }
.pg-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.pg-table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 16px 20px; background: var(--pg-green-50); }
.pg-table td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
.pg-table td:first-child { font-weight: 600; color: var(--ink); }

/* faq */
.pg-faq { display: grid; gap: 12px; }
.pg-faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 24px -20px rgba(24, 80, 16, .3); transition: border-color .3s ease; }
.pg-faq details[open] { border-color: rgba(76, 195, 31, .55); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; line-height: 1.4; color: var(--ink); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--pg-green-50); display: grid; place-items: center; transition: transform .35s var(--pg-ease), background .3s ease; }
.pg-faq .pm::before { content: "+"; font-size: 18px; line-height: 1; color: var(--pg-green-700); font-weight: 500; }
.pg-faq details[open] .pm { transform: rotate(45deg); background: var(--pg-grad-action); }
.pg-faq details[open] .pm::before { color: var(--pg-green-ink); }
.pg-faq details > div { padding: 0 0 22px; font-size: 16px; line-height: 1.75; color: var(--body); max-width: 66ch; }

/* placeholders and notes */
.ph { display: inline; padding: 2px 8px; border-radius: 8px; background: #FFF6D6; border: 1px dashed #E0B93A; color: #6B5300; font-size: .92em; font-weight: 500; }
.pg-banner { margin: 0 0 28px; padding: 14px 18px; border-radius: 16px; background: #FFF6D6; border: 1px solid #EBCF73; color: #5B4600; font-size: 14.5px; line-height: 1.6; }
.pg-banner b { font-weight: 600; }

/* related / links */
.pg-related { padding: 56px 0 8px; }
.pg-related .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .25s ease, background .25s ease, transform .35s var(--pg-ease); }
.chip-link:hover { border-color: rgba(76, 195, 31, .6); background: var(--pg-green-50); transform: translateY(-2px); }
.chip-link svg { color: var(--pg-green-700); }

/* contact */
.pg-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pg-form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--pg-sh-card); display: grid; gap: 16px; }
.pg-form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg-form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pg-form input, .pg-form textarea, .pg-form select { font: inherit; font-weight: 400; font-size: 15.5px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #D6DDD0; background: #FBFDF9; color: var(--ink); width: 100%; min-width: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.pg-form textarea { min-height: 110px; resize: vertical; }
.pg-form input:focus, .pg-form textarea:focus { outline: none; border-color: #52C422; box-shadow: 0 0 0 4px rgba(82, 196, 34, .18); }
.pg-form .fine { font-size: 12.5px; color: var(--mute); line-height: 1.6; }
.pg-info { background: var(--pg-grad-panel); color: #E9F0E5; border-radius: 26px; padding: 30px; display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgba(10, 40, 12, .55); }
.pg-info h3 { font-family: var(--font-display); color: #fff; font-size: 20px; margin: 0; letter-spacing: -0.02em; }
.pg-info p, .pg-info address { font-style: normal; font-size: 15px; line-height: 1.75; color: #C9D6C3; margin: 0; max-width: none; }
.pg-info a { color: #9BF060; overflow-wrap: anywhere; }
.pg-info .ph { background: rgba(255, 246, 214, .12); border-color: rgba(224, 185, 58, .6); color: #F4DA85; }

/* article */
.pg-article { max-width: 760px; margin: 0 auto; }
.pg-article .pg-prose p { max-width: none; }
.pg-article h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; font-size: clamp(24px, 2.4vw, 32px); margin: 44px 0 14px; }
.pg-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--mute); margin-top: 22px; }

/* CTA band */
.pg-cta { padding: 20px 0 90px; background: var(--bg); }
.pg-cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 5vw, 64px); background: var(--pg-grad-panel); color: #fff; box-shadow: 0 40px 80px -40px rgba(10, 40, 12, .6); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pg-cta-box::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(142, 240, 79, .28), rgba(142, 240, 79, 0) 70%); pointer-events: none; }
.pg-cta-box > * { position: relative; }
.pg-cta-box h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; font-size: clamp(28px, 3.2vw, 44px); color: #fff; text-wrap: balance; }
.pg-cta-box p { margin-top: 16px; font-size: 16.5px; line-height: 1.7; color: #C9D6C3; max-width: 52ch; }
.pg-cta-box .acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
.pg-cta-box .acts .btn-ghost-d { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 600; font-size: 15px; transition: background .25s ease, border-color .25s ease; }
.pg-cta-box .acts .btn-ghost-d:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.pg-cta-box small { display: block; margin-top: 14px; font-size: 13px; color: #98A892; }

/* thank you / 404 */
.pg-center { min-height: 62vh; display: grid; align-items: center; text-align: center; padding: 150px 0 80px; }
.pg-center h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.045em; line-height: 1.05; }
.pg-center p { margin: 20px auto 0; max-width: 56ch; font-size: 18px; line-height: 1.7; color: var(--body); }
.pg-center .pg-actions { justify-content: center; }

/* scroll reveal fallback: visible without JS */
.pg-rv { opacity: 1; transform: none; }
.js .pg-rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--pg-ease), transform .8s var(--pg-ease); }
.js .pg-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .pg-rv { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pg-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pg-split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pg-split > header { position: static; }
  .pg-cards.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-contact, .pg-cta-box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .pg-hero { padding: 116px 0 52px; }
  .pg-sec { padding: 56px 0; }
  .pg-cards, .pg-cards.c3, .pg-ticks { grid-template-columns: minmax(0, 1fr); }
  .pg-steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .pg-form { padding: 22px; }
  .pg-form .row2 { grid-template-columns: minmax(0, 1fr); }
  .pg-info { padding: 24px; }
  .pg-cta { padding-bottom: 56px; }
  .pg-cta-box { border-radius: 26px; }
  .pg-actions .btn { width: 100%; justify-content: center; }
  .pg-toc { display: none; }
}

/* ---------- home additions ---------- */
.home-answer { padding: 56px 0 8px; background: var(--bg); }
.home-answer p { max-width: 860px; margin: 0 auto; text-align: center; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--body); text-wrap: balance; }
.statement .statement-sub { margin-top: 22px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; color: var(--mute); max-width: 52ch; }
.what-links { margin-top: 22px; font-size: 15px; color: var(--mute); }
.what-links a { color: var(--pg-green-700); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(31,122,8,.35); text-underline-offset: 3px; }
.sector-strip { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 20px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--pg-sh-card); transition: transform .45s var(--pg-ease), box-shadow .4s ease, border-color .3s ease; }
.sector-strip:hover { transform: translateY(-3px); box-shadow: var(--pg-sh-hover); border-color: rgba(76,195,31,.5); }
.sector-strip .ic { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--pg-green-50); color: var(--pg-green-700); }
.sector-strip .tx { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.sector-strip .tx b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.sector-strip .go { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--pg-green-700); }
.why { padding: 96px 0 24px; background: var(--bg); }
.why .pg-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps.steps-3::after { width: 100%; }
a.meta-pill { display: inline-flex; align-items: center; text-decoration: none; transition: background .25s ease, transform .35s var(--pg-ease); }
a.meta-pill:hover { transform: translateY(-2px); }
.cta-actions { margin-top: 28px; }
@media (max-width: 1100px) { .why .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .why { padding-top: 64px; }
  .why .pg-cards { grid-template-columns: minmax(0, 1fr); }
  .sector-strip { flex-wrap: wrap; padding: 18px; }
  .sector-strip .go { width: 100%; }
  .steps.steps-3 { grid-template-columns: minmax(0, 1fr); }
}
