/* =============================================================================
   Revenue Recovery AI — public acquisition homepage
   Hand-written CSS. No framework, no external font, no runtime dependency.

   Design language
     - near-black surfaces taken from the product accent (#14171C) and the logo tile
     - one accent green (#0F7B4F -> #22C55E, the product's success colour) and one
       technical blue (#38BDF8, already used across the acquisition graphics)
     - restrained 1px borders and flat surfaces instead of shadows
     - monospace for anything a buyer should read as *technical* (ids, counts,
       capability names, signature schemes)
     - an extremely low-contrast grid as the only decoration
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */

:root {
  --bg:            #0A0C10;
  --bg-alt:        #0D1016;
  --surface:       #12161C;
  --surface-2:     #171C24;
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.18);

  --text:          #F4F6F8;
  --text-2:        #B4BDC8;
  --text-3:        #8B95A2;

  --green:         #22C55E;
  --green-deep:    #0F7B4F;
  --sky:           #38BDF8;
  --amber:         #F5B044;
  --rose:          #F97362;

  --radius:        14px;
  --radius-sm:     10px;
  --maxw:          1180px;

  --font: Inter, "Inter var", system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, SFMono-Regular, Consolas,
          "Liberation Mono", Menlo, monospace;

  --pad-x: 20px;
  /* Anchor offset. Tracks the real header height: the nav wraps to a second row
     when the window is narrow, which makes the header roughly 103px tall. */
  --scroll-offset: 112px;
}

@media (min-width: 720px) { :root { --pad-x: 32px; } }
@media (min-width: 1080px) { :root { --scroll-offset: 80px; } }
@media (max-width: 800px)  { :root { --scroll-offset: 128px; } }

/* ------------------------------------------------------------------ base -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 1.3rem + 2.9vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem);  font-weight: 680; }
h3 { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);  font-weight: 640; }
h4 { font-size: 1.02rem; font-weight: 640; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

strong { color: var(--text); font-weight: 640; }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

figure { margin: 0; }
figcaption { margin-top: 0.85rem; font-size: 0.9rem; color: var(--text-3); }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(34, 197, 94, 0.28); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--green);
  color: #06210F;
  font-weight: 640;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  position: relative;
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--line);
}

.section--alt { background: var(--bg-alt); }

.section[id], .hero[id] { scroll-margin-top: var(--scroll-offset); }

.section__lead {
  max-width: 62ch;
  margin-bottom: clamp(28px, 3.4vw, 44px);
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem);
  color: var(--text-2);
}

.eyebrow {
  margin: 0 0 0.7em;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.subhead {
  margin-top: clamp(40px, 4.5vw, 60px);
  margin-bottom: 1.1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--line);
}

.note {
  max-width: 80ch;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: 0.88rem;
  color: var(--text-3);
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 640;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand__mark { display: block; border-radius: 8px; }

.nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  padding: 7px 11px;
  font-size: 0.87rem;
  color: var(--text-3);
  border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.nav__cta {
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
}
.nav__cta:hover { border-color: var(--green); background: rgba(34, 197, 94, 0.1) !important; }

.nav a[aria-current="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 800px) {
  .nav { flex-basis: 100%; justify-content: flex-start; margin-inline: calc(var(--pad-x) * -1); padding-inline: var(--pad-x); }
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(56px, 8vw, 116px) clamp(52px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right,  rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 46% 42% at 18% 6%,  rgba(34, 197, 94, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 40% at 88% 22%, rgba(56, 189, 248, 0.10), transparent 72%);
  pointer-events: none;
}

.hero__inner { max-width: 900px; }

.hero__mark {
  display: block;
  width: clamp(76px, 9vw, 104px);
  height: auto;
  margin-bottom: clamp(20px, 3vw, 30px);
  border-radius: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 1.15em;
  padding: 7px 15px 7px 13px;
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.badge__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.hero__title { margin-bottom: 0.5em; }

.hero__lead {
  max-width: 66ch;
  font-size: clamp(1.03rem, 0.99rem + 0.3vw, 1.18rem);
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.2vw, 36px);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: clamp(34px, 4vw, 52px) 0 0;
  padding: clamp(18px, 2.2vw, 24px) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-3);
}
.hero__facts strong {
  font-family: var(--mono);
  font-size: 1.02rem;
  font-weight: 640;
  color: var(--text);
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: -0.005em;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  color: #06210F;
  background: linear-gradient(180deg, #2AD169, var(--green));
  border-color: rgba(255, 255, 255, 0.16);
}
.btn--primary:hover { background: linear-gradient(180deg, #36DA74, #1FBB58); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }

.btn--lg { min-height: 54px; padding: 15px 30px; font-size: 1rem; }

/* ---------------------------------------------------------------- cards -- */

.grid { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.grid--2, .grid--3 { grid-template-columns: 1fr; }

@media (min-width: 700px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: clamp(18px, 2vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3, .card h4 { margin-bottom: 0; }
.card p { font-size: 0.94rem; }

.card--lg { gap: 0.9em; }
.card--compact { gap: 0.4em; }

.card__head {
  /* Badge sits immediately after the heading and wraps to the next line when the
     heading is long, so the rule is consistent across a row of cards. */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

/* --------------------------------------------------------------- badges -- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-size: 0.73rem;
  font-weight: 580;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}
.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.tag--ok    { color: #56D98C; border-color: rgba(34, 197, 94, 0.35);  background: rgba(34, 197, 94, 0.09); }
.tag--info  { color: #6FCDEC; border-color: rgba(56, 189, 248, 0.32);  background: rgba(56, 189, 248, 0.08); }
.tag--warn  { color: #F0B864; border-color: rgba(245, 176, 68, 0.35);  background: rgba(245, 176, 68, 0.09); }
.tag--muted { color: var(--text-3); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.tag--mono  { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; }

/* ---------------------------------------------------------------- lists -- */

.ticks, .crosses {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.62em;
  font-size: 0.92rem;
}

.ticks li, .crosses li {
  position: relative;
  padding-left: 27px;
}

.ticks li::before, .crosses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2322C55E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.4l3.4 3.4L13 5'/%3E%3C/svg%3E");
}

.crosses li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F97362' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7'/%3E%3C/svg%3E");
}

.ticks li.is-caveat::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F5B044' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 3.2v6M8 12.4h.01'/%3E%3C/svg%3E");
}
.ticks li.is-caveat { color: var(--text-3); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 7px 13px;
  font-family: var(--mono);
  font-size: 0.79rem;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chips--lg li {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 560;
  color: var(--text);
  padding: 11px 18px;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6em 28px;
  margin: 0 0 clamp(28px, 3.4vw, 40px);
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
}
.checklist li { position: relative; padding-left: 27px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2322C55E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.4l3.4 3.4L13 5'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (min-width: 640px)  { .checklist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .checklist { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------- pipeline -- */

.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 700px)  { .pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pipeline { grid-template-columns: repeat(3, 1fr); } }

.pipeline__step {
  position: relative;
  padding: clamp(18px, 2vw, 22px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pipeline__step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  opacity: 0.75;
}
.pipeline__step h3 { margin-bottom: 0.25em; }
.pipeline__step p { margin: 0; font-size: 0.91rem; }

.pipeline__num {
  display: block;
  margin-bottom: 0.6em;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

/* --------------------------------------------------------------- layers -- */

.layers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
@media (min-width: 860px) { .layers { grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 3vw, 44px); } }

.layers li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}
.layers__n {
  flex: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.9;
  color: var(--green);
}

/* --------------------------------------------------------------- tables -- */

.table-wrap {
  margin-top: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--surface);
}

table { width: 100%; border-collapse: collapse; min-width: 760px; }

caption {
  padding: 15px clamp(16px, 2vw, 22px);
  text-align: left;
  font-size: 0.86rem;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
}

th, td {
  padding: 12px clamp(16px, 2vw, 22px);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.89rem;
}

thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.025);
}

tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
tbody th { font-weight: 620; color: var(--text); white-space: nowrap; }
td code { font-size: 0.8em; }

.status-table { min-width: 420px; }
.status-table th { width: 58%; font-weight: 560; color: var(--text-2); white-space: normal; }
.status-table td { color: var(--text-3); }
.status-table td strong { color: var(--text); }

/* ------------------------------------------------------------ callouts --- */

.callout {
  margin-top: clamp(28px, 3.4vw, 42px);
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 26px);
  background: rgba(56, 189, 248, 0.045);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sky);
  border-radius: var(--radius-sm);
}
.callout p { max-width: 88ch; font-size: 0.94rem; }
.callout__title {
  margin-bottom: 0.45em !important;
  font-family: var(--mono);
  font-size: 0.75rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}
.callout--warn { background: rgba(245, 176, 68, 0.05); border-left-color: var(--amber); }
.callout--warn .callout__title { color: var(--amber); }

/* ------------------------------------------------------------ legend/dt -- */

.legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 26px;
  margin: 0 0 clamp(28px, 3.4vw, 40px);
  padding: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
@media (min-width: 880px) { .legend { grid-template-columns: repeat(3, 1fr); } }

.legend dt { margin-bottom: 0.4em; }
.legend dd { margin: 0; font-size: 0.88rem; color: var(--text-3); }

/* ----------------------------------------------------------- shot/figs -- */

.shot img, .figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

/* Screenshots have mixed intrinsic ratios, so rows must not stretch their items. */
#screenshots .grid { align-items: start; }

.shot__meta {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.figure { margin: clamp(24px, 3vw, 36px) 0 0; }

.scroll-x {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.scroll-x img {
  /* Below ~700px a wide diagram becomes unreadable, so it scrolls inside its own
     framed container instead of shrinking further. Above that it scales to fit and
     the figcaption offers the full-resolution file. */
  min-width: 700px;
  border: 0;
  border-radius: 0;
}

/* ---------------------------------------------------------------- stats -- */

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 560px)  { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--surface);
}
.stat__num {
  font-size: clamp(2.15rem, 1.7rem + 1.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.92rem; font-weight: 560; color: var(--text-2); }
.stat__meta { font-family: var(--mono); font-size: 0.73rem; color: var(--text-3); }

.stats__total {
  margin: clamp(18px, 2.2vw, 24px) 0 0;
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.14rem);
  color: var(--text-2);
}
.stats__total strong {
  font-family: var(--mono);
  font-size: 1.25em;
  color: var(--green);
}

/* ----------------------------------------------------------------- tiers -- */

.tiers { margin-bottom: clamp(4px, 1vw, 8px); }
.tier h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tier__badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
}
.tier--a { border-left: 3px solid var(--green-deep); }
.tier--b { border-left: 3px solid var(--amber); }
.tier__verdict { margin-top: auto; padding-top: 0.6em; font-size: 0.9rem; }

/* ---------------------------------------------------------------- status -- */

.status-flag {
  display: inline-block;
  padding: 2px 14px;
  color: var(--amber);
  border: 1px solid rgba(245, 176, 68, 0.4);
  background: rgba(245, 176, 68, 0.09);
  border-radius: 999px;
}

.section--status .card h3 { color: var(--text); }

/* ------------------------------------------------------------------ cta -- */

.section--cta {
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(34, 197, 94, 0.10), transparent 70%),
    var(--bg-alt);
}

.cta-block {
  margin-top: clamp(34px, 4vw, 48px);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cta-note {
  /* Must stay a plain block: as a flex container each inline run became its own flex
     item, so the sentence wrapped into fragments that started with punctuation. */
  margin: 16px 0 0;
  max-width: 76ch;
  font-size: 0.88rem;
  color: var(--text-3);
}
.cta-note .tag {
  display: inline-flex;
  vertical-align: 1px;
  margin-right: 4px;
}
.cta-note code { white-space: nowrap; }

.contact {
  margin-top: clamp(28px, 3.4vw, 40px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.contact p { max-width: 76ch; font-size: 0.94rem; }

/* ---------------------------------------------------------------- footer -- */

.site-footer {
  padding-block: clamp(38px, 4.5vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.88rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(22px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
}

.site-footer__brand { display: flex; align-items: center; gap: 13px; }
.site-footer__brand img { display: block; border-radius: 10px; }
.site-footer__name { margin: 0; font-weight: 640; color: var(--text); }
.site-footer__legal { margin: 0; color: var(--text-3); }

.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer__nav a { color: var(--text-3); font-size: 0.86rem; }
.site-footer__nav a:hover { color: var(--text); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding-top: clamp(20px, 2.4vw, 26px);
  max-width: 92ch;
  color: var(--text-3);
  font-size: 0.84rem;
}
.site-footer__bottom p { margin: 0; }

/* ------------------------------------------------------- reduced motion -- */

@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;
  }
  .btn:hover { transform: none; }
}

/* ------------------------------------------------------------- narrow ----- */

@media (max-width: 420px) {
  .hero__facts { gap: 8px 18px; font-size: 0.84rem; }
  .brand__name { font-size: 0.94rem; }
  .btn { width: 100%; }
  .hero__actions { gap: 10px; }
}
