/* CertCommand marketing site
   One stylesheet. Dark, console-flavoured, no framework. */

/* ---------- tokens ---------- */

:root {
  --bg: #0b0f14;
  --bg-deep: #080b0f;
  --panel: #111721;
  --panel-2: #0e141d;
  --panel-3: #151d29;
  --line: #243040;
  --line-soft: #1a2432;
  --text: #e6edf3;
  --muted: #8b98a8;
  --mint: #5cc8a8;
  --mint-ink: #06231c;
  --mint-wash: rgba(92, 200, 168, 0.10);
  --mint-edge: rgba(92, 200, 168, 0.32);
  --amber: #fbbf24;
  --amber-wash: rgba(251, 191, 36, 0.10);
  --red: #f87171;
  --red-wash: rgba(248, 113, 113, 0.10);

  --sans: "IBM Plex Sans", "Segoe UI Variable Text", "Segoe UI", system-ui,
    -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", ui-monospace, SFMono-Regular,
    Consolas, Menlo, monospace;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;

  --pad: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7rem);
}

/* ---------- reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
}
h3 {
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7cd8bd;
}

strong,
b {
  font-weight: 600;
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  background-color: var(--panel-3);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.1em 0.4em;
  color: #cfe6dd;
  overflow-wrap: anywhere;
}

pre {
  margin: 0 0 1.1em;
  padding: 1rem 1.1rem;
  background-color: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #cfe6dd;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background-color: var(--mint);
  color: var(--mint-ink);
}

/* ---------- layout ---------- */

.wrap {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(760px, 100% - 2.5rem);
}

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--line-soft);
}

.section--flush {
  border-top: 0;
}

.section--tint {
  background-color: var(--panel-2);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background-color: var(--mint);
  color: var(--mint-ink);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--r) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- type helpers ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 1rem;
  display: block;
  font-weight: 500;
}

.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.section__head {
  max-width: 66ch;
  margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.mono {
  font-family: var(--mono);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.3rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--mint);
  color: var(--mint-ink);
}

.btn--primary:hover {
  background-color: #74d6b8;
  color: var(--mint-ink);
}

.btn--ghost {
  background-color: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--mint-edge);
  background-color: var(--mint-wash);
  color: var(--text);
}

.btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.87rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
  flex-shrink: 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background-color: var(--panel-3);
  flex-shrink: 0;
}

.brand__word {
  font-size: 1.12rem;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand__word i {
  font-style: normal;
  font-weight: 400;
  color: var(--text);
}

.brand__word b {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.nav-toggle__bars {
  display: block;
  width: 15px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--r-sm);
}

.site-nav a:hover {
  color: var(--text);
  background-color: var(--panel);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--mint);
}

.site-nav .btn {
  margin-left: 0.5rem;
  color: var(--mint-ink);
}

.site-nav .btn:hover {
  color: var(--mint-ink);
  background-color: #74d6b8;
}

/* mobile nav only takes effect once the script confirms it can restore it */
.js-on .nav-toggle {
  display: none;
}

@media (max-width: 860px) {
  .js-on .nav-toggle {
    display: inline-flex;
  }
  .js-on .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.9rem;
  }
  .js-on .site-header.is-open .site-nav {
    display: flex;
  }
  .site-nav a {
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 2px 0 0 var(--mint);
    padding-left: 0.7rem;
  }
  .site-nav .btn {
    margin: 0.9rem 0 0;
    border-bottom: 0;
    justify-content: center;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
  background-color: var(--bg);
  background-image: radial-gradient(
      120% 90% at 12% -10%,
      rgba(92, 200, 168, 0.09),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(36, 48, 64, 0.35), transparent 240px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

@media (min-width: 1020px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
}

.hero h1 {
  margin-bottom: 1.1rem;
}

.hero .lede {
  max-width: 52ch;
}

.hero__note {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

.hero__note span::before {
  content: "+ ";
  color: var(--mint);
}

/* ---------- console mockup ---------- */

.console {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: var(--panel-2);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(92, 200, 168, 0.05);
  font-size: 13px;
  min-width: 0;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.85rem;
  background-color: var(--panel);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  min-width: 0;
}

.console__dots {
  display: inline-flex;
  gap: 5px;
  flex-shrink: 0;
  margin-right: 0.2rem;
}

.console__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--line);
  display: block;
}

.console__title {
  color: var(--text);
  letter-spacing: -0.01em;
}

.console__crumb {
  color: var(--mint);
}

.console__user {
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console__body {
  display: flex;
  min-width: 0;
}

.console__rail {
  width: 138px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 0.7rem 0.5rem;
  background-color: var(--panel-2);
}

.console__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.36rem 0.55rem;
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 1px;
}

.console__nav.is-active {
  background-color: var(--mint-wash);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--mint);
}

.console__nav em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.65rem;
  background-color: var(--panel-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.35rem;
  color: var(--mint);
}

.console__main {
  flex: 1;
  min-width: 0;
  padding: 0.85rem;
}

.console__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--mint-edge);
  background-color: var(--mint-wash);
  color: var(--mint);
  white-space: nowrap;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--mint);
  display: block;
  animation: blip 1.8s ease-in-out infinite;
}

@keyframes blip {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background-color: var(--panel);
  color: var(--muted);
  white-space: nowrap;
}

.chip b {
  color: var(--text);
  font-weight: 600;
}

.chip--warn {
  border-color: rgba(251, 191, 36, 0.3);
  background-color: var(--amber-wash);
}

.chip--warn b {
  color: var(--amber);
}

.console__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
  table-layout: fixed;
}

.console__table th {
  text-align: left;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.63rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.5rem 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.console__table td {
  padding: 0.5rem 0.5rem 0.5rem 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console__table tr:last-child td {
  border-bottom: 0;
}

.console__host {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.console__days {
  font-family: var(--mono);
  text-align: right;
  width: 3.4rem;
  padding-right: 0.6rem !important;
}

.console__col--where {
  width: 38%;
}

.console__col--meter {
  width: 25%;
}

.meter {
  height: 5px;
  border-radius: 999px;
  background-color: var(--panel-3);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  min-width: 44px;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background-color: var(--mint);
}

.meter--warn i {
  background-color: var(--amber);
}

.meter--crit i {
  background-color: var(--red);
}

.is-crit {
  color: var(--red) !important;
}

.is-warn {
  color: var(--amber) !important;
}

.is-ok {
  color: var(--mint) !important;
}

@media (max-width: 720px) {
  .console__rail {
    display: none;
  }
  .console__col--where,
  .console__table td:nth-child(2),
  .console__table th:nth-child(2) {
    display: none;
  }
  .console__user {
    display: none;
  }
}

/* ---------- card grids ---------- */

.grid {
  display: grid;
  gap: 1rem;
}

.grid > * {
  min-width: 0;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--pad);
  min-width: 0;
}

.card--raised {
  background-image: linear-gradient(
    180deg,
    rgba(92, 200, 168, 0.05),
    transparent 90px
  );
}

/* A card title is a section-level heading where the band has no header of
   its own, so it may be an h2. Keep both at card scale. */
.card h2,
.card h3 {
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.card__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--mint);
  display: block;
  margin-bottom: 0.9rem;
}

/* ---------- pillar cards ---------- */

.pillar {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pillar__step {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
  margin-bottom: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.pillar__step b {
  color: var(--mint);
  font-weight: 500;
}

.pillar p {
  color: var(--muted);
  font-size: 0.96rem;
}

.pillar ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.pillar li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--mint);
}

/* ---------- facts band ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: var(--panel);
}

.fact {
  padding: 1.5rem var(--pad);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.fact__n {
  font-family: var(--mono);
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 500;
  color: var(--mint);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.55rem;
}

.fact__t {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* ---------- narrative ---------- */

.narrative {
  border-left: 2px solid var(--mint);
  padding-left: clamp(1.2rem, 3.5vw, 2.4rem);
}

.narrative h2 {
  max-width: 20ch;
}

.narrative p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  max-width: 64ch;
}

.narrative p strong {
  color: var(--text);
  font-weight: 500;
}

/* ---------- feature rows ---------- */

.feature {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line-soft);
}

/* Grid items default to min-width:auto, so a long unbroken line inside a
   <pre> would stretch the track instead of scrolling. Pin the tracks. */
.feature > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature--flip .feature__art {
    order: -1;
  }
}

.feature__art {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: var(--panel);
  background-image: linear-gradient(
    145deg,
    rgba(92, 200, 168, 0.08),
    rgba(17, 23, 33, 0) 70%
  );
  aspect-ratio: 4 / 3;
}

.feature__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--panel);
}

.feature h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.feature p {
  color: var(--muted);
}

.feature__list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature__list li {
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-top: 1px solid var(--line-soft);
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 7px;
  height: 1px;
  background-color: var(--mint);
}

.feature__list b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- wide banner ---------- */

.banner {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: var(--panel);
  background-image: linear-gradient(
    145deg,
    rgba(92, 200, 168, 0.08),
    rgba(17, 23, 33, 0) 70%
  );
  aspect-ratio: 16 / 9;
  max-height: 420px;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--panel);
}

/* ---------- chips row ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--line);
  background-color: var(--panel);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.92rem;
  color: var(--text);
}

/* ---------- CTA band ---------- */

.cta {
  background-color: var(--panel);
  background-image: radial-gradient(
    90% 140% at 8% 0%,
    rgba(92, 200, 168, 0.13),
    transparent 62%
  );
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5.5vw, 3.4rem);
}

.cta h2 {
  max-width: 22ch;
}

.cta p {
  color: var(--muted);
  max-width: 58ch;
}

/* ---------- pricing ---------- */

/* Four editions across on a wide screen, two up on a tablet, one on a phone.
   Explicit tracks rather than auto-fit, so the row never lands on 3 + 1. */
.grid--editions {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 620px) {
  .grid--editions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .grid--editions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.price-card {
  position: relative;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Sits on the top edge of the card it marks. */
.price-card__flag {
  position: absolute;
  top: -0.68rem;
  left: var(--pad);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background-color: var(--mint);
  color: var(--mint-ink);
  border-radius: 999px;
  padding: 0.16rem 0.62rem;
  white-space: nowrap;
}

.price-card--accent {
  border-color: var(--mint-edge);
  background-image: linear-gradient(
    180deg,
    rgba(92, 200, 168, 0.08),
    transparent 130px
  );
}

.price-card__tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
  display: block;
}

.price-card--accent .price-card__tag {
  color: var(--mint);
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price-card__cap {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--mint);
  margin-bottom: 0.7rem;
}

.price-card__price {
  font-family: var(--mono);
  font-size: clamp(1.95rem, 3.1vw, 2.45rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.price-card__terms {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

/* Secondary to the perpetual price above it, deliberately. */
.price-card__sub {
  font-size: 0.83rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 0.7rem;
  margin-bottom: 1.1rem;
}

.price-card__terms b,
.price-card__sub b {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.tag-dev {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background-color: var(--amber-wash);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  padding: 0 0.42rem;
  margin-left: 0.3rem;
  white-space: nowrap;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.price-card li {
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-top: 1px solid var(--line-soft);
  position: relative;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid var(--mint-edge);
  background-color: var(--mint-wash);
}

.price-card__actions {
  margin-top: auto;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}

.price-card__actions .btn {
  width: 100%;
}

.price-card__alt {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  text-underline-offset: 3px;
}

.price-card__alt:hover {
  color: var(--mint);
}

.price-note {
  margin: 1.4rem 0 0;
  font-size: 0.92rem;
  max-width: 78ch;
}

.price-note + .price-note {
  margin-top: 0.9rem;
}

/* ---------- faq ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  padding-block: 1.6rem;
  display: grid;
  gap: 0.4rem 2.5rem;
}

@media (min-width: 860px) {
  .faq__item {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.faq__item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.faq__item p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.steps > li {
  counter-increment: step;
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0 1.5rem 3.2rem;
  position: relative;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--mint);
  border: 1px solid var(--mint-edge);
  background-color: var(--mint-wash);
  border-radius: var(--r-sm);
  width: 2.1rem;
  text-align: center;
  line-height: 1.7;
}

.steps h3 {
  margin-bottom: 0.35rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- spec table ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: var(--panel);
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 480px;
}

.spec th,
.spec td {
  text-align: left;
  padding: 0.85rem var(--pad);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.spec thead th {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.spec tbody th {
  font-weight: 600;
  color: var(--text);
  width: 34%;
}

.spec td {
  color: var(--muted);
}

.spec tbody tr:last-child th,
.spec tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background-color: var(--panel-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 3rem;
}

.footer__brand {
  max-width: 34ch;
}

.footer__brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.footer__col h2 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: 0.55rem;
}

.footer__col a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.93rem;
}

.footer__col a:hover {
  color: var(--mint);
  text-decoration: underline;
}

.footer__bar {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__bar p {
  margin: 0;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--section);
}

.notfound__code {
  font-family: var(--mono);
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  color: var(--mint);
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

/* ---------- reveal ---------- */

@keyframes rise {
  from {
    opacity: 0.001;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal.is-in {
  animation: rise 0.55s cubic-bezier(0.22, 0.75, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal.is-in {
    animation: none;
  }
  .pill__dot {
    animation: none;
  }
  .btn:active {
    transform: none;
  }
}

/* ---------- small screens ---------- */

@media (max-width: 480px) {
  .wrap,
  .wrap--narrow {
    width: min(1160px, 100% - 1.75rem);
  }
  body {
    font-size: 16px;
  }
  .fact {
    padding: 1.2rem 1.1rem;
  }
}
