.pg { --ink: #24382d; --muted: #56634f; --line: #e2e4da; --sun: #ffe000; width: 100%; max-width: 1080px; margin: 0 auto; padding: 36px 24px 90px; color: var(--ink); font-family: system-ui, sans-serif; }
.pg h1, .pg h2 { font-family: Gabarito, system-ui, sans-serif; font-weight: 500; margin: 0; }
.pg-page { min-height: 0; background: #fff; }
.pg-band { background: linear-gradient(180deg, #edf2e3 0%, #f4f7ee 62%, #fff 100%); }
.pg.pg-head { padding-top: 44px; padding-bottom: 64px; }
.pg-head + .pg, .pg-band + .pg { padding-top: 8px; }
.pg-eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-link { color: #1a6b52; font-weight: 600; font-size: 15px; text-decoration: none; }
.pg-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.pg-who { display: flex; align-items: center; gap: 14px; }
.pg-avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); border: 1px solid #c9b211; font: 500 20px/1 Gabarito, system-ui, sans-serif; }
.pg-name { flex: 1; min-width: 0; }
.pg-name h1 { font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.pg-name p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.pg-week { display: flex; align-items: flex-end; gap: 7px; }
.pg-week span { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 14px; font-size: 11px; font-weight: 600; color: #6c7468; }
.pg-week i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #c5cbbc; }
.pg-week .on i { background: #355343; border-color: #355343; }
.pg-week .today { color: var(--ink); }
.pg-week .today i { box-shadow: 0 0 0 3px #ffe00066; }
.pg-week .today.on i { background: var(--sun); border-color: #c9b211; }
.pg-week small { margin-left: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }

.pg-journey { margin: 64px 0 0; }
.pg-started { margin: 0; font: 400 clamp(28px, 3.6vw, 40px)/1.3 Lora, Georgia, serif; letter-spacing: -.6px; }
.pg-first-word { font-style: italic; background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 2px; }
.pg-cta { display: inline-block; margin-top: 18px; padding: 12px 20px; border-radius: 7px; background: var(--sun); border: 1px solid #c9b211; box-shadow: 0 3px 0 #273024; color: #020617; font-weight: 600; text-decoration: none; }
.pg-road { display: flex; margin: 44px 0 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pg-road li { position: relative; flex: 1 0 170px; padding: 32px 32px 0 0; display: flex; flex-direction: column; gap: 4px; }
.pg-road li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; border-top: 2px solid #a9bb9a; }
.pg-road li:nth-last-child(2)::before { border-top-style: dashed; }
.pg-road li::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px #f4f7ee; }
.pg-road li[data-ink=green]::after { background: #2f6b4f; }
.pg-road li[data-ink=terracotta]::after { background: #b5582c; }
.pg-road li[data-ink=plum]::after { background: #7a3f6b; }
.pg-road li[data-ink=blue]::after { background: #2f5b8a; }
.pg-road li.is-today::before { right: auto; width: 0; }
.pg-road li.is-today::after { background: var(--sun); box-shadow: 0 0 0 4px #ffe00055, 0 0 0 1px #c9b211; }
.pg-road li.is-today strong { color: #1a6b52; }
.pg-road time { font-size: 13px; color: var(--muted); }
.pg-road strong { font: 500 17px/1.3 Gabarito, system-ui, sans-serif; }
.pg-road em { font: italic 15px/1.3 Lora, Georgia, serif; color: #3d4c40; }

.pg-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.pg-numbers { display: flex; flex-wrap: wrap; gap: 26px 44px; margin: 0; }
.pg-numbers div { display: flex; flex-direction: column; }
.pg-numbers dt { order: 2; font-size: 15px; color: var(--muted); }
.pg-numbers dd { order: 1; margin: 0; font: 400 54px/1 Gabarito, system-ui, sans-serif; letter-spacing: -1.5px; }
.pg-numbers small { order: 3; margin-top: 4px; font-size: 13px; color: #1a6b52; font-weight: 600; }
.pg-numbers div:nth-child(2) small { color: var(--muted); font-weight: 400; }

.pg-estimate { padding-left: 32px; border-left: 1px solid var(--line); }
.pg-estimate-head { display: flex; align-items: center; gap: 18px; margin: 12px 0 22px; }
.pg-estimate-head > strong { flex-shrink: 0; font: 600 52px/1 Gabarito, system-ui, sans-serif; letter-spacing: -1px; padding: 6px 14px 8px; border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--sun); }
.pg-estimate-head b { display: block; font: 500 19px/1.3 Gabarito, system-ui, sans-serif; }
.pg-estimate-head span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: #4f5a4c; }
.pg-ruler { position: relative; display: flex; justify-content: space-between; padding-top: 16px; border-top: 0; }
.pg-ruler::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 4px; border-radius: 4px; background: #e6e8df; }
.pg-ruler-fill { position: absolute; top: 4px; left: 0; height: 4px; border-radius: 4px; background: #355343; }
.pg-ruler-marker { position: absolute; top: -1px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); }
.pg-ruler i { width: 0; display: flex; justify-content: center; font-style: normal; font-size: 12px; font-weight: 600; color: #8a9184; white-space: nowrap; }
.pg-ruler i.is-reached { color: var(--ink); }
.pg-ruler i:first-of-type { justify-content: flex-start; }
.pg-ruler i:last-of-type { justify-content: flex-end; }
.pg-estimate-note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

.pg-section { margin-top: 72px; }
.pg-section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.pg-section-head h2 { font-size: 26px; }
.pg-section-head p { margin: 0; font-size: 15px; color: var(--muted); }
.pg-section-head .pg-link { margin-left: auto; }

.pg-shelves { display: flex; flex-direction: column; }
.pg-shelf { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: end; padding: 14px 0 9px; border-bottom: 3px solid #e2ddd0; }
.pg-shelf.is-known { border-bottom-color: #c9b211; }
.pg-shelf-label { display: flex; align-items: center; gap: 9px; padding-bottom: 8px; }
.pg-shelf-label strong { font: 500 17px/1.2 Gabarito, system-ui, sans-serif; }
.pg-shelf-label small { margin-left: auto; font-size: 14px; color: var(--muted); }
.pg-dot { width: 9px; height: 9px; border-radius: 50%; background: #c5cbbc; }
.is-learning .pg-dot { background: #7fa36a; }
.is-known .pg-dot { background: var(--sun); box-shadow: 0 0 0 1px #c9b211; }
.pg-shelf-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; }
.pg-chip { padding: 7px 11px 6px; border-radius: 6px 6px 3px 3px; box-shadow: inset 0 -2px 0 #24382d14; font: 400 17px/1.15 Gabarito, system-ui, sans-serif; color: var(--ink); text-decoration: none; transition: transform .2s; }
.pg-chip:hover { transform: translateY(-3px); }
.pg-more { padding: 0 4px 6px; font-size: 13px; color: var(--muted); }
.pg-shelf-empty { padding-bottom: 8px; font-size: 14px; color: var(--muted); }

.pg-stamps { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 26px; padding: 6px 4px; }
.pg-stamp { --ink: #2f6b4f; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-transform: uppercase; color: var(--ink); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px var(--ink); transform: rotate(var(--r, 0deg)); opacity: .88; mix-blend-mode: multiply; }
.pg-stamp.is-round { width: 128px; height: 128px; border-radius: 50%; }
.pg-stamp.is-rect { min-width: 150px; min-height: 88px; padding: 10px 14px; border-radius: 8px; }
.pg-stamp small { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; line-height: 1.35; }
.pg-stamp strong { font: 700 30px/1.05 Gabarito, system-ui, sans-serif; letter-spacing: .02em; }
.pg-stamp.is-rect strong { font-size: 21px; }
.pg-stamp-date { margin-top: 3px; max-width: 112px; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: none; }
.pg-stamp.ink-terracotta { --ink: #b5582c; }
.pg-stamp.ink-blue { --ink: #2f5b8a; }
.pg-stamp.ink-plum { --ink: #7a3f6b; }
.pg-stamp.is-locked { --ink: #a9a28d; border-style: dashed; box-shadow: none; transform: none; opacity: .9; }

.pg-share { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.pg-share h2 { font-size: 20px; }
.pg-share p { margin: 6px 0 0; max-width: 560px; font-size: 15px; line-height: 1.6; color: #4f5a4c; overflow-wrap: anywhere; }
.pg-share a { color: #1a6b52; }
.pg-share-form { display: flex; gap: 8px; flex-shrink: 0; }
.pg-share-form input[type=text] { width: 200px; padding: 11px 13px; border: 1px solid #cbd0c3; border-radius: 7px; font: inherit; color: var(--ink); background: #fff; }
.pg-button { padding: 11px 18px; border-radius: 7px; border: 1px solid #c9b211; background: var(--sun); color: #020617; font: 600 15px system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.pg-button.is-quiet { background: transparent; border-color: #cbd0c3; color: var(--ink); }
.pg-button:hover { filter: brightness(.97); }

@media (max-width: 760px) {
  .pg { padding: 26px 18px 70px; }
  .pg-who { flex-wrap: wrap; }
  .pg-week { width: 100%; padding-left: 62px; }
  .pg.pg-head { padding-top: 30px; padding-bottom: 44px; }
  .pg-journey { margin-top: 40px; }
  .pg-road { margin-top: 32px; }
  .pg-road li { flex-basis: 150px; padding-right: 22px; }
  .pg-stats { grid-template-columns: 1fr; gap: 34px; }
  .pg-numbers { gap: 22px 30px; }
  .pg-numbers dd { font-size: 44px; }
  .pg-estimate { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .pg-estimate-head > strong { font-size: 42px; }
  .pg-section { margin-top: 52px; }
  .pg-section-head { flex-wrap: wrap; gap: 4px 14px; }
  .pg-shelf { grid-template-columns: 1fr; gap: 6px; }
  .pg-stamps { gap: 16px 18px; justify-content: center; }
  .pg-stamp.is-round { width: 112px; height: 112px; }
  .pg-share { flex-direction: column; align-items: flex-start; }
  .pg-share-form { width: 100%; }
  .pg-share-form input[type=text] { flex: 1; width: auto; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .pg-chip { transition: none; } .pg-chip:hover { transform: none; } }
