.pg-page { background: #f4f8fc; }
.pg-main {
  --pg-width: 77rem;
  --pg-ink: #0b2643;
  --pg-copy: #314c65;
  --pg-link: #13569f;
  --pg-rule: #cbdce7;
  --pg-teal: #167574;
  color-scheme: light;
  background: #fff;
  color: var(--pg-copy);
  font: clamp(1rem, 1.2vw, 1.18rem)/1.64 "Segoe UI", Inter, system-ui, sans-serif;
}
.pg-main *, .pg-main *::before, .pg-main *::after { box-sizing: border-box; }
.pg-main :is(h1, h2, h3, p, dl, dd, blockquote) { margin: 0; }
.pg-main :is(h1, h2, h3) { text-wrap: balance; hyphens: manual; }
.pg-main :where([id]) { scroll-margin-top: .9rem; }
.pg-main [hidden] { display: none !important; }
.pg-main a { color: var(--pg-link); text-decoration: underline; text-underline-offset: .21em; }
.pg-main a:hover { text-decoration-thickness: .14em; }
.pg-main :is(a, button):focus-visible, .pg-skip:focus-visible { outline: 3px solid #d48924; outline-offset: 4px; }
.pg-wrap { width: min(var(--pg-width), calc(100% - clamp(2rem, 8.5vw, 8rem))); margin-inline: auto; }
.pg-skip { position: fixed; z-index: 15000; inset: .6rem auto auto .6rem; padding: .7rem 1rem; color: #0b2643; background: white; transform: translateY(-200%); }
.pg-skip:focus { transform: none; }

/* Keep the backdrop clear of the headline and the workshop example. */
.pg-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f4f8ff;
  background: radial-gradient(ellipse at 77% 54%, #194858 0, transparent 46%),
              linear-gradient(115deg, #0b2031, #0c1c31 58%, #172c50);
  padding-block: clamp(.65rem, 1.7vw, 1.65rem) clamp(1.1rem, 4.5vw, 4.5rem);
}
.pg-hero::before, .pg-hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.pg-hero::before {
  inset: -60% -35% -70% 26%;
  transform: rotate(-18deg);
  background: repeating-radial-gradient(ellipse at 70% 16%, transparent 0 19px, #76e6e315 20px, transparent 21px 31px);
  mask-image: linear-gradient(100deg, transparent 7%, #000 37%, #000 82%, transparent);
}
.pg-hero::after {
  width: 68%; height: 100%; inset: 4% -4% auto auto;
  background: radial-gradient(ellipse at 65% 70%, #4578f33b, transparent 49%), radial-gradient(ellipse at 44% 44%, #36dfcc32, transparent 42%);
  animation: pg-aurora 11s ease-in-out infinite alternate;
}
@keyframes pg-aurora { to { transform: translate(-3%, 2%) scale(1.06); } }
.pg-crumbs { display: flex; align-items: center; gap: .78em; color: #c0d1e2; font-size: .82rem; }
.pg-crumbs a { display: inline-flex; min-height: 32px; align-items: center; color: #e4eff7; }
.pg-crumbs span[aria-hidden] { color: #7991a7; }
.pg-hero-grid { display: grid; align-items: center; gap: .65rem; margin-top: clamp(.7rem, 2vw, 2rem); }
.pg-hero-copy { min-width: 0; }
.pg-main .pg-hero h1 {
  color: #f5f9ff;
  font-size: clamp(2.48rem, 5.3vw, 5.25rem);
  font-weight: 740;
  letter-spacing: -.058em;
  line-height: .99;
}
.pg-hero h1 em { font-family: Baskervville, Georgia, serif; font-weight: 500; font-style: italic; color: #95ece7; letter-spacing: -.055em; }
.pg-main .pg-lead { max-width: 48ch; margin-top: .95em; font-size: clamp(1.03rem, 1.4vw, 1.3rem); line-height: 1.54; color: #deebf6; }
.pg-hero-art { position: relative; width: min(100%, 32rem); margin-inline: auto; }
.pg-actions { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin-top: 1.25rem; }
.pg-main .pg-button, .pg-main .pg-text-link, .pg-copy {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .65em .96em; border-radius: .52rem;
  font-family: inherit; font-size: clamp(.87rem, 1vw, 1rem); font-weight: 650; line-height: 1.25;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
}
.pg-main .pg-button { border: 1px solid #1761ab; color: #fff; background: #12569c; box-shadow: 0 4px 12px #0a35521b; }
.pg-main .pg-button:hover { background: #0c497f; }
.pg-main .pg-hero .pg-button { color: #092d41; border-color: #a8e9ea; background: linear-gradient(115deg, #baf4e9, #99d7ff); box-shadow: inset 0 1px 0 #ffffff85, 0 4px 20px #153e4b50; }
.pg-main .pg-hero .pg-button:hover { background: #ccf9ef; }
.pg-main .pg-text-link { padding-inline: .12em; color: var(--pg-link); }
.pg-main .pg-hero .pg-text-link { color: #e9f5ff; }
.pg-main .pg-text-link:hover { text-decoration: underline; }
.pg-actions i { font-size: .94em; }

.pg-index { border-bottom: 1px solid #bfd3df; background: #edf5f8; }
.pg-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .5rem; padding-block: .35rem; }
.pg-index a { display: flex; gap: .62em; align-items: center; min-height: 44px; padding: .4rem .15rem; color: #163e55; font-size: .87rem; font-weight: 650; line-height: 1.2; text-decoration: none; }
.pg-index i { color: #247577; font-size: 1rem; }
.pg-index a:hover { color: #075aa9; text-decoration: underline; }

.pg-section { padding-block: clamp(2.1rem, 5.45vw, 5.5rem); background: #fff; }
.pg-tint { background: #f2f7fa; border-block: 1px solid #dae6ee; }
.pg-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; align-items: center; }
.pg-feature > .pg-prose { display: contents; }
.pg-feature > .pg-prose > h2 { grid-row: 1; }
.pg-feature > .pg-prose > p:first-of-type { grid-row: 2; }
.pg-section h2 {
  max-width: 25ch; font-size: clamp(1.8rem, 3.4vw, 3.25rem); font-weight: 715; line-height: 1.08;
  letter-spacing: -.047em; color: var(--pg-ink);
}
.pg-section h3 { color: var(--pg-ink); font-size: clamp(1.14rem, 1.65vw, 1.48rem); font-weight: 670; line-height: 1.24; letter-spacing: -.024em; }
.pg-prose p, .pg-excerpt p { max-width: 66ch; }
.pg-section strong { color: var(--pg-ink); }
.pg-artwell {
  grid-row: 3; justify-self: center; position: relative; isolation: isolate; width: min(100%, 24rem);
  padding: clamp(.2rem, 1.85vw, 1.5rem);
}
.pg-artwell::before { content: ""; position: absolute; pointer-events: none; z-index: -1; inset: 0; border-radius: 1.15rem; }
.pg-purpose .pg-artwell::before, .pg-evidence .pg-artwell::before, .pg-use-cases .pg-artwell::before {
  border: 1px solid #d5e2ec;
  background: radial-gradient(ellipse at 79% 18%, #d7eef297, transparent 56%),
              radial-gradient(#a8c5d674 .8px, transparent .9px) 0 0 / 13px 13px, #f4f8fc;
  box-shadow: inset 0 1px 0 white, 0 12px 30px -26px #254c6c;
}
.pg-tint .pg-artwell::before { background: radial-gradient(ellipse at 50% 58%, #bcd8ef8c, #cce9e653 38%, transparent 72%); }
.pg-main .pg-margin-note { padding: .25em 0 .25em 1em; border-left: 3px solid #75b9b5; color: #385269; }
.pg-section mark { background: #cbebe0; color: #173e3f; border-radius: .15em; padding: .03em .16em; }
.pg-main .pg-reference { font-size: .88rem; line-height: 1.5; color: #476074; }
.pg-main .pg-brief {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .62rem;
  margin-top: clamp(1.15rem, 3.15vw, 2.75rem);
}
.pg-brief > div { min-width: 0; padding: clamp(.75rem, 1.65vw, 1.4rem); border: 1px solid #cedee7; border-radius: .75rem; background: #fff; box-shadow: 0 4px 14px -13px #254f70; }
.pg-brief dt { display: flex; align-items: center; flex-wrap: wrap; gap: .4em; color: #123a54; font-size: 1.04em; font-weight: 680; }
.pg-brief dt i { color: #136b70; font-size: 1.05em; }
.pg-brief dd { margin-top: .5em; font-size: .94em; line-height: 1.52; color: #3a5367; }
.pg-brief + .pg-reference { margin-top: 1.05rem; }

.pg-main .pg-use-case-grid { grid-template-columns: minmax(0, 1fr); }
.pg-template { margin-top: clamp(1rem, 2.25vw, 1.9rem); }
.pg-template blockquote { max-width: 68ch; }
.pg-lessons { background: #f9fcfb; border-bottom: 1px solid #d8e6e3; }
.pg-main .pg-lessons-intro { max-width: 68ch; margin-top: 1.05em; }
.pg-lesson {
  display: grid;
  gap: .95rem;
  grid-template-areas: "copy" "art" "practice" "credit";
  margin-top: clamp(1.7rem, 3.8vw, 3.4rem);
  padding-top: clamp(1.5rem, 3.6vw, 3.2rem);
  border-top: 1px solid #b9d1d0;
}
.pg-lesson-copy { grid-area: copy; min-width: 0; }
.pg-lesson-copy h3 { max-width: 27ch; font-size: clamp(1.55rem, 2.6vw, 2.5rem); }
.pg-main .pg-lesson-copy p { max-width: 66ch; margin-top: .8em; }
.pg-lesson > .pg-artwell {
  grid-area: art; align-self: center; width: min(100%, 34rem);
  border: 1px solid #ccdfe0; border-radius: 1rem;
  background: radial-gradient(ellipse at 80% 18%, #d6ebe6, transparent 62%), #eff5f7;
}
.pg-lesson-practice {
  grid-area: practice; min-width: 0;
  border-left: 3px solid #57a99c; padding: .2rem 0 .2rem clamp(.8rem, 2vw, 1.2rem);
}
.pg-lesson-practice h4 { margin: 0; color: var(--pg-ink); font-size: 1.08em; font-weight: 670; line-height: 1.25; }
.pg-main .pg-lesson-practice blockquote { margin-top: .65em; white-space: pre-line; color: #15464a; }
.pg-main .pg-lesson-practice p { margin-top: .7em; max-width: 65ch; }
.pg-lesson-practice .pg-copy { margin-top: .7em; }
.pg-lesson > .pg-reference { grid-area: credit; max-width: 68ch; }

.pg-worked {
  background: radial-gradient(ellipse at 90% 0, #194b58, transparent 44%), linear-gradient(125deg, #0b2236, #0f243d 72%, #17344b);
  color: #dbe8f4;
}
.pg-worked .pg-prose h2 { color: #f5fbff; }
.pg-worked .pg-artwell { padding: clamp(.35rem, 1.35vw, 1.1rem); }
.pg-worked .pg-artwell::before {
  border: 1px solid #91b7c47d; background: linear-gradient(135deg, #eaf5f4, #eef4fd);
  box-shadow: 0 18px 45px -28px #061321;
}
.pg-comparison { display: grid; gap: .9rem; margin-top: clamp(1.3rem, 3vw, 2.75rem); }
.pg-excerpt { min-width: 0; border-radius: .9rem; padding: clamp(1rem, 2.9vw, 2.35rem); background: #f5f8fc; border: 1px solid #cfdeea; color: #2c475e; }
.pg-answer { background: linear-gradient(145deg, #eefaf6, #e0f0ef); border-color: #b6ddd4; }
.pg-excerpt h3 { display: flex; align-items: center; gap: .7em; }
.pg-excerpt h3 i { width: 1.8em; height: 1.8em; display: grid; place-items: center; color: #245c8a; background: #e0edf9; border-radius: .45em; font-size: .94em; }
.pg-answer h3 i { color: #167365; background: #cfeadf; }
.pg-main .pg-excerpt blockquote, .pg-main .pg-excerpt p { margin-top: 1.05em; }
.pg-excerpt blockquote { white-space: pre-line; }
.pg-excerpt blockquote strong { font-weight: 650; }
.pg-copy { border: 1px solid #a6c5d8; background: #fff; color: #214f72; margin-top: 1.2rem; }
.pg-copy:hover { background: #e7f2f8; }
.pg-answer p + p { border-top: 1px solid #bad9d2; padding-top: 1em; }
.pg-answer strong { display: block; margin-bottom: .2rem; }
.pg-main .pg-byline { color: #50677a; font-size: .88rem; }

.pg-contact { background: #f2f7fa; padding-top: clamp(.8rem, 2.6vw, 2.5rem); }
.pg-contact .pg-feature {
  padding: clamp(1.1rem, 4.6vw, 4rem);
  border: 1px solid #c1dcde; border-radius: 1.25rem;
  background: radial-gradient(ellipse at 86% 48%, #cae9e692, transparent 53%), linear-gradient(110deg, #f2fbf6, #e6f0f8);
  box-shadow: 0 18px 45px -38px #26485c;
}
.pg-contact .pg-artwell::before { background: radial-gradient(ellipse, #a8d7de66, transparent 69%); }
.pg-section .pg-actions { margin-top: .2rem; }

@media (max-width: 21rem) {
  .pg-main .pg-hero h1 { font-size: 2.15rem; }
  .pg-actions { column-gap: .5rem; }
  .pg-main .pg-button, .pg-main .pg-text-link { font-size: .84rem; }
  .pg-brief dt i { display: none; }
}
@media (min-width: 42rem) {
  .pg-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3.2vw, 3.3rem); }
  .pg-hero-art { width: min(100%, 40rem); }
  .pg-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: .52rem; }
  .pg-index a { justify-content: center; font-size: .96rem; }
  .pg-feature { grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 5.3rem); }
  .pg-feature > .pg-prose { display: block; min-width: 0; }
  .pg-main .pg-prose > * + * { margin-top: .9em; }
  .pg-main .pg-prose > h2 + p { margin-top: 1.02em; }
  .pg-main .pg-prose > h3 { margin-top: 1.25em; }
  .pg-main .pg-prose .pg-actions { margin-top: 1.55rem; }
  .pg-artwell { grid-row: auto; width: 100%; }
  .pg-feature--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr); }
  .pg-feature--reverse .pg-artwell { grid-column: 1; grid-row: 1; }
  .pg-feature--reverse .pg-prose { grid-column: 2; grid-row: 1; }
  .pg-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
  .pg-main .pg-use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
  .pg-index-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .pg-index a + a { border-inline-start: 1px solid #c4d8e1; }
  .pg-main .pg-brief { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .pg-main .pg-use-case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg-lesson {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    grid-template-areas: "copy art" "practice art" "credit art";
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .pg-lesson--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    grid-template-areas: "art copy" "art practice" "art credit";
  }
  .pg-brief dt { flex-wrap: nowrap; gap: .6em; }
  .pg-brief dt i { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .45em; background: #e8f3f3; }
  .pg-actions { column-gap: 1.4rem; }
}
@media (min-width: 110rem) {
  .pg-main { --pg-width: 93rem; font-size: clamp(1.22rem, .85vw, 1.45rem); }
  .pg-main .pg-hero h1 { font-size: clamp(5.25rem, 3.4vw, 6.25rem); }
  .pg-hero .pg-lead { font-size: 1.43rem; }
  .pg-main :is(.pg-button, .pg-text-link, .pg-copy), .pg-index a { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-hero::after { animation: none; }
}
@media print {
  .pg-main, .pg-hero, .pg-section, .pg-excerpt { color: #111; background: white; }
  .pg-main .pg-hero :is(h1, em, p), .pg-worked .pg-prose h2 { color: #111; }
  .pg-wrap, .pg-main .pg-contact .pg-feature { width: 100%; padding: 0; border: 0; box-shadow: none; background: white; }
  .pg-hero-grid, .pg-feature, .pg-feature > .pg-prose, .pg-comparison { display: block; }
  .pg-hero-art, .pg-artwell, .pg-crumbs, .pg-index, .pg-copy, .pg-actions, .pg-hero::before, .pg-hero::after { display: none; }
  .pg-section { padding: 1rem 0; }
  .pg-section :is(h2, h3) { break-after: avoid; }
}
