/* Sequences: the offer page of the hosted service, after style.css. It uses only the colors and sizes defined
   there: the hero, sections, kicker labels and buttons come from style.css, and this file adds the outcome cards
   (also used by "Which plan fits", the setup section and the questions) with the figures under the "What you get"
   cards, the plan cards and the trial terms. */

/* The hero ends at its buttons; Plans follows it. */
.hero-offer { padding-bottom: 56px; }
@media (min-width: 768px) {
  .hero-offer { padding-bottom: 72px; }
}

/* The snapshot in four figures under the "What you get" cards, in the cards' columns and centered in each: two to a
   row on a phone, four across from 768 px. The data line follows, centered under them. */
.offer-figures {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 24px 0 0; padding: 0; text-align: center;
}
@media (min-width: 768px) {
  .offer-figures { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
}
.offer-figure {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; min-width: 0; padding: 16px 12px;
  border: 1px solid var(--line-faint); border-radius: var(--radius); background: color-mix(in srgb, var(--card) 72%, transparent);
}
.offer-figure dd {
  margin: 0; font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums; color: var(--brand-ink);
}
.offer-figure dt { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.offer-sources { max-width: 40rem; margin: 16px auto 0; font-size: 13px; line-height: 20px; text-align: center; color: var(--ink-2); text-wrap: pretty; }

/* Outcome cards: flat, with a faint edge, one to a row on a phone, two from 640 px, four from 1024 px. */
.offer-outcomes, .offer-plans, .offer-features, .offer-terms, .offer-questions { margin: 0; padding: 0; list-style: none; }
.offer-outcomes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) {
  .offer-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .offer-outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.offer-card { display: grid; align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--line-faint); border-radius: var(--radius); background: var(--card); }
.offer-card-title { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--brand-ink); }
.offer-card p { font-size: 15px; line-height: 22px; color: var(--ink-2); }
.offer-card p a { color: var(--brand-link); text-underline-offset: 3px; }

/* Which plan fits: the same cards, three to a row from 1024 px, so its six cards make two even rows. */
@media (min-width: 1024px) {
  .offer-fits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Setup: two cards, two to a row from 640 px and no wider than the plan cards, then the button that asks about
   setup. */
.offer-setup { max-width: 60rem; margin-inline: auto; }
@media (min-width: 1024px) {
  .offer-setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.offer-setup-action { margin-top: 24px; text-align: center; }

/* Plan cards: one column up to 899 px, then two to a row, so the four plans in offer.json make two rows of cards
   wide enough for a starting price and its line of named users. The cards of a row share its height, and the
   button sits at the bottom of each card. */
.offer-plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 32rem; margin-inline: auto; }
@media (min-width: 900px) {
  .offer-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 60rem; }
}
.offer-plan {
  display: flex; flex-direction: column; min-width: 0; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--card); box-shadow: var(--shadow);
}
.offer-plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.offer-plan-name { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--brand-ink); }
.offer-badge {
  display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px;
  background: var(--chip); font: 400 11px/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}
.offer-plan-summary { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 20px; }
/* "From" before a starting price, in the muted size of what the price is per. */
.offer-from { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.offer-amount { font-size: 36px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.offer-per { font-size: 14px; line-height: 20px; color: var(--ink-2); }
.offer-price-alt { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.offer-features { display: grid; gap: 10px; margin: 20px 0 24px; padding-top: 20px; border-top: 1px solid var(--line-faint); }
.offer-features li { position: relative; padding-left: 26px; font-size: 15px; line-height: 22px; color: var(--ink); }
.offer-features li::before {
  content: '\2713'; position: absolute; left: 0; top: 0; width: 18px; text-align: center;
  font-weight: 600; color: var(--brand-link);
}
.offer-action { width: 100%; margin-top: auto; }

/* Trial terms: a short list under the heading. */
.offer-terms { display: grid; gap: 12px; max-width: 34rem; margin-inline: auto; }
.offer-terms li {
  position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--line-faint); border-radius: var(--radius);
  background: var(--card); font-size: 15px; line-height: 22px; color: var(--ink);
}
.offer-terms li::before {
  content: '\2713'; position: absolute; left: 16px; top: 14px; width: 18px; text-align: center;
  font-weight: 600; color: var(--ok);
}

/* Questions about plans: the outcome cards in one column, as wide as a line reads well, then where to write. */
.offer-questions { display: grid; gap: 12px; max-width: 44rem; margin-inline: auto; }
.offer-contact { max-width: 34rem; margin: 24px auto 0; font-size: 15px; line-height: 22px; text-align: center; color: var(--ink-2); }
.offer-contact a { color: var(--brand-link); text-underline-offset: 3px; }
