/* ==========================================================================
   Virza — company site
   Palette is anchored on the logo indigo (#495191) with the app's magenta
   as the single accent. Editorial serif display + geometric sans body,
   matching virza_app's DESIGN_GUIDE.md pairing.
   ========================================================================== */

:root {
  /* Ink / dark grounds */
  --ink: #0b0d24;
  --ink-2: #14183c;
  --ink-3: #1f2554;

  /* Brand */
  --brand: #495191;
  --brand-2: #5d66ad;
  --brand-3: #8d95d6;
  --brand-tint: #eef0fa;
  --brand-tint-2: #e2e5f6;

  /* Accent (the app's magenta) */
  --accent: #e10098;
  --accent-2: #ff42bb;
  --accent-tint: #fdeaf7;

  /* Support */
  --gold: #e39413;
  --gold-tint: #fdf3e2;
  --green: #00b894;
  --green-tint: #e3f7f2;
  --blue: #2f6fe4;
  --blue-tint: #e8f0fd;

  /* Surfaces & text */
  --paper: #ffffff;
  --paper-2: #f6f7fc;
  --paper-3: #eef0f7;
  --line: #e4e7f2;
  --text: #171a33;
  --muted: #63678c;

  /* Type */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Metrics */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 9vw, 132px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(11, 13, 36, 0.04), 0 4px 12px rgba(11, 13, 36, 0.05);
  --shadow: 0 2px 4px rgba(11, 13, 36, 0.04), 0 12px 32px rgba(11, 13, 36, 0.08);
  --shadow-lg: 0 8px 16px rgba(11, 13, 36, 0.06), 0 32px 64px rgba(11, 13, 36, 0.16);
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- type -- */

.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
}
.h2 {
  font-size: clamp(2.05rem, 3.9vw, 3.1rem);
}
.h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  line-height: 1.2;
}

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 450;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.ital {
  font-style: italic;
  font-weight: 500;
}

.hl {
  color: var(--accent);
}

.on-dark {
  color: #fff;
}
.on-dark .lead,
.on-dark .muted {
  color: rgba(255, 255, 255, 0.68);
}
.on-dark .eyebrow {
  color: var(--brand-3);
}

.muted {
  color: var(--muted);
}

/* -------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(52px, 6vw, 84px);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}

.stack > * + * {
  margin-top: var(--gap, 22px);
}

.head {
  max-width: 62ch;
}

.head--center {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.split {
  display: grid;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  grid-template-columns: 1fr;
}

/* Pull an element to the front of its split, at every width. */
.split__flip {
  order: -1;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--wide-first {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .split--wide-last {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .split--top {
    align-items: start;
  }
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, color 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(73, 81, 145, 0.32);
}

.btn--primary:hover {
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(225, 0, 152, 0.32);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--paper);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  background: var(--accent);
  color: #fff;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
}

.link-arrow span {
  transition: transform 0.16s ease;
}

.link-arrow:hover {
  color: var(--accent);
}
.link-arrow:hover span {
  transform: translateX(4px);
}

/* -------------------------------------------------------------- header -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
}

.nav__logo img {
  height: 30px;
  width: auto;
}

.nav__links {
  display: none;
  margin-left: auto;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__link:hover {
  color: var(--text);
  background: var(--paper-2);
}

.nav__link.is-active {
  color: var(--brand);
  background: var(--brand-tint);
}

.nav__cta {
  margin-left: auto;
  padding: 11px 20px;
  font-size: 0.9rem;
}

.menu {
  margin-left: auto;
}

.menu__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.menu__btn::-webkit-details-marker {
  display: none;
}

.menu[open] .menu__btn {
  border-color: var(--brand);
  color: var(--brand);
}

.menu__panel {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  margin-top: 12px;
  padding: 10px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.menu__panel .nav__link {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
}

@media (min-width: 940px) {
  .nav__links {
    display: flex;
  }
  .nav__cta {
    margin-left: 6px;
  }
  .menu {
    display: none;
  }
}

@media (max-width: 939px) {
  .nav__cta {
    margin-left: 10px;
    padding: 10px 18px;
  }
}

@media (max-width: 460px) {
  .nav__cta {
    display: none;
  }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 110px) clamp(72px, 9vw, 120px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero::before {
  width: 820px;
  height: 820px;
  top: -420px;
  left: -220px;
  background: radial-gradient(circle, rgba(93, 102, 173, 0.55), transparent 62%);
}

.hero::after {
  width: 700px;
  height: 700px;
  right: -260px;
  bottom: -400px;
  background: radial-gradient(circle, rgba(225, 0, 152, 0.3), transparent 62%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero--page {
  padding-block: clamp(56px, 6vw, 84px) clamp(60px, 7vw, 96px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(255, 66, 187, 0.22);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 8px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.fact svg {
  flex: none;
  color: var(--brand-3);
}

/* --------------------------------------------------------------- cards -- */

.card {
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-tint-2);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--brand-tint);
  color: var(--brand);
}

.card__icon--accent {
  background: var(--accent-tint);
  color: var(--accent);
}
.card__icon--green {
  background: var(--green-tint);
  color: var(--green);
}
.card__icon--gold {
  background: var(--gold-tint);
  color: var(--gold);
}
.card__icon--blue {
  background: var(--blue-tint);
  color: var(--blue);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Audience cards */
.audience {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 46px);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: #fff;
  min-height: 340px;
}

.audience--creator {
  background: linear-gradient(150deg, #343a6e 0%, #495191 52%, #5d66ad 100%);
}

.audience--business {
  background: linear-gradient(150deg, #1a1d42 0%, #2f2159 48%, #6d1361 100%);
}

.audience::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.audience > * {
  position: relative;
  z-index: 1;
}

.audience h3 {
  margin: 14px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.audience p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.audience ul {
  margin: 22px 0 28px;
  display: grid;
  gap: 11px;
}

.audience li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.audience li svg {
  flex: none;
  margin-top: 4px;
  color: var(--accent-2);
}

.audience .btn {
  align-self: flex-start;
  margin-top: auto;
}

.audience__tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------- steps -- */

.steps {
  display: grid;
  gap: 28px;
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  position: relative;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  position: relative;
  z-index: 1;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 46px;
  right: -28px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand-tint-2) 0 6px,
    transparent 6px 12px
  );
}

@media (max-width: 719px) {
  .step:not(:last-child)::before {
    display: none;
  }
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------ features -- */

.feature-row {
  display: grid;
  gap: 14px 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

@media (min-width: 820px) {
  .feature-row {
    grid-template-columns: 0.42fr 0.58fr;
  }
}

.feature-row h3 {
  font-size: 1.24rem;
  font-weight: 700;
  font-family: var(--display);
}

.feature-row p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.chip--brand {
  border-color: var(--brand-tint-2);
  background: var(--brand-tint);
  color: var(--brand);
}

/* ---------------------------------------------------------- pull quote -- */

.statement {
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.checklist {
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 1rem;
}

.checklist svg {
  flex: none;
  margin-top: 4px;
  color: var(--green);
}

.checklist strong {
  color: var(--text);
  font-weight: 700;
}

/* ------------------------------------------------------------- CTA band -- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--brand) 62%, #7c2a86 100%);
  color: #fff;
  text-align: center;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent 75%);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .btns {
  justify-content: center;
}

/* -------------------------------------------------------------- footer -- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(52px, 6vw, 76px) 34px;
  font-size: 0.93rem;
}

.footer__grid {
  display: grid;
  gap: 38px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.footer__brand img {
  height: 32px;
  width: auto;
}

.footer__tagline {
  display: block;
  margin: 12px 0 18px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brand-3);
}

.footer__brand p {
  max-width: 34ch;
  line-height: 1.6;
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.footer li + li {
  margin-top: 10px;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
}

/* ================================================================ PHONE ==
   CSS recreations of Virza app screens. Crisp at any resolution and free of
   the placeholder data that real device captures currently carry.
   ======================================================================== */

.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 560px;
}

.phone {
  width: 272px;
  flex: none;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2b2f52, #0a0c1c);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.phone__screen {
  position: relative;
  height: 552px;
  border-radius: 34px;
  overflow: hidden;
  background: #fbfbfe;
  font-size: 11px;
  line-height: 1.45;
  color: #1b1d36;
  display: flex;
  flex-direction: column;
}

.phone--back {
  position: absolute;
  left: 50%;
  top: 46px;
  transform: translateX(-98%) rotate(-7deg) scale(0.9);
  opacity: 0.94;
  z-index: 0;
}

.phone--front {
  position: relative;
  z-index: 1;
  transform: translateX(10%) rotate(3.5deg);
}

@media (max-width: 1099px) {
  .phones {
    min-height: 0;
    gap: 18px;
  }
  .phone--back {
    display: none;
  }
  .phone--front {
    transform: none;
  }
}

/* App bar */
.ui-bar {
  padding: 18px 16px 16px;
  background: linear-gradient(150deg, #4b5499 0%, #3c4382 55%, #232a5e 100%);
  color: #fff;
}

.ui-bar--plain {
  background: #fff;
  color: #1b1d36;
  border-bottom: 1px solid #eef0f7;
}

.ui-bar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ui-bar h4 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ui-bar p {
  font-size: 10px;
  opacity: 0.72;
  margin-top: 3px;
}

.ui-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.ui-badge--gold {
  background: rgba(227, 148, 19, 0.16);
  color: #f3b33f;
  border: 1px solid rgba(227, 148, 19, 0.4);
}
.ui-badge--green {
  background: var(--green-tint);
  color: #00896c;
}
.ui-badge--blue {
  background: var(--blue-tint);
  color: var(--blue);
}
.ui-badge--grey {
  background: #eef0f7;
  color: #767a9e;
}
.ui-badge--accent {
  background: var(--accent-tint);
  color: var(--accent);
}

.ui-body {
  flex: 1;
  padding: 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  background: #f7f8fc;
}

.ui-card {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 13, 36, 0.04), 0 6px 16px rgba(11, 13, 36, 0.05);
}

.ui-card--accent {
  border: 1px solid #fbd9ef;
  background: linear-gradient(180deg, #fff6fc, #fff);
}

.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ui-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.ui-sub {
  font-size: 10px;
  color: #767a9e;
}

.ui-price {
  font-size: 12px;
  font-weight: 800;
  color: #1b1d36;
  white-space: nowrap;
}

.ui-meter {
  display: flex;
  gap: 4px;
  margin: 9px 0 7px;
}

.ui-meter i {
  height: 4px;
  flex: 1;
  border-radius: 3px;
  background: #e6e8f2;
}

.ui-meter i.on {
  background: var(--brand);
}
.ui-meter i.accent {
  background: var(--accent);
}

.ui-stats {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 6px;
}

.ui-stats div {
  flex: 1;
}

.ui-stats span {
  display: block;
  font-size: 9px;
  color: #878bad;
  margin-bottom: 3px;
}

.ui-stats b {
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.ui-sep {
  height: 1px;
  background: #eef0f7;
  margin: 10px 0;
}

.ui-tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 13, 36, 0.05);
}

.ui-tabs b {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  border-radius: 9px;
  font-size: 10.5px;
  font-weight: 700;
  color: #767a9e;
}

.ui-tabs b.on {
  background: var(--accent);
  color: #fff;
}

.ui-thumb {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
}

.ui-thumb--brand {
  background: var(--brand-tint);
  color: var(--brand);
}

.ui-link {
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  background: #f3f4fa;
  font-size: 9.5px;
  color: #767a9e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-link--ok {
  background: var(--green-tint);
  color: #00896c;
}

.ui-cta {
  margin-top: 2px;
  padding: 11px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
}

.ui-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 6px 13px;
  background: #fff;
  border-top: 1px solid #eef0f7;
}

.ui-nav div {
  display: grid;
  justify-items: center;
  gap: 3px;
  font-size: 8.5px;
  font-weight: 600;
  color: #9a9db8;
}

.ui-nav div.on {
  color: var(--brand);
}

.ui-hero-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ------------------------------------------------------------- utility -- */

.center {
  text-align: center;
}

.mt-s {
  margin-top: 14px;
}
.mt-m {
  margin-top: 26px;
}
.mt-l {
  margin-top: 44px;
}

.note {
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 600;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin: 46px 0 14px;
  font-family: var(--display);
  font-size: 1.6rem;
}

.prose h3 {
  margin: 30px 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 14px;
}

.prose ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 20px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list a {
  font-weight: 700;
  color: var(--brand);
}

.contact-list a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------- motion -- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .card--hover:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------- 404 --- */

.err {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(80px, 14vw, 160px);
}

.err__code {
  font-family: var(--display);
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 1;
  color: var(--brand-tint-2);
}
