/* ==========================================================================
   HARBOR TAX & ADVISORY — pricing.html extras
   Only what style.css lacks: monthly/annual billing toggle, add-on cards,
   enterprise callout tweaks. Built on the global tokens.
   ========================================================================== */

/* Billing toggle -------------------------------------------------------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem;
  border-radius: var(--r-pill);
  background: var(--sand-2);
  margin: 0 auto 1rem;
}
.billing-toggle__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  transition: all var(--dur) var(--ease);
}
.billing-toggle__btn:hover { color: var(--navy); }
.billing-toggle__btn[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.billing-toggle__btn .badge { font-size: .62rem; padding: .2rem .5rem; }
.billing-hint { font-size: var(--fs-xs); color: var(--muted-2); text-align: center; margin: 0 0 .5rem; min-height: 1.2em; }

/* amount swap without layout jump */
.price-card__amount .num { font-variant-numeric: tabular-nums; }
.price-card__annual { font-size: var(--fs-xs); color: var(--muted-2); margin-top: .1rem; }
.price-card--featured .price-card__annual { color: var(--on-dark-muted); }
.price-card__annual[hidden] { display: none; }

/* Enterprise callout ---------------------------------------------------- */
.enterprise {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
.enterprise h3 { margin-bottom: .4rem; }
.enterprise > div > p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0; }
.enterprise__list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.25rem; margin-top: 1rem; }
.enterprise__aside {
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--sand);
  display: grid; gap: .9rem;
}
.enterprise__aside strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--navy); line-height: 1.2; }
.enterprise__aside p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Add-on cards ---------------------------------------------------------- */
.addon {
  display: flex; flex-direction: column;
  gap: .6rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.addon:hover { border-color: var(--teal-3); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.addon__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.addon h3 { font-size: 1.12rem; margin: .35rem 0 0; }
.addon p { font-size: var(--fs-sm); color: var(--muted); margin: 0; flex: 1; }
.addon__price {
  flex-shrink: 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.addon__price small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .25rem; }
.addon__foot { font-size: var(--fs-xs); color: var(--muted-2); padding-top: .75rem; border-top: 1px dashed var(--line); margin-top: .35rem; }

/* Always-included strip on navy --------------------------------------- */
.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.included__item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.25rem 1.3rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.included__item h4 { color: var(--on-dark); font-size: 1rem; margin-bottom: .25rem; }
.included__item p { color: var(--on-dark-muted); font-size: var(--fs-sm); margin: 0; }

/* Guarantee -------------------------------------------------------------- */
.guarantee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.guarantee::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--brass), var(--teal-2)); }
.guarantee__seal {
  width: 112px; height: 112px;
  border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--navy);
  color: var(--brass-2);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  font-size: .95rem;
  padding: .75rem;
  box-shadow: 0 0 0 6px var(--brass-soft), var(--shadow-md);
}
.guarantee__seal strong { display: block; font-size: 1.85rem; color: #fff; letter-spacing: -.02em; }
.guarantee h3 { margin-bottom: .4rem; }
.guarantee p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0; }
.guarantee p + p { margin-top: .6rem; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1023px) {
  .included { grid-template-columns: 1fr 1fr; }
  .enterprise { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .billing-toggle { width: 100%; border-radius: var(--r-md); }
  .billing-toggle__btn { flex: 1 1 auto; justify-content: center; }
  .included { grid-template-columns: 1fr; }
  .enterprise__list { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .guarantee__seal { margin-inline: auto; }
}
