/* ==========================================================================
   SightIQ — the pricing page
   --------------------------------------------------------------------------
   A control strip, two short cards and one table.

   The first build put every feature inside the cards, which made each one
   just over a thousand pixels tall: a reader had to scroll a screen and a
   half to see the second price. The cards now carry the price, what this
   team would pay, the one action and five things that matter; the other
   sixteen are in the table, where somebody who has decided can check them
   without somebody who has not having to scroll past them.

   The two cards are deliberately not the same object. One is white and
   lit, the other is ink: two white columns of ticks invite a reader to
   compare them pixel for pixel, and these are two different kinds of
   purchase -- a card payment and a procurement process.

   PRICES ARE INDICATIVE, and the note under the cards says so.
   ========================================================================== */

/* --------------------------------------------------------------- the head
   The hero holds the first screen on its own. Earlier it ran 531px tall and
   the control strip sat on its lower edge, so a 730px laptop opened on a
   headline, a bar and two cards cut off mid-price: three things competing
   for the one screen a reader gives a pricing page.

   min-height, not height: the copy sets its own height and the screen only
   raises the floor, so a short laptop never crushes the text. The cap stops
   a 1440px-tall monitor opening on a band of air -- past 52rem the hero is
   already doing nothing with the room.
   ------------------------------------------------------------------------ */
.pricehero {
  min-height: min(calc(100dvh - var(--header-h)), 60rem);
  display: grid; align-content: center;
  padding-top: clamp(2.5rem, 6vh, 4.5rem);
  padding-bottom: clamp(4rem, 10vh, 6.5rem);
}

/* The cue sits on the hero's floor, not in the flow: centred copy stays
   optically centred whatever the screen does. */
.pricehero__cue {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vh, 2rem);
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .875rem; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  color: var(--neutral-500); text-decoration: none;
  transition: color var(--dur-ui) var(--ease-ui),
              background-color var(--dur-ui) var(--ease-ui);
}
.pricehero__cue .icon { animation: cuebob 2.4s var(--ease-ui) infinite; }
.pricehero__cue:hover { color: var(--primary-700); background: var(--primary-50); }
.pricehero__cue:hover .icon { animation-play-state: paused; }

@keyframes cuebob {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(.1875rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pricehero__cue .icon { animation: none; }
}

/* The trial, the card and the exit, in one row under the copy. Centred with
   the rest of the hero, so it reads as part of the claim above it. */
.herotrust {
  margin: 1.75rem 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem 1.5rem;
  font-size: .875rem; font-weight: 600; color: var(--neutral-600);
}
.herotrust li { display: inline-flex; align-items: center; gap: .4375rem; }
.herotrust .icon { color: var(--primary-600); }

/* ------------------------------------------------------- the control strip
   Team size and billing period, in one bar both cards answer to. It is the
   page's one interactive object, so it gets the page's one shadow. It used
   to straddle the hero's edge; it now opens the plans section, so neither
   section borrows the other's screen.
   ------------------------------------------------------------------------ */
/* Equal top and bottom. The top was shortened because the hero above it
   already opens with air, and the bottom carried an indicative-pricing note
   that is gone; with nothing under the cards, the section was closing on
   half as much space as it opened with. */
.plansec { padding-block: clamp(2.5rem, 5vw, 4rem); }

.pricebar {
  position: relative; z-index: 1;
  margin-bottom: 2.5rem;
  display: grid; gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--neutral-200); border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 24px 48px -32px rgb(16 24 40 / .28);
}
@media (min-width: 860px) {
  /* Three controls now: the seat count takes the slack, the currency menu
     and the billing switch take what they need. */
  .pricebar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 2rem; align-items: start;
  }
  .pricebar__cur, .pricebar__billing { padding-top: .0625rem; }
}

.pricebar__label {
  margin-bottom: .5rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--neutral-500);
}

/* The currency menu. A native select on purpose: it is a correction to a
   guess the page already made, not a control anybody has to find. */
.pricebar__select {
  width: 100%; min-width: 11.5rem; height: 2.25rem;
  padding: 0 2rem 0 .625rem;
  border: 1px solid var(--neutral-200); border-radius: var(--r-sm);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .5rem center;
  background-size: 1rem 1rem;
  font: inherit; font-size: .875rem; font-weight: 600;
  color: var(--neutral-800);
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  cursor: pointer;
}
.pricebar__select:hover { border-color: var(--primary-300); }
.pricebar__select:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 1px; }

/* The same control once combo.js has replaced it. The listbox is written for
   a form field, which is taller and lighter than a control in this bar. The
   native select underneath keeps its own rules above, for a visit with
   scripting off. */
.pricebar__cur .combo { width: 100%; min-width: 11.5rem; }
.pricebar__cur .combo__button {
  height: 2.25rem;
  padding: 0 .75rem;
  border-color: var(--neutral-200);
  font-size: .875rem; font-weight: 600;
  color: var(--neutral-800);
}
.pricebar__cur .combo__button:hover { border-color: var(--primary-300); }
/* Wider than the control: "USD — US dollar" wrapped onto two lines inside a
   180px button, which turned twelve options into twenty-four lines. */
.pricebar__cur .combo__list { min-width: 15rem; }
.pricebar__cur .combo__text { white-space: nowrap; }

/* The same control, once combo.js has replaced it. The listbox is written
   for a form field, which is taller and lighter than a control in this bar,
   so it takes the bar's height, type and border here. The native select
   underneath keeps its own rules above, for a visit with scripting off. */
.pricebar__cur .combo { width: 100%; min-width: 11.5rem; }
.pricebar__cur .combo__button {
  height: 2.25rem;
  padding: 0 .75rem;
  border-color: var(--neutral-200);
  font-size: .875rem; font-weight: 600;
  color: var(--neutral-800);
}
.pricebar__cur .combo__button:hover { border-color: var(--primary-300); }
/* The menu is wider than the control: "USD — US dollar" wrapped onto two
   lines inside a 180px button, which turned twelve options into twenty-four
   lines of reading. */
.pricebar__cur .combo__list { min-width: 15rem; }
.pricebar__cur .combo__text { white-space: nowrap; }

.pricebar__count { display: flex; align-items: center; gap: .5rem; }
.pricebar__step {
  width: 2.25rem; height: 2.25rem; flex: none;
  display: inline-grid; place-items: center;
  border: 1px solid var(--neutral-200); border-radius: var(--r-pill);
  background: #fff;
  font: inherit; font-size: 1.125rem; font-weight: 700; line-height: 1;
  color: var(--neutral-700); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.pricebar__step:hover { border-color: var(--primary-300); color: var(--primary-700); background: var(--primary-50, #E7F4F1); }
.pricebar__step:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }

.pricebar__num {
  width: 4.5rem; height: 2.25rem;
  padding: 0 .5rem;
  border: 1px solid var(--neutral-200); border-radius: var(--r-sm);
  background: #fff;
  font: inherit; font-size: 1.0625rem; font-weight: 800; text-align: center;
  color: var(--neutral-900); font-variant-numeric: tabular-nums;
}
.pricebar__num:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 1px; }
/* The spinners are a second control for the same value, beside two
   buttons that already do it. */
.pricebar__num::-webkit-outer-spin-button,
.pricebar__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pricebar__num { -moz-appearance: textfield; appearance: textfield; }

.pricebar__word { font-size: .9375rem; color: var(--neutral-600); }

.pricebar__range {
  -webkit-appearance: none; appearance: none;
  width: 100%; margin-top: .875rem;
  height: 6px; border-radius: var(--r-pill);
  background: var(--neutral-150, #EDEFEF);
  cursor: pointer;
}
.pricebar__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-700); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgb(16 24 40 / .25);
  cursor: grab;
}
.pricebar__range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-700); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgb(16 24 40 / .25);
  cursor: grab;
}
.pricebar__range:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 4px; }

.pricebar__help { margin-top: .5rem; font-size: .75rem; color: var(--neutral-400); }

/* ----------------------------------------------------- the billing switch
   Two buttons in a track, not a checkbox switch: a switch has to say what
   its on state means, and these say it themselves.
   ------------------------------------------------------------------------ */
.billing {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--neutral-200); border-radius: var(--r-pill);
  background: var(--neutral-25, #FAFBFB);
}
.billing__opt {
  display: inline-flex; align-items: center; gap: .4375rem;
  min-height: 2.25rem; padding: 0 1rem;
  border: 0; border-radius: var(--r-pill);
  background: transparent;
  font: inherit; font-size: .9375rem; font-weight: 600; color: var(--neutral-600);
  cursor: pointer;
  transition: background-color .16s var(--ease-ui), color .16s var(--ease-ui);
}
.billing__opt:hover { color: var(--neutral-900); }
.billing__opt:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.billing__opt.is-on { background: var(--primary-700); color: #fff; }

.billing__save {
  padding: .125rem .4375rem;
  border-radius: var(--r-pill);
  background: var(--primary-50, #E7F4F1); color: var(--primary-800);
  font-size: .6875rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.billing__opt.is-on .billing__save { background: rgb(255 255 255 / .22); color: #fff; }

/* ------------------------------------------------------------- the cards */
.plans {
  display: grid; gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  /* Stretch, not start: one card carries a line the other does not, and a
     36px step between two cards of the same row reads as a mistake. */
  align-items: stretch;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.625rem;
  border: 1px solid var(--neutral-200); border-radius: var(--r-lg);
  background: #fff;
}

/* The lit one. A ring and the button, not a tinted ground: the ring is an
   inset shadow rather than a 2px border, so the card's inner edge does not
   move by a pixel against the one beside it. */
.plan--lead {
  border-color: var(--primary-600);
  box-shadow: inset 0 0 0 1px var(--primary-600),
              0 10px 30px rgb(0 122 112 / .12);
}
.plan__flag {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: .3125rem .75rem;
  border-radius: var(--r-pill);
  background: var(--primary-700); color: #fff;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}

/* The ink card. Same rows, different material. */
.plan--ink {
  border-color: transparent;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(22 163 148 / .22) 0%, transparent 60%),
    var(--ink-900);
  color: #fff;
}
.plan--ink .plan__name { color: #fff; }
.plan--ink .plan__for,
.plan--ink .plan__under { color: rgb(255 255 255 / .68); }
.plan--ink .plan__price { border-top-color: rgb(255 255 255 / .14); }
.plan--ink .plan__fig { color: #fff; }
.plan--ink .plan__unit { color: rgb(255 255 255 / .6); }
.plan--ink .plan__total {
  border-color: rgb(255 255 255 / .16);
  background: rgb(255 255 255 / .06);
}
.plan--ink .plan__total b { color: #fff; }
.plan--ink .plan__total span { color: rgb(255 255 255 / .62); }
.plan--ink .plan__list { border-top-color: rgb(255 255 255 / .14); }
.plan--ink .plan__list li { color: rgb(255 255 255 / .82); }
.plan--ink .plan__list .icon { color: var(--primary-300); }
.plan--ink .plan__more { color: #fff; }
.plan--ink .plan__more:hover { color: var(--primary-200); }

.badge--ink {
  background: rgb(255 255 255 / .12); color: #fff;
  border-color: rgb(255 255 255 / .2);
}

.plan__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--neutral-900); }
.plan__for {
  margin-top: .375rem;
  font-size: .9375rem; line-height: 1.5; color: var(--neutral-600);
  min-height: 2.8125rem;
}

/* The figure. Currency and unit are small and grey against it, so the
   number is the only thing read at a glance. */
.plan__price {
  display: block;
  margin-top: 1.125rem; padding-top: 1.125rem;
  border-top: 1px solid var(--neutral-150, #EDEFEF);
  min-height: 5.25rem;
}
/* The symbol is tight against the figure and the unit stands off it, so the
   three read as one price rather than three parts. */
.plan__now { display: flex; align-items: flex-start; gap: 0; }
.plan__cur {
  margin-top: .3125rem; margin-right: -.0625rem;
  font-size: 1.375rem; font-weight: 700; line-height: 1;
  color: var(--neutral-500);
}
.plan__fig {
  font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: var(--neutral-900); font-variant-numeric: tabular-nums;
}
.plan__unit {
  align-self: flex-end; margin-left: .5rem; margin-bottom: .1875rem;
  font-size: .75rem; line-height: 1.3; color: var(--neutral-500);
}
.plan__price--talk .plan__fig { font-size: 2.25rem; letter-spacing: -.02em; }
.plan__price--talk .plan__unit { margin-bottom: .3125rem; }

/* The price this one replaces. On its own line above the figure: beside it,
   two currency symbols in a row read as a single number with a space in it.
   Struck, grey and well down in size, so the figure under it is still the
   only thing read at a glance. */
.plan__was {
  display: flex; align-items: center; gap: .4375rem;
  margin-bottom: .3125rem; min-height: 1.375rem;
  font-size: 1rem; font-weight: 700; line-height: 1.1;
  color: var(--neutral-400); font-variant-numeric: tabular-nums;
}
.plan__was s { text-decoration-thickness: .085em; text-underline-offset: 0; }
.plan--ink .plan__was { color: rgb(255 255 255 / .45); }

/* What the cut is worth, in the same pill the annual switch uses, so the two
   discounts on this page are written the same way. */
.plan__save {
  padding: .125rem .4375rem;
  border-radius: var(--r-pill);
  background: var(--primary-50, #E7F4F1);
  font-size: .6875rem; font-weight: 700; line-height: 1.45;
  color: var(--primary-800); font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Which currency the card is actually charged in, when that is not the
   currency on screen. Empty and hidden when the two agree. */
.plan__billed {
  margin-top: .4375rem;
  font-size: .75rem; line-height: 1.4; color: var(--neutral-500);
}
.plan--ink .plan__billed { color: rgb(255 255 255 / .6); }

/* What this team would pay, which is the sum a reader is doing in their
   head while they read the figure above. */
.plan__total {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
  margin-top: .875rem; padding: .625rem .875rem;
  border: 1px solid var(--neutral-200); border-radius: var(--r-md, 10px);
  background: var(--neutral-25, #FAFBFB);
}
.plan__total b {
  font-size: 1.0625rem; font-weight: 800; color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
}
.plan__total span { font-size: .8125rem; color: var(--neutral-500); }

/* ------------------------------------------------------- the early bird
   Four parts across the width: the label, the offer, what it is worth to
   the team in the control strip, and the way in. It was the offer alone in
   a 1,200px box, which left three quarters of the band empty -- and the
   figure that filled it is one the reader was going to work out anyway.
   -------------------------------------------------------------------------- */
.earlyband {
  display: grid; gap: 1rem 1.25rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  margin: -1.25rem 0 1.5rem;
  padding: .875rem 1rem;
  border: 1px solid var(--primary-200, #A8DCD3); border-radius: var(--r-md, 10px);
  background: var(--primary-50);
}
@media (min-width: 900px) {
  /* label | offer | saving | button. The saving takes the slack, so the
     button stays on the right edge whatever the figures are. */
  .earlyband {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 1.25rem; padding: .875rem 1rem .875rem 1.25rem;
  }
}

.earlyband__tag {
  align-self: center; justify-self: start;
  padding: .25rem .5625rem;
  border-radius: var(--r-pill);
  background: var(--primary-700); color: #fff;
  font-size: .6875rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; white-space: nowrap;
}

.earlyband__price {
  display: flex; align-items: baseline; gap: .4375rem;
  color: var(--primary-800);
}
.earlyband__price b {
  font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.earlyband__unit { font-size: .8125rem; font-weight: 600; }
.earlyband__terms {
  margin-top: .125rem;
  font-size: .75rem; line-height: 1.4; color: var(--primary-700); opacity: .8;
}

/* The saving, set off by a rule rather than a box: it is a second fact
   about the same offer, not a second offer. */
.earlyband__saving {
  font-size: .8125rem; line-height: 1.4; color: var(--primary-800);
}
.earlyband__saving b {
  font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.earlyband__saving span { opacity: .75; }
.earlyband__saving[hidden] { display: none; }
@media (min-width: 900px) {
  .earlyband__saving {
    padding-left: 1.25rem;
    border-left: 1px solid var(--primary-200, #A8DCD3);
  }
}

.earlyband__cta { white-space: nowrap; }

@media (max-width: 899px) {
  /* Stacked: the label sits on its own line, and everything under it runs
     the full width rather than squeezing into two columns. */
  .earlyband { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .earlyband__cta { justify-self: start; }
}

/* What the year costs, under the per-member total: the sum being decided,
   in money rather than as a percentage. */
.plan__year {
  margin-top: .5rem;
  font-size: .8125rem; line-height: 1.5; color: var(--primary-800); font-weight: 600;
}
.plan__year[hidden] { display: none; }

/* The same figure offered from the monthly view. A button, not a line of
   text: it switches the period, so it has to look like it does something. */
.plan__nudge {
  display: inline-flex; align-items: center; gap: .375rem;
  margin-top: .5rem; padding: .375rem .625rem;
  border: 1px dashed var(--primary-300, #7FCBBE); border-radius: var(--r-pill);
  background: transparent;
  font: inherit; font-size: .8125rem; font-weight: 600; color: var(--primary-700);
  cursor: pointer; text-align: left;
  transition: background-color var(--dur-ui) var(--ease-ui),
              border-color var(--dur-ui) var(--ease-ui);
}
.plan__nudge:hover { background: var(--primary-50); border-color: var(--primary-600); }
.plan__nudge:focus-visible { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.plan__nudge[hidden] { display: none; }

/* ------------------------------------------------------- past 250 members
   The page keeps both cards and keeps every figure live. What moves is the
   recommendation: the ribbon, the emphasis, and a line beside the count.
   -------------------------------------------------------------------------- */
.pricebar__state {
  display: inline-flex; align-items: center;
  padding: .25rem .5rem;
  border-radius: var(--r-pill);
  background: var(--primary-50); color: var(--primary-800);
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.pricebar__state[hidden] { display: none; }

.plan__flag--ent { background: var(--neutral-900); }
/* The ribbon sits half above the card it belongs to, so the row needs room. */
.plans[data-over="true"] { margin-top: .75rem; }
.plans[data-over="true"] .plan--lead {
  opacity: .66;
  transition: opacity var(--dur-ui) var(--ease-ui);
}
.plans[data-over="true"] .plan--lead:hover,
.plans[data-over="true"] .plan--lead:focus-within { opacity: 1; }
/* Only one card wears a ribbon at a time. */
.plans[data-over="true"] .plan--lead .plan__flag { display: none; }
.plans[data-over="true"] .plan--ink { box-shadow: 0 24px 48px -28px rgb(16 24 40 / .45); }

.plan__cta { margin-top: 1rem; }

/* ------------------------------------------------------- past 250 members
   The page keeps both cards and keeps every figure live: somebody sizing a
   300-person rollout still wants to see what the per-member price would
   have been. What moves is the recommendation -- the ribbon, the emphasis
   and the line under the control strip.
   -------------------------------------------------------------------------- */
.plan__flag--ent { background: var(--neutral-900); }
/* The ribbon sits half above the card it belongs to, so the row needs the
   room: without it the pill is sliced by the note above. */
.plans[data-over="true"] { margin-top: .75rem; }

.plans[data-over="true"] .plan--lead {
  opacity: .66;
  transition: opacity var(--dur-ui) var(--ease-ui);
}
.plans[data-over="true"] .plan--lead:hover,
.plans[data-over="true"] .plan--lead:focus-within { opacity: 1; }
/* Only one card wears a ribbon at a time. */
.plans[data-over="true"] .plan--lead .plan__flag { display: none; }
.plans[data-over="true"] .plan--ink {
  box-shadow: 0 24px 48px -28px rgb(16 24 40 / .45);
}

/* The line that says why. Tinted rather than red: this is the right plan
   for a team that size, not an error. */
.pricebar__ent {
  display: flex; align-items: flex-start; gap: .5rem;
  margin: -1.25rem 0 2rem;
  padding: .75rem .9375rem;
  border: 1px solid var(--primary-200, #A8DCD3); border-radius: var(--r-md, 10px);
  background: var(--primary-50);
  font-size: .875rem; line-height: 1.55; color: var(--primary-800);
}
.pricebar__ent[hidden] { display: none; }
.plan__under {
  margin-top: .625rem;
  font-size: .8125rem; line-height: 1.5; color: var(--neutral-500);
  min-height: 2.4375rem;
}

.plan__inherits {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1.25rem;
  font-size: .875rem; font-weight: 700; color: var(--primary-300);
}
.plan__inherits .icon { flex: none; }

.plan__list {
  margin-top: 1.125rem; padding-top: 1.125rem;
  border-top: 1px solid var(--neutral-150, #EDEFEF);
  display: grid; gap: .5625rem;
}
.plan--ink .plan__list { margin-top: .75rem; }
.plan__list li { font-size: .875rem; line-height: 1.45; }

.plan__more {
  margin-top: 1.125rem;
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .8125rem; font-weight: 700; color: var(--primary-800);
}
.plan__more:hover { color: var(--primary-600); }
.plan__more .icon { transition: transform .18s var(--ease-brand); }
.plan__more:hover .icon { transform: translateY(2px); }

/* -------------------------------------------------------------- the table
   Grouped by what a reader is checking for. The head sticks under the
   navbar, so the two plan columns stay named while the rows pass.
   ------------------------------------------------------------------------ */
.ptable {
  margin-top: 2.5rem;
  border: 1px solid var(--neutral-200); border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
}
.ptable table { width: 100%; border-collapse: collapse; }

.ptable thead th {
  /* Not sticky. A sticky head inside a clipped, rounded wrapper leaves the
     table's own top edge empty above the pinned row once it passes, which
     reads as a rendering fault rather than as a fixed header. The table is
     1,240px tall with a labelled group every six rows, which is what keeps
     a reader oriented instead. */
  padding: .875rem 1.25rem;
  background: var(--neutral-25, #FAFBFB);
  border-bottom: 1px solid var(--neutral-200);
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--neutral-500);
  text-align: left;
}
.ptable thead th:nth-child(n+2) { text-align: center; width: 9.5rem; }

/* The offer or the size a column is for, under the plan name: the pill the
   plan cards wear, one size down. Sentence case against the uppercase above
   it, and a filled background because this is the half of the name a reader
   scans for. */
.ptable__qual {
  /* gap: 0 overrides .badge-pill, whose gap landed between "250+" and the
     word after it on top of the space already in the markup. */
  display: inline-flex; gap: 0; margin-top: .375rem;
  padding: .1875rem .5rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .01em;
  text-transform: none;
}
.ptable__qual--early { background: var(--primary-50); color: var(--primary-800); }
/* Not .badge--ink: that one is white-on-dark, for the Enterprise card's own
   background. Here the pill is the dark thing on a white header. */
.ptable__qual--ent { background: var(--neutral-900); color: #fff; }
/* A flex item drops the whitespace in front of it, so the space between the
   number and the word is set here. It goes with the word on a phone. */
.ptable__qual-word { margin-left: .25em; }

.ptable__group th {
  padding: .75rem 1.25rem;
  background: var(--primary-50, #E7F4F1);
  border-block: 1px solid var(--primary-200);
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary-800);
  text-align: left;
}

.ptable tbody tr:not(.ptable__group) th {
  padding: .8125rem 1.25rem;
  font-size: .9375rem; font-weight: 500; line-height: 1.45;
  color: var(--neutral-700); text-align: left;
}
.ptable tbody tr:not(.ptable__group) + tr:not(.ptable__group) th,
.ptable tbody tr:not(.ptable__group) + tr:not(.ptable__group) td {
  border-top: 1px solid var(--neutral-150, #EDEFEF);
}
.ptable tbody tr:not(.ptable__group):hover th,
.ptable tbody tr:not(.ptable__group):hover td { background: var(--neutral-25, #FAFBFB); }

/* The cells carry the word for a screen reader and draw the mark for the
   eye: a bare tick is unreadable aloud, and "Yes" twenty-one times is
   unreadable by eye. */
.ptable td { position: relative; text-align: center; font-size: 0; }
.ptable td::after {
  content: ""; display: inline-block;
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.ptable td[data-yes] {
  color: var(--primary-600);
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.ptable td[data-no] {
  color: var(--neutral-300);
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

/* The one row where the two plans differ by degree rather than by presence.
   A word, not a mark: a second tick in a different colour would be read as
   the same answer, and the whole point of this row is that it is not. */
.ptable td[data-adv] {
  font-size: .6875rem; font-weight: 800; letter-spacing: .02em;
  color: var(--primary-800);
}
.ptable td[data-adv]::after { display: none; }
.ptable td[data-adv] > span,
.ptable td[data-adv] {
  white-space: nowrap;
}
.ptable td[data-adv] { padding-inline: .5rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 899px) {
  /* Stacked, the ribbon would sit in the gap under the card above it. */
  .plan--lead { margin-top: .5rem; }
  /* The reserved rows only earn their place when the cards are side by
     side: stacked, each is as tall as its own content. */
  .plan__for, .plan__under { min-height: 0; }
  /* The price keeps its height even stacked: the old price is a line
     of its own and the cards still read as a pair down the page. */
  .plan__price { min-height: 4.75rem; }
  .herotrust { gap: .5rem 1.25rem; font-size: .8125rem; }
}

@media (max-width: 639px) {
  .plan { padding: 1.25rem; }
  .plan__fig { font-size: 2.25rem; }
  .pricebar { padding: 1.125rem; }
  /* svh, not dvh: a phone measures the screen with the address bar showing,
     so the cue sits on the fold at rest instead of under it. */
  .pricehero {
    min-height: calc(100svh - var(--header-h));
    padding-bottom: clamp(3.5rem, 8vh, 5rem);
  }
  .pricebar__billing .billing { width: 100%; }
  .billing__opt { flex: 1; justify-content: center; padding: 0 .625rem; }
  .ptable thead th,
  .ptable__group th,
  .ptable tbody tr:not(.ptable__group) th { padding-inline: .875rem; }
  .ptable thead th:nth-child(n+2) { width: 5.5rem; }
  /* The pills stay, shortened to fit: "250+" without the word after it. */
  .ptable__qual { padding: .125rem .375rem; font-size: .625rem; }
  .ptable__qual-word { display: none; }
  .ptable tbody tr:not(.ptable__group) th { font-size: .875rem; }
}

/* The narrowest phones. Two tick columns at 72px each leave the feature
   column too little to wrap in, and the table was clipping its last column
   rather than overflowing the page. */
@media (max-width: 400px) {
  /* "ENTERPRISE" is one 10-character word: at .08em of tracking it does not
     fit a 52px column and was being clipped. The tracking goes, not the
     size -- 11px uppercase is the floor. */
  .ptable thead th:nth-child(n+2) { width: 4.25rem; letter-spacing: .01em; }
  .ptable thead th,
  .ptable__group th,
  .ptable tbody tr:not(.ptable__group) th { padding-inline: .75rem; }
  .ptable tbody tr:not(.ptable__group) th { font-size: .8125rem; }
  .ptable td::after { width: 16px; height: 16px; }
}

@media (pointer: coarse) {
  .billing__opt { min-height: 2.75rem; }
  .pricebar__step { width: 2.75rem; height: 2.75rem; }
  .pricebar__num { height: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .billing__opt, .pricebar__step, .plan__more .icon { transition: none; }
}
