/* ==========================================================================
   Your Rent Credit Booster — Homepage
   Implementation of "Homepage v3" design.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --blue: #2563EB;
  --blue-bright: #3B76F6;
  --blue-deep: #1D4FC4;
  --blue-hover-a: #2A63D8;
  --blue-hover-b: #16409F;
  --green: #25C997;
  --green-ink: #0E9973;

  /* Neutrals */
  --navy: #10233F;
  --ink: #162033;
  --muted: #667085;
  --muted-light: #98A2B3;
  --muted-lighter: #B8C0CC;
  --border: #E2E8F0;
  --border-dash: #CBD5E1;
  --rule: #EEF2F7;
  --surface: #F7F9FC;
  --white: #fff;

  /* Tinted fills */
  --blue-50: #EEF5FF;
  --blue-100: #EAF2FF;
  --blue-200: #DCEBFF;
  --blue-border: #D8E6FF;
  --green-50: #E9FAF4;
  --green-100: #E5FAF2;
  --green-200: #D4F5E8;

  /* Type */
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --shell: 1240px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(56px, 7vw, 96px);
  --header-h: 76px;

  /* Radii */
  --r-card: 18px;
  --r-btn: 12px;
  --r-pill: 99px;

  /* Elevation */
  --sh-card: 0 18px 50px rgba(16, 35, 63, .12);
  --sh-soft: 0 14px 40px rgba(16, 35, 63, .08);
  --sh-float: 0 10px 28px rgba(16, 35, 63, .14);
  --sh-btn: 0 8px 20px rgba(37, 99, 235, .28);
  --sh-btn-hover: 0 12px 28px rgba(37, 99, 235, .38);
  --sh-lift: 0 12px 32px rgba(16, 35, 63, .08);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header offset for in-page anchors. */
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }

button { font: inherit; }

/* Visible keyboard focus — the design had none; required for an accessible build. */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-btn) 0;
  box-shadow: var(--sh-float);
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.shell--narrow { max-width: 840px; }
.shell--flush { padding-top: 0; padding-bottom: 0; }
.shell--tight { padding-block: clamp(48px, 6vw, 80px); }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--top { align-items: flex-start; }
.split--sm-gap { gap: clamp(32px, 5vw, 56px); }

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
/* Four cards. Each track is at least half the row, so the set is two-up
   wherever two fit and never breaks 3 + 1; the 220px floor drops it to a
   single column once the container is too narrow for two. */
.grid-auto--sm {
  grid-template-columns: repeat(auto-fit, minmax(max(220px, (100% - 18px) / 2), 1fr));
  gap: 18px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

/* --------------------------------------------------------------------------
   4. Type scale
   -------------------------------------------------------------------------- */
.h1 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-wrap: pretty;
}
.h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.12;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.h2--sm { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; margin-bottom: 18px; }
.h2--metrics { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: normal; }
.h2--cta { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.1; letter-spacing: normal; margin-bottom: 22px; }
.h3 { font-size: 22px; margin-bottom: 12px; }
.h3--sm { font-size: 18px; margin-bottom: 8px; }
.h3--lg { font-size: 21px; }

.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.lede--hero {
  font-size: clamp(17px, 1.4vw, 19px);
  margin-bottom: 32px;
  max-width: 560px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fineprint { font-size: 13px; color: var(--muted); }
.fineprint--xs { font-size: 12px; color: var(--muted-light); }
.disclaimer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 44px; }

/* --------------------------------------------------------------------------
   5. Eyebrow pills
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  background: linear-gradient(90deg, var(--blue-100), #E4F9F1);
  border: 1px solid var(--blue-border);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow--dark {
  color: #9BC0FF;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  box-shadow: var(--sh-btn);
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  padding: 16px 30px;
  border-radius: var(--r-btn);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover,
.btn:focus-visible {
  background: linear-gradient(135deg, var(--blue-hover-a), var(--blue-hover-b));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-btn-hover);
}
.btn--sm { font-size: 15px; padding: 11px 20px; white-space: nowrap; }
.btn--md { font-size: 16px; padding: 15px 28px; }
.btn--lg { font-size: 18px; padding: 18px 40px; }
.btn--block { display: block; }
.btn--light {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
  font-size: 16px;
  padding: 15px 28px;
}
.btn--light:hover,
.btn--light:focus-visible {
  background: var(--blue-50);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: none;
}

.link-arrow { font-size: 17px; font-weight: 600; color: var(--blue); }
.link-arrow--md { font-size: 16px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px 32px;
  transition: box-shadow .3s, transform .3s;
}
.card--hover:hover {
  box-shadow: var(--sh-lift);
  transform: translateY(-3px);
}
.card--pad-sm { padding: 26px 24px; }
.card--pad-lg { padding: 40px 34px; }
.card--pad-lg.card--hover:hover {
  box-shadow: 0 14px 36px rgba(16, 35, 63, .1);
  transform: translateY(-4px);
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  margin-bottom: 22px;
}
.icon-tile--green { background: linear-gradient(135deg, var(--green-100), var(--green-200)); }
.icon-tile--34 { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 0; }
.icon-tile--38 { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 0; }
.icon-tile--42 { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 0; }
.icon-tile--44 { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0; }
.icon-tile--46 { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px; }
.icon-tile--48 { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 0; }
.icon-tile--56 { width: 56px; height: 56px; border-radius: 15px; }

.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 8px;
}
.tag--wide { letter-spacing: .12em; margin-bottom: 10px; }

.card-body { font-size: 16px; line-height: 1.65; color: var(--muted); }
.card-body--sm { font-size: 14px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 46px; width: auto; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--blue); }
.nav__login { color: var(--navy); font-weight: 600; }
.nav .btn--sm { color: var(--white); }

/* Mobile menu toggle — an implementation addition; the design has no mobile nav. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background .2s ease;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-float);
    padding: 8px var(--gutter) 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav .btn--sm {
    margin-top: 16px;
    border-bottom: none;
    text-align: center;
    padding: 14px 20px;
  }
  .site-header__inner { position: relative; }
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F7FF 100%);
  position: relative;
  overflow: hidden;
}
.hero__shell {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 56px);
  /* Top-aligned, not centred: centring the shorter copy column against the
     taller visual pushed the eyebrow 120-180px below the header on top of
     whatever padding was set here, so the offset could not be controlled. */
  align-items: flex-start;
  position: relative;
  padding-block: 30px;
}
.hero__copy { flex: 1.1 1 420px; min-width: 0; animation: fadeUp .35s ease both; }
.hero__visual {
  flex: 1 1 440px;
  min-width: 0;
  position: relative;
  /* Padding here only reserves room for the chips that hang outside the
     stack: RENT VERIFIED sits 20px above the photo, PAST RENT 26px below the
     panel. Any more became dead space under the hero, because this column is
     the taller of the two and so sets where the section ends. */
  padding: 24px 0 26px;
  animation: fadeUp .35s ease .1s both;
}
.hero__trust { font-size: 14px; color: var(--ink); font-weight: 500; margin-bottom: 8px; }

.glow {
  position: absolute;
  pointer-events: none;
}
.glow--hero-blue {
  right: -12%; top: 0; width: 60%; height: 90%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .10) 0%, rgba(37, 99, 235, 0) 65%);
}
.glow--hero-green {
  left: -15%; bottom: -30%; width: 50%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(37, 201, 151, .10) 0%, rgba(37, 201, 151, 0) 65%);
}

.hero__stack { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }

.hero__photo {
  flex: 1 1 190px;
  min-width: 170px;
  position: relative;
  border-radius: var(--r-card);
  box-shadow: 0 18px 50px rgba(16, 35, 63, .14);
  /* Offset down so the photo tucks behind the panel. 72px left ~110px of dead
     space above it on desktop and buried the REPORTING ACTIVE chip entirely. */
  transform: translateY(24px);
  min-height: 340px;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-card);
  display: block;
  position: absolute;
  inset: 0;
}

.hero__panel {
  flex: 1.6 1 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--sh-card);
  position: relative;
  z-index: 1;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.panel-title { font-family: var(--font-head); font-weight: 800; font-size: 21px; color: var(--navy); }

.status-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--green-50);
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.dot--pulse { animation: pulse 2.4s infinite; }

.panel-label { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }

.month-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  margin-bottom: 22px;
}
.month {
  text-align: center;
  border: 1px solid var(--green-200);
  background: #F2FBF8;
  border-radius: var(--r-btn);
  padding: 13px 4px;
}
.month--pending { background: var(--surface); border-color: var(--border); }
.month__label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 8px;
}
.month__icon { font-size: 17px; line-height: 1; color: var(--green); }
.month--pending .month__icon { color: var(--muted); }
.month__status { font-size: 10px; font-weight: 600; color: var(--green-ink); margin-top: 6px; }
.month--pending .month__status { color: var(--muted); }

.panel-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.panel-foot__title { font-weight: 700; color: var(--navy); font-size: 16px; }
.panel-foot__sub { font-size: 13px; color: var(--muted); }

/* Floating hero chips */
.chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--sh-float);
  z-index: 2;
  pointer-events: none;
}
.chip--row { display: flex; align-items: center; gap: 10px; }
.chip--verified {
  top: -20px; left: -14px;
  animation: fadeUp .4s ease .3s both, float 6s ease-in-out 1.4s infinite;
}
.chip--reporting {
  /* Sits inside the photo's lower edge rather than hanging past it: below the
     photo is the panel, whose stacking context wins, and a chip sliced in half
     by the panel's top edge reads as a bug. It still straddles the left edge.
     The stacked layout below 860px has clear space and overrides this. */
  bottom: 18px; left: -14px;
  animation: fadeUp .4s ease .45s both, float 7s ease-in-out 1.8s infinite;
}
.chip--past {
  bottom: -26px; right: -14px;
  padding: 12px 18px;
  animation: fadeUp .4s ease .6s both, float 6.5s ease-in-out 2.2s infinite;
}
.chip__title {
  display: block;
  font-weight: 700; font-size: 12px;
  letter-spacing: .04em; color: var(--navy);
}
.chip__sub { display: block; font-size: 11px; font-weight: 600; }
.chip__sub--green { color: var(--green-ink); }
.chip__sub--muted { color: var(--muted); font-weight: 500; }
.chip__big {
  display: block;
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  color: var(--blue); line-height: 1.2;
}
.chip--past .chip__title { margin-bottom: 2px; }

/* --------------------------------------------------------------------------
   10. Bureau strip
   -------------------------------------------------------------------------- */
.strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip__shell { padding-block: 40px; text-align: center; }
.strip__label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 22px;
}
.bureaus {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; margin-bottom: 20px;
}
.bureau {
  border: 1.5px dashed var(--border-dash);
  border-radius: var(--r-btn);
  padding: 14px 34px;
  min-width: 170px;
}
.bureau__name {
  font-family: var(--font-head); font-weight: 800; font-size: 21px;
  color: var(--muted-light); letter-spacing: .01em;
}
.bureau__note {
  font-size: 9px; font-weight: 700; letter-spacing: .12em;
  color: var(--muted-lighter); margin-top: 4px;
}
.strip__caption { font-size: 14px; font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   11. Section backgrounds
   -------------------------------------------------------------------------- */
.bg-surface { background: var(--surface); }
.bg-white { background: var(--white); }
.bg-hist { background: linear-gradient(160deg, #EAF3FF 0%, #E4F1FF 55%, #E7F8F1 100%); }
.bg-landlord { background: linear-gradient(180deg, #F4F9FF, #E9F2FF); }
.bg-dark {
  background: linear-gradient(160deg, #14294B 0%, #0B1B33 100%);
  position: relative;
  overflow: hidden;
}
.bg-cta {
  background: linear-gradient(160deg, #132A4D 0%, #0A1930 100%);
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   12. How it works
   -------------------------------------------------------------------------- */
.step__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.step__num {
  font-family: var(--font-head); font-weight: 800; font-size: 34px;
  color: var(--blue); opacity: .25; line-height: 1;
}
.step__body { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
.step__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--green-ink);
  background: var(--green-50); padding: 6px 12px; border-radius: var(--r-pill);
}
.step__status .dot { width: 6px; height: 6px; }
.center { text-align: center; }
.mb-48 { margin-bottom: 48px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }

/* --------------------------------------------------------------------------
   13. Historical rent card
   -------------------------------------------------------------------------- */
.hist-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  max-width: 500px;
  box-shadow: var(--sh-soft);
}
.hist-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.hist-card__title-row { display: flex; align-items: center; gap: 10px; }
.hist-card__title {
  font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--navy);
}
.badge-blue {
  font-size: 12px; font-weight: 700; color: var(--blue);
  background: var(--blue-50); padding: 5px 10px; border-radius: var(--r-pill);
}
.hist-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.hist-cell {
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: transparent;
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
/* Filled state applied by main.js once the card scrolls into view. */
.is-revealed .hist-cell--fill {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.hist-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  flex-wrap: wrap;
}
.legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.legend__swatch {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--green); display: inline-block;
}
.hist-card__total {
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  color: var(--navy); letter-spacing: .02em;
}

.checklist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.checklist li,
.checklist__item {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.checklist { list-style: none; padding: 0; margin-top: 0; }

/* --------------------------------------------------------------------------
   14. Positive-only / flow
   -------------------------------------------------------------------------- */
.feature-row { display: flex; gap: 16px; }
.feature-row__title { font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.feature-row__body { font-size: 16px; line-height: 1.6; color: var(--muted); }
.feature-stack { display: flex; flex-direction: column; gap: 22px; }

.flow-wrap { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.flow {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(28px, 3vw, 44px);
  width: 100%;
  max-width: 440px;
}
.flow__amount {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}
.flow__amount-label {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 6px;
}
.flow__amount-value {
  font-family: var(--font-head); font-weight: 800; font-size: 44px;
  color: var(--navy); margin-bottom: 12px;
}
.flow__amount-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--green-ink);
  background: var(--green-50); padding: 7px 14px; border-radius: var(--r-pill);
}
.flow__step {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.is-revealed .flow__step { opacity: 1; transform: translateY(0); }
.flow__step:nth-child(2) { transition-delay: 0ms; }
.flow__step:nth-child(3) { transition-delay: 220ms; }
.flow__step:nth-child(4) { transition-delay: 440ms; }
.flow__arrow { display: flex; justify-content: center; padding: 10px 0; }
.flow__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.flow__title { font-weight: 700; font-size: 16px; color: var(--navy); }
.flow__sub { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   15. Credit chart
   -------------------------------------------------------------------------- */
.chart-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 30px;
  box-shadow: var(--sh-soft);
}
.chart-card__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 6px; flex-wrap: wrap;
}
.chart-card__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted);
}
.chart-card__pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--green-ink);
  background: var(--green-50); padding: 5px 11px; border-radius: var(--r-pill);
}
.chart-card__pill .dot { width: 7px; height: 7px; }
.chart-card__title {
  font-family: var(--font-head); font-weight: 800; font-size: 21px;
  color: var(--navy); margin-bottom: 18px;
}
.chart { width: 100%; height: auto; display: block; }
.chart__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s ease .15s;
}
.is-revealed .chart__line { stroke-dashoffset: 0; }
.chart__dot { opacity: 0; transition: opacity .3s ease; }
.is-revealed .chart__dot { opacity: 1; }
.chart__dot:nth-of-type(1) { transition-delay: 150ms; }
.chart__dot:nth-of-type(2) { transition-delay: 320ms; }
.chart__dot:nth-of-type(3) { transition-delay: 490ms; }
.chart__dot:nth-of-type(4) { transition-delay: 660ms; }
.chart__dot:nth-of-type(5) { transition-delay: 830ms; }
.chart__dot:nth-of-type(6) { transition-delay: 1000ms; }
.chart-labels {
  display: flex; justify-content: space-between;
  margin-top: 10px; padding: 0 4px;
}
.chart-labels span { font-size: 11px; font-weight: 600; color: var(--muted-light); }
.chart-card__note { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 18px 0 8px; }

.goals-photo { position: relative; margin-top: 20px; height: 220px; }
.goals-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.goals-photo__chip {
  position: absolute; top: 14px; right: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(16, 35, 63, .12);
  pointer-events: none;
}
.goals-photo__chip strong { font-weight: 700; font-size: 13px; color: var(--navy); display: block; }
.goals-photo__chip span { font-size: 12px; color: var(--green-ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   16. Dark dashboard
   -------------------------------------------------------------------------- */
.glow--dash-blue {
  left: -10%; top: -25%; width: 50%; height: 75%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .18), rgba(37, 99, 235, 0) 70%);
}
.glow--dash-green {
  right: -12%; bottom: -30%; width: 45%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(37, 201, 151, .10), rgba(37, 201, 151, 0) 70%);
}
.glow--cta {
  left: 50%; top: -40%; width: 70%; height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .22), rgba(37, 99, 235, 0) 70%);
}

.dash {
  background: #182F52;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.dash__bar {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 12px 18px;
}
.dash__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); display: inline-block;
}
.dash__url {
  flex: 1; text-align: center; font-size: 12px;
  color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .06);
  border-radius: 8px; padding: 5px 12px; margin-left: 8px;
}
.dash__body { padding: 24px; }
.dash__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.dash__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--white); }
.dash__badge {
  font-size: 12px; font-weight: 700; color: var(--green);
  background: rgba(37, 201, 151, .15);
  padding: 5px 12px; border-radius: var(--r-pill);
}
.dash__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin-bottom: 12px;
}
.dash-tile {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-btn);
  padding: 16px;
}
.dash-tile__label { font-size: 12px; color: rgba(255, 255, 255, .65); margin-bottom: 6px; }
.dash-tile__value { font-weight: 700; color: var(--white); font-size: 15px; }
.dash-tile__value .tick { color: var(--green); }

.dash__cols { display: flex; flex-wrap: wrap; gap: 12px; }
.dash__timeline { flex: 1.4 1 240px; }
.dash__gauge {
  flex: 1 1 170px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.timeline { display: flex; gap: 6px; align-items: flex-end; }
.timeline__col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 5px;
}
.timeline__bar { width: 100%; border-radius: 4px; background: var(--green); }
.timeline__bar--empty { background: rgba(255, 255, 255, .25); }
.timeline__label { font-size: 9px; color: rgba(255, 255, 255, .4); font-weight: 600; }
.dash__timeline-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 12px;
}
.dash__timeline-foot span:first-child { font-size: 13px; color: rgba(255, 255, 255, .85); }
.dash__timeline-foot span:last-child { font-size: 12px; font-weight: 700; color: var(--green); }

.gauge__ring {
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
  transition: stroke-dashoffset 1s ease .2s;
}
.is-revealed .gauge__ring { stroke-dashoffset: 149.52; }
.dash__gauge-label { font-size: 13px; font-weight: 600; color: var(--white); margin-top: 8px; }
.dash__gauge-note { font-size: 10px; color: rgba(255, 255, 255, .4); margin-top: 4px; }

.on-dark .h2 { color: var(--white); }
.on-dark .lede { color: rgba(255, 255, 255, .75); }
.dash-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px;
  margin-bottom: 36px;
  list-style: none;
  padding: 0;
}
.dash-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--white);
}
.dash-features .tick { color: var(--green); font-weight: 700; }

/* --------------------------------------------------------------------------
   17. Pricing
   -------------------------------------------------------------------------- */
.pricing { max-width: 560px; margin: 0 auto; }
.pricing__flag { text-align: center; margin-bottom: -16px; position: relative; z-index: 2; }
.pricing__flag span {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  padding: 8px 18px; border-radius: var(--r-pill);
}
.pricing__card {
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(120deg, var(--blue), var(--green)) border-box;
  border: 1px solid transparent;
  border-top: 4px solid transparent;
  border-radius: var(--r-card);
  padding: 52px clamp(28px, 4vw, 44px) 44px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(16, 35, 63, .08);
}
.pricing__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue); margin-bottom: 14px;
}
.pricing__amount {
  display: flex; align-items: baseline; justify-content: center;
  gap: 8px; margin-bottom: 6px;
}
.pricing__price {
  font-family: var(--font-head); font-weight: 800; font-size: 56px; color: var(--navy);
}
.pricing__per { font-size: 18px; color: var(--muted); font-weight: 500; }
.pricing__setup { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.pricing__features {
  display: flex; flex-direction: column; gap: 13px;
  text-align: left; max-width: 380px; margin: 0 auto 36px;
  list-style: none; padding: 0;
}
.pricing__features li {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.pricing__features svg { flex-shrink: 0; }
.pricing__terms { font-size: 13px; color: var(--muted); margin-top: 18px; line-height: 1.5; }

.addon {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 24px 28px;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.addon__left { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
.addon__title { font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 2px; }
.addon__sub { font-size: 14px; color: var(--muted); }
.addon__price {
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  color: var(--navy); white-space: nowrap;
}
.addon__price small {
  font-size: 13px; font-weight: 600; color: var(--muted); font-family: var(--font-body);
}

.mini-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 32px; flex-wrap: wrap;
}
.mini-flow__node {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 9px 18px;
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.mini-flow__arrow { color: var(--blue); font-weight: 700; }

/* --------------------------------------------------------------------------
   18. Trust metrics
   -------------------------------------------------------------------------- */
.metrics {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: stretch; gap: 0; max-width: 1000px; margin: 0 auto;
}
.metric { flex: 1 1 240px; padding: 8px 32px; }
.metric__icon { display: flex; justify-content: center; margin-bottom: 14px; }
.metric__value {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(44px, 4vw, 58px); line-height: 1;
}
.metric__value--word { font-size: clamp(36px, 3.2vw, 46px); line-height: 1.25; }
.metric__label {
  font-size: 14px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue); margin: 8px 0 4px;
}
.metric__sub { font-size: 15px; color: var(--muted); }
.metric__rule { width: 1px; background: var(--border); margin: 8px 0; }

/* --------------------------------------------------------------------------
   19. Landlord CTA
   -------------------------------------------------------------------------- */
.landlord-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.landlord-photo { flex: 1 1 320px; min-width: 0; position: relative; height: 300px; }
.landlord-photo img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 16px; display: block;
}
.landlord-photo__chip {
  position: absolute; bottom: 16px; right: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 10px 28px rgba(16, 35, 63, .15);
  pointer-events: none;
}
.landlord-photo__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--blue); margin-bottom: 3px;
}
.landlord-photo__title { font-weight: 700; font-size: 15px; color: var(--navy); }
.landlord-photo__note {
  font-size: 13px; color: var(--green-ink); font-weight: 600; margin-top: 2px;
}

/* --------------------------------------------------------------------------
   20. FAQ
   -------------------------------------------------------------------------- */
.faq-icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }
.faq-icons .icon-tile--48:nth-child(2) { transform: translateY(-8px); }

.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: none; border: none; cursor: pointer;
  padding: 22px 4px; text-align: left;
  font-family: var(--font-body);
  font-size: 17px; font-weight: 600; color: var(--navy);
  min-height: 56px;
}
.faq__q:hover { color: var(--blue); }
.faq__sign {
  color: var(--blue); font-size: 22px; font-weight: 400;
  flex-shrink: 0; transition: transform .25s; line-height: 1;
}
.faq__q[aria-expanded="true"] .faq__sign { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 4px 24px; }
.faq__a[data-open="true"] { display: block; }
.faq__a p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 720px; }

/* --------------------------------------------------------------------------
   21. Final CTA
   -------------------------------------------------------------------------- */
.cta-pattern {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .07; pointer-events: none;
}
.cta__shell { text-align: center; position: relative; padding-block: clamp(64px, 8vw, 110px); }
.cta__note { font-size: 14px; color: rgba(255, 255, 255, .6); margin-top: 18px; }
.cta__lede { margin: 0 auto 36px; max-width: 600px; }

/* --------------------------------------------------------------------------
   22. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.site-footer__shell { padding-block: clamp(48px, 6vw, 72px); }
.site-footer__cols {
  display: flex; flex-wrap: wrap;
  /* Six columns need 260 + 5x140 + 5 gaps to share a row inside the 1176px
     shell, so the gap has to stay under ~43px or "Legal" drops to a row of
     its own. */
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: 56px;
}
.site-footer__brand { flex: 1.4 1 260px; min-width: 0; }
.site-footer__mark {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.site-footer__name {
  font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--white);
}
.site-footer__name span { color: #7FA6F5; }
.site-footer__tagline {
  font-weight: 600; font-size: 15px; color: var(--white); margin-bottom: 10px;
}
.site-footer__blurb {
  font-size: 14px; line-height: 1.65;
  color: rgba(255, 255, 255, .6); max-width: 320px;
}
.site-footer__col { flex: 1 1 140px; min-width: 0; }
.site-footer__col-title {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: rgba(255, 255, 255, .5); margin-bottom: 16px;
  text-transform: uppercase;
}
.site-footer__links {
  display: flex; flex-direction: column; gap: 11px;
  list-style: none; padding: 0; margin: 0;
}
.site-footer__links a,
.site-footer__links .site-footer__linkbtn { font-size: 14px; color: rgba(255, 255, 255, .75); }
.site-footer__links a:hover,
.site-footer__links .site-footer__linkbtn:hover { color: var(--white); }
.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 28px;
}
.site-footer__legal p {
  font-size: 12.5px; line-height: 1.7;
  color: rgba(255, 255, 255, .5); margin-bottom: 12px;
}
.site-footer__copy { font-size: 12.5px; color: rgba(255, 255, 255, .4); }

/* --------------------------------------------------------------------------
   23. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 201, 151, .45); }
  70%  { box-shadow: 0 0 0 8px rgba(37, 201, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 201, 151, 0); }
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
/* The PAST RENT chip hangs off the panel's bottom-right corner, which only
   clears the "5 Payments Reported" summary while the panel is wide enough.
   Below that it drops underneath the panel instead of sitting on the text. */
@media (max-width: 1200px) {
  .chip--past { top: 100%; right: 0; bottom: auto; margin-top: 12px; }
  /* The chip is now below the panel rather than overlapping its corner, so
     the column has to reserve its full height plus the 12px offset. */
  .hero__visual { padding-bottom: 89px; }
}

@media (max-width: 860px) {
  /* The hero photo is offset down on desktop to overlap the panel; that
     overlap has nowhere to go once the columns stack. */
  .hero__photo { transform: none; min-height: 260px; }
  .chip--verified { top: -14px; left: 0; }
  .chip--reporting { bottom: -14px; left: 0; }
  .metric__rule { display: none; }
}

@media (max-width: 560px) {
  .month-grid { grid-template-columns: repeat(3, 1fr); }
  .hist-grid { grid-template-columns: repeat(4, 1fr); }
  .chart-labels span:nth-child(even) { display: none; }
  .addon { flex-direction: column; align-items: flex-start; }
  .pricing__price { font-size: 46px; }
  .flow__amount-value { font-size: 36px; }
}

/* --------------------------------------------------------------------------
   25. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  /* Show every scroll-revealed element in its final state. */
  .flow__step { opacity: 1; transform: none; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__dot { opacity: 1; }
  .gauge__ring { stroke-dashoffset: 149.52; }
  .hist-cell--fill {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
  }
}

/* --------------------------------------------------------------------------
   26. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .cta-pattern, .glow { display: none !important; }
  .faq__a { display: block !important; }
  body { color: #000; }
}

/* --------------------------------------------------------------------------
   27. Cookie consent
   Bottom bar + preferences dialog, built by assets/js/cookie-consent.js.
   -------------------------------------------------------------------------- */
.cc-banner {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: 0;
  width: min(100%, 1180px);
  transform: translate(-50%, 12px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px clamp(16px, 3vw, 32px);
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: var(--r-card) var(--r-card) 0 0;
  box-shadow: 0 -14px 44px rgba(16, 35, 63, .16);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.cc-banner.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.cc-banner__body { flex: 1 1 420px; min-width: 0; }
.cc-banner__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}
.cc-banner__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.cc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 1 auto;
}

/* Buttons ------------------------------------------------------------- */
.cc-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
              box-shadow .18s ease;
}
.cc-btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--sh-btn);
}
.cc-btn--primary:hover { background: var(--blue-hover-a); box-shadow: var(--sh-btn-hover); }
.cc-btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-dash);
}
.cc-btn--secondary:hover { background: var(--surface); border-color: var(--muted-light); }
.cc-btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: transparent;
  padding-inline: 12px;
}
.cc-btn--ghost:hover { color: var(--blue-deep); text-decoration: underline; }

.cc-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
}
.cc-link:hover { color: var(--blue-deep); }

.cc-btn:focus-visible,
.cc-link:focus-visible,
.cc-panel__close:focus-visible,
.cc-switch input:focus-visible + .cc-switch__track {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* A footer link that opens the dialog, styled to match its neighbours. */
.site-footer__linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.site-footer__linkbtn:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }

/* Dialog -------------------------------------------------------------- */
.cc-locked, .cc-locked body { overflow: hidden; }

.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(16, 35, 63, .55);
  opacity: 0;
  transition: opacity .2s ease;
}
.cc-overlay.is-visible { opacity: 1; }

.cc-panel {
  width: min(100%, 620px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: clamp(24px, 3.2vw, 34px);
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease;
}
.cc-overlay.is-visible .cc-panel { transform: none; }

.cc-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.cc-panel__title {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.cc-panel__close {
  flex: none;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.cc-panel__close:hover { background: var(--surface); color: var(--ink); }

.cc-panel__intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 12px 0 22px;
}

.cc-cats { display: grid; gap: 12px; }
.cc-cat {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--surface);
}
.cc-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.cc-cat__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
.cc-cat__always {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-ink);
  background: var(--green-100);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  white-space: nowrap;
}
.cc-cat__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0 0;
}

/* Switch --------------------------------------------------------------- */
.cc-switch { position: relative; flex: none; width: 46px; height: 26px; }
.cc-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.cc-switch__track {
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  background: var(--muted-lighter);
  transition: background-color .18s ease;
}
.cc-switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(16, 35, 63, .35);
  transition: transform .18s ease;
}
.cc-switch input:checked + .cc-switch__track { background: var(--green); }
.cc-switch input:checked + .cc-switch__track::after { transform: translateX(20px); }

.cc-panel__note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 18px 0 0;
}
.cc-panel__note--gpc {
  color: var(--green-ink);
  background: var(--green-50);
  border-radius: 10px;
  padding: 10px 14px;
}

.cc-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .cc-banner { border-radius: 0; border-inline: 0; }
  .cc-banner__actions { width: 100%; }
  .cc-banner__actions .cc-btn { flex: 1 1 auto; }
  .cc-panel__actions .cc-btn { flex: 1 1 auto; }
}

/* `display: flex` above outranks the UA stylesheet's [hidden] rule. */
.cc-banner[hidden],
.cc-overlay[hidden] { display: none !important; }

@media print {
  .cc-banner, .cc-overlay { display: none !important; }
}
