/* ==========================================================================
   PurpleCyber — Design Tokens
   Palette: off-white paper, near-black ink, single violet accent used with
   restraint. The brand color shows up in the logo, the pulse dot, links,
   and primary buttons only — everything else stays neutral.
   Type: Space Grotesk (display, technical/geometric) + Inter (body) +
   IBM Plex Mono (data, labels, ticker) — a monitoring-console pairing.
   ========================================================================== */

:root {
  /* Color */
  --ink: #1B1720;
  --ink-soft: #4A4655;
  --muted: #706C7A;
  --paper: #FAFAF9;
  --panel: #F3F1F5;
  --line: #E4E1E8;
  --violet: #5B2FBF;
  --violet-deep: #3D1E63;
  --violet-tint: #EFEAF9;
  --signal: #2FAE68;
  --white: #FFFFFF;

  /* Type */
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', Consolas, 'Liberation Mono', Menlo, monospace;

  /* Scale */
  --container: 1160px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-weight: 600; }
h2 { font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-deep); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-block;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--panel);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

/* Scroll-reveal: elements fade/slide in once, the first time they enter
   the viewport. JS (script.js) adds .is-revealed via IntersectionObserver.
   Reduced-motion users see everything already in place -- no animation,
   no delay, nothing to wait for. */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal="1"].is-revealed { transition-delay: 0.08s; }
[data-reveal="2"].is-revealed { transition-delay: 0.16s; }
[data-reveal="3"].is-revealed { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  font-size: 17px;
}

/* Focus visibility (accessibility floor) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}

.btn--primary {
  background: var(--violet);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--violet-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(61, 30, 99, 0.45);
}
@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover { transform: none; }
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.98);
  border-bottom: 1px solid var(--line);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.nav__logo img { height: 42px; width: auto; }
.nav__logo { display: flex; align-items: center; }

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  padding-bottom: 4px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover { color: var(--violet); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--violet); }
@media (prefers-reduced-motion: reduce) {
  .nav__links a::after { transition: none; }
}

.nav__right { display: flex; align-items: center; gap: 20px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: -8px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.nav__mobile {
  display: none;
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__right .btn--primary { display: none; }
  .nav__toggle { display: flex; }

  .nav__mobile {
    display: none;
    position: fixed;
    inset: 88px 0 0 0;
    background: var(--paper);
    z-index: 99;
    overflow-y: auto;
  }
  .nav__mobile.is-open { display: block; }
  .nav__mobile .container {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 24px;
    gap: 4px;
  }
  .nav__mobile a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    color: var(--ink);
    font-weight: 500;
  }
  .nav__mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(91, 47, 191, 0.14) 0%, rgba(91, 47, 191, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  max-width: 15ch;
}

.hero .lede {
  font-size: 18px;
  max-width: 46ch;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 56px; }
}

/* ---------- Signature element: live monitoring console ---------- */
.console {
  background: var(--ink);
  border-radius: 6px;
  padding: 22px 22px 20px;
  font-family: var(--font-mono);
  color: #D9D5E3;
  box-shadow: 0 20px 50px -20px rgba(27, 23, 32, 0.45);
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.console__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #46424F;
}

.console__title {
  margin-left: 8px;
  font-size: 12px;
  color: #8B8794;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 16px;
  border-bottom: 1px solid #322D3C;
  margin-bottom: 14px;
}

.pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--signal);
  position: relative;
  flex-shrink: 0;
}
.pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--signal);
  animation: pulse-ring 2.2s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse::after { animation: none; opacity: 0; }
}

.pulse--sm {
  width: 7px; height: 7px;
}
.pulse--sm::after { inset: -4px; }

.console__status-text {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}
.console__status-text small {
  display: block;
  font-size: 11.5px;
  color: #8B8794;
  font-weight: 400;
  margin-top: 2px;
}

.console__log {
  font-size: 12.5px;
  line-height: 2;
  min-height: 108px;
}
.console__log div {
  color: #A9A4B6;
  opacity: 0;
  animation: log-in 0.4s ease forwards;
}
.console__log div.ok { color: #7FCFA0; }
.console__log span.ts { color: #5E5A6B; margin-right: 10px; }
@keyframes log-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.console__clock {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #322D3C;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #8B8794;
}
.console__clock strong { color: #D9D5E3; font-weight: 500; }

/* ---------- What we do / feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 2px 8px -4px rgba(27, 23, 32, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(61, 30, 99, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .feature { transition: none; }
  .feature:hover { transform: none; }
}

.feature__mark {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 16px -8px rgba(61, 30, 99, 0.55);
}

.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { font-size: 15px; margin-bottom: 0; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Frameworks strip ---------- */
.frameworks {
  background: var(--violet-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.frameworks .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  text-align: center;
}
.frameworks .label {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-deep);
}
.frameworks .marks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.frameworks .marks span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--violet);
  border-radius: 4px;
  padding: 6px 14px;
}

/* ---------- Benefit grid (2x2) ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
.benefit {
  padding-left: 20px;
  border-left: 2px solid var(--violet);
}
.benefit h3 { font-size: 17.5px; margin-bottom: 8px; }
.benefit p { font-size: 15px; margin-bottom: 0; }

@media (max-width: 700px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ---------- UltraViolet teaser card ---------- */
.teaser {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--white);
}
.teaser__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
  display: block;
}
.teaser h3 { font-size: 24px; margin-bottom: 10px; }
.teaser p { margin-bottom: 0; font-size: 15.5px; max-width: 56ch; }

@media (max-width: 700px) {
  .teaser { grid-template-columns: 1fr; text-align: left; padding: 32px 24px; }
}

/* ---------- About ---------- */
.about-meta {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.about-meta dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline;
}
.about-meta dd {
  display: inline;
  margin: 0 0 0 8px;
  color: var(--ink-soft);
}
.about-meta div + div { margin-top: 2px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: var(--white);
}
.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img { height: 24px; margin-bottom: 14px; }
.footer__brand p { font-size: 14px; max-width: 34ch; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--ink-soft); font-size: 14.5px; }
.footer a:hover { color: var(--violet); }
.footer__bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.footer--simple {
  padding: 28px 0;
}
.footer--simple .footer__bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  justify-content: center;
}

@media (max-width: 700px) {
  .footer .container { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Generic helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================================
   UltraViolet product page specifics
   ========================================================================== */

.uv-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.uv-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.uv-hero h1 { font-size: clamp(30px, 4vw, 44px); max-width: 20ch; }
.uv-hero .lede { font-size: 17.5px; max-width: 60ch; margin-top: 16px; }

@media (max-width: 900px) {
  .uv-hero .container { grid-template-columns: 1fr; }
  .uv-hero { padding: 40px 0 48px; }
}

/* Signature element: risk exposure gauge */
.risk-panel {
  background: var(--ink);
  border-radius: 6px;
  padding: 22px 22px 20px;
  font-family: var(--font-mono);
  color: #D9D5E3;
  box-shadow: 0 20px 50px -20px rgba(27, 23, 32, 0.45);
}

.risk-panel__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.risk-chart {
  margin: 8px 0 4px;
}
.risk-chart svg { display: block; width: 100%; height: auto; }
.risk-chart__axis {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: #8B8794;
}
.risk-chart__line {
  stroke-dasharray: 260;
  animation: line-draw 1.6s ease-out forwards;
}
@keyframes line-draw {
  from { stroke-dashoffset: 260; }
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .risk-chart__line { animation: none; stroke-dashoffset: 0; }
}

.risk-panel__label {
  margin: 14px 0 0;
  font-size: 13px;
  color: #A9A4B6;
  line-height: 1.5;
}

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.contrast > div { padding: 36px 40px; }
.contrast .no {
  background: var(--panel);
  color: var(--muted);
}
.contrast .yes {
  background: var(--ink);
  color: #E7E4EE;
}
.contrast .yes h3, .contrast .no h3 { font-size: 15px; }
.contrast h3 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.contrast .no h3 { color: var(--muted); }
.contrast .yes h3 { color: var(--signal); }
.contrast p { font-size: 15.5px; margin-bottom: 0; }
.contrast .no p { color: var(--ink-soft); }
.contrast .yes p { color: #C8C3D6; }

.contrast-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}
.contrast-note a { text-decoration: underline; }

@media (max-width: 760px) {
  .contrast { grid-template-columns: 1fr; }
}

/* Steps (real sequence -> numbered) */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--violet);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; margin-bottom: 0; max-width: 62ch; }

/* Pricing tiers */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}

.tier-card {
  position: relative;
  background: var(--violet-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.tier-card--featured {
  background: var(--violet-deep);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 50px -28px rgba(61, 30, 99, 0.6);
}

.tier-card__badge {
  position: absolute;
  top: -13px;
  left: 40px;
  background: var(--white);
  color: var(--violet-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
}

.tier-card__head { margin-bottom: 28px; }
.tier-card__head h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--ink);
}
.tier-card__price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.tier-card__price .price-monthly span,
.tier-card__price .price-annual span {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-left: 6px;
}

/* "Starting at" qualifier -- sits on its own line above the figure. Needs
   higher specificity than the generic price-span rule above to win on
   font-size and margin; colour is left to inherit so the featured card's
   white-on-violet override still applies. */
.tier-card__price .price-monthly .price-from,
.tier-card__price .price-annual .price-from {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.tier-card__sub {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.tier-card__plus {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 24px 0 10px;
}

.tier-card__cta {
  margin-top: 28px;
  width: 100%;
  justify-content: center;
}

/* Basic (non-featured) card: the site's default ghost-button border
   (--line, a very light gray) measured at only 1.1:1 contrast against
   the light lavender card -- nearly invisible. Violet border/text
   clears the 3:1 minimum for UI components (6.84:1) while staying
   visually secondary to Premium's solid button. */
.tier-card:not(.tier-card--featured) .btn--ghost {
  border-color: var(--violet);
  color: var(--violet);
}
.tier-card:not(.tier-card--featured) .btn--ghost:hover {
  background: var(--violet);
  color: var(--white);
  border-color: var(--violet);
}

/* Featured (Premium) card: dark violet background needs white/inverted
   text and buttons -- the site's normal ink text and outlined/solid
   violet buttons would disappear against it. */
.tier-card--featured .tier-card__head h3,
.tier-card--featured .tier-card__price {
  color: var(--white);
}
.tier-card--featured .tier-card__price .price-monthly span,
.tier-card--featured .tier-card__price .price-annual span,
.tier-card--featured .tier-card__sub,
.tier-card--featured .tier-card__plus {
  color: rgba(255, 255, 255, 0.65);
}

.tier-card--featured .btn--primary {
  background: var(--white);
  color: var(--violet-deep);
}
.tier-card--featured .btn--primary:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--violet-deep);
}
.tier-card--featured .btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.tier-card--featured .btn--ghost:hover {
  background: var(--white);
  color: var(--violet-deep);
  border-color: var(--white);
}

.pricing-calc {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 4px 0 4px;
}
.pricing-calc label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.panel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.pricing-calc input[type="range"] {
  width: 100%;
  accent-color: var(--violet);
  margin-bottom: 10px;
}

.server-readout {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.server-readout strong { color: var(--ink); font-size: 16px; }

@media (max-width: 480px) {
  .server-readout {
    flex-direction: column;
    gap: 4px;
  }
}

/* Featured card: calculator and server-readout also need to flip to
   light-on-dark, same reasoning as above */
.tier-card--featured .pricing-calc {
  border-top-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.tier-card--featured .pricing-calc label {
  color: rgba(255, 255, 255, 0.65);
}
.tier-card--featured .pricing-calc input[type="range"] {
  accent-color: var(--white);
}
.tier-card--featured .server-readout {
  color: rgba(255, 255, 255, 0.8);
}
.tier-card--featured .server-readout strong {
  color: var(--white);
}

.includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.includes-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.includes-list li:last-child { border-bottom: none; }
.includes-list .check {
  color: var(--signal);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

/* Basic (non-featured) card sits on a light lavender tint -- the site's
   default signal green and muted gray both measured under WCAG AA
   contrast against that background, so this card gets darker equivalents */
.tier-card .includes-list .check {
  color: #15703A;
}

/* Featured (Premium) card: light-on-dark for list text and checks */
.tier-card--featured .includes-list li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.tier-card--featured .includes-list .check {
  /* the site's usual signal green fails contrast (2.83:1) against the
     violet-deep card -- this brighter mint passes AA (8.45:1) */
  color: #6FE3A6;

}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
}

/* Billing period toggle */
.period-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 40px;
}
.period-toggle__btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.period-toggle__btn.is-active {
  background: var(--white);
  color: var(--violet-deep);
  box-shadow: 0 2px 6px -2px rgba(27, 23, 32, 0.15);
}
.period-toggle__save {
  font-size: 11px;
  color: var(--signal);
  font-weight: 700;
  margin-left: 4px;
}

/* Toggle which price is shown based on the pricing-tiers container's
   data-period attribute (set by script.js on button click) */
.price-monthly { display: block; }
.price-annual { display: none; }
[data-period="annual"] .price-monthly { display: none; }
[data-period="annual"] .price-annual { display: block; }

/* Value-based comparison rows (scan frequency, SLAs) -- text instead of
   a checkmark, since these compare two different values, not presence/absence */
.compare-table__value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.compare-table__value--premium {
  color: var(--violet-deep);
  font-weight: 700;
}

/* Collapsible info cards ("Which plan fits", "What we do", etc.) */
.info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin-top: 16px;
  overflow: hidden;
}
.info-card summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.info-card summary::-webkit-details-marker { display: none; }
.info-card summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--violet);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s ease;
}
.info-card[open] summary::after { transform: rotate(45deg); }
.info-card__body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--ink-soft);
}
.info-card__body p:last-child { margin-bottom: 0; }
.info-card__body a { text-decoration: underline; }

/* FAQ list -- same collapsible pattern, styled as a simple stacked list */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  padding: 20px 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--violet);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--ink-soft);
}
.faq-item__body p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .info-card summary::after,
  .faq-item summary::after { transition: none; }
}

/* Detailed capability comparison table */
.compare-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.compare-table__row {
  display: grid;
  grid-template-columns: 1fr 90px 90px;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.compare-table__row:last-child { border-bottom: none; }

.compare-table__row--header {
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.compare-table__row--header > div:nth-child(2),
.compare-table__row--header > div:nth-child(3) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.compare-table__row > div:nth-child(2),
.compare-table__row > div:nth-child(3) {
  display: flex;
  justify-content: center;
}

.compare-table__group {
  padding: 14px 24px 10px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--violet-deep);
}

.compare-table__note {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}

.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}
.compare-check--basic {
  background: var(--white);
  border: 1.5px solid var(--violet);
  color: var(--violet);
}
.compare-check--premium {
  background: var(--violet-deep);
  border: 1.5px solid var(--violet-deep);
  color: var(--white);
}

.compare-table__dash {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 700px) {
  .compare-table__row {
    grid-template-columns: 1fr 56px 56px;
    padding: 14px 16px;
    font-size: 13.5px;
    gap: 8px;
  }
  .compare-table__row--header { font-size: 10.5px; }
  .compare-table__row--header > div:nth-child(2),
  .compare-table__row--header > div:nth-child(3) {
    font-size: 9px;
  }
  .compare-table__group { padding: 12px 16px 8px; font-size: 11px; }
  .compare-check { width: 22px; height: 22px; }
}

/* Final CTA band */
.cta-band {
  background: var(--ink);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { color: #B9B4C6; max-width: 52ch; margin: 12px auto 0; }
.cta-band .hero-actions { justify-content: center; margin-top: 28px; }
.cta-band .btn--ghost { color: var(--white); border-color: #4A4655; }
.cta-band .btn--ghost:hover { border-color: var(--white); color: var(--white); }
