/* Shared feature-page presentation in the approved Wildstack palette. */
body:is(
  [data-page="theme-building"],
  [data-page="native-sections"],
  [data-page="store-management"],
  [data-page="agencies"]
) {
  --diagram-ink: color-mix(in srgb, var(--ink) 82%, var(--page));
  --diagram-dim: color-mix(in srgb, var(--ink) 42%, var(--page));
  --diagram-faint: color-mix(in srgb, var(--ink) 20%, var(--page));
}
.feature-hero {
  padding-block: 64px 96px;
}
.feature-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}
.feature-intro {
  min-width: 0;
}
.feature-intro h1 {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
  max-width: 24ch;
}
.feature-intro > p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
  margin-top: 24px;
  max-width: 45ch;
}
.feature-intro > .feature-actions {
  margin-top: 40px;
}
.feature-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.feature-actions .button {
  min-height: 48px;
  font-size: 14px;
  padding: 14px 22px;
}
.feature-actions .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  font-size: 14px;
}
.feature-actions svg {
  width: 16px;
  height: 16px;
}
.feature-intro-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.feature-intro-wide h1 {
  max-width: 24ch;
}
.feature-intro-wide > div > p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 45ch;
}
.feature-intro-wide .feature-actions {
  margin-top: 28px;
}
.editorial-section {
  padding-block: 96px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.editorial-section h2,
.section-copy h2 {
  font-size: 30px;
  line-height: 1.375;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
  max-width: 25ch;
}
.editorial-section > div {
  min-width: 0;
}
.editorial-section p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}
.editorial-section p + p {
  margin-top: 24px;
}
.editorial-section strong {
  color: var(--ink);
  font-weight: 400;
}
.editorial-section .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-top: 28px;
}
.editorial-section .text-link svg {
  height: 16px;
  width: 16px;
}
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.numbered-list li {
  border-top: 1px solid var(--line-strong);
  padding-block: 24px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
}
.numbered-list li:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.numbered-list .number,
.numbered-list li > span:first-child {
  color: var(--muted);
  font: 13px/28px var(--mono, "Geist Mono", monospace);
}
.numbered-list h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}
.numbered-list p {
  font-size: 16px;
  line-height: 24px;
  margin-top: 8px;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-cards article {
  padding: 24px;
  background: var(--tile);
}
.feature-cards h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}
.feature-cards p {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  margin-top: 8px;
}
.section-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  align-items: start;
}
.section-copy > p {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 45ch;
}
.feature-closing {
  padding-block: 96px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
}
.feature-closing h2 {
  font-size: 30px;
  line-height: 1.375;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
}
.feature-closing > p {
  font-size: 24px;
  line-height: 1.375;
  color: var(--muted);
  margin-top: 6px;
  text-wrap: balance;
}
.feature-closing .feature-actions {
  margin-top: 40px;
  justify-content: center;
}
.contour {
  width: 100%;
  height: 100%;
  max-width: 260px;
  max-height: 260px;
  fill: none;
  stroke-width: 1;
}
.contour :is(path, line, rect, circle) {
  vector-effect: non-scaling-stroke;
}
.capability-studies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.capability-study .study-figure {
  aspect-ratio: 1;
  background: var(--tile);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 44px;
}
.capability-study h3 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  margin-top: 24px;
}
.capability-study p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 320px;
}
@media (max-width: 1023px) {
  .feature-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-intro h1 {
    max-width: 28ch;
  }
  .feature-intro > p {
    max-width: 52ch;
  }
  .editorial-section,
  .section-copy {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .editorial-section > div {
    max-width: 720px;
  }
  .feature-intro-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .capability-studies {
    gap: 24px;
  }
  .capability-study .study-figure {
    padding: 28px;
  }
}
@media (max-width: 767px) {
  .container {
    width: calc(100% - 48px);
  }
  .feature-hero {
    padding-block: 40px 64px;
  }
  .feature-intro h1 {
    font-size: 30px;
  }
  .feature-intro > p,
  .feature-intro-wide > div > p {
    font-size: 18px;
    line-height: 27px;
  }
  .feature-intro > .feature-actions {
    margin-top: 28px;
  }
  .editorial-section,
  .feature-closing {
    padding-block: 64px;
  }
  .editorial-section h2,
  .section-copy h2,
  .feature-closing h2 {
    font-size: 24px;
    line-height: 1.375;
  }
  .editorial-section p,
  .section-copy > p {
    font-size: 18px;
    line-height: 27px;
  }
  .section-copy {
    margin-bottom: 32px;
  }
  .feature-closing > p {
    font-size: 20px;
  }
  .capability-studies {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .capability-study .study-figure {
    padding: 44px;
  }
  .capability-study p {
    max-width: none;
  }
}
@media (max-width: 479px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}
.feature-section {
  padding-block: 96px;
  border-top: 1px solid var(--line-strong);
}
@media (max-width: 767px) {
  .feature-section {
    padding-block: 64px;
  }
}
.funnel-lead {
  margin-bottom: 32px;
}
.funnel-related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.theme-history-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding-block: 96px;
}
.theme-history-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.theme-history-heading > p {
  max-width: 39ch;
  margin: 24px 0 0;
  color: var(--muted, #a3a3a3);
  font-size: 17px;
  line-height: 1.55;
}
.theme-history-art {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  padding-block-start: 204px;
  isolation: isolate;
  color: var(--ink, #e8e8e8);
  font-family: inherit;
}
.theme-history-preview {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: calc(100% - 48px);
  height: 256px;
  overflow: clip;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  background: #b7b7b7;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.16);
}
.theme-history-photo {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center 25%;
}
.theme-history-shade {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.34);
}
.theme-history-preview-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 30px 50px;
  color: #fff;
  text-align: center;
}
.theme-history-preview-content > p {
  margin: 0;
  font-size: 36px;
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.theme-history-preview-content > span {
  padding-bottom: 4px;
  border-bottom: 1px solid rgb(255 255 255 / 0.7);
  font-size: 11px;
  line-height: 1.3;
}
.theme-history-art[data-history-restored="true"]
  .theme-history-preview-content {
  align-items: flex-start;
  text-align: left;
}
.theme-history-card {
  position: relative;
  width: calc(100% - 48px);
  overflow: clip;
  border: 1px solid var(--line, #414141);
  border-radius: 12px;
  background: var(--tile, #242424);
  box-shadow:
    0 3px 6px rgb(0 0 0 / 0.04),
    0 16px 36px rgb(0 0 0 / 0.08);
}
.theme-history-row {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line, #414141);
  box-sizing: border-box;
}
.theme-history-row:last-child {
  border-bottom: 0;
}
.theme-history-checkpoint {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line, #4a4a4a);
  border-radius: 50%;
  color: var(--muted, #b3b3b3);
}
.theme-history-record {
  min-width: 0;
  flex: 1 1 auto;
}
.theme-history-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.theme-history-title-line p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.theme-history-current {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border: 1px solid var(--line, #4a4a4a);
  border-radius: 4px;
  color: var(--muted, #b3b3b3);
  font-size: 10px;
  font-weight: 450;
  line-height: 1;
  white-space: nowrap;
}
.theme-history-current[hidden] {
  display: none;
}
.theme-history-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 5px;
  color: var(--muted, #a3a3a3);
  line-height: 1.3;
}
.theme-history-meta > span {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
}
.theme-history-meta time {
  font-size: 12px;
  white-space: nowrap;
}
.theme-history-selected {
  background: rgb(127 127 127 / 0.04);
}
.theme-history-restore {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--line, #555);
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 150ms;
}
.theme-history-restore:hover {
  background: rgb(127 127 127 / 0.12);
}
.theme-history-restore:focus-visible {
  outline: 2px solid #9da8b6;
  outline-offset: 3px;
}
.theme-history-restore[hidden] {
  display: none;
}
.theme-history-new {
  animation: theme-history-enter 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.theme-history-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes theme-history-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 960px) {
  .theme-history-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 72px;
  }
  .theme-history-heading > p {
    max-width: 48ch;
  }
}
@media (max-width: 520px) {
  .theme-history-art {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 0;
  }
  .theme-history-preview {
    position: relative;
    width: 100%;
    height: 230px;
  }
  .theme-history-preview-content {
    padding: 24px;
  }
  .theme-history-card {
    width: 100%;
  }
  .theme-history-row {
    gap: 12px;
    padding: 16px 14px;
  }
  .theme-history-restore {
    width: 36px;
    min-height: 36px;
    padding: 0;
  }
  .theme-history-restore > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-history-new {
    animation: none;
  }
  .theme-history-restore {
    transition: none;
  }
}
