/* 04: Closing CTA + Footer — Schreyer Data & Automation
   All classes prefixed ftr-. No shadows, no gradients. */

/* The system's single family. The build's pages don't link Inter themselves,
   so this stylesheet pulls it in — weights 400/500 only, per the system. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

/* ---------- Closing CTA on the cream canvas ---------- */

.ftr-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 150px 40px 340px;
}

.ftr-cta-heading {
  position: relative;                          /* lifts the type above the plane */
  z-index: 1;
  font-family: var(--font-inter);
  font-size: 212px;                            /* display scale, sized so the longer
                                                  line spans >=70% of a 1440 frame */
  font-weight: var(--font-weight-medium);      /* 500 */
  line-height: var(--leading-display);         /* 0.95 */
  letter-spacing: -0.06em;                     /* system display tracking */
  color: var(--color-ink-black);
  max-width: 1240px;
  white-space: nowrap;                         /* line breaks are authored via <br> */
}

.ftr-cta-sub {
  margin-top: 36px;
  font-size: var(--text-body-lg);              /* 18px */
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-body-lg);
  color: var(--color-stone-gray);
  max-width: 700px;
  text-wrap: balance;                          /* no orphaned last word */
}

/* Light/ghost pill CTA — white pill, ink text, one small sky-blue dot */
.ftr-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding: 18px 66px 18px 36px;    /* right pad holds the dot */
  --btn-pad: 36px;
  --btn-shift: 30px;
  background: var(--color-pure-white);
  border-radius: var(--radius-buttons);        /* 50px */
}

.ftr-cta-btn-label {
  font-size: var(--text-body-lg);              /* 18px */
  font-weight: var(--font-weight-medium);
  color: var(--color-ink-black);
  line-height: 1;
}

.ftr-cta-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-sky-pop);            /* the button's single chroma */
  flex: none;
  transition: transform 160ms ease;
}

.ftr-cta-btn:hover .ftr-cta-dot {
  transform: scale(1.25);
}

/* One quiet de-risking line in the muted tier */
.ftr-cta-note {
  margin-top: 24px;
  font-size: var(--text-body-sm);              /* 15px */
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-body-sm);
  color: var(--color-stone-gray);
}

/* ---------- Sunshine Pop footer band — closes the page ---------- */

.ftr-band {
  background: var(--color-sunshine-pop);
  border-radius: 56px 56px 0 0;                /* sticker-soft top corners, square bottom */
  padding: 64px 40px 44px;
  margin-bottom: 0;                            /* nothing after the band — it ends the page */
  color: var(--color-ink-black);
}

.ftr-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.ftr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.ftr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ftr-mark {
  width: 28px;
  height: 13px;
  color: var(--color-fresh-grass);             /* tiny green logo squiggle */
  flex: none;
}

.ftr-wordmark {
  font-size: 17px;
  font-weight: var(--font-weight-medium);
  color: var(--color-ink-black);
  line-height: 1;
}

.ftr-nav {
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

/* Inline text link per system spec: ink text, deliberate hairline
   border-bottom sitting a few px clear of the baseline */
.ftr-nav-link {
  font-size: var(--text-body-sm);              /* 15px */
  font-weight: var(--font-weight-medium);
  color: var(--color-ink-black);
  line-height: 1;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-ink-black);
}

.ftr-nav-link:hover {
  border-bottom-color: transparent;
}

.ftr-line {
  margin-top: 30px;
  font-size: var(--text-body-lg);              /* 18px */
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-body-lg);
  color: var(--color-ink-black);
  max-width: 640px;
}

/* Bold typographic close: giant ink wordmark carries the band —
   copyright tucks against its baseline on the right */
.ftr-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 56px;
}

.ftr-wordmark-giant {
  font-size: min(238px, 16.5vw);               /* wordmark owns the band, copyright stays in frame */
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-display);         /* 0.95 */
  letter-spacing: var(--tracking-display);     /* -8.4px */
  color: var(--color-ink-black);
  white-space: nowrap;
}

.ftr-copy {
  font-size: var(--text-body-sm);              /* 15px */
  font-weight: var(--font-weight-regular);
  color: var(--color-ink-black);
  padding-bottom: 14px;                        /* optically align with the wordmark baseline */
  flex: none;
}

/* keyed character animation in the closing CTA */
.ftr-cta { position: relative; }
.ftr-cta-art { position: absolute; left: 3%; bottom: 4px; width: 620px; z-index: 0; pointer-events: none; }
.ftr-cta-art-video { display: block; width: 100%; height: auto; }

.ftr-mark { width: 22px; height: auto; }

/* closing copy sits above the plane's flight path */
.ftr-cta-sub, .ftr-cta-btn, .ftr-cta-note { position: relative; z-index: 1; }


/* ---------- sky for the paper plane to fly into ---------- */

.ftr-cluster { right: 12%; bottom: 130px; }
