/* Product page layouts. Each product page mixes five of these between its hero and the
   closing block, so no two pages read the same. Small pieces of the Gaia UI inside them use
   the .mini primitives from ui.css. Loaded after air.css. */

:root { --pp-forest: #0f2e29; --pp-forest-2: #16403a; --pp-sage: #dce8cf; --pp-paper: #fbf8ef; --pp-ink: #191c1b; }

/* Section head: title on the left, the point on the right */
.pp-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.pp-head h2 { margin: 6px 0 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.pp-head > p { margin: 0; color: var(--fg-muted); font-size: 1.05rem; line-height: 1.6; max-width: 48ch; }
.pp-head.c { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.pp-head.c > p { max-width: 60ch; }
.pp-head.solo { grid-template-columns: minmax(0, 46rem); }
@media (max-width: 860px) { .pp-head { grid-template-columns: 1fr; } }

/* Shared stage: a soft ground for a piece of the UI */
.pp-stage { background: linear-gradient(160deg, var(--air-mint), var(--air-tint)); border-radius: 24px; padding: clamp(16px, 2.6vw, 32px); position: relative; min-width: 0; }
.pp-stage .ui-card { box-shadow: 0 24px 44px -30px rgba(0, 60, 52, .4); }
.pp-stage.cream { background: linear-gradient(160deg, #f8f2e2, var(--pp-paper)); }
.mini.pp-ui { font-size: 13px; }
.pp-bul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.pp-bul li { display: flex; gap: 10px; color: var(--fg-muted); line-height: 1.5; font-size: 0.97rem; }
.pp-bul li::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--brand); flex: none; margin-top: 0.55em; }
.pp-bul b { color: var(--fg-base); font-weight: 600; }
.pp-kw { color: var(--fg-base); font-weight: 500; }

/* STATS: facts in a row, no cards */
.pp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 28px; background: var(--air-tint); padding: clamp(1.5rem, 3vw, 40px) clamp(1rem, 2vw, 1.5rem); }
.pp-stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-stats > div { padding: 0.25rem clamp(16px, 2vw, 32px); display: grid; gap: 8px; align-content: start; }
.pp-stats > div + div { border-left: 1px solid #dfe6e3; }
.pp-stats b { font: 600 clamp(2.1rem, 4.2vw, 3.2rem)/1 var(--display); letter-spacing: -0.035em; color: var(--brand-strong); font-variant-numeric: tabular-nums; }
.pp-stats b small { font-size: 0.42em; letter-spacing: -0.01em; margin-left: 0.15em; color: var(--fg-base); }
.pp-stats span { color: var(--fg-base); font-weight: 600; font-size: 1rem; }
.pp-stats p { margin: 0; color: var(--fg-muted); font-size: 0.92rem; line-height: 1.5; }
.pp-stats-lead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.pp-stats-lead h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.02em; max-width: 30ch; text-wrap: balance; }
.pp-stats-lead p { margin: 0; color: var(--fg-muted); max-width: 44ch; }
@media (max-width: 860px) { .pp-stats, .pp-stats.three { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; } .pp-stats > div:nth-child(odd) { border-left: 0; } }
@media (max-width: 480px) { .pp-stats, .pp-stats.three { grid-template-columns: 1fr; } .pp-stats > div + div { border-left: 0; border-top: 1px solid #dfe6e3; padding-top: 1.25rem; } }

/* ANNOT: one big screen with numbered pins, notes beside it */
.pp-annot { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.pp-annot.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.pp-annot.flip .pp-stage { order: 2; }
.pp-pin { position: absolute; left: var(--x); top: var(--y); width: 28px; height: 28px; margin: -16px 0 0 -16px; border-radius: 99px; background: var(--pp-forest); color: #fff; font: 600 13px/28px var(--sans); text-align: center; box-shadow: 0 0 0 5px rgba(0, 171, 147, .22); z-index: 3; transition: transform .2s, background .2s; }
.pp-pin.on { background: var(--brand); transform: scale(1.18); box-shadow: 0 0 0 8px rgba(0, 171, 147, .25); }
.pp-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: n; }
.pp-notes li { counter-increment: n; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 16px; padding: 16px 1rem; border-radius: 16px; cursor: default; transition: background .2s; }
.pp-notes li::before { content: counter(n); width: 28px; height: 28px; border-radius: 99px; background: var(--air-tint); color: var(--brand-strong); font: 600 13px/28px var(--sans); text-align: center; grid-row: span 2; }
.pp-notes li.on, .pp-notes li:hover { background: var(--air-tint); }
.pp-notes li.on::before, .pp-notes li:hover::before { background: var(--pp-forest); color: #fff; }
.pp-notes b { font-weight: 600; font-size: 1rem; }
.pp-notes span { color: var(--fg-muted); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 960px) { .pp-annot, .pp-annot.flip { grid-template-columns: 1fr; } .pp-annot.flip .pp-stage { order: 0; } }

/* DEMO: try a piece of Gaia on the page */
.pp-demo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: center; background: var(--pp-paper); border-radius: 32px; padding: clamp(1.25rem, 3.5vw, 3rem); }
.pp-demo.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.pp-demo.flip > :first-child { order: 2; }
.pp-demo h2 { margin: 0.5rem 0 12px; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.pp-demo > div > p { margin: 0; color: var(--fg-muted); line-height: 1.6; max-width: 46ch; }
.pp-try { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 99px; background: #fff; color: var(--brand-strong); font-size: 0.78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pp-try .ti { font-size: 15px; }
.pp-box { background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -36px rgba(60, 45, 0, .35), 0 0 0 1px rgba(25, 28, 27, .05); padding: clamp(16px, 2vw, 24px); min-width: 0; }
.pp-ctl { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-ctl button, .pp-btn { font: 500 13px/1 var(--sans); height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid #d5dbd8; background: #fff; color: var(--pp-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .15s, border-color .15s; }
.pp-ctl button:hover, .pp-btn:hover { border-color: var(--brand); }
.pp-ctl button[aria-pressed="true"] { background: var(--pp-forest); border-color: var(--pp-forest); color: #fff; }
.pp-btn.pri { background: var(--brand); border-color: var(--brand); color: #fff; }
.pp-btn.pri:hover { background: #00967f; }
.pp-btn:disabled { opacity: .45; cursor: not-allowed; }
.pp-ctl button:focus-visible, .pp-btn:focus-visible, .pp-range:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pp-range { width: 100%; accent-color: var(--brand); }
.pp-lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: #5c5f5d; margin-bottom: 4px; }
.pp-lbl b { font-weight: 600; color: var(--pp-ink); font-variant-numeric: tabular-nums; font-size: 14px; }
.pp-num { font-variant-numeric: tabular-nums; }
.pp-flash { animation: pp-flash .6s ease; }
@keyframes pp-flash { 0% { background: #c9f0e6; } 100% { background: transparent; } }
.pp-note { font-size: 12px; color: #747876; margin-top: 8px; display: flex; gap: 6px; align-items: flex-start; }
.pp-note .ti { font-size: 14px; color: var(--brand-strong); margin-top: 1px; }
@media (max-width: 960px) { .pp-demo, .pp-demo.flip { grid-template-columns: 1fr; } .pp-demo.flip > :first-child { order: 0; } }

/* FLOW: what feeds this module, and what it feeds */
.pp-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 clamp(1rem, 3vw, 2.5rem); align-items: center; }
.pp-flow-col { display: grid; gap: 0.75rem; position: relative; }
.pp-flow-col > p { margin: 0 0 0.15rem; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 600; }
.pp-flow a, .pp-flow .pp-fc { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0.15rem 12px; align-items: center; padding: 12px 1rem; border-radius: 16px; background: var(--air-tint); text-decoration: none; color: inherit; position: relative; transition: background .2s, transform .2s; }
.pp-flow a:hover { background: var(--air-mint); transform: translateY(-1px); }
.pp-flow a .ti, .pp-flow .pp-fc .ti { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 20px; color: var(--brand-strong); }
.pp-flow a b, .pp-flow .pp-fc b { font-weight: 600; font-size: 0.98rem; }
.pp-flow a span, .pp-flow .pp-fc span { color: var(--fg-muted); font-size: 0.86rem; line-height: 1.4; }
.pp-flow-in a::after, .pp-flow-in .pp-fc::after, .pp-flow-out a::before, .pp-flow-out .pp-fc::before { content: ""; position: absolute; top: 50%; width: clamp(1rem, 3vw, 2.5rem); border-top: 2px dashed #b7d9d1; }
.pp-flow-in a::after, .pp-flow-in .pp-fc::after { left: 100%; }
.pp-flow-out a::before, .pp-flow-out .pp-fc::before { right: 100%; }
.pp-core { width: clamp(180px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #1f5a51, var(--pp-forest) 70%); color: #fff; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; padding: 1.5rem; box-shadow: 0 0 0 12px var(--air-mint), 0 0 0 13px #cfe6df, 0 40px 60px -30px rgba(0, 60, 52, .6); }
.pp-core .ti { font-size: 30px; color: #6fe3cf; }
.pp-core b { font: 600 1.35rem/1.15 var(--display); letter-spacing: -0.02em; }
.pp-core span { font-size: 0.82rem; color: #bfe3da; line-height: 1.4; }
@media (max-width: 960px) {
  .pp-flow { grid-template-columns: 1fr; gap: 32px; justify-items: stretch; }
  .pp-core { justify-self: center; width: 200px; }
  .pp-flow-in a::after, .pp-flow-in .pp-fc::after, .pp-flow-out a::before, .pp-flow-out .pp-fc::before { content: none; }
}

/* VS: the way it is done today beside Gaia */
.pp-vs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem; align-items: stretch; }
.pp-vs > div { border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.pp-old { background: var(--pp-paper); }
.pp-new { background: linear-gradient(160deg, var(--air-mint), var(--air-tint)); }
.pp-vs .tag { font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #8a6d2b; }
.pp-new .tag { color: var(--brand-strong); }
.pp-vs h3 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; }
.pp-old ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-old li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: #5b5440; line-height: 1.5; font-size: 0.97rem; }
.pp-old li .ti { color: #c0a25e; font-size: 18px; margin-top: 2px; }
.pp-scrawl { font-family: "Caveat", cursive; font-size: 1.45rem; color: #6b5a2f; line-height: 1.2; transform: rotate(-1.5deg); margin-top: auto; padding-top: 0.5rem; }
.pp-sheet { background: #fff; border-radius: 6px; padding: 16px 16px 20px; box-shadow: 0 1px 0 #eee6cf, 0 18px 30px -22px rgba(80, 60, 10, .35); transform: rotate(-0.8deg); font: 500 1.15rem/1.6 "Caveat", cursive; color: #3d3a33; background-image: repeating-linear-gradient(#fff 0 27px, #e7eef6 27px 28px); }
.pp-sheet s { color: #b9483b; text-decoration-thickness: 2px; }
.pp-sheet em { font-style: normal; color: #b9483b; }
@media (max-width: 860px) { .pp-vs { grid-template-columns: 1fr; } }

/* COMPARE: a table that ends on Gaia */
.pp-cmp-wrap { overflow-x: auto; border-radius: 24px; }
.pp-cmp { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 0.97rem; }
.pp-cmp th, .pp-cmp td { padding: 1rem 20px; text-align: left; vertical-align: top; border-bottom: 1px solid #eaefed; }
.pp-cmp thead th { font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 600; border-bottom: 0; padding-bottom: 0.75rem; }
.pp-cmp tbody th { font-weight: 600; color: var(--fg-base); width: 26%; }
.pp-cmp td { color: var(--fg-muted); line-height: 1.5; }
.pp-cmp td .ti { font-size: 18px; vertical-align: -3px; margin-right: 4px; }
.pp-cmp .no .ti { color: #c4a05a; }
.pp-cmp .gaia { background: var(--air-mint); color: var(--fg-base); }
.pp-cmp .gaia .ti { color: var(--brand-strong); }
.pp-cmp thead .gaia { border-radius: 18px 18px 0 0; color: var(--brand-strong); }
.pp-cmp tbody tr:last-child td.gaia { border-radius: 0 0 18px 18px; }
.pp-cmp tbody tr:last-child th, .pp-cmp tbody tr:last-child td { border-bottom: 0; }

/* ZIG: rows that alternate sides */
.pp-zig { display: grid; gap: clamp(2.5rem, 6vw, 72px); }
.pp-zig > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.pp-zig > div:nth-child(even) > :first-child { order: 2; }
.pp-zig .n { font: 600 0.8rem var(--sans); letter-spacing: .1em; color: var(--brand-strong); }
.pp-zig h3 { margin: 8px 0 12px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance; }
.pp-zig p { margin: 0; color: var(--fg-muted); line-height: 1.6; max-width: 48ch; }
@media (max-width: 860px) { .pp-zig > div { grid-template-columns: 1fr; } .pp-zig > div:nth-child(even) > :first-child { order: 0; } }

/* GRID: a capability index with a sticky title */
.pp-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.pp-grid > :first-child { position: sticky; top: 96px; }
.pp-grid h2 { margin: 6px 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.pp-grid > :first-child > p { margin: 0; color: var(--fg-muted); line-height: 1.6; }
.pp-cap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.pp-cap > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0.2rem 16px; padding: 20px 0.25rem; border-top: 1px solid #e8edeb; }
.pp-cap > div:nth-child(odd) { padding-right: 1.5rem; }
.pp-cap .ti { grid-row: span 2; font-size: 22px; color: var(--brand-strong); width: 36px; height: 36px; border-radius: 10px; background: var(--air-tint); display: grid; place-items: center; }
.pp-cap b { font-weight: 600; }
.pp-cap span { color: var(--fg-muted); font-size: 0.92rem; line-height: 1.5; }
.pp-cap .soon { font-style: normal; font-size: 0.7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: #8a6d2b; background: var(--pp-paper); border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 860px) { .pp-grid { grid-template-columns: 1fr; } .pp-grid > :first-child { position: static; } }
@media (max-width: 560px) { .pp-cap { grid-template-columns: 1fr; } .pp-cap > div:nth-child(odd) { padding-right: 0.25rem; } }

/* DARK: one differentiator on a deep green panel */
.pp-dark { background: radial-gradient(120% 120% at 100% 0%, #1d5249 0%, var(--pp-forest) 55%); color: #fff; border-radius: 32px; padding: clamp(1.5rem, 4.5vw, 4rem); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 64px); align-items: center; overflow: hidden; }
.pp-dark > div > .eyebrow { color: #6fe3cf; }
.pp-dark > div > h2 { margin: 0.5rem 0 16px; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.pp-dark > div > p { margin: 0; color: #c4e4dc; line-height: 1.6; max-width: 46ch; }
.pp-dark .pp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pp-dark .pp-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: #e3f4ef; font-size: 0.86rem; border: 1px solid rgba(255,255,255,.1); }
.pp-dark .pp-chips .ti { color: #6fe3cf; font-size: 16px; }
.pp-dark .ui-card { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); border-color: transparent; }
.pp-dark .text-link { color: #6fe3cf; }
@media (max-width: 960px) { .pp-dark { grid-template-columns: 1fr; } }

/* ROLES: one screen, seen by each person who uses it */
.pp-roles-bar { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--air-tint); border-radius: 14px; margin-bottom: 1.5rem; }
.pp-roles-bar button { font: 500 0.95rem var(--sans); border: 0; background: transparent; padding: 10px 1rem; border-radius: 10px; cursor: pointer; color: var(--fg-muted); display: inline-flex; align-items: center; gap: 8px; }
.pp-roles-bar button .ti { font-size: 18px; }
.pp-roles-bar button[aria-selected="true"] { background: #fff; color: var(--fg-base); box-shadow: 0 6px 16px -10px rgba(0, 60, 52, .45); }
.pp-roles-bar button[aria-selected="true"] .ti { color: var(--brand-strong); }
.pp-roles-bar button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.pp-role { display: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.25rem, 3.5vw, 64px); align-items: center; }
.pp-role.on { display: grid; animation: pp-fade .35s ease; }
@keyframes pp-fade { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pp-role h3 { margin: 0; font: 500 clamp(1.25rem, 2.3vw, 1.6rem)/1.3 var(--display); letter-spacing: -0.015em; color: var(--fg-base); text-wrap: balance; }
.pp-role .who { margin: 16px 0 0; color: var(--fg-muted); font-size: 0.92rem; }
@media (max-width: 860px) { .pp-role.on { grid-template-columns: 1fr; } }

/* TIMELINE: a day (vertical) or a year or week (across) */
.pp-time { position: relative; display: grid; gap: 1.25rem; padding-left: 0; }
.pp-time > div { display: grid; grid-template-columns: 110px 22px minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.25rem; align-items: start; position: relative; }
.pp-time > div::before { content: ""; position: absolute; left: calc(110px + 1.25rem + 10px); top: 22px; bottom: -1.25rem; width: 2px; background: repeating-linear-gradient(#bfe0d8 0 6px, transparent 6px 11px); }
.pp-time > div:last-child::before { content: none; }
.pp-time time { font: 600 1.05rem var(--display); letter-spacing: -0.01em; color: var(--brand-strong); text-align: right; padding-top: 0.15rem; font-variant-numeric: tabular-nums; }
.pp-time time small { display: block; font: 500 0.78rem var(--sans); color: var(--fg-subtle); letter-spacing: 0; }
.pp-time .dot { width: 22px; height: 22px; border-radius: 99px; background: #fff; border: 2px solid var(--brand); position: relative; z-index: 1; margin-top: 2px; }
.pp-time .dot.fill { background: var(--brand); box-shadow: 0 0 0 5px var(--air-mint); }
.pp-time h3 { margin: 0 0 6px; font-size: 1.2rem; letter-spacing: -0.015em; }
.pp-time p { margin: 0; color: var(--fg-muted); line-height: 1.55; font-size: 0.96rem; }
.pp-time .mini { padding-bottom: 0.5rem; }
@media (max-width: 900px) {
  .pp-time > div { grid-template-columns: 22px minmax(0, 1fr); gap: 6px 1rem; }
  .pp-time time { grid-column: 2; text-align: left; order: -1; }
  .pp-time .dot { grid-row: 1 / span 3; grid-column: 1; }
  .pp-time > div > :nth-child(n+3) { grid-column: 2; }
  .pp-time > div::before { left: 10px; }
}
.pp-across { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 1rem; overflow-x: auto; padding: 0.25rem 0.25rem 1rem; scroll-snap-type: x mandatory; }
.pp-across > div { scroll-snap-align: start; position: relative; background: var(--air-tint); border-radius: 22px; padding: 1.25rem 1.25rem 24px; display: flex; flex-direction: column; gap: 10px; }
.pp-across > div.hl { background: var(--pp-forest); color: #fff; }
.pp-across > div.hl p { color: #c4e4dc; }
.pp-across > div.hl time { color: #6fe3cf; }
.pp-across time { font: 600 0.8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); }
.pp-across h3 { margin: 0; font-size: 1.1rem; letter-spacing: -0.015em; }
.pp-across p { margin: 0; color: var(--fg-muted); font-size: 0.92rem; line-height: 1.5; }
.pp-across > div:not(:last-child)::after { content: ""; position: absolute; right: -0.85rem; top: 1.6rem; width: 0.7rem; border-top: 2px dashed #b7d9d1; }
.pp-across .mini { margin-top: auto; }

/* RAIL: documents in a row, scrolled sideways */
.pp-rail-wrap { position: relative; }
.pp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0.25rem 32px; scrollbar-width: thin; }
.pp-rail > figure { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.pp-doc { background: #fff; border-radius: 6px; aspect-ratio: 8.5 / 11; padding: 20px 20px 16px; box-shadow: 0 1px 0 #e6ebe9, 0 22px 40px -26px rgba(0, 40, 30, .45), 0 0 0 1px rgba(25, 28, 27, .05); font: 400 9.5px/1.45 var(--sans); color: #393c3b; overflow: hidden; display: flex; flex-direction: column; gap: 8px; transition: transform .25s; }
.pp-rail > figure:hover .pp-doc { transform: translateY(-4px) rotate(-0.4deg); }
.pp-doc h5 { margin: 0; font: 600 12px/1.2 var(--display); color: var(--pp-ink); }
.pp-doc .meta { color: #8e918f; font-size: 8.5px; }
.pp-doc table { width: 100%; border-collapse: collapse; font-size: 8.5px; }
.pp-doc th { text-align: left; font-weight: 600; color: #5c5f5d; border-bottom: 1px solid #c4c7c5; padding: 3px 2px; }
.pp-doc td { border-bottom: 1px solid #eff1ef; padding: 3px 2px; }
.pp-doc td.r, .pp-doc th.r { text-align: right; }
.pp-doc .bar { height: 5px; border-radius: 9px; background: #eff1ef; overflow: hidden; } .pp-doc .bar i { display: block; height: 100%; background: var(--brand); }
.pp-doc .foot { margin-top: auto; display: flex; justify-content: space-between; color: #a9acaa; font-size: 8px; border-top: 1px solid #eff1ef; padding-top: 6px; }
.pp-doc.xl { font-family: "Geist", system-ui, sans-serif; padding: 0; gap: 0; border-radius: 8px; }
.pp-doc.xl .xbar { background: #1d6f42; color: #fff; padding: 6px 10px; font-size: 9px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.pp-doc.xl table td, .pp-doc.xl table th { border: 1px solid #e3e6e4; padding: 3px 6px; }
.pp-doc.xl table th { background: #f3f5f4; }
.pp-rail figcaption b { display: block; font-weight: 600; }
.pp-rail figcaption span { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.45; }
.pp-rail-btns { display: flex; gap: 8px; }
.pp-rail-btns button { width: 40px; height: 40px; border-radius: 99px; border: 0; background: var(--air-tint); cursor: pointer; display: grid; place-items: center; font-size: 18px; color: var(--fg-base); }
.pp-rail-btns button:hover { background: var(--air-mint); }
.pp-rail-btns button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* SPEC: a data sheet */
.pp-spec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.pp-spec > :first-child { position: sticky; top: 96px; }
.pp-spec h2 { margin: 6px 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.pp-spec > :first-child > p { margin: 0 0 1.5rem; color: var(--fg-muted); line-height: 1.6; }
.pp-dl { display: grid; gap: 32px; }
.pp-dl section > p { margin: 0 0 6px; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 600; }
.pp-dl dl { margin: 0; display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); border-top: 2px solid var(--pp-ink); }
.pp-dl dt, .pp-dl dd { margin: 0; padding: 12px 0; border-bottom: 1px solid #e3e8e6; line-height: 1.5; }
.pp-dl dt { font-weight: 600; padding-right: 1rem; }
.pp-dl dd { color: var(--fg-muted); }
@media (max-width: 860px) { .pp-spec { grid-template-columns: 1fr; } .pp-spec > :first-child { position: static; } }
@media (max-width: 520px) { .pp-dl dl { grid-template-columns: 1fr; } .pp-dl dt { border-bottom: 0; padding-bottom: 0; } }

/* Quote set inside a section */
.pp-quote { margin: 0; padding: 1.25rem 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(25, 28, 27, .06); }
.pp-quote p { margin: 0; font: 500 1.08rem/1.45 var(--display); letter-spacing: -0.01em; color: var(--fg-base); }
.pp-quote footer { margin-top: 10px; color: var(--fg-muted); font-size: 0.88rem; }
.pp-new .pp-quote, .pp-old .pp-quote { margin-top: auto; }

/* FAQ with the question count beside it */
.pp-faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.pp-faq h2 { margin: 6px 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.1; }
.pp-faq > div > p { margin: 0; color: var(--fg-muted); line-height: 1.6; }
.pp-faq .faq { margin-top: 0; }
@media (max-width: 860px) { .pp-faq { grid-template-columns: 1fr; } }

/* Mini UI helpers used by these layouts */
.mini .pp-meter { display: grid; grid-template-columns: 92px minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: 12.5px; }
.mini .pp-meter .ui-bar > i { transition: width .5s ease, background .3s; }
.mini .pp-meter em { font-style: normal; text-align: right; color: var(--n40); font-variant-numeric: tabular-nums; }
.mini .pp-tr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--n95); }
.mini .pp-tr:last-child { border-bottom: 0; }
.mini .pp-tr .pp-r { margin-left: auto; font-variant-numeric: tabular-nums; }
.mini .pp-avatar { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--teal-t); color: var(--teal-dd); flex: none; }
@media (prefers-reduced-motion: reduce) { .pp-role.on, .pp-flash { animation: none; } .pp-rail > figure:hover .pp-doc { transform: none; } }
.pp-pins .media.has-ui, .pp-pins .illo.has-ui { padding: 0 !important; background: none; margin: 0; border-radius: 14px; }
.pp-pins .ui-fit { border-radius: 14px; }
.pp-annot.wide { grid-template-columns: 1fr; }
.pp-annot.wide .pp-notes { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.5rem; }
.pp-annot.wide .pp-notes li { grid-template-columns: 28px minmax(0, 1fr); align-content: start; }
.mini .pp-meter { grid-template-columns: 92px minmax(0, 1fr) 96px; }
.pp-dark .rs-mini { color: var(--fg-base); }
.pp-box [hidden], .pp-demo [hidden] { display: none !important; }
/* A phone frame for demos */
.pp-phone { width: 290px; max-width: 100%; margin: 0 auto; border-radius: 40px; background: #121413; padding: 10px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .45); }
.pp-phone > div { border-radius: 31px; background: #fff; overflow: hidden; min-height: 500px; display: flex; flex-direction: column; }
.pp-phone .ph-top { background: #0f4f45; color: #fff; padding: 24px 16px 16px; display: grid; gap: 2px; }
.pp-phone .ph-top span { font-size: 11px; color: #a9dcd2; }
.pp-phone .ph-top b { font: 600 17px/1.2 var(--display); }
.pp-phone .ph-tabs { display: flex; gap: 4px; padding: 10px 12px 4px; }
.pp-phone .ph-tabs button { font: 500 12px var(--sans); border: 0; border-radius: 99px; padding: 6px 12px; background: #eff1ef; color: #5c5f5d; cursor: pointer; }
.pp-phone .ph-tabs button.on { background: #00796a; color: #fff; }
.pp-phone [data-day] { padding: 10px 16px; border-bottom: 1px solid #eff1ef; display: grid; gap: 2px; font-size: 13px; }
.pp-phone [data-day] em { font-style: normal; font-size: 11px; color: #8e918f; }
.pp-phone [data-day] b { font-weight: 500; color: #191c1b; }
.pp-phone [data-day].today { background: #eaf4f3; }
.pp-phone [data-day].today em { color: #00796a; font-weight: 600; }
@media (max-width: 560px) {
  .pp-week { grid-template-columns: repeat(5, minmax(104px, 1fr)) !important; overflow-x: auto; padding-bottom: 6px; }
  .pp-pos { grid-template-columns: 1fr !important; }
  .pp-pos .pp-ctl { flex-direction: row !important; flex-wrap: wrap; }
}
.pp-across.wrap { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.pp-across.wrap > div:nth-child(4n)::after { content: none; }
@media (max-width: 860px) { .pp-across.wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-across.wrap > div:nth-child(2n)::after { content: none; } }
@media (max-width: 480px) { .pp-across.wrap { grid-template-columns: 1fr; } .pp-across.wrap > div::after { content: none; } }
.pp-doc td.pp-r, .pp-doc th.pp-r { text-align: right; }

/* FLOW as a mind map: light nodes, a pill in the middle, curved arrows drawn by product.js */
.pp-flow { position: relative; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 clamp(4rem, 11vw, 96px); }
.pp-flow-col { gap: 6px; }
.pp-flow-col > p { margin-bottom: 6px; }
.pp-flow a, .pp-flow .pp-fc { background: transparent; padding: 10px 0.75rem; grid-template-columns: 34px minmax(0, 1fr); gap: 0.05rem 0.75rem; border-radius: 14px; }
.pp-flow a:hover { background: var(--air-tint); transform: none; }
.pp-flow-in > a, .pp-flow-in > .pp-fc { justify-self: end; }
.pp-flow-out > a, .pp-flow-out > .pp-fc { justify-self: start; }
.pp-flow-in > p { text-align: right; }
.pp-flow a .ti, .pp-flow .pp-fc .ti { width: 34px; height: 34px; border-radius: 99px; background: var(--air-tint); font-size: 17px; }
.pp-flow a b, .pp-flow .pp-fc b { font-size: 0.97rem; }
.pp-flow a span, .pp-flow .pp-fc span { font-size: 0.86rem; }
.pp-flow-in a::after, .pp-flow-in .pp-fc::after, .pp-flow-out a::before, .pp-flow-out .pp-fc::before { content: none; }
.pp-core { width: auto; aspect-ratio: auto; border-radius: 99px; padding: 12px 20px; display: inline-flex; align-items: center; gap: 8px; background: var(--pp-forest); box-shadow: 0 0 0 6px var(--air-mint), 0 18px 30px -18px rgba(0, 60, 52, .55); white-space: nowrap; position: relative; z-index: 1; }
.pp-core .ti { font-size: 19px; }
.pp-core b { font: 600 1.05rem/1 var(--display); }
.pp-core span { display: none; }
.pp-map { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pp-map path { fill: none; stroke: #9fd3c7; stroke-width: 1.6; }
.pp-map path.head { fill: #6cbcaa; stroke: none; }
@media (max-width: 960px) {
  .pp-flow { gap: 1.5rem; }
  .pp-map { display: none; }
  .pp-flow-in > a, .pp-flow-in > .pp-fc, .pp-flow-out > a, .pp-flow-out > .pp-fc { justify-self: stretch; }
  .pp-flow-in > p { text-align: left; }
}

/* One body-copy style for descriptions inside product sections: same size, line height and color. */
:root { --copy-size: 1rem; --copy-lh: 1.55; }
.deep-panel li, .pp-dl dd, .pp-spec > :first-child > p { font-size: var(--copy-size); line-height: var(--copy-lh); color: var(--fg-muted); }

/* Card padding: one value on all four sides. 20 on small screens, 24 from 1024px, 32 from 1440px. */
:root { --card-pad: 20px; }
@media (min-width: 1024px) { :root { --card-pad: 24px; } }
@media (min-width: 1440px) { :root { --card-pad: 32px; } }
.pp-across > div, .wt-step, .steps4 > div, .fl-card, .rule { padding: var(--card-pad); }
/* Eligibility deadline timeline only: 16px card padding, chips may wrap instead of running past the edge. */
.pp-across.pp-across-16 { grid-auto-columns: minmax(200px, 1fr); }
.pp-across.pp-across-16 > div { padding: 16px; }
.pp-across.pp-across-16 .ui-chip { height: auto; min-height: 22px; padding-top: 3px; padding-bottom: 3px; white-space: normal; }
.cell { padding: var(--card-pad); gap: var(--card-pad); }
.cell .stage-mini { padding: 0; min-height: 0; background: none; border: 0; border-radius: 0; align-content: start; }
.cell .copy { padding: 0; margin-top: auto; }

/* Headings on dark cards stay light */
.pp-across > div.hl, .pp-dark { --fg-heading: #ffffff; }

/* Comparison table, option A: paired rows. The old way in a dashed box, an arrow, Gaia in a solid teal card. */
.pp-cmp-wrap { border-radius: 0; overflow: clip; }
.pp-cmp { min-width: 760px; border-collapse: separate; border-spacing: 40px 12px; margin: -12px -40px; width: calc(100% + 80px); }
@media (max-width: 960px) { .pp-cmp-wrap { overflow-x: auto; } .pp-cmp { margin: 0; width: 100%; border-spacing: 40px 12px; } .pp-cmp tbody th { padding-left: 8px; } }
.pp-cmp th, .pp-cmp td { border-bottom: 0; padding: 16px 20px; }
.pp-cmp thead th { padding: 0 0 4px; }
.pp-cmp tbody th { width: 200px; padding-left: 0; vertical-align: middle; }
.pp-cmp td { vertical-align: middle; position: relative; border-radius: 12px; }
.pp-cmp td.no { border: 1px dashed var(--border-strong); }
.pp-cmp td.gaia { background: var(--air-tint-teal, #eaf4f3); color: var(--fg-base); }
.pp-cmp td.gaia::before { content: ""; position: absolute; left: -32px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--fg-subtle); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.pp-cmp thead .gaia { border-radius: 0; background: none; color: var(--brand-strong); }
.pp-cmp tbody tr:last-child td.gaia { border-radius: 12px; }
.pp-cmp td .ti { margin-right: 8px; }

/* Roles: the heading, its description under it, then the tabs. */
.pp-roles .pp-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px !important; align-items: start; }
.pp-roles .pp-head > p { max-width: 60ch; }

/* Range slider: no native border, a neutral track with a teal fill, and a focus ring that eases in. */
.pp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; --p: 50%; }
.pp-range::-webkit-slider-runnable-track { height: 8px; border: 0; border-radius: 999px; background: linear-gradient(to right, var(--brand-strong) var(--p), var(--border) var(--p)); }
.pp-range::-moz-range-track { height: 8px; border: 0; border-radius: 999px; background: var(--border); }
.pp-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--brand-strong); }
.pp-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -6px; border: 0; border-radius: 50%; background: var(--brand-strong); box-shadow: 0 0 0 0 rgba(0, 121, 106, 0); transition: box-shadow .2s ease, transform .2s ease; }
.pp-range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--brand-strong); box-shadow: 0 0 0 0 rgba(0, 121, 106, 0); transition: box-shadow .2s ease, transform .2s ease; }
.pp-range:focus { outline: none; }
.pp-range:focus-visible::-webkit-slider-thumb, .pp-range:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(0, 121, 106, .2); transform: scale(1.1); }
.pp-range:focus-visible::-moz-range-thumb, .pp-range:active::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(0, 121, 106, .2); transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) { .pp-range::-webkit-slider-thumb, .pp-range::-moz-range-thumb { transition: none; } }

/* Roles: the screen on the left, the text on the right. */
.pp-role { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.pp-role > :last-child { order: -1; }
@media (max-width: 860px) { .pp-role > :last-child { order: 0; } }
