/* Rentrexa marketing site — layout modelled on the supplied reference, in Rentrexa colours. */
:root {
  --brand: #173ded;
  --brand-600: #1433d4;
  --brand-700: #1129b8;
  --brand-50: #f0f3fe;
  --ink: #111827;
  --ink-2: #4b5563;
  --muted: #6b7280;
  --line: #e7eaf3;
  --card: #ffffff;
  --page-bg: #e8f0ff; /* light blue page background */
  /* Card edges: visible against the light-blue page */
  --card-edge: #cbd6f5;
  --card-shadow: 0 1px 2px rgba(17, 41, 184, 0.06), 0 12px 32px rgba(17, 41, 184, 0.1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background: var(--page-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.ico { width: 18px; height: 18px; flex: none; }
.br-d { display: inline; }

/* Full-bleed page. Pale geometric facets sit behind the nav and hero only, fading into the page background. */
.frame {
  overflow: hidden; overflow: clip; position: relative; /* clip (not hidden) so the sticky navbar inside still sticks */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.45) 55%, var(--page-bg) 100%) top center / 100% 820px no-repeat,
    url("facets.svg") top center / 100% 820px no-repeat,
    var(--page-bg);
}
.wrap { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 96px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 22px;
  border-radius: 10px; font: inherit; font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-xs { height: 34px; padding: 0 16px; font-size: 13px; border-radius: 9px; }
.btn-dark { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(23, 61, 237, 0.28); }
.btn-dark:hover { background: var(--brand-600); }
.btn-white { background: #fff; color: var(--ink); border-color: #dfe3ee; }
.btn-white:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; }
.btn-arrow { padding-right: 6px; gap: 12px; }
.btn-arrow span { width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--brand); display: grid; place-items: center; }
.btn-arrow .ico { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
/* Black bar with no divider, so it runs straight into the hero's dark top edge. */
.nav { position: sticky; top: 0; z-index: 50; background: #000000; transition: box-shadow 0.2s; }
.nav.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28); }
.footer :focus-visible { outline-color: #ffffff; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.nav-logo img { height: 22px; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links > a { color: rgba(255, 255, 255, 0.72); font-size: 13.5px; font-weight: 500; }
.nav-links > a:hover { color: #fff; }
/* Active tab (set by site.js for the section in view): brand colour with a small bar underneath. */
.nav-links > a { position: relative; transition: color 0.2s; }
.nav-links > a.active { color: #fff; font-weight: 600; }
.nav-links > a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 18px; height: 3px; border-radius: 3px; background: var(--brand); transform: translateX(-50%) scaleX(0); transition: transform 0.25s ease; }
.nav-links > a.active::after { transform: translateX(-50%) scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login { color: #fff; font-size: 13.5px; font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: #fff; cursor: pointer; margin-left: auto; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-mobile-actions { display: none; }

/* ---------- Hero ---------- */
/* Hero photo in its natural colours, with a neutral dark shade so the white copy stays readable. */
.hero {
  position: relative; text-align: center; padding: 72px 0 56px; overflow: hidden; color: #fff;
  background:
    linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.55) 90px, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.6) 100%),
    url("assets/site/hero-bg.webp") center 55% / cover no-repeat,
    #1f2937;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25); }
.hero-sub { color: rgba(255, 255, 255, 0.86); margin: 18px auto 0; max-width: 700px; font-size: 14.5px; }
.hero .microline, .hero .hero-social-txt span { color: rgba(255, 255, 255, 0.72); }
.hero .btn-white { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); }
.hero .btn-white:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .avatars span { border-color: rgba(255, 255, 255, 0.85); }
.hero .hero-stats { color: var(--ink); }
.hero-btns { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hero-social { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #5a78ff, var(--brand)); margin-left: -9px; box-shadow: 0 2px 6px rgba(17, 41, 184, 0.2);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #7d95ff, #3a5cff); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #a9b9ff, #5a78ff); }
.avatars .ico { width: 15px; height: 15px; }
.hero-social-txt { text-align: left; line-height: 1.35; }
.hero-social-txt b { display: block; font-size: 13px; }
.hero-social-txt span { font-size: 12px; color: var(--muted); }
.hero-stats {
  display: inline-grid; grid-template-columns: repeat(3, auto); margin-top: 26px; text-align: left;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 41, 184, 0.08); backdrop-filter: blur(10px);
}
.hero-stats div { padding: 14px 26px; }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.hero-stats span { font-size: 11.5px; color: var(--muted); }
.microline { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Shared section heading ---------- */
section, section.wrap { padding-top: 84px; }
.h2 { font-size: clamp(24px, 2.6vw, 32px); text-align: center; font-weight: 600; letter-spacing: -0.03em; }
.sub { text-align: center; color: var(--muted); font-size: 13.5px; margin: 12px auto 0; max-width: 560px; }

/* ---------- Tools strip (logo row) ---------- */
.tools.wrap { padding-top: 70px; }
/* Feature strip on a 3D wheel spinning backwards: the front moves left to right and items curve away behind.
   Twelve slots, 30° apart, on a wheel of radius --r. Reduced motion falls back to a static row. */
.logos {
  --r: 560px; --spin: 36s;
  position: relative; height: 56px; margin-top: 30px; perspective: 1400px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 30%, #000 70%, transparent 92%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 30%, #000 70%, transparent 92%);
}
.logos-wheel { position: absolute; inset: 0; transform-style: preserve-3d; animation: logos-spin var(--spin) linear infinite; }
.logos:hover .logos-wheel { animation-play-state: paused; }
.logos-wheel span {
  position: absolute; left: 50%; top: 50%; white-space: nowrap; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: translate(-50%, -50%) rotateY(calc(var(--i) * 30deg)) translateZ(var(--r));
}
@keyframes logos-spin { from { transform: translateZ(calc(-1 * var(--r))) rotateY(0deg); } to { transform: translateZ(calc(-1 * var(--r))) rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .logos { height: auto; perspective: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .logos-wheel { position: static; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 42px; animation: none; transform: none; }
  .logos-wheel span { position: static; transform: none; }
  .logos-wheel span[aria-hidden] { display: none; }
}
.logos span { display: inline-flex; align-items: center; gap: 8px; color: #6b7280; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; filter: grayscale(1); opacity: 0.85; }
.logos .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #4b5563; color: #fff; }

/* ---------- Problem ---------- */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.pain { background: #f7f8fc; border: 1px solid #eef0f6; border-radius: 16px; padding: 22px; }
.pain h3, .trust h3 { font-size: 15px; margin-top: 16px; }
.pain p, .trust p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.bridge { text-align: center; font-size: 16px; font-weight: 600; margin: 34px auto 0; max-width: 640px; }

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.step { position: relative; background: #fff; border: 1px solid #eceff7; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(17, 41, 184, 0.06); }
.step-n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.step h3 { font-size: 15.5px; margin-top: 16px; }
/* Hidden until the deck animation (site.js) plays; shown straight away with reduced motion or no JS. */
.js .steps:not(.deck-done) .step { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .steps .step { opacity: 1; } }
.step p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Globe card ---------- */
.globe-card {
  border-radius: 22px; padding: 46px 30px 0; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #edf1ff 0%, #f6f8ff 60%, #ffffff 100%); border: 1px solid #eef1fb;
}
.globe { position: relative; max-width: 640px; margin: 18px auto 0; }
.globe svg { width: 100%; height: auto; display: block; }
.flag { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translate(-50%, 0); }
.flag b {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff;
  border: 3px solid #fff; box-shadow: 0 6px 14px rgba(17, 41, 184, 0.25);
}
.flag em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, 0.85); padding: 1px 7px; border-radius: 99px; }
/* South Africa map variant */
.globe-card:has(.sa-map) { padding-bottom: 40px; }
.sa-map { max-width: 600px; margin-top: 28px; }
.sa-map .flag { transform: translate(-50%, -17px); }
.sa-map .flag em { white-space: nowrap; }
/* Hover: the province grows a little and lifts off the map as a flat 2D tile. */
.sa-map .pv { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform 0.25s ease, filter 0.25s ease; }
.sa-map .pv:hover {
  transform: translateY(-6px) scale(1.08);
  filter: drop-shadow(0 6px 0 #1129b8) drop-shadow(0 16px 18px rgba(23, 61, 237, 0.35));
}
.sa-map .pv-gp:hover { transform: translateY(-6px) scale(1.15); }
@media (prefers-reduced-motion: reduce) { .sa-map .pv { transition: none; } }
.flag:nth-of-type(1) b { background: linear-gradient(135deg, #3a5cff, #1129b8); }
.flag:nth-of-type(2) b { background: linear-gradient(135deg, #22c3a6, #0f7a55); }
.flag:nth-of-type(3) b { background: linear-gradient(135deg, #ffb547, #e07b00); }
.flag:nth-of-type(4) b { background: linear-gradient(135deg, #8f84ff, #5b4be0); }
.flag:nth-of-type(5) b { background: linear-gradient(135deg, #ff7a8a, #d43b52); }
.flag:nth-of-type(6) b { background: linear-gradient(135deg, #5ac8ff, #1d8fd6); }

/* ---------- Business hub ---------- */
.hub-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; margin-top: 38px; align-items: start; }
.hub-grid > *, .keyf-grid > * { min-width: 0; }
.hub-photo { align-self: center; margin-bottom: 60px; /* = CTA button + gap below the cards, so it centres on the cards */ border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(17, 41, 184, 0.12); border: 1px solid #eef1fb; }
.hub-right { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.hcard { background: #f7f8fc; border: 1px solid #eef0f6; border-radius: 16px; padding: 20px; }
.hcard.tint-mint { background: #effaf5; }
.hcard.tint-sky { background: #f0f5ff; }
.hcard.tint-blush { background: #fff3f7; }
.hicon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.hicon .ico { width: 17px; height: 17px; }
.hcard h3 { font-size: 15px; margin-top: 16px; }
.hcard p { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.kicker { display: block; margin-top: 14px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.hcard .kicker + h3 { margin-top: 4px; }
.benefit { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 99px; }

/* ---------- Who it's for ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.audience .ptext p { flex: none; margin-top: 8px; }
.audience .ptext p::before { content: none; }
.audience .ptext b { margin-top: 0; font-size: 15px; }
.tenant-block {
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 30px; align-items: center; margin-top: 22px;
  background: linear-gradient(180deg, #edf1ff 0%, #f6f8ff 100%); border: 1px solid #e3e8fd; border-radius: 18px; padding: 26px 30px;
}
.tenant-copy h3 { font-size: 19px; margin-top: 14px; }
.tenant-copy p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.tenant-block .checks { border-top: 0; padding: 0; margin: 0; }

/* ---------- Pricing ---------- */
.bill-toggle { display: flex; width: max-content; margin: 26px auto 0; padding: 4px; gap: 4px; background: #f0f3fe; border-radius: 99px; }
.bill-toggle button { font: inherit; font-size: 13px; font-weight: 600; border: 0; border-radius: 99px; padding: 8px 18px; background: none; color: var(--ink-2); cursor: pointer; }
.bill-toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(17, 41, 184, 0.12); }
.bill-toggle em { font-style: normal; font-size: 11px; color: var(--brand); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: 18px; padding: 22px 22px 24px; border: 1px solid #eceff7; background: #fff; box-shadow: 0 10px 30px rgba(17, 41, 184, 0.06); }
.plan.p1 { background: linear-gradient(180deg, #ffeaf2 0%, #fff7fa 26%, #ffffff 46%); }
.plan.p2 { background: linear-gradient(180deg, #dfeaff 0%, #f2f6ff 26%, #ffffff 46%); }
.plan.p3 { background: linear-gradient(180deg, #ebe4ff 0%, #f6f2ff 26%, #ffffff 46%); }
.plan.p4 { background: linear-gradient(180deg, #e2f6f1 0%, #f3fbf8 26%, #ffffff 46%); }
.plan.popular { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgba(23, 61, 237, 0.16); }
/* Spotlight loop (site.js): each card in turn lifts and grows in front of the others, then settles back.
   Uses the individual translate/scale properties so it doesn't fight the scroll-reveal transform. */
.js .plans .plan { transition: opacity 0.6s ease, transform 0.6s ease, translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), scale 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease; }
.plans .plan.spot, .plans .plan:hover { translate: 0 -14px; scale: 1.08; z-index: 2; box-shadow: 0 30px 60px rgba(17, 41, 184, 0.22); }
.plans .plan.popular.spot, .plans .plan.popular:hover { box-shadow: 0 30px 64px rgba(23, 61, 237, 0.32); }
@media (prefers-reduced-motion: reduce) { .plans .plan.spot { translate: none; scale: none; } }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.plan-tag { display: block; width: max-content; margin: 0 auto; font-size: 12px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, 0.8); padding: 4px 14px; border-radius: 99px; }
.plan-units { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.price { margin-top: 14px; color: var(--muted); font-size: 13px; }
.price b { font-size: 30px; color: var(--ink); letter-spacing: -0.03em; font-weight: 700; }
.price small { font-size: 12px; }
.plan-desc { font-size: 12.5px; color: var(--muted); margin: 6px 0 20px; flex: 1; }
.included { max-width: 900px; margin: 26px auto 0; text-align: center; }
.included b { font-size: 13.5px; }
.included ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.included li { position: relative; padding-left: 22px; font-size: 13px; color: var(--ink-2); }
.included li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173ded' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 9px no-repeat; }
.checks { list-style: none; padding: 16px 0 0; margin: 14px 0 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 24px; font-size: 13px; color: var(--ink-2); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.price-foot { text-align: center; font-size: 12px; color: var(--muted); max-width: 760px; margin: 22px auto 0; }

/* ---------- Audience cards ---------- */
.pcard {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  background: #fff; border: 1px solid #eceff7; border-radius: 18px; padding: 14px; box-shadow: 0 10px 30px rgba(17, 41, 184, 0.06);
}
.pimg { border-radius: 12px; display: grid; place-items: center; color: #fff; min-height: 120px; }
.pimg .ico { width: 40px; height: 40px; stroke-width: 1.6; }
.pimg.g1 { background: linear-gradient(160deg, #6f8bff, #1129b8); }
.pimg.g2 { background: linear-gradient(160deg, #8fa3ff, #173ded); }
.pimg.g3 { background: linear-gradient(160deg, #a99cff, #4b3fd6); }
.pimg.g4 { background: linear-gradient(160deg, #6fc9ff, #1d6fd6); }
.ptext { display: flex; flex-direction: column; padding: 6px 4px 4px 0; }
.ptext p { font-size: 13px; color: var(--ink-2); flex: 1; }
.ptext p::before { content: '“'; display: block; font-size: 32px; line-height: 0.8; color: var(--brand); font-weight: 700; }
.ptext b { font-size: 13.5px; margin-top: 10px; }
.ptext span { font-size: 12px; color: var(--muted); }

/* ---------- Why Rentrexa ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.trust article { padding: 22px; border-radius: 16px; border: 1px solid #eceff7; background: #fff; }
.trust .hicon, .pain .hicon { background: var(--brand); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 34px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid #eceff7; border-radius: 12px; box-shadow: 0 4px 14px rgba(17, 41, 184, 0.04); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-size: 14px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--ink); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 13.5px; }
.faq > .sub { margin-top: 22px; }
.faq > .sub a { font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  text-align: center; border-radius: 22px; padding: 54px 28px; border: 1px solid #e6ebfb;
  background: radial-gradient(600px 220px at 50% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, #e5ebff 0%, #f3f6ff 100%);
  max-width: 820px; margin: 0 auto;
}
.cta .h2 { font-size: clamp(22px, 2.4vw, 28px); }

/* ---------- Contact ---------- */
.contact.wrap { padding-top: 90px; }
.contact .sub a { color: var(--ink-2); font-weight: 600; }
.contact .sub a:hover { color: var(--brand); }
.contact-form { max-width: 720px; margin: 30px auto 0; background: #fff; border: 1px solid #eceff7; border-radius: 18px; padding: 26px; box-shadow: 0 10px 30px rgba(17, 41, 184, 0.06); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.cf-grid label span { font-weight: 400; color: var(--muted); }
.cf-grid label.full { grid-column: 1 / -1; }
.cf-grid input, .cf-grid select, .cf-grid textarea {
  font: inherit; font-size: 14px; font-weight: 400; color: var(--ink); border: 1px solid #dfe3ee; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.cf-grid textarea { resize: vertical; }
.cf-grid input:focus, .cf-grid select:focus, .cf-grid textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.cf-status { min-height: 20px; margin: 12px 0; font-size: 13px; }
.cf-status.ok { color: #0f7a55; }
.cf-status.err { color: #c62a40; }
.contact-direct { margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 60px; padding-bottom: 20px; overflow: hidden; background: var(--brand); color: #ffffff; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; padding: 40px 0 34px; }
.fbrand img { height: 24px; width: auto; align-self: flex-start; }
.fbrand p { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.fcols > div { display: flex; flex-direction: column; gap: 9px; }
.fcols h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.fcols a, .fcols span { color: rgba(255, 255, 255, 0.78); font-size: 12.5px; }
.fcols a:hover { color: #ffffff; }
.fbottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: rgba(255, 255, 255, 0.78); padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); position: relative; z-index: 1; }
.ftm { flex-basis: 100%; font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.fword { width: 92%; margin: 18px auto -9%; opacity: 0.1; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 2px; position: absolute; top: 66px; left: 12px; right: 12px; margin: 0;
    background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 24px 60px rgba(14, 22, 48, 0.18);
  }
  .nav.open .nav-links > a { color: var(--ink-2); padding: 11px 10px; border-radius: 10px; font-size: 15px; }
  .nav.open .nav-links > a.active { color: var(--brand); background: var(--brand-50); }
  .nav.open .nav-links > a::after { display: none; }
  .nav.open .nav-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-photo { margin-bottom: 0; }
  .pains, .trust, .plans { grid-template-columns: 1fr 1fr; }
  .steps, .audience { grid-template-columns: 1fr; }
  .tenant-block { grid-template-columns: 1fr; gap: 18px; }
  .tenant-block .btn { justify-self: start; }
  .fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .br-d { display: none; }
  section, section.wrap, .tools.wrap, .contact.wrap { padding-top: 64px; }
  .hero { padding-top: 30px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-stats div { padding: 12px 8px; text-align: center; }
  .hero-stats b { font-size: 16px; }
  .hero-stats span { font-size: 10.5px; display: block; line-height: 1.3; }
  .logos { --r: 330px; height: 48px; }
  .logos span { font-size: 13px; }
  .logos-wheel { gap: 12px 22px; }
  .globe-card { padding: 34px 16px 0; }
  .flag b { width: 26px; height: 26px; font-size: 9px; border-width: 2px; }
  .flag em { font-size: 9px; padding: 0 5px; }
  .hub-cards, .pains, .trust, .plans, .cf-grid { grid-template-columns: 1fr; }
  .pcard { grid-template-columns: 90px 1fr; }
  .plans { max-width: 420px; margin-left: auto; margin-right: auto; }
  .bill-toggle button { padding: 8px 12px; }
  .contact-form { padding: 18px; }
  .fcols { grid-template-columns: 1fr; }
}

/* ---------- Features: animated dashboard mock (replaces the hub.webp screenshot) ----------
   Everything is sized in container units (cqw) so the mock scales as one picture. site.js adds
   .play when it scrolls into view (intro), then .live (looping scrubber and heat-map highlight). */
.hub-photo { container-type: inline-size; background: #f5f7fb; }
.mock { aspect-ratio: 4 / 3; display: grid; grid-template-columns: 21% minmax(0, 1fr); background: #f5f7fb; color: #0e1630; line-height: 1.35; overflow: hidden; }
.mk-side { background: #173ded; padding: 3.2cqw 1.5cqw; display: flex; flex-direction: column; gap: 0.6cqw; min-width: 0; }
.mk-side img { width: 74%; margin: 0 0 2.2cqw 1cqw; }
.mk-nav { display: flex; align-items: center; gap: 0.9cqw; padding: 0.85cqw 1cqw; border-radius: 1cqw; color: rgba(255, 255, 255, 0.92); font-size: 1.2cqw; font-weight: 600; white-space: nowrap; overflow: hidden; }
.mk-nav.on { background: #fff; color: #173ded; }
.mk-nav .ico { width: 1.6cqw; height: 1.6cqw; flex: none; }
.mk-main { padding: 2.6cqw; display: flex; flex-direction: column; gap: 1.8cqw; min-width: 0; min-height: 0; }
.mk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2cqw; }
.mk-h1 { display: block; font-size: 2.6cqw; letter-spacing: -0.02em; }
.mk-sub { display: block; font-size: 1.15cqw; color: #3c4663; font-weight: 600; margin-top: 0.3cqw; }
.mk-search { display: flex; align-items: center; gap: 0.7cqw; margin-top: 1.3cqw; padding-bottom: 0.6cqw; border-bottom: 1px solid #e4e8f1; font-size: 1.05cqw; color: #6b7591; width: 25cqw; white-space: nowrap; }
.mk-search .ico { width: 1.3cqw; height: 1.3cqw; }
.mk-stats { display: flex; gap: 2cqw; }
.mk-stats span { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 0.6cqw; }
.mk-stats em { grid-column: 1 / -1; font-style: normal; font-size: 1cqw; color: #6b7591; font-weight: 600; }
.mk-stats b { font-size: 1.85cqw; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk-pill { font-style: normal; font-size: 0.85cqw; font-weight: 700; background: #fff; border-radius: 99px; padding: 0.25cqw 0.7cqw; box-shadow: 0 1px 2px rgba(14, 22, 48, 0.1); color: #3c4663; white-space: nowrap; }

.mk-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.6cqw; min-height: 0; }
.mk-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border-radius: 1.8cqw; padding: 1.6cqw 1.8cqw;
  box-shadow: 0 1px 2px rgba(14, 22, 48, 0.05), 0 4px 16px rgba(14, 22, 48, 0.05); opacity: 0; transform: translateY(1.6cqw);
}
.mk-c1 { --i: 0; } .mk-c2 { --i: 1; } .mk-c3 { --i: 2; } .mk-c4 { --i: 3; }
.mock.play .mk-card { animation: mk-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(0.15s + var(--i) * 0.14s); }
@keyframes mk-in { to { opacity: 1; transform: none; } }
.mk-title { font-size: 1.25cqw; }

/* Gauge */
.mk-c1 { display: grid; grid-template-columns: 55% minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1.4cqw; align-items: center; }
.mk-c1 .mk-title { grid-column: 1 / -1; align-self: start; }
.mk-gauge { position: relative; }
.mk-gauge svg { width: 100%; display: block; }
.mk-arc-track, .mk-arc { fill: none; stroke-width: 13; stroke-linecap: round; }
.mk-arc-track { stroke: #e7ebf3; }
.mk-arc { stroke-dasharray: 100; stroke-dashoffset: 100; }
.mock.play .mk-arc { stroke-dashoffset: var(--to); transition: stroke-dashoffset 1.8s 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.mk-gval { position: absolute; inset: 0 0 18% 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mk-gval b { font-size: 2.2cqw; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-gval em { font-style: normal; font-size: 0.85cqw; color: #6b7591; white-space: nowrap; }
.mk-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1cqw; font-size: 1cqw; font-weight: 600; }
.mk-legend li { display: flex; align-items: center; gap: 0.6cqw; white-space: nowrap; }
.mk-legend i { width: 0.8cqw; height: 0.8cqw; border-radius: 50%; flex: none; }
.mk-legend s { flex: 1; min-width: 0.5cqw; border-bottom: 1px dashed #dfe3ec; text-decoration: none; }
.mk-legend b { font-variant-numeric: tabular-nums; }

/* Heat map */
.mk-heat { display: flex; flex-direction: column; gap: 0.8cqw; margin-top: 1cqw; }
.mk-hgroup span { display: block; font-size: 0.9cqw; color: #6b7591; font-weight: 700; margin-bottom: 0.35cqw; }
.mk-hgroup div { display: flex; gap: 0.5cqw; }
.mk-tile { width: 4.3cqw; height: 4.3cqw; border-radius: 0.9cqw; display: grid; place-items: center; font-size: 0.85cqw; color: #fff; transform: scale(0); opacity: 0; transition: box-shadow 0.3s; }
.mock.play .mk-tile { animation: mk-pop 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) forwards; animation-delay: calc(0.7s + var(--n) * 0.1s); }
@keyframes mk-pop { to { transform: scale(1); opacity: 1; } }
.mk-tile.paid { background: #35b85a; }
.mk-tile.due { background: #f5a524; }
.mk-tile.arrears { background: #ef4b36; }
.mk-tile.vacant { background: repeating-linear-gradient(135deg, #e3e7ef 0 0.5cqw, #f1f3f8 0.5cqw 1cqw); color: #6b7591; }
.mk-tile.hot { box-shadow: 0 0 0 0.3cqw #fff, 0 0 0 0.55cqw rgba(23, 61, 237, 0.55), 0 0.8cqw 1.6cqw rgba(14, 22, 48, 0.22); }
.mk-tip {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; white-space: nowrap; opacity: 0;
  background: rgba(14, 16, 24, 0.92); color: #fff; font-size: 0.9cqw; padding: 0.55cqw 0.9cqw; border-radius: 0.9cqw;
  transform: translate(-50%, calc(-100% - 0.7cqw)); transition: opacity 0.3s, left 0.45s ease, top 0.45s ease;
}
.mk-tip.show { opacity: 1; }

/* Collection flow */
.mk-flow { position: relative; flex: 1; margin: 0.6cqw -1.8cqw -1.6cqw; }
.mk-flow svg { position: absolute; left: 0; top: 2.2cqw; width: 100%; height: calc(100% - 4.4cqw); clip-path: inset(0 100% 0 0); }
.mock.play .mk-flow svg { animation: mk-reveal 1.8s 0.9s cubic-bezier(0.4, 0.1, 0.2, 1) forwards; }
@keyframes mk-reveal { to { clip-path: inset(0 0 0 0); } }
.mk-mark { position: absolute; top: 0.3cqw; bottom: 0.3cqw; transform: translateX(-50%); display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.mk-mark::before { content: ""; position: absolute; top: 1.8cqw; bottom: 1.8cqw; left: 50%; border-left: 1px dashed rgba(14, 22, 48, 0.4); }
.mk-mark i { position: relative; font-style: normal; font-size: 0.8cqw; font-weight: 700; background: rgba(240, 243, 248, 0.95); border-radius: 99px; padding: 0.15cqw 0.5cqw; }

/* Collection trend */
.mk-trend { position: relative; width: 100%; aspect-ratio: 300 / 190; margin-top: auto; }
.mk-trend svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mk-axis line { stroke: #eef1f6; }
.mk-axis text { font-size: 8px; fill: #6b7591; }
.mk-line { fill: none; stroke: #c3c9d6; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.mk-line.on { stroke: #173ded; stroke-width: 2.6; }
.mock.play .mk-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2s 1.1s cubic-bezier(0.4, 0.1, 0.2, 1); }
.mk-scrub, .mk-dot, .mk-bubble { position: absolute; opacity: 0; transition: left 0.7s cubic-bezier(0.65, 0, 0.35, 1), top 0.7s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s; }
.mk-scrub { top: 4%; bottom: 13%; width: 0; border-left: 1px dashed #0e1630; }
.mk-dot { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #fff; border: 0.25cqw solid #173ded; transform: translate(-50%, -50%); }
.mk-bubble { display: flex; gap: 0.4cqw; white-space: nowrap; background: #0e1630; color: #fff; border-radius: 99px; padding: 0.3cqw 0.8cqw; font-size: 0.9cqw; transform: translate(-50%, calc(-100% - 1cqw)); }
.mk-bubble.right { transform: translate(-88%, calc(-100% - 1cqw)); }
.mk-bubble.left { transform: translate(-12%, calc(-100% - 1cqw)); }
.mk-bubble em { font-style: normal; color: #c9cede; }
.mk-bubble em.good { color: #6ee08a; }
.mk-bubble em.bad { color: #ff8b7a; }
.mock.live .mk-scrub, .mock.live .mk-dot, .mock.live .mk-bubble { opacity: 1; }

/* Narrow (phones): icon-only sidebar so the dashboard itself gets the room. */
@container (max-width: 520px) {
  .mock { grid-template-columns: 9% minmax(0, 1fr); }
  .mk-side { padding: 3cqw 1.2cqw; align-items: center; }
  .mk-side img { display: none; }
  .mk-nav { font-size: 0; padding: 1cqw; gap: 0; }
  .mk-nav .ico { width: 2.6cqw; height: 2.6cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .mock .mk-card, .mock .mk-tile { animation: none !important; opacity: 1; transform: none; }
  .mock .mk-flow svg { animation: none !important; clip-path: none; }
  .mock .mk-line { stroke-dashoffset: 0; transition: none !important; }
  .mock .mk-arc { stroke-dashoffset: var(--to); transition: none !important; }
  .mk-scrub, .mk-dot, .mk-bubble, .mk-tip { transition: opacity 0.2s; }
}

/* ---------- Card edges on the light-blue page ----------
   Every card-like box gets the same clear border and shadow so it doesn't melt into the background. */
.hero-stats, .pain, .step, .globe-card, .hub-photo, .hcard, .tenant-block, .plan:not(.popular), .pcard,
.trust article, .faq details, .cta, .contact-form {
  border: 1px solid var(--card-edge);
  box-shadow: var(--card-shadow);
}
