/* Alternate homepage at /preview/home. Tokens only. Swap onto / by renaming _HOME_TEMPLATE. */

html:has(body.ph-page) {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 58px);
}

.ph-page {
  background: var(--paper);
  color: var(--ink);
}

.ph-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(24px, 3vw, 40px) var(--m) clamp(28px, 3.4vw, 44px);
}

.ph-wrap {
  max-width: var(--frame);
  margin-inline: auto;
}

.ph-hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.ph-kicker {
  margin: 0 0 14px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.ph-hero .ph-kicker {
  margin-bottom: 10px;
}

.ph-hero h1 {
  max-width: 12em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.ph-lede {
  max-width: 40em;
  margin: 14px 0 0;
}

.ph-lede p {
  margin: 0 0 10px;
  font: 400 clamp(15.5px, 1.15vw, 17.5px)/1.45 var(--sans);
  color: var(--ink-soft);
}

.ph-lede .ph-tagline {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.ph-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 22px;
}

.ph-page .ph-btn {
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r);
  font-size: 16px;
}

.ph-page .ph-btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.ph-page .ph-btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.ph-hero .ph-btn.ghost {
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(230, 224, 212, 0.75);
}

.ph-hero .ph-btn.ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.ph-signin {
  color: var(--paper);
  font: 600 16px/1 var(--sans);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.28em;
}

.ph-signin:hover {
  color: var(--gold);
}

.ph-fine {
  margin: 10px 0 0;
  max-width: 42em;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.ph-pillars .ph-num span {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  padding-bottom: 4px;
}

.ph-nav {
  position: sticky;
  top: var(--bar-h);
  z-index: 25;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-2);
}

.ph-nav-in {
  display: flex;
  gap: 8px;
  max-width: var(--frame);
  margin-inline: auto;
  padding: 10px var(--m);
  overflow-x: auto;
}

.ph-nav a {
  flex: none;
  padding: 8px 12px;
  border-radius: var(--r);
  color: var(--ink);
  font: 600 14px/1 var(--sans);
  text-decoration: none;
}

.ph-nav a:hover {
  background: var(--paper-2);
}

.ph-nav a[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}

.ph-chapter {
  padding: clamp(56px, 8vw, 104px) var(--m);
}

.ph-chapter h2 {
  max-width: 16em;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.ph-paper { background: var(--paper); color: var(--ink); }
.ph-stone { background: var(--stone); color: var(--ink); }
.ph-sunk { background: var(--paper-2); color: var(--ink); }

.ph-ink {
  background: var(--ink);
  color: var(--paper);
}

.ph-ink h2,
.ph-ink h3 {
  color: var(--paper);
}

.ph-ink .ph-body,
.ph-ink .ph-cap,
.ph-ink .ph-fine {
  color: var(--ink-soft);
}

.ph-state {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}

.ph-state + .ph-state {
  border-top: 1px solid rgba(28, 26, 23, 0.12);
}

.ph-ink .ph-state + .ph-state {
  border-top-color: rgba(230, 224, 212, 0.16);
}

.ph-num {
  margin: 0;
}

.ph-num span {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bronze);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}

.ph-ink .ph-num span {
  color: var(--gold);
}

.ph-state h3 {
  margin: 14px 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.ph-body {
  margin: 0;
  max-width: 38em;
  font-size: 18px;
  line-height: 1.5;
}

.ph-analyst {
  align-items: start;
}

.ph-points {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.ph-points h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ph-points p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.ph-ink .ph-points h4 {
  color: var(--paper);
}

.ph-ink .ph-points p {
  color: var(--ink-soft);
}

.ph-answers {
  margin-top: 8px;
}

.ph-step + .ph-step {
  margin-top: 28px;
}

.ph-q {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: var(--r);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.ph-q h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ph-q p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.ph-ink .ph-q h4 { color: var(--paper); }
.ph-ink .ph-q p { color: var(--ink-soft); }

.ph-q[aria-selected="true"] {
  background: rgba(217, 178, 106, 0.14);
  box-shadow: inset 3px 0 0 var(--gold);
}

.ph-q:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ph-inline { margin-top: 14px; }

.ph-src {
  margin: 0;
  padding: 0 14px 16px;
}

.ph-panel { display: none; }

.ph-panel .ph-shot {
  grid-area: 1 / 1;
  align-self: start;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}

.ph-panel .ph-shot.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 0.45s var(--ease), visibility 0s;
}

.ph-visual {
  min-width: 0;
}

.ph-shot,
.ph-card,
.ph-web,
.ph-oil,
.ph-bars {
  border-radius: var(--r-panel);
  background: var(--stone);
  box-shadow: 0 16px 40px rgba(28, 26, 23, 0.1);
  transition: transform var(--duration-normal) var(--ease), box-shadow var(--duration-normal) var(--ease);
}

.ph-ink .ph-shot,
.ph-ink .ph-card,
.ph-ink .ph-web {
  background: var(--ink-2);
}

.ph-shot:hover,
.ph-card:hover,
.ph-web:hover,
.ph-oil:hover,
.ph-bars:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(28, 26, 23, 0.16);
}

.ph-shot {
  margin: 0;
  overflow: hidden;
}

.ph-shot + .ph-shot,
.ph-card + .ph-shot,
.ph-shot + .ph-card {
  margin-top: 18px;
}

.ph-panel .ph-shot,
.ph-panel .ph-shot + .ph-shot {
  margin: 0;
}

.ph-panel .ph-shot:hover {
  transform: none;
}

.ph-chrome {
  display: flex;
  gap: 6px;
  padding: 12px 14px 0;
}

.ph-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--gold);
  opacity: 0.85;
}

.ph-chrome i:nth-child(2) { background: var(--ink-soft); }
.ph-chrome i:nth-child(3) { background: var(--paper-2); }

.ph-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
}

.ph-shot .ph-pad {
  padding: 10px 10px 0;
}

.ph-cap {
  margin: 0;
  padding: 10px 14px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.ph-stack {
  display: grid;
  gap: 18px;
}

.ph-card {
  padding: 22px 22px 18px;
}

.ph-card h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ph-card h4 a {
  color: inherit;
  text-decoration-color: var(--gold);
}

.ph-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
}

.ph-more {
  font: 600 14px/1 var(--sans);
  color: var(--bronze-f);
  text-underline-offset: 0.25em;
}

.ph-ink .ph-more {
  color: var(--gold);
}

/* relationship web */
.ph-web {
  padding: 16px 16px 14px;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--paper);
}

.ph-web-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  min-height: 44px;
}

.ph-web-h {
  margin: 0;
  font: 600 15px/1.3 var(--sans);
  color: var(--paper);
}

.ph-asof {
  margin: 0;
  font: 400 14px/1.3 var(--sans);
  color: var(--ink-soft);
  white-space: nowrap;
}

.ph-back {
  appearance: none;
  border: 0;
  border-radius: var(--r);
  background: var(--ink-3);
  color: var(--paper);
  padding: 8px 12px;
  min-height: 44px;
  text-align: left;
  cursor: pointer;
  font: 600 14px/1.3 var(--sans);
}

.ph-back [data-web-theme] { color: var(--gold); }

.ph-back:hover { background: var(--ink); }

.ph-hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.ph-back[hidden],
.ph-hint[hidden],
.ph-pick[hidden],
.ph-web-h[hidden] { display: none !important; }

.ph-pick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.ph-pick button {
  appearance: none;
  border: 0;
  border-radius: var(--r);
  background: var(--ink-3);
  color: var(--paper);
  padding: 8px 8px 7px;
  text-align: left;
  cursor: pointer;
  font: 600 13px/1.1 var(--sans);
  min-height: 44px;
}

.ph-pick button span {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ph-pick button:hover { background: var(--ink-2); }

.ph-pick button[aria-checked="true"] {
  background: var(--gold);
  color: var(--ink);
}

.ph-pick button[aria-checked="true"] span { color: var(--bronze-f); }

.ph-web-stage {
  position: relative;
  aspect-ratio: 680 / 540;
  overflow: hidden;
  transform-origin: center;
  transition: opacity 380ms var(--ease), transform 380ms var(--ease);
}

.ph-web-stage.is-out {
  opacity: 0;
  transform: scale(1.04);
}

.ph-web-stage.is-in {
  opacity: 0;
  transform: scale(0.97);
  transition: none;
}

.ph-web-svg,
.ph-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ph-fallback {
  margin: 0;
  padding: 8px 4px;
  overflow: auto;
  list-style: none;
  font-size: 14px;
  line-height: 1.35;
}

.ph-fallback li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(230, 224, 212, 0.12);
}

.ph-web-svg { overflow: visible; font-family: var(--sans); }
.ph-web-svg .e1,
.ph-web-svg .e2 {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: ph-draw 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i) * 50ms);
}
.ph-web-svg .e1 { stroke: var(--gold); stroke-width: 1.6; opacity: 0.85; }
.ph-web-svg .e1.r-competitor { stroke: var(--ink-soft); stroke-dasharray: 5 6; stroke-dashoffset: 0; animation-name: ph-fade; }
.ph-web-svg .e2 { stroke: var(--aegean-l); stroke-width: 1.2; opacity: 0.75; animation-delay: calc(280ms + var(--i) * 55ms); }
.ph-web-svg .n1 circle { fill: var(--ink); stroke: var(--gold); stroke-width: 2.5; }
.ph-web-svg .n1.r-competitor circle { stroke: var(--ink-soft); }
.ph-web-svg .n2 circle { fill: var(--aegean-l); }
.ph-web-svg .n1.is-hot circle,
.ph-web-svg .n1:hover circle,
.ph-web-svg .n1:focus-visible circle { fill: var(--gold); }
.ph-web-svg .n2.is-hot circle,
.ph-web-svg .n2:hover circle,
.ph-web-svg .n2:focus-visible circle { fill: var(--paper); }
.ph-web-svg text { font-size: 13px; font-weight: 600; fill: var(--paper); }
.ph-web-svg .role { font-size: 11px; font-weight: 400; fill: var(--ink-soft); }
.ph-web-svg .t2 { fill: var(--aegean-l); }
.ph-web-svg .hub circle { fill: var(--gold); }
.ph-web-svg .hub-t { fill: var(--ink); font-size: 18px; font-weight: 700; }
.ph-web-svg .n1,
.ph-web-svg .n2 { cursor: pointer; outline: none; }

.ph-theme-svg .hit { fill: var(--ink); opacity: 0; }
.ph-theme-svg .dot { fill: var(--ink); stroke: var(--gold); stroke-width: 2.5; }
.ph-theme-svg .is-quiet .dot { stroke: var(--ink-soft); }
.ph-theme-svg .is-hub .dot { fill: var(--gold); stroke: var(--gold); }
.ph-theme-svg .ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.4;
}
.ph-theme-svg .ph-suggest .ring { animation: ph-pulse 2.4s ease-in-out infinite; }
.ph-theme-svg .th-l { font-size: 12px; font-weight: 600; fill: var(--paper); }
.ph-theme-svg .hub-t { fill: var(--ink); font-size: 15px; font-weight: 700; }
.ph-theme-svg .th { outline: none; }
.ph-theme-svg .is-open { cursor: pointer; }
.ph-theme-svg .is-open:focus-visible .dot,
.ph-theme-svg .is-hot .dot { fill: var(--gold); }
.ph-theme-svg .is-hub.is-hot .dot,
.ph-theme-svg .is-hub:focus-visible .dot { fill: var(--paper); }
.ph-theme-svg .is-hub.is-hot .hub-t,
.ph-theme-svg .is-hub:focus-visible .hub-t { fill: var(--ink); }
.ph-theme-svg.is-focus .th { opacity: 0.32; }
.ph-theme-svg.is-focus .th.is-hot { opacity: 1; }
.ph-theme-svg.is-focus .e1 { opacity: 0.14; }
.ph-theme-svg.is-focus .e1.is-on { opacity: 0.95; }

@keyframes ph-answer-meter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes ph-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.ph-detail {
  min-height: 2.8em;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--paper);
}

.ph-detail b { color: var(--gold); font-weight: 600; }
.ph-detail .ev { display: block; color: var(--ink-soft); }

@keyframes ph-draw { to { stroke-dashoffset: 0; } }
@keyframes ph-fade { from { opacity: 0; } to { opacity: 0.7; } }

.ph-themes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph-themes li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.1);
  font-size: 15px;
}

.ph-themes .th-n { font-weight: 600; }
.ph-themes .is-up .th-d { color: var(--up); }
.ph-themes .is-down .th-d { color: var(--down); }

/* oil + theme bars */
.ph-oil,
.ph-bars {
  padding: 18px 18px 14px;
}

.ph-oil h4,
.ph-bars h4 {
  margin: 0 0 8px;
  font: 600 14px/1.2 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.ph-oil-grid,
.ph-pair {
  display: grid;
  gap: 18px;
}

.ph-oil ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph-oil li,
.ph-bars li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 14px;
}

.ph-oil li b { font-weight: 600; }
.ph-oil .path { color: var(--muted); }
.ph-oil .up, .ph-bars .up .ph-b-v { color: var(--up); font-weight: 600; }
.ph-oil .down, .ph-bars .down .ph-b-v { color: var(--down); font-weight: 600; }

.ph-sector {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}

.ph-bars ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph-bars li {
  grid-template-columns: minmax(0, 1.3fr) minmax(80px, 1fr) 58px;
}

.ph-b-n {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ph-b-track {
  position: relative;
  height: 10px;
  border-radius: var(--r);
  background: transparent;
}

.ph-b-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--w) / 2);
  border-radius: var(--r);
  transform-origin: left center;
}

.ph-bars .up .ph-b-track i { left: 50%; background: var(--up); }
.ph-bars .down .ph-b-track i { right: 50%; background: var(--down); transform-origin: right center; }
.ph-b-track::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  border-radius: var(--r);
  background: var(--ink);
  opacity: 0.28;
}

html.js .ph-bars:not(.is-in) .ph-b-track i { transform: scaleX(0); }
html.js .ph-bars.is-in .ph-b-track i { transform: scaleX(1); transition: transform 0.8s var(--ease); }

.ph-ask {
  display: grid;
  gap: 22px;
}

.ph-ask article h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ph-ask p {
  margin: 0;
  max-width: 62em;
  font-size: 17px;
  line-height: 1.5;
}

.ph-prices {
  display: grid;
  gap: 18px;
}

.ph-price h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.ph-price h3 span {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.ph-price-free {
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(28, 26, 23, 0.14), inset 0 0 0 1.5px var(--ink);
}

.ph-lead {
  margin: -2px 0 16px;
  max-width: 22em;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
}

.ph-price.paid {
  background: var(--ink);
  color: var(--paper);
}

.ph-price.paid h3 span,
.ph-price.paid li { color: var(--ink-soft); }
.ph-price.paid .ph-kicker { color: var(--gold); }

.ph-price ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.ph-price li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.1);
  font-size: 15px;
  line-height: 1.4;
}

.ph-price.paid li { border-bottom-color: rgba(230, 224, 212, 0.16); }

.ph-close {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
}

.ph-close h2 {
  margin-inline: auto;
}

.ph-close-mark {
  width: 44px;
  height: auto;
  margin: 0 auto 12px;
}

.ph-close .ph-cta {
  justify-content: center;
}

/* The band is gold. A gold kicker and a gold button disappear into it. */
.ph-close .ph-kicker {
  color: var(--bronze-f);
}

.ph-close .btn {
  background: var(--ink);
  color: var(--paper);
}

.ph-close .btn:hover {
  background: var(--ink-2);
  color: var(--paper);
}

.ph-welcome {
  margin: 0;
  padding: 10px var(--m);
  background: var(--ink-2);
  color: var(--ink-soft);
  font-size: 14px;
}

.ph-welcome a { color: var(--gold); }

html.js .ph-reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.js .ph-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}

@media (min-width: 800px) {
  .ph-oil-grid,
  .ph-pair,
  .ph-prices,
  .ph-ask,
  .ph-points {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .ph-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 36px;
    align-items: center;
  }

  .ph-state {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }

  .ph-state:nth-child(even) .ph-copy { order: 2; }

  .ph-analyst .ph-copy { grid-column: 1; grid-row: 1; align-self: center; }
  .ph-analyst .ph-visual { grid-column: 2; grid-row: 1; align-self: start; }
  .ph-analyst .ph-points { grid-column: 1 / -1; grid-row: 2; }

  .ph-analyst {
    display: block;
  }

  .ph-analyst .ph-copy {
    max-width: 18em;
    margin-bottom: 28px;
  }

  .ph-answers {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: 48px;
    align-items: start;
  }

  .ph-qlist,
  .ph-panel {
    align-self: start;
    min-width: 0;
  }

  .ph-answers.is-live .ph-q[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 5px;
    height: 2px;
    border-radius: var(--r);
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
    animation: ph-answer-meter var(--ph-dwell, 2s) linear forwards;
  }

  .ph-answers.is-live.is-paused .ph-q[aria-selected="true"]::after {
    animation-play-state: paused;
  }

  .ph-answers.is-held .ph-q::after {
    content: none;
    animation: none;
  }

  .ph-step,
  .ph-step + .ph-step {
    min-height: 0;
    display: block;
    margin: 0;
  }

  .ph-step + .ph-step { margin-top: 6px; }

  .ph-q { padding: 10px 14px 14px; }

  .ph-q h4 {
    font-size: 24px;
    margin-bottom: 4px;
  }

  .ph-q p {
    font-size: 15.5px;
    line-height: 1.4;
  }

  .ph-inline { display: none; }

  .ph-panel { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.ph-page) { scroll-behavior: auto; }

  html.js .ph-reveal,
  html.js .ph-reveal.is-in,
  .ph-shot,
  .ph-card,
  .ph-web,
  .ph-oil,
  .ph-bars,
  .ph-page .ph-btn {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .ph-shot:hover,
  .ph-card:hover,
  .ph-web:hover,
  .ph-oil:hover,
  .ph-bars:hover,
  .ph-page .ph-btn:active {
    transform: none;
  }

  .ph-web-svg .e1,
  .ph-web-svg .e2,
  .ph-theme-svg .ring,
  .ph-web-stage,
  .ph-web-stage.is-out,
  .ph-web-stage.is-in,
  html.js .ph-bars .ph-b-track i,
  .ph-panel .ph-shot,
  .ph-panel .ph-shot.is-on {
    animation: none;
    transition: none;
    stroke-dashoffset: 0;
    transform: none;
  }

  .ph-panel .ph-shot.is-on { opacity: 1; }

  .ph-answers .ph-q::after,
  .ph-answers.is-live .ph-q[aria-selected="true"]::after {
    content: none;
    animation: none;
  }
}
