/* The Portal page (/portal/): a product-style page with large type, big screenshots and calm sections. */
.pp { --paragraph-color: var(--pp-text); --pp-ink: #0c1929; --pp-text: #4a5568; --pp-blue: #24658c; --pp-soft: #f4f6f9; --pp-dark: #0c1929; --pp-dark-card: #16263d; --pp-header: 72px;
  color: var(--pp-ink); font-family: var(--font-body); }
.pp-container { width: min(100% - 2 * var(--gutter), 1000px); margin: 0 auto; }
.pp-container--wide { width: min(100% - 2 * var(--gutter), 1240px); }

/* Sticky bar with the page's name, under the site header */
.pp-subnav { position: sticky; top: var(--pp-header); z-index: 40; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid rgba(12, 25, 41, .08); }
.pp-subnav__inner { display: flex; align-items: center; gap: 28px; width: min(100% - 2 * var(--gutter), 1240px); margin: 0 auto; min-height: 52px; }
.pp-subnav__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--pp-ink); text-decoration: none; margin-right: auto; }
.pp-subnav__links { display: flex; gap: 22px; }
.pp-subnav__links a { font-size: 13px; color: var(--pp-text); text-decoration: none; }
.pp-subnav__links a:hover, .pp-subnav__links a.is-current { color: var(--pp-ink); }
.pp-pill { display: inline-flex; align-items: center; justify-content: center; padding: 6px 15px; border-radius: 999px; background: var(--pp-blue); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s; }
.pp-pill:hover { background: #1d5473; color: #fff; }
.pp-pill--big { padding: 13px 26px; font-size: 17px; }
.pp-more { font-size: 17px; color: var(--pp-blue); text-decoration: none; font-weight: 500; }
.pp-more::after { content: " \203A"; }
.pp-more:hover { text-decoration: underline; }
.pp-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 28px; margin-top: 30px; }

/* Type */
.pp-eyebrow { font-size: 17px; font-weight: 600; color: var(--pp-blue); margin: 0 0 12px; }
.pp-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.pp-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--pp-text); margin: 22px 0 0; max-width: 720px; }

/* Hero */
.pp-hero { text-align: center; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); background: radial-gradient(1200px 520px at 50% -10%, #eaf4f8 0%, rgba(255,255,255,0) 70%), #fff; overflow: hidden; }
.pp-hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 104px); line-height: .98; letter-spacing: -.035em; margin: 0 auto; max-width: 980px; }
.pp-hero__text { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; color: var(--pp-text); max-width: 720px; margin: 26px auto 0; }
.pp-hero__shot { margin-top: clamp(44px, 6vw, 80px); }

/* Browser and phone frames around the screenshots */
.pp-browser { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(12, 25, 41, .05), 0 30px 70px -20px rgba(12, 25, 41, .28); border: 1px solid rgba(12, 25, 41, .08); }
.pp-browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #f1f3f6; border-bottom: 1px solid rgba(12, 25, 41, .06); }
.pp-browser__bar > span:not(.pp-browser__url) { width: 11px; height: 11px; border-radius: 50%; background: #d6dbe2; }
.pp-browser__url { margin: 0 auto; transform: translateX(-30px); padding: 4px 18px; border-radius: 8px; background: #fff; font-size: 12px; color: #6b7686; }
.pp-browser img { display: block; width: 100%; height: auto; }
.pp-phone { margin: 0; width: 100%; max-width: 250px; padding: 10px; border-radius: 42px; background: #0b1422; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.pp-phone img { display: block; width: 100%; height: auto; border-radius: 32px; }

/* Highlights: a row of cards that scrolls sideways */
.pp-highlights { background: var(--pp-soft); padding: clamp(64px, 8vw, 112px) 0; }
.pp-highlights__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.pp-track-controls { display: flex; gap: 12px; }
.pp-round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(12, 25, 41, .08); color: var(--pp-ink); font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s, opacity .2s; }
.pp-round:hover { background: rgba(12, 25, 41, .14); }
.pp-round:disabled { opacity: .35; cursor: default; }
.pp-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px max(var(--gutter), calc((100vw - 1240px) / 2)) 26px; scrollbar-width: none; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-track:focus-visible { outline: 2px solid var(--pp-blue); outline-offset: -2px; }
.pp-card { flex: 0 0 min(82vw, 860px); scroll-snap-align: center; display: flex; flex-direction: column; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 2px 6px rgba(12, 25, 41, .05); }
.pp-card__text { padding: 36px 40px 26px; }
.pp-card__label { font-size: 15px; font-weight: 600; color: var(--pp-blue); margin: 0 0 8px; }
.pp-card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 12px; }
.pp-card__text p { font-size: 17px; line-height: 1.5; color: var(--pp-text); margin: 0; max-width: 560px; }
.pp-card__img { display: block; width: calc(100% - 40px); height: auto; margin: auto 0 0 40px; border-radius: 14px 0 0 0; border: 1px solid rgba(12, 25, 41, .08); border-right: 0; border-bottom: 0; }

/* Feature sections */
.pp-feature { padding: clamp(80px, 10vw, 140px) 0; background: #fff; }
.pp-feature--soft { background: var(--pp-soft); }
.pp-feature--wide .pp-feature__text { text-align: center; margin: 0 auto 56px; }
.pp-feature--wide .pp-lead { margin-left: auto; margin-right: auto; }
.pp-feature--split .pp-container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pp-feature--split.pp-feature--soft .pp-feature__text { order: 2; }

/* Dark section with tiles */
.pp-dark { --paragraph-color: #d3dce8; background: var(--pp-dark); color: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.pp-dark .pp-h2 { color: #fff; text-align: center; margin-bottom: 56px; }
.pp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); grid-auto-flow: dense; gap: 20px; }
.pp-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 34px; border-radius: 28px; background: var(--pp-dark-card); overflow: hidden; }
.pp-tile h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.1; margin: 0 0 10px; color: #fff; }
.pp-tile p { font-size: 17px; line-height: 1.5; color: #d3dce8; margin: 0; max-width: 520px; }
.pp-tile__icon { display: inline-flex; width: 56px; height: 56px; color: #82d0c8; }
.pp-tile__icon svg { width: 100%; height: 100%; }
.pp-tile--wide { grid-column: span 2; }
.pp-tile--tall { grid-row: span 2; }
.pp-tile--image { align-items: center; text-align: center; }
.pp-tile--image .pp-phone { margin-bottom: -60px; }

/* Values, steps, questions */
.pp-values { padding: clamp(72px, 9vw, 120px) 0 0; }
.pp-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--line); padding-top: 44px; }
.pp-value h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 10px; }
.pp-value p { font-size: 17px; line-height: 1.55; color: var(--pp-text); margin: 0; }
.pp-steps { padding: clamp(72px, 9vw, 120px) 0; }
.pp-steps .pp-h2 { margin-bottom: 48px; }
.pp-steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.pp-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pp-soft); color: var(--pp-blue); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.pp-steps__list h3 { font-size: 21px; margin: 0 0 8px; }
.pp-steps__list p { font-size: 16px; line-height: 1.55; color: var(--pp-text); margin: 0; }
.pp-faq { padding: 0 0 clamp(72px, 9vw, 120px); }
.pp-faq .pp-h2 { margin-bottom: 26px; }
.pp-faq__item { border-top: 1px solid var(--line); }
.pp-faq__item:last-child { border-bottom: 1px solid var(--line); }
.pp-faq__item summary { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; }
.pp-faq__item summary::-webkit-details-marker { display: none; }
.pp-faq__item summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--pp-blue); }
.pp-faq__item[open] summary::after { content: "\2212"; }
.pp-faq__item p { font-size: 17px; line-height: 1.6; color: var(--pp-text); margin: -6px 0 24px; max-width: 760px; }

/* Closing */
.pp-cta { text-align: center; background: var(--pp-soft); padding: clamp(80px, 10vw, 140px) 0 64px; }
.pp-cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6.5vw, 84px); line-height: 1; letter-spacing: -.03em; margin: 0; }
.pp-note { margin: 72px auto 0; font-size: 13px; color: var(--muted); }

/* Gentle movement as things come into view (not for people who ask for less motion) */
.has-motion .pp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.has-motion .pp-reveal.pp-in { opacity: 1; transform: none; }
.has-motion .pp-rise { opacity: 0; transform: translateY(60px) scale(.97); transition: opacity 1.1s ease .2s, transform 1.3s cubic-bezier(.2, .7, .2, 1) .2s; }
.has-motion.is-loaded .pp-rise { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .pp-subnav__links { display: none; }
  .pp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pp-feature--split .pp-container { grid-template-columns: minmax(0, 1fr); }
  .pp-feature--split.pp-feature--soft .pp-feature__text { order: 0; }
  .pp-bento, .pp-values__grid, .pp-steps__list { grid-template-columns: minmax(0, 1fr); }
  .pp-tile--wide, .pp-tile--tall { grid-column: auto; grid-row: auto; }
  .pp-card__text { padding: 28px 24px 20px; }
  .pp-card__img { width: calc(100% - 24px); margin-left: 24px; }
  .pp-browser { border-radius: 12px; }
  .pp-browser__bar { height: 26px; padding: 0 10px; gap: 5px; }
  .pp-browser__bar > span:not(.pp-browser__url) { width: 8px; height: 8px; }
  .pp-browser__url { font-size: 10px; padding: 2px 10px; transform: none; }
  .pp-highlights__head .pp-track-controls { display: none; }
}

/* The site sets every paragraph's size and colour with a strong rule; on this page these win. */
main .pp p.pp-eyebrow { font-size: 17px; line-height: 1.4; color: var(--pp-blue); }
main .pp p.pp-card__label { font-size: 15px; line-height: 1.4; color: var(--pp-blue); }
main .pp p.pp-hero__text { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
main .pp p.pp-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
main .pp .pp-card__text p:not(.pp-card__label), main .pp .pp-tile p, main .pp .pp-value p, main .pp .pp-faq__item p { font-size: 17px; line-height: 1.55; }
main .pp .pp-steps__list p { font-size: 16px; line-height: 1.55; }
main .pp p.pp-note { font-size: 13px; color: var(--muted); }
