/* PricingCard — a single plan in the pricing grid. White card on the grey page
   surface; a rounded media surface (--radius-card). One card can be marked
   `featured`, which draws the house orange (#ff4000) hairline border around it.

   Structure, top → bottom:
     header   — a soft grey icon disc + the plan name (uppercase)
     price    — big display number + a smaller "/mo"-style suffix
     tagline  — one muted line
     <hr>     — hairline divider
     features — icon + label rows, hairline-separated
     footer   — the CTA (a Button) pinned to the bottom */

.ds-pricecard {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  padding: 32px;
  background: var(--surface-white);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  font-family: var(--font-body);
}

/* Featured plan — orange hairline ring. No fill change (accent, not foundation). */
.ds-pricecard--featured {
  border-color: var(--color-accent);
}

/* ---- Header: icon disc + plan name ---- */
.ds-pricecard__head {
  display: flex;
  align-items: center;
  gap: var(--gap-12);
}
.ds-pricecard__disc {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-100);
  background: var(--color-icon-well);
  color: var(--color-accent);
}
.ds-pricecard__disc svg { width: 18px; height: 18px; display: block; }
.ds-pricecard__plan {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--font-weight-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
}

/* ---- Price ---- */
.ds-pricecard__price {
  margin: var(--gap-32) 0 0;
  font-family: var(--font-display);
  font-size: var(--text-h3);       /* 40px */
  line-height: 1.05;
  letter-spacing: var(--tracking-h3);
  color: var(--color-ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.ds-pricecard__suffix {
  font-size: var(--text-xl);       /* 20px */
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

/* ---- Tagline ---- */
.ds-pricecard__tagline {
  margin: var(--gap-12) 0 0;
  font-size: var(--text-m);        /* 16px */
  line-height: var(--leading-m);
  color: var(--color-muted);
}

/* ---- Divider ---- */
.ds-pricecard__rule {
  height: 1px;
  border: 0;
  margin: var(--gap-24) 0 var(--gap-8);
  background: var(--color-border);
}

/* ---- Feature list ---- */
.ds-pricecard__features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}
.ds-pricecard__feature {
  display: flex;
  align-items: center;
  gap: var(--gap-16);
  padding: var(--gap-16) 0;
  border-bottom: 1px solid var(--color-border);
}
.ds-pricecard__feature:last-child { border-bottom: 0; }
.ds-pricecard__feature svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-ink);
  stroke-width: 1.6;
}
.ds-pricecard__feature-label {
  font-size: var(--text-l);        /* 18px */
  line-height: var(--leading-l);
  color: var(--color-ink);
}

/* ---- Footer / CTA ---- */
.ds-pricecard__cta {
  margin-top: var(--gap-32);
}
/* Make the plan CTA stretch full-width like the reference. */
.ds-pricecard__cta .ds-btn {
  width: 100%;
  justify-content: center;
}

/* ---- Mobile (≤640px) ----
   Price (--text-h3) is fluid and feature labels (--text-l) step via the tokens;
   the card's own geometry also tightens — vertical rhythm compresses so a plan
   stays a compact block you can scan in one thumb-length instead of a tall
   column of white space. In a grid context put the cards in a .ds-cardrow;
   plan cards stack into one column there (see cardrow.css). */
@media (max-width: 640px) {
  .ds-pricecard { padding: 24px 20px; }
  .ds-pricecard__head { gap: var(--gap-8); }
  .ds-pricecard__disc { width: 34px; height: 34px; }
  .ds-pricecard__disc svg { width: 16px; height: 16px; }
  .ds-pricecard__price { margin-top: var(--gap-16); }
  .ds-pricecard__tagline { margin-top: var(--gap-8); }
  .ds-pricecard__rule { margin: var(--gap-16) 0 0; }
  .ds-pricecard__feature { gap: var(--gap-12); padding: 10px 0; }
  .ds-pricecard__cta { margin-top: var(--gap-16); }
}
