Skip to content

The Open Standard for Generative UI

2.4 KB
Raw Blame
/* The detailed pricing-page variant uses a quieter, denser hierarchy while
   shared rows keep prices, features, and actions aligned. */
.grid {
  align-items: stretch;
}

.card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 520px;
  border-radius: 16px;
}

.detailed .card {
  background: #f5f5f5;
}

.detailed .recommended {
  background: #f5f5f5;
  box-shadow: none;
}

:global([data-theme="dark"]) .detailed .card,
:global([data-theme="dark"]) .detailed .recommended {
  background: var(--openui-background);
}

.detailed .header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  min-height: 0;
  padding: 18px 20px 0;
  border-bottom: 0;
}

.header h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.detailed .price {
  align-self: end;
  color: color-mix(in srgb, var(--openui-text-neutral-primary) 56%, transparent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.detailed .cadence {
  display: block;
  align-self: end;
  margin: 0 0 3px;
  color: color-mix(in srgb, var(--openui-text-neutral-primary) 50%, transparent);
  font-size: 14px;
  line-height: 20px;
}

.description {
  margin: 24px 0 0;
  color: var(--openui-text-neutral-secondary);
  font-size: var(--home-body-size);
  line-height: var(--home-body-leading);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 28px 20px 20px;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: color-mix(in srgb, var(--openui-text-neutral-primary) 80%, transparent);
}

.features .featureIntro {
  color: color-mix(in srgb, var(--openui-text-neutral-primary) 50%, transparent);
}

.featureMetric {
  color: var(--openui-text-neutral-primary);
  font-weight: 500;
}

.features svg {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  color: var(--openui-text-neutral-primary);
}

.action {
  min-width: 0;
  margin-top: auto;
  padding: 0 20px 18px;
}

.cta {
  width: 100%;
  min-width: 0;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .detailed .grid {
    grid-template-columns: none;
  }

  .card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    min-height: 500px;
  }

  .cadence[aria-hidden="true"] {
    display: none;
  }
}