/* Public subscription cards only. All colors follow the existing landing theme. */
#access .plans {
  max-width: 1160px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  align-items: stretch;
}
#access .plan-card {
  --plan-edge: color-mix(in srgb, var(--line) 65%, transparent);
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--plan-edge);
  border-radius: 26px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 48%), var(--surface);
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, .3), inset 0 1px 0 color-mix(in srgb, var(--text) 5%, transparent);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
#access .plan-plus {
  --plan-edge: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: radial-gradient(ellipse at 85% 0, color-mix(in srgb, var(--accent) 15%, transparent), transparent 60%), var(--surface);
}
#access .plan-card::before {
  content: "";
  position: absolute;
  inset: 0 30px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 70%, transparent), transparent);
  pointer-events: none;
}
#access .plan-header { margin-bottom: 22px; }
#access .plan-cap { gap: 12px; margin-bottom: 23px; }
#access .plan-emblem {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 15px;
  color: var(--accent-text);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 19%, transparent), color-mix(in srgb, var(--accent) 6%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}
#access .plan-emblem .icon { width: 26px; height: 26px; }
#access .plan-period-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 30px;
  background: color-mix(in srgb, var(--raised) 65%, transparent);
  color: var(--muted);
  font: 12px/1.4 var(--font);
  min-width: 0;
}
#access .plan-period-badge .icon { width: 15px; height: 15px; flex: 0 0 15px; }
#access .plan-card h3 { font-size: clamp(23px, 2.3vw, 29px); line-height: 1.3; overflow-wrap: anywhere; }
#access .plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin-top: 15px;
  color: var(--text);
}
#access [data-plan-price] { font-size: clamp(30px, 3.3vw, 44px); font-weight: 500; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
#access [data-plan-price-period] { color: var(--muted); font-size: 13px; line-height: 1.5; }
#access [data-plan-price-period]:empty { display: none; }
#access [data-plan-description] { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
#access [data-plan-description]:empty { display: none; }
#access .plan-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
#access .plan-feature {
  min-width: 0;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 5px 7px;
  align-items: start;
  padding: 11px 10px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--raised) 55%, transparent);
  transition: background .2s ease;
}
#access .plan-feature-icon {
  display: inline-flex;
  color: var(--accent-text);
  grid-row: 1 / 3;
  margin-top: 2px;
}
#access .plan-feature-icon .icon { width: 20px; height: 20px; }
#access [data-feature-label] { color: var(--muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
#access [data-feature-value] { color: var(--text); font: 500 17px/1.2 var(--font); align-self: end; overflow-wrap: anywhere; }
#access .plan-feature:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-columns: 25px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
#access .plan-feature:last-child:nth-child(odd) .plan-feature-icon { grid-row: auto; margin-top: 0; }
#access .plan-feature:last-child:nth-child(odd) [data-feature-value] { align-self: center; }
#access .plan-feature.is-unavailable { background: color-mix(in srgb, var(--raised) 28%, transparent); }
#access .plan-feature.is-unavailable .plan-feature-icon, #access .plan-feature.is-unavailable [data-feature-value] { color: var(--muted); }
#access .plan-request { min-height: 50px; border-radius: 14px; justify-content: space-between; gap: 12px; padding: 14px 17px; font-size: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
#access .plan-request .icon { width: 20px; height: 20px; flex: 0 0 20px; }
#access .plan-card:focus-within { border-color: var(--accent); }
#access .plan-request:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #access .plan-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .4); }
  #access .plan-feature:hover { background: color-mix(in srgb, var(--accent) 11%, var(--raised)); }
}
@media (min-width: 1000px) {
  #access .plans:has(> .plan-card:only-child) { max-width: 460px; }
  #access .plans:has(> .plan-card:nth-child(2):last-child) { max-width: 960px; }
}
@media (max-width: 639px) {
  #access .plans { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #access .plan-card { padding: 22px; border-radius: 23px; }
  #access .plan-cap { margin-bottom: 19px; }
  #access [data-plan-price] { font-size: 37px; }
  #access .plan-header { margin-bottom: 20px; }
}
@media (max-width: 359px) {
  #access .plan-card { padding: 17px; }
  #access .plan-feature { grid-template-columns: 20px minmax(0, 1fr); gap: 4px 5px; padding: 10px 8px; }
  #access .plan-feature-icon .icon { width: 18px; height: 18px; }
  #access [data-plan-price] { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  #access .plan-card, #access .plan-feature { transition: none; }
}
