/* Native homepage: dimensions and rhythm follow pudding-site.html. Theme
   colors and typography remain sourced from pudding-theme.css. */
html,
body {
  overflow-x: clip;
}
body {
  line-height: 1.7;
}
main h1,
main h2,
main h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
}
main h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
}
main h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}
main h3 {
  font-size: 21px;
}
main p {
  margin: 0;
}
.home-v4-wrap {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.home-v4-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--pudding-cocoa);
  color: var(--pudding-cream-soft);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s,
    box-shadow 0.3s;
}
.home-v4-button:hover {
  background: var(--pudding-cocoa);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px #0006;
}
.home-v4-button.v5-button-ghost {
  background: #2a221c;
  color: var(--pudding-cocoa);
}
.home-v4-button.v5-button-ghost:hover {
  background: #362b23;
}
body :focus-visible {
  outline: 2px solid var(--pudding-golden);
  outline-offset: 3px;
}
.v5-announcement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: calc(100% - 40px);
  max-width: 1160px;
  margin: 16px auto 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--pudding-white);
  border: 1px solid var(--pudding-line);
  font-size: 14px;
}
.v5-announcement > span:first-child {
  color: var(--pudding-golden);
  font-weight: 700;
}
.v5-announcement b {
  font-weight: 400;
  flex: 1;
}
.v5-announcement > span:last-child {
  flex: none;
  color: var(--pudding-taupe);
}
.home-v4-hero {
  display: block;
  min-height: 0;
  padding-top: clamp(52px, 6vw, 88px);
  text-align: center;
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: transparent;
}
.home-v4-hero::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: -20%;
  height: 180%;
  z-index: -1;
  background:
    radial-gradient(36% 44% at 30% 40%, #e9b66b33, transparent 70%),
    radial-gradient(34% 44% at 72% 30%, #86b4c138, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.home-v4-hero > div {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.home-v4-hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.v5-hl {
  display: inline-block;
  padding: 0 0.18em;
  border-radius: 14px;
  background: linear-gradient(180deg, #e9b66b38, #e9b66b0f);
  box-shadow: inset 0 0 0 1px #e9b66b73;
  color: #f5d7a6;
}
.home-v4-hero p {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: #d6cabc;
  white-space: normal;
}
.home-v4-hero .v5-hero-tagline {
  margin-top: 10px;
  color: var(--pudding-taupe);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.v5-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.v5-start-menu {
  position: relative;
}
.v5-start-menu > summary {
  list-style: none;
}
.v5-start-menu > summary::-webkit-details-marker {
  display: none;
}
.v5-start-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--pudding-surface-2, #201915);
  border: 1px solid var(--pudding-line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 40px #0006;
  z-index: 200;
  text-align: left;
}
.v5-start-options a {
  display: block;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.v5-start-options a:hover {
  background: #2a221c;
}
.v5-ring-section {
  margin-top: 52px;
}
.v5-ring {
  position: relative;
  height: clamp(360px, 37vw, 480px);
  perspective: 1400px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.v5-ring.is-dragging {
  cursor: grabbing;
}
.ring-in {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}
.ring-in .v5-ring-card {
  pointer-events: auto;
}
.v5-ring-card {
  --card-width: clamp(210px, 19vw, 272px);
  position: absolute;
  left: 50%;
  top: 10px;
  width: var(--card-width);
  height: calc(var(--card-width) * 1.32);
  margin-left: calc(var(--card-width) / -2);
  border-radius: 22px;
  overflow: hidden;
  background: #3b4766;
  color: var(--pudding-cocoa);
  will-change: transform;
  display: block;
  box-shadow: 0 30px 60px #0008;
  transition: opacity 0.4s;
}
.v5-ring-card:focus-visible {
  outline-offset: -4px;
}
.v5-ring-card figure {
  position: absolute;
  inset: 0;
}
.v5-ring-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v5-ring-card .v5-ring-flag {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 48px;
  height: 32px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px #ffffff29;
}
.v5-ring-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 40px 18px 18px;
  background: linear-gradient(180deg, #0f0b0900, #0f0b09b8);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.v5-ring-caption h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.v5-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.v5-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pudding-golden);
}
[data-line="scout"] {
  --line-color: var(--pudding-scout, #8dbb9c);
}
[data-line="reach"] {
  --line-color: var(--pudding-reach, #e9a9a0);
}
[data-line="deal"] {
  --line-color: var(--pudding-deal, #86b4c1);
}
[data-line="clear"] {
  --line-color: var(--pudding-clear, #a3b6e0);
}
[data-line="pay"] {
  --line-color: var(--pudding-pay, #e3a866);
}
.v5-line i {
  background: var(--line-color);
}
.v5-ring-go {
  margin-top: 8px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffffff2e;
  backdrop-filter: blur(6px);
}
.v5-ring-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.v5-corridors {
  max-width: 1200px;
  padding: 0 20px;
  margin: 56px auto 0;
}
.v5-corridors h2 {
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--pudding-taupe);
}
.v5-corridors ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
  padding: 28px 0 56px;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid var(--pudding-line);
}
.v5-corridors li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d6cabc;
  font-weight: 600;
  white-space: nowrap;
}
.v5-corridors li i {
  font-style: normal;
}
.v5-corridors li img {
  width: 30px;
  height: 20px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #ffffff29;
}
.v5-corridors li b {
  font-weight: 600;
}
#services {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
}
#services > header p,
.v5-stages > header > p,
.v5-network header p,
.v5-cta > p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--pudding-taupe);
}
.v5-service-group {
  margin-top: 48px;
}
.v5-service-group > header {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.v5-service-group > header h3 {
  font-size: 15px;
  color: var(--pudding-golden);
  font-weight: 700;
}
.v5-service-group > header p {
  font-size: 14px;
  color: var(--pudding-taupe);
}
.v5-service-lines {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}
.v5-service-lines.front {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.v5-service-lines.back {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.v5-service-line {
  background: var(--pudding-white);
  border: 1px solid var(--pudding-line);
  border-radius: 26px;
  padding: 32px 28px 18px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.4s;
}
.v5-service-line:hover {
  transform: translateY(-4px);
  border-color: #3d3229;
}
.v5-service-line > a {
  display: block;
}
.v5-service-line .v5-service-icon {
  width: 84px;
  height: 72px;
  object-fit: contain;
}
.v5-service-line h3 {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.v5-service-line strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 600;
}
.v5-service-line > a > p {
  margin-top: 12px;
  font-size: 15px;
  min-height: 3.2em;
  color: var(--pudding-taupe);
}
.v5-line-links {
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid var(--pudding-line);
  list-style: none;
}
.v5-line-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pudding-line);
  font-size: 15px;
  transition: padding 0.3s;
}
.v5-line-links li:last-child a {
  border-bottom: 0;
}
.v5-line-links a:hover {
  padding-left: 6px;
}
.home-v4-platform {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
  margin: 0;
  padding-bottom: clamp(72px, 9vw, 128px);
}
.home-v4-platform > div {
  grid-column: 1;
  grid-row: 1;
}
.home-v4-platform > figure {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: auto;
  min-height: 420px;
  isolation: isolate;
  background: #3b4766;
}
.home-v4-platform > figure > picture {
  position: absolute;
  inset: 0;
}
.home-v4-platform h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}
.home-v4-platform > div > p {
  margin-top: 14px;
  font-size: 17px;
}
.v5-workspace-checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.v5-workspace-checks li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
}
.v5-workspace-checks li::before {
  content: "✓";
  color: var(--pudding-scout, #8dbb9c);
  position: absolute;
  left: 0;
}
.home-v4-platform .home-v4-button {
  margin-top: 26px;
  background: #2a221c;
  color: var(--pudding-cocoa);
}
.v5-workspace-overlay {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 4vw, 48px);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v5-workspace-app {
  width: min(560px, 100%);
  background: var(--pudding-white);
  border: 1px solid var(--pudding-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px #0007;
}
.v5-workspace-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pudding-line);
  background: #1e1814;
  font-size: 13px;
}
.v5-window-dots {
  color: #3a3029;
  font-size: 12px;
  white-space: nowrap;
}
.v5-demo-tag {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--pudding-taupe);
  border: 1px solid var(--pudding-line);
  border-radius: 6px;
  padding: 1px 8px;
}
.v5-workspace-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
}
.v5-workspace-body h5 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--pudding-taupe);
}
.v5-workspace-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--pudding-line);
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}
.v5-status {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.v5-status.progress {
  background: #a3b6e026;
  color: #a3b6e0;
}
.v5-status.done {
  background: #8dbb9c26;
  color: #8dbb9c;
}
.v5-status.waiting {
  background: #e9b66b26;
  color: var(--pudding-golden);
}
.v5-workspace-mini {
  border: 1px solid var(--pudding-line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}
.v5-workspace-mini b,
.v5-workspace-mini strong {
  display: block;
}
.v5-workspace-mini strong {
  font-size: 26px;
}
.v5-workspace-mini small {
  color: var(--pudding-taupe);
}
.v5-workspace-progress {
  height: 5px;
  border-radius: 5px;
  background: var(--pudding-line);
  overflow: hidden;
  margin-top: 8px;
}
.v5-workspace-progress i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--pudding-golden);
}
.v5-stages {
  padding-bottom: clamp(72px, 9vw, 128px);
}
.v5-stages > header {
  text-align: center;
}
.v5-stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: center;
  margin-top: 42px;
}
.v5-stage-tabs {
  border-top: 1px solid var(--pudding-line);
}
.v5-stage-item {
  border-bottom: 1px solid var(--pudding-line);
  position: relative;
}
.v5-stage-item button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 17px 0;
  min-height: 44px;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  background: none;
  border: 0;
  color: var(--pudding-taupe);
  cursor: pointer;
}
.v5-stage-item.is-active button {
  color: var(--pudding-cocoa);
}
.v5-stage-description {
  display: none;
  padding: 0 0 18px;
}
.v5-stage-item.is-active .v5-stage-description {
  display: block;
}
.v5-stage-description p {
  color: var(--pudding-taupe);
  font-size: 15px;
}
.v5-stage-description a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  color: var(--pudding-golden);
  font-size: 14px;
  font-weight: 700;
}
.v5-stage-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  display: none;
}
.v5-stage-item.is-active .v5-stage-progress {
  display: block;
}
.v5-stage-progress > i {
  display: block;
  height: 100%;
  background: var(--pudding-golden);
  width: 100%;
  transform-origin: left;
  animation: v5-stage-progress 6s linear infinite;
}
@keyframes v5-stage-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.v5-stage-painting {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 420px;
  background: #3b4766;
}
.v5-stage-painting > img,
.v5-stage-painting > picture > img {
  position: absolute;
  inset: 0;
}
.v5-stage-panel {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 4vw, 48px);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v5-stage-demo {
  width: min(460px, 100%);
  background: #fffdf8f5;
  color: #2a1e17;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 30px 60px #0006;
  animation: v5-ui-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes v5-ui-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.v5-demo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.v5-demo-bar strong {
  font-size: 16px;
}
.v5-demo-bar .v5-demo-tag {
  color: #6b5e55;
  border-color: #e2d8ca;
  background: #f3ebdd;
}
.v5-demo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}
.v5-demo-row > span:first-child {
  flex: 1;
}
.v5-demo-meter {
  flex: 1.6;
  height: 9px;
  border-radius: 999px;
  background: #eee6da;
  overflow: hidden;
}
.v5-demo-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2b35e, #c47a2c);
}
.v5-demo-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #3f7a55;
  border-radius: 50%;
}
.v5-demo-body > p {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eee6da;
  font-size: 12px;
  color: #6b5e55;
}
#world {
  max-width: 1160px;
  margin: 0 auto clamp(72px, 9vw, 128px);
  border: 1px solid var(--pudding-line);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 64px);
  background: radial-gradient(70% 90% at 72% 50%, #1c2d2f 0%, #120e0b 72%);
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
#world .world-copy {
  grid-column: 1;
}
#world .world-globe-stage {
  grid-column: 2;
  background: radial-gradient(ellipse, #1b2a3390, transparent 72%);
}
#world .world-copy h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--pudding-cocoa);
}
#world .world-market-panel {
  background: #ffffff0a;
  border-color: var(--pudding-line);
}
#world .world-market-top h3 {
  color: var(--pudding-cocoa);
}
.v5-network {
  padding-bottom: clamp(72px, 9vw, 128px);
}
.v5-eyebrow {
  color: var(--pudding-golden);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.v5-network h2 {
  margin-top: 12px;
}
.v5-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 18px;
  margin-top: 32px;
}
.v5-network-grid article {
  background: var(--pudding-white);
  border: 1px solid var(--pudding-line);
  border-radius: 24px;
  padding: 28px;
}
.v5-network-grid article > span {
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: #8dbb9c24;
  color: #8dbb9c;
}
.v5-network-grid article:nth-child(2) > span {
  background: #a3b6e024;
  color: #a3b6e0;
}
.v5-network-grid article:nth-child(3) > span {
  background: #86b4c124;
  color: #86b4c1;
}
.v5-network-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  white-space: pre-line;
}
.v5-network-grid p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--pudding-taupe);
}
.v5-compare {
  padding-bottom: clamp(72px, 9vw, 128px);
}
.v5-compare-table {
  margin-top: 40px;
  overflow-x: auto;
  border: 1px solid var(--pudding-line);
  border-radius: 22px;
  background: var(--pudding-white);
}
.v5-compare-table [role="row"] {
  display: grid;
  grid-template-columns: 18% 36% 46%;
  min-width: 640px;
  border-bottom: 1px solid var(--pudding-line);
  font-size: 15px;
}
.v5-compare-table [role="row"]:last-child {
  border-bottom: 0;
}
.v5-compare-table [role="row"] > span {
  padding: 18px 22px;
}
.v5-compare-table [role="row"] > span:first-child {
  font-weight: 700;
}
.v5-compare-table [role="row"] > span:nth-child(2) {
  color: var(--pudding-taupe);
}
.v5-compare-table [role="row"] > span:last-child {
  background: #e9b66b0d;
  font-weight: 600;
}
.v5-compare-table .v5-compare-head {
  color: var(--pudding-taupe);
  font-size: 13px;
  font-weight: 700;
}
.v5-compare-table .v5-compare-head > span:last-child {
  color: var(--pudding-golden);
  background: none;
}
.v5-audience {
  padding-bottom: clamp(72px, 9vw, 128px);
}
.v5-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 18px;
  margin-top: 28px;
}
.v5-audience-grid article {
  background: var(--pudding-white);
  border: 1px solid var(--pudding-line);
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.4s,
    border-color 0.4s;
}
.v5-audience-grid article:hover {
  transform: translateY(-4px);
  border-color: #3d3229;
}
.v5-audience-grid figure {
  height: 170px;
}
.v5-audience-grid a > div {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v5-audience-grid p {
  font-size: 15px;
  color: var(--pudding-taupe);
}
.v5-audience-grid .home-v4-more {
  display: none;
}
.v5-legacy-journal {
  display: none;
}
.v5-journal-feed {
  padding-bottom: clamp(72px, 9vw, 128px);
}
.v5-journal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 18px;
  margin-top: 28px;
}
.v5-journal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--pudding-line);
  border-radius: 24px;
  background: var(--pudding-white);
}
.v5-journal-card p {
  font-size: 15px;
}
.v5-journal-card time {
  font-size: 12px;
  color: var(--pudding-taupe);
}
.v5-journal-card > span {
  color: var(--pudding-golden);
  font-size: 14px;
  font-weight: 700;
}
#v5-journal-status {
  margin-top: 24px;
  color: var(--pudding-taupe);
}
#v5-journal-retry {
  margin-top: 16px;
}
.v5-cta {
  padding-bottom: clamp(72px, 9vw, 128px);
  text-align: center;
}
.v5-cta > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.v5-motion-paused *,
.v5-motion-paused *::before,
.v5-motion-paused *::after {
  animation-play-state: paused !important;
}
@media (max-width: 900px) {
  .home-v4-platform > div,
  .home-v4-platform > figure {
    grid-column: auto;
    grid-row: auto;
  }
  .home-v4-platform > figure {
    order: 2;
  }
  .v5-stage-layout {
    gap: 28px;
    grid-template-columns: 1fr 1.15fr;
  }
  .v5-workspace-body {
    grid-template-columns: 1fr;
  }
  #world {
    margin-left: 20px;
    margin-right: 20px;
    gap: 24px;
  }
}
@media (max-width: 760px) {
  .home-v4-hero {
    display: block;
  }
  .home-v4-hero > div {
    padding: 0 20px;
  }
  .home-v4-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    margin: 0;
  }
  .home-v4-hero p {
    font-size: 17px;
    margin: 20px auto 0;
  }
  .home-v4-hero .v5-hero-tagline {
    margin-top: 10px;
    font-size: 14px;
  }
  .v5-service-group > header {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .v5-stage-layout {
    grid-template-columns: 1fr;
  }
  .home-v4-platform {
    margin: 0;
    gap: 32px;
  }
  .home-v4-platform > figure {
    width: 100%;
  }
  .v5-workspace-body {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }
  .v5-workspace-row {
    padding: 9px;
    gap: 6px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .v5-workspace-bar {
    padding: 10px;
    gap: 6px;
    font-size: 11px;
  }
  .v5-workspace-mini {
    padding: 8px;
    font-size: 11px;
  }
  .v5-workspace-mini strong {
    font-size: 22px;
  }
  .v5-workspace-overlay {
    padding: 20px;
  }
  .v5-status {
    font-size: 10px;
    padding: 2px 6px;
  }
  #world {
    grid-template-columns: 1fr;
  }
  #world .world-copy {
    display: contents;
  }
  #world .world-globe-stage {
    grid-column: 1;
    grid-row: 2;
  }
  #world .world-market-panel {
    grid-row: 3;
  }
  .v5-announcement {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* Prototype .in uses a 1200px content box plus 20px padding on each side. */
.home-v4-wrap,
.home-v4-hero > div,
.v5-corridors {
  max-width: 1240px;
}
.v5-announcement {
  max-width: 1200px;
}
.v5-stage-layout {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 44px;
  margin-top: 48px;
  align-items: start;
}
.v5-stage-tabs {
  border-top: 0;
}
.v5-stage-description a {
  display: inline-block;
  min-height: 24px;
}
.v5-stage-painting,
.v5-stage-panel {
  min-height: 516px;
}
#world {
  max-width: 1200px;
}
@media (max-width: 760px) {
  .v5-stage-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .v5-workspace-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
    gap: 12px;
  }
  .v5-workspace-row {
    padding: 11px 13px;
    font-size: 14px;
    flex-wrap: nowrap;
  }
  .v5-workspace-mini {
    padding: 12px;
    font-size: 14px;
  }
  .v5-workspace-mini strong {
    font-size: 26px;
  }
  .v5-status {
    font-size: 11px;
    padding: 3px 10px;
  }
  .v5-workspace-bar {
    padding: 12px 16px;
    font-size: 13px;
    gap: 12px;
  }
  .v5-workspace-overlay {
    min-height: 420px;
  }
  .v5-stage-painting,
  .v5-stage-panel {
    min-height: 460px;
  }
}
#services > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0 16px;
}
#services > header h2,
#services > header p {
  grid-column: 1;
}
.v5-all-services {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.v5-service-line h3 {
  color: var(--line-color);
}
@media (max-width: 760px) {
  #services > header {
    grid-template-columns: 1fr;
  }
  .v5-all-services {
    grid-column: 1;
    grid-row: auto;
    margin-top: 16px;
  }
}
.home-v4-platform > figure,
.v5-workspace-overlay {
  min-height: 516px;
}
@media (max-width: 760px) {
  .home-v4-platform > figure,
  .v5-workspace-overlay {
    min-height: 460px;
  }
}
/* Contain the decorative hero glow when Chromium captures the complete page. */
main {
  overflow-x: clip;
}
#stages.is-held .v5-stage-progress > i,
#stages:focus-within .v5-stage-progress > i {
  animation-play-state: paused;
}
.v5-workspace-row > span:first-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}
.v5-workspace-row small {
  color: var(--pudding-taupe);
  font-size: 12px;
  font-weight: 400;
}
.v5-workspace-row b {
  font-weight: 400;
}
.v5-demo-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.v5-demo-country img {
  display: inline-block;
  width: 21px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #ffffff29;
}
.v5-demo-product {
  margin-top: 2px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 13px !important;
  color: #6b5e55;
}
.v5-demo-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.v5-demo-status.done {
  background: #e3f0e7;
  color: #3f7a55;
}
.v5-demo-status.progress {
  background: #e4e9f2;
  color: #26406a;
}
.v5-demo-status.waiting {
  background: #fbebd6;
  color: #a8641c;
}
.v5-demo-timeline {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.v5-demo-timeline li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 14px;
  font-weight: 600;
  color: #9a8c80;
}
.v5-demo-timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #d8ccbd;
  background: #fffdf8;
  box-sizing: border-box;
}
.v5-demo-timeline li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 28px;
  width: 2px;
  height: calc(100% - 20px);
  background: #e6dccd;
}
.v5-demo-timeline li:last-child::after {
  display: none;
}
.v5-demo-timeline li.done,
.v5-demo-timeline li.current {
  color: #2a1e17;
}
.v5-demo-timeline li.done::before {
  background: #3f7a55;
  border-color: #3f7a55;
}
.v5-demo-timeline li.current::before {
  border-color: #c47a2c;
  box-shadow: 0 0 0 4px #c47a2c33;
}
.v5-demo-timeline.horizontal {
  display: flex;
}
.v5-demo-timeline.horizontal li {
  flex: 1;
  padding: 28px 0 0;
  text-align: center;
}
.v5-demo-timeline.horizontal li::before {
  left: 50%;
  top: 4px;
  margin-left: -7px;
}
.v5-demo-timeline.horizontal li::after {
  left: calc(50% + 7px);
  top: 10px;
  height: 2px;
  width: calc(100% - 14px);
}
.v5-service-line h3 {
  color: var(--pudding-cocoa);
}
.v5-service-line .v5-line-name {
  color: var(--line-color);
}
/* Account for the prototype's browser body inset without changing shared chrome. */
.home-v4-wrap,
.home-v4-hero > div,
.v5-corridors {
  max-width: 1256px;
  padding-left: 28px;
  padding-right: 28px;
}
.v5-announcement {
  width: calc(100% - 56px);
}
.v5-ring-section {
  margin-left: 8px;
  margin-right: 8px;
}
@media (max-width: 760px) {
  #world {
    margin-left: 28px;
    margin-right: 28px;
  }
}
