/*
    The pricing page. Loaded after site.css.

    This page used to load all of Bootstrap (230 KB, render-blocking) for one class and the
    reboot's default spacing. The few reboot rules its spacing was tuned against are restated
    just below instead, so it renders the same without it.
*/

body { line-height: 1.5; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin-bottom: .5rem; }
p, ul { margin-bottom: 1rem; }
ul { padding-left: 2rem; }
strong { font-weight: bolder; }

a { text-decoration: none; color: inherit; }

/* ── HERO ── */
.price-hero { padding: 84px 5vw 56px; text-align: center; max-width: 800px; margin: 0 auto; }
.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.price-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.12;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.price-hero p { font-size: 1.08rem; color: var(--gray); line-height: 1.75; }

/* The two links under the hero copy — formerly style="" attributes. */
.price-hero .hero-link { color: var(--blue); font-weight: 600; }

.sso-banner {
  max-width: 760px; margin: 32px auto 0; padding: 18px 24px;
  background: linear-gradient(135deg, #ecfdf9, #f0f7ff);
  border: 1px solid rgba(20,184,166,.3); border-radius: 12px;
  font-size: .98rem; line-height: 1.6;
}
.sso-banner strong { color: var(--navy); }

/* ── TIERS ── */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1160px; margin: 0 auto; padding: 56px 5vw 40px; align-items: start;
}
.tier {
  background: #fff; border: 1px solid var(--light-border); border-radius: 14px;
  padding: 32px 28px; display: flex; flex-direction: column; height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.tier.featured {
  border-color: var(--navy); box-shadow: 0 12px 40px rgba(15,26,43,.12);
  position: relative;
}
.tier-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--navy); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px;
}
.tier h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
/* Three lines tall whatever the copy, so the three prices sit on one baseline. */
.tier .tagline { font-size: .86rem; color: var(--gray); margin-bottom: 22px; min-height: 4.5em; line-height: 1.5; }
.tier .price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.tier .price span { font-family: var(--font-body); font-size: .9rem; color: var(--gray); font-weight: 500; }
.tier .price-note { font-size: .8rem; color: var(--gray); margin-top: 8px; min-height: 20px; }
.tier ul { list-style: none; padding-left: 0; margin: 26px 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
/* Block with an absolutely placed tick, not flex: as a flex row every <strong> or <em> in a
   bullet became its own column ("SSO | included | — Entra, Okta, Google"). */
.tier li { position: relative; padding-left: 22px; font-size: .9rem; line-height: 1.5; }
.tier li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
/* What a tier leaves out, said on the card rather than discovered after checkout. */
.tier li.not { color: var(--gray); }
.tier li.not::before { content: "—"; color: var(--gray-light); font-weight: 400; }
.tier .btn {
  display: block; text-align: center; padding: 12px;
  border: 1px solid transparent; line-height: 1.5;
  border-radius: 9px; font-weight: 600; font-size: .92rem; transition: .2s;
}
.btn-primary-t { background: var(--navy); color: #fff !important; }
.btn-primary-t:hover { background: #1b2b45; }
.tier .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.price-hero .hero-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
.tier .btn-outline-t { border-color: var(--light-border); color: var(--navy) !important; }
.tier .btn-outline-t:hover { border-color: var(--navy); }
@media (max-width: 940px) {
  .tiers { grid-template-columns: 1fr; max-width: 520px; }
  .tier .tagline { min-height: 0; }
}

/* ── DEDICATED & SELF-HOSTED ──
   One wide band under the three priced cards, the same width as their row. Navy, so it reads
   as a different kind of purchase rather than a fourth, pricier card. Two columns: the pitch
   and the two deployments on the left, why-talk-to-us and the call to action on the right. */
.estate { max-width: 1160px; margin: 0 auto; padding: 0 5vw 20px; }
.estate-inner {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px 40px;
  background: linear-gradient(135deg, var(--navy) 0%, #16263f 60%, #13304a 100%);
  color: #fff; border-radius: 18px; padding: 44px 44px 40px;
  box-shadow: 0 18px 50px rgba(15,26,43,.18);
  position: relative; overflow: hidden;
}
/* A soft teal glow in the corner; decoration only. */
.estate-inner::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0,200,180,.18), transparent 70%); pointer-events: none;
}
.estate-intro { grid-column: 1; }
.estate-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.estate h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; margin-bottom: 14px;
}
.estate-lede { color: #c7d2e1; font-size: 1rem; line-height: 1.7; margin-bottom: 0; }
.estate-options { grid-column: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.estate-option {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 22px 22px 6px;
}
.estate h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.estate-option-tag { font-size: .84rem; color: var(--on-navy); line-height: 1.5; margin-bottom: 14px; }
.estate ul { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.estate li { position: relative; padding-left: 22px; font-size: .88rem; line-height: 1.5; color: #e2e8f0; }
.estate li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.estate-why {
  grid-column: 2; grid-row: 1 / span 2;
  background: #fff; color: var(--navy); border-radius: 14px; padding: 28px 26px;
  display: flex; flex-direction: column; position: relative; z-index: 1;
}
.estate-why h3 { font-size: 1.05rem; margin-bottom: 18px; }
.estate-why ul { gap: 14px; flex-grow: 1; margin-bottom: 22px; }
.estate-why li { color: var(--ink); }
.estate-why li strong { color: var(--navy); }
.estate-cta .btn {
  display: block; text-align: center; padding: 12px; border-radius: 9px;
  font-weight: 600; font-size: .92rem; line-height: 1.5; transition: .2s;
}
.btn-light-t { background: var(--navy); color: #fff !important; }
.btn-light-t:hover { background: #1b2b45; }
.estate-cta .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.estate-cta span { display: block; text-align: center; font-size: .78rem; color: var(--gray); margin-top: 10px; line-height: 1.5; }
@media (max-width: 940px) {
  .estate { max-width: 520px; }
  .estate-inner { grid-template-columns: 1fr; padding: 32px 24px; }
  .estate-why { grid-column: 1; grid-row: auto; }
  .estate-options { grid-template-columns: 1fr; }
}

.invoice-note {
  max-width: 1160px; margin: 0 auto; padding: 18px 5vw 0; text-align: center;
  font-size: .9rem; color: var(--gray);
}
.invoice-note a { color: var(--blue); font-weight: 600; }
.invoice-note a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

/* ── COMPARISON ── */
.compare { max-width: 980px; margin: 0 auto; padding: 40px 5vw 80px; }
.compare h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  text-align: center; margin-bottom: 14px;
}
.compare > p { text-align: center; color: var(--gray); line-height: 1.7; margin-bottom: 36px; }
/* The explanations after the one-line intro are paragraphs, not a slogan: ragged-right reads
   better than a centered block of five lines. */
.compare > p + p { text-align: left; margin-bottom: 20px; }
.compare .table-scroll { overflow-x: auto; margin-top: 36px; }
.compare .table-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare-table th, .compare-table td {
  padding: 14px 12px; border-bottom: 1px solid var(--light-border); text-align: left;
}
.compare-table th { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.compare-table td:not(:first-child) { text-align: center; }
.yes { color: var(--teal-text); font-weight: 700; }
.no  { color: var(--gray-light); }
@media (max-width: 640px) {
  .compare-table { min-width: 640px; font-size: .86rem; }
  .compare-table th, .compare-table td { padding: 12px 8px; }
}

/* ── FAQ ── */
.faq { max-width: 800px; margin: 0 auto; padding: 72px 5vw; }
.faq h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin-bottom: 36px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--light-border); }
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: .92rem; color: var(--gray); line-height: 1.7; }

