/* Finance & Accounting landing page. Visual system adapted from the approved ASC page. */

.fin-page {
  --fin-navy-950: #07152c;
  --fin-navy-900: #0d2142;
  --fin-navy-800: #17335f;
  --fin-blue: #2869ee;
  --fin-violet: #7a4ff5;
  --fin-magenta: #c93bd8;
  --fin-ink: #07152c;
  --fin-muted: #455771;
  --fin-surface: #f5f8fc;
  --fin-surface-2: #eaf2fc;
  --fin-line: rgba(7, 21, 44, 0.10);
  --fin-white: #ffffff;
  --fin-gold: #d8b466;
  --fin-cta: linear-gradient(135deg, #eccf86, #d8b466 55%, #b78f3f);
  --fin-gradient: linear-gradient(135deg, #eccf86, #d8b466 55%, #b78f3f);

  background: var(--fin-surface);
  color: var(--fin-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.68;
}

.fin-page h1,
.fin-page h2,
.fin-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  color: var(--fin-navy-950);
}

.fin-shell {
  width: min(calc(100% - 56px), 1200px);
  margin: 0 auto;
}

.fin-page section[id] {
  scroll-margin-top: 70px;
}

.fin-eyebrow {
  margin: 0 0 12px;
  color: var(--fin-gold);
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.fin-btn:focus-visible,
.fin-page .menu-btn:focus-visible,
.fin-page .desktop-nav a:focus-visible,
.fin-role a:focus-visible {
  outline: 3px solid rgba(40, 105, 238, 0.45);
  outline-offset: 3px;
}

.fin-btn--primary,
.fin-page .top-cta {
  background: var(--fin-cta);
  color: #1c1503;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(216, 180, 102, 0.22);
  transform: none;
}

.fin-btn--primary:hover,
.fin-page .top-cta:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(216, 180, 102, 0.34);
}

.fin-btn--outline {
  background: transparent;
  color: var(--fin-navy-900);
  border-color: var(--fin-line);
}

.fin-btn--outline:hover {
  border-color: var(--fin-blue);
  color: var(--fin-blue);
}

/* Header — 96px; homepage navigation surface (styles.css .site-header) + vertical CTA architecture */
.fin-page .site-header {
  display: block;
  position: sticky;
  top: 0;
  box-sizing: border-box;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  z-index: 1000;
}

/* Homepage body is --black (#04060c); vertical pages are light — opaque base preserves the same composite surface */
.fin-page .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #04060c;
  pointer-events: none;
}

.fin-header__inner {
  position: relative;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: none;
  height: 96px;
  min-height: 96px;
  max-height: 96px;
  margin: 0;
  padding: 0 56px;
}

.fin-page .logo {
  display: flex;
  align-items: center;
  width: fit-content;
  line-height: 0;
}

.fin-brand-plate {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
}

.fin-page .logo img,
.fin-brand-plate img {
  display: block;
  width: 260px;
  max-width: 260px;
  height: auto;
  max-height: none;
}

.fin-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-shrink: 0;
  margin-left: auto;
  font-family: Inter, system-ui, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Call Now — quiet homepage-nav text action (desktop) */
.fin-header__actions .fin-btn--outline,
.fin-header__actions .header-call-now {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 28px 0 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #a9b4c9;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  letter-spacing: 0.14px;
  text-decoration: none;
  white-space: nowrap;
  transform: none;
  filter: none;
  transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fin-header__actions .fin-btn--outline:hover,
.fin-header__actions .fin-btn--outline:focus-visible,
.fin-header__actions .header-call-now:hover,
.fin-header__actions .header-call-now:focus-visible {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #ffffff;
  transform: none;
  filter: none;
}

/* Primary CTA — homepage gold conversion language */
.fin-page .fin-header__actions .top-cta,
.fin-page .fin-header__actions .fin-btn--primary {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 14px 0 0;
  padding: 13px 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #eccf86, #d8b466 55%, #b78f3f);
  box-shadow: 0 8px 26px rgba(216, 180, 102, 0.22);
  color: #1c1503;
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 22.4px;
  letter-spacing: 0.14px;
  white-space: nowrap;
  filter: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.fin-page .fin-header__actions .top-cta:hover,
.fin-page .fin-header__actions .top-cta:focus-visible,
.fin-page .fin-header__actions .fin-btn--primary:hover,
.fin-page .fin-header__actions .fin-btn--primary:focus-visible {
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(216, 180, 102, 0.34);
}

.fin-page .menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.fin-page .menu-btn:hover,
.fin-page .menu-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  background: transparent;
}

.fin-page .menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: #a9b4c9;
  opacity: 1;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.2s ease;
}

.fin-page .menu-btn:hover span,
.fin-page .menu-btn:focus-visible span {
  background: #ffffff;
}

.fin-page .menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.fin-page .menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.fin-page .menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.fin-page .mobile-menu {
  position: absolute;
  z-index: 1001;
  top: 96px;
  left: 0;
  right: 0;
  display: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #060b18;
  box-shadow: none;
}

.fin-page .mobile-menu.open {
  display: block;
}

.fin-page .mobile-menu[hidden] {
  display: none !important;
}

.fin-mobile-menu__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 18px 56px 26px;
  box-sizing: border-box;
  font-family: Inter, system-ui, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.fin-page .mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 14px 4px;
  color: #a9b4c9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: Inter, system-ui, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fin-page .mobile-menu a:hover,
.fin-page .mobile-menu a:focus-visible {
  background: transparent;
  color: #ffffff;
}

.fin-mobile-cta {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.fin-page .mobile-menu .fin-mobile-cta:hover,
.fin-page .mobile-menu .fin-mobile-cta:focus-visible {
  color: #6aa8ff !important;
}

/* Hero — matched two-column bottoms; image fills right column only */
.fin-hero {
  background:
    radial-gradient(700px 500px at 12% 78%, rgba(124, 108, 240, 0.10), transparent 60%),
    radial-gradient(800px 540px at 82% 20%, rgba(58, 111, 214, 0.14), transparent 62%),
    linear-gradient(160deg, #04060c 0%, #050a16 52%, #071124 100%);
}

.fin-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-height: 665px;
}

.fin-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 620px;
  padding: 78px 52px 78px 0;
}

.fin-hero h1 {
  margin: 0;
  max-width: 610px;
  color: #f3f6fc;
  font-size: clamp(3.1rem, 4.4vw, 4.85rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.fin-hero h1 span {
  display: block;
  background: linear-gradient(96deg, #bcd6ff, #8fb2da 45%, #a99cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fin-lede {
  max-width: 565px;
  margin: 28px 0 0;
  color: #455771;
  font-size: 1.12rem;
  line-height: 1.72;
}

.fin-hero__copy .fin-lede {
  color: #a9b4c9;
}

.fin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.fin-hero__actions .fin-btn {
  min-height: 52px;
  padding-inline: 23px;
  border-radius: 8px;
}

.fin-hero__actions .fin-btn--outline {
  background: transparent;
  color: #f3f6fc;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.fin-hero__actions .fin-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f3f6fc;
}

.fin-hero__photo {
  position: relative;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  margin-right: calc((100vw - min(100vw - 56px, 1200px)) / -2);
  overflow: hidden;
}

.fin-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 6, 12, 0.18), transparent 18%);
}

.fin-hero__photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  object-position: center 35%;
}

/* Capability strip — premium capability index on soft-light surface */
.fin-pillars {
  padding: 72px 0 80px;
  background: var(--fin-surface);
  border-top: 0;
  border-bottom: 0;
}

.fin-pillars .fin-shell {
  width: min(calc(100% - 112px), 1280px);
}

.fin-pillars__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--fin-line);
  border-radius: 18px;
  background: var(--fin-white);
  box-shadow: 0 1px 0 rgba(19, 36, 64, 0.03), 0 10px 28px rgba(19, 36, 64, 0.04);
}

.fin-pillars__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 28px 14px;
  border: 0;
  border-left: 1px solid var(--fin-line);
  border-radius: 0;
  background: transparent;
  color: var(--fin-navy-950);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: none;
  cursor: default;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.fin-pillars__list li:first-child {
  border-left: 0;
}

.fin-pillars__list li:hover,
.fin-pillars__list li:focus-visible {
  background: rgba(40, 105, 238, 0.04);
  color: var(--fin-blue);
}

/* Challenge */
.fin-challenge {
  padding: 100px 0;
  background: var(--fin-surface-2);
}

.fin-challenge h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.fin-challenge .fin-lede {
  max-width: 42rem;
  margin: 20px 0 0;
  color: var(--fin-muted);
}

.fin-challenge__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.fin-challenge__grid article {
  padding: 28px 26px 30px;
  border: 1px solid rgba(7, 21, 44, 0.10);
  border-radius: 16px;
  background: var(--fin-white);
  box-shadow: 0 10px 30px rgba(7, 21, 44, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fin-challenge__grid article:hover {
  border-color: #c5d4ea;
  box-shadow: 0 6px 18px rgba(19, 36, 64, 0.05);
}

.fin-challenge__grid h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.fin-challenge__grid p {
  margin: 0;
  color: var(--fin-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Talent */
.fin-talent {
  padding: 100px 0;
  background: var(--fin-surface);
  border-top: 1px solid var(--fin-line);
}

.fin-talent h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  letter-spacing: -0.04em;
}

.fin-talent .fin-lede {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--fin-muted);
}

.fin-roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.fin-role {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(7, 21, 44, 0.10);
  border-radius: 16px;
  background: var(--fin-white);
  color: var(--fin-ink);
  box-shadow: 0 10px 30px rgba(7, 21, 44, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fin-role:hover {
  border-color: #c5d4ea;
  box-shadow: 0 8px 22px rgba(19, 36, 64, 0.06);
}

.fin-role img {
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  object-fit: cover;
  object-position: center center;
  background: var(--fin-surface);
}

.fin-role div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
}

.fin-role h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.fin-role ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fin-role li {
  padding: 6px 0;
  border-top: 1px solid var(--fin-line);
  color: var(--fin-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.fin-role li:first-child {
  border-top: 0;
  padding-top: 0;
}

.fin-role a {
  margin-top: auto;
  color: #b78f3f;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.fin-role a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Human + AI */
.fin-human-ai {
  padding: 104px 0;
  background:
    radial-gradient(700px 500px at 80% 20%, rgba(124, 108, 240, 0.08), transparent 60%),
    linear-gradient(180deg, #050a16, #071124);
  color: #f3f6fc;
}

.fin-human-ai .fin-eyebrow {
  color: var(--fin-gold);
}

.fin-human-ai h2 {
  margin: 0;
  max-width: 760px;
  color: #f3f6fc;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  letter-spacing: -0.04em;
}

.fin-human-ai .fin-lede {
  max-width: 680px;
  margin: 20px 0 0;
  color: #a9b4c9;
}

.fin-human-ai__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.fin-human-ai__grid article {
  padding: 30px 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  transition: border-color 0.18s ease;
}

.fin-human-ai__grid article:hover {
  border-color: rgba(106, 168, 255, 0.35);
}

.fin-human-ai__grid h3 {
  margin: 0 0 16px;
  color: #f3f6fc;
  font-size: 1.7rem;
}

.fin-human-ai__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fin-human-ai__grid li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a9b4c9;
  font-size: 0.98rem;
  line-height: 1.55;
}

.fin-human-ai__grid li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Why CP */
.fin-why {
  padding: 100px 0;
  background: var(--fin-surface);
  border-top: 0;
}

.fin-why h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.fin-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.fin-why__grid article {
  padding: 28px 26px 30px;
  border: 1px solid rgba(7, 21, 44, 0.10);
  border-radius: 16px;
  background: var(--fin-white);
  box-shadow: 0 10px 30px rgba(7, 21, 44, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fin-why__grid article:hover {
  border-color: #c5d4ea;
  box-shadow: 0 6px 18px rgba(19, 36, 64, 0.05);
}

.fin-why__grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--fin-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.fin-why__grid h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.fin-why__grid p {
  margin: 0;
  color: var(--fin-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* Process */
.fin-process {
  padding: 100px 0;
  background: var(--fin-surface-2);
}

.fin-process .fin-eyebrow {
  text-align: center;
}

.fin-process h2 {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  letter-spacing: -0.04em;
}

.fin-process__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.fin-process__track::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 40px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: #cfdaea;
}

.fin-process__step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.fin-process__node {
  display: grid;
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  place-items: center;
  border: 9px solid var(--fin-surface-2);
  border-radius: 50%;
  background: #071124;
  color: var(--fin-gold);
  box-shadow: 0 10px 30px rgba(7, 21, 44, 0.08);
  font-size: 1.12rem;
  font-weight: 800;
}

.fin-process__content h3 {
  margin: 0 0 10px;
  color: var(--fin-navy-900);
  font-size: 1.2rem;
  line-height: 1.3;
}

.fin-process__content p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--fin-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.fin-process__note {
  max-width: 640px;
  margin: 36px auto 0;
  color: var(--fin-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

/* Request / form */
.fin-request {
  padding: 104px 0;
  background:
    radial-gradient(700px 500px at 80% 20%, rgba(124, 108, 240, 0.08), transparent 60%),
    linear-gradient(180deg, #050a16, #071124);
  border-top: 0;
}

.fin-request__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: start;
}

.fin-request .fin-eyebrow {
  color: var(--fin-gold);
}

.fin-request__intro h2 {
  margin: 0;
  max-width: 520px;
  color: #f3f6fc;
  font-size: clamp(2.4rem, 3.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.fin-request__intro p {
  max-width: 480px;
  margin: 16px 0 0;
  color: #a9b4c9;
}

.fin-request__intro img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: 320px;
  margin-top: 28px;
  object-fit: cover;
  object-position: center center;
  border-radius: 18px;
}

.fin-request__panel {
  padding: 36px 34px 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: var(--fin-white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.fin-page .lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.fin-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fin-field--wide,
.fin-page .lead-form button,
.fin-page .privacy-note {
  grid-column: 1 / -1;
}

.fin-field label {
  color: var(--fin-navy-900);
  font-size: 14px;
  font-weight: 600;
}

.fin-page .lead-form input,
.fin-page .lead-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--fin-line);
  border-radius: 12px;
  background: var(--fin-surface);
  color: var(--fin-ink);
  font-family: inherit;
  font-size: 16px;
}

.fin-page .lead-form select {
  appearance: none;
  cursor: pointer;
}

.fin-page .lead-form button.fin-btn {
  width: 100%;
  margin-top: 4px;
}

.fin-page .fin-sms {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.fin-page .fin-sms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--fin-white);
  box-shadow: none;
  accent-color: var(--fin-blue);
}

.fin-page .fin-sms__copy {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  min-width: 0;
}

.fin-page .fin-sms label {
  flex: 1 1 100%;
  margin: 0;
  color: var(--fin-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.fin-page .fin-sms a,
.fin-page .privacy-note a {
  color: var(--fin-blue);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fin-page .privacy-note {
  margin: 0;
  color: var(--fin-muted);
  font-size: 13px;
  line-height: 1.5;
}

.fin-page .lead-form .form-status {
  grid-column: 1 / -1;
}

.fin-page .lead-form .form-status:empty {
  display: none;
}

.fin-page .form-status.is-error {
  color: #9b2c2c;
}

.fin-page .form-status.is-success {
  color: #1f6b3a;
}

/* Footer */
.fin-page .site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  width: 100%;
  margin: 0;
  padding: 64px max(28px, calc((100% - 1200px) / 2)) 40px;
  background: linear-gradient(180deg, #050a16, #071124);
  border-top: 0;
  box-sizing: border-box;
}

.fin-page .site-footer h4 {
  margin: 0 0 14px;
  color: #d4deee;
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fin-page .site-footer p,
.fin-page .site-footer a,
.fin-page .footer-privacy-choices {
  color: #d4deee;
  font-size: 0.95rem;
}

.fin-page .site-footer a:hover {
  color: var(--fin-white);
  padding-left: 0;
}

.fin-page .footer-brand img {
  width: 210px;
}

.fin-page .footer-privacy-choices {
  display: block;
  margin: 10px 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* Assistant — persistent Finance launcher */
.fin-page .assistant-launcher {
  position: fixed;
  z-index: 850;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  max-width: calc(100vw - 44px);
  padding: 7px 20px 7px 8px;
  border: 1px solid rgba(40, 105, 238, 0.28);
  border-radius: 999px;
  background: var(--fin-navy-950);
  color: var(--fin-white);
  box-shadow: 0 14px 36px rgba(6, 19, 41, 0.28);
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fin-page .assistant-launcher.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.fin-page .assistant-launcher:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 79, 245, 0.45);
  box-shadow: 0 18px 42px rgba(6, 19, 41, 0.34);
}

.fin-page .assistant-launcher:focus-visible {
  outline: 3px solid rgba(40, 105, 238, 0.55);
  outline-offset: 3px;
}

.fin-page .assistant-launcher span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--fin-gradient);
  color: var(--fin-white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.fin-page .assistant-launcher strong {
  display: block;
  max-width: none;
  overflow: visible;
  opacity: 1;
  white-space: nowrap;
  color: var(--fin-white);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.fin-page .assistant-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.fin-page .assistant-modal[hidden] {
  display: none;
}

.fin-page .assistant-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 41, 0.55);
}

.fin-page .assistant-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  max-height: min(90vh, 720px);
  overflow-y: auto;
  padding: 2rem;
  border-radius: 20px;
  background: var(--fin-white);
  color: var(--fin-ink);
  box-shadow: 0 24px 64px rgba(6, 19, 41, 0.2);
}

.fin-page .assistant-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--fin-surface);
  color: var(--fin-navy-900);
  font-size: 1.5rem;
  cursor: pointer;
}

.fin-page .assistant-view[hidden],
.fin-page .assistant-form[hidden],
.fin-page .assistant-unavailable[hidden],
.fin-page .assistant-upload-fields[hidden] {
  display: none;
}

.fin-page .assistant-dialog .eyebrow {
  margin: 0 0 12px;
  color: var(--fin-blue);
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fin-page .assistant-dialog h2 {
  margin: 0 0 12px;
  color: var(--fin-navy-950);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.fin-page .assistant-dialog p {
  color: var(--fin-muted);
}

.fin-page .assistant-audience-buttons,
.fin-page .assistant-contact-actions,
.fin-page .assistant-unavailable-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.fin-page .assistant-dialog .btn-primary {
  background: var(--fin-gradient);
  color: var(--fin-white);
  border: 0;
  border-radius: 999px;
}

.fin-page .assistant-dialog .btn-secondary,
.fin-page .assistant-dialog .btn-outline {
  background: transparent;
  color: var(--fin-navy-900);
  border: 2px solid var(--fin-line);
  border-radius: 999px;
}

.fin-page .assistant-messages {
  min-height: 140px;
  max-height: 280px;
  overflow-y: auto;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--fin-line);
  border-radius: 12px;
  background: var(--fin-surface);
}

.fin-page .assistant-message {
  margin: 0 0 10px;
  color: var(--fin-ink);
  font-size: 0.95rem;
}

.fin-page .assistant-form {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.fin-page .assistant-form input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--fin-line);
  border-radius: 999px;
  background: var(--fin-white);
  color: var(--fin-ink);
  font: inherit;
}

.fin-page .assistant-unavailable {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #f0c4c4;
  border-radius: 12px;
  background: #fff8f8;
}

.fin-page .recaptcha-container {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border: 1px dashed var(--fin-line);
  border-radius: 10px;
  background: var(--fin-surface);
}

@media (max-width: 1100px) {
  .fin-pillars__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fin-pillars__list li {
    min-height: 66px;
    border-left: 1px solid rgba(10, 22, 48, 0.1);
  }

  .fin-pillars__list li:nth-child(3n + 1) {
    border-left: 0;
  }

  .fin-pillars__list li:nth-child(n + 4) {
    border-top: 1px solid rgba(10, 22, 48, 0.1);
  }

  .fin-roles,
  .fin-challenge__grid,
  .fin-why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fin-challenge__grid article:last-child,
  .fin-why__grid article:last-child,
  .fin-roles .fin-role:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .fin-page .site-header {
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    padding: 0;
  }

  .fin-header__inner {
    width: 100%;
    max-width: none;
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    margin: 0;
    padding: 0 22px;
  }

  .fin-page .logo img,
  .fin-brand-plate img {
    width: auto;
    max-width: 174px;
    height: 32px;
    max-height: 32px;
  }

  .fin-page .fin-header__actions {
    display: flex;
    gap: 10px;
  }

  .fin-page .fin-header__actions .header-call-now,
  .fin-page .fin-header__actions .top-cta {
    display: inline-flex;
    margin: 0;
  }

  .fin-page .fin-header__actions .header-call-now {
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
  }

  .fin-page .menu-btn {
    display: flex;
    width: 46px;
    height: 46px;
  }

  .fin-page .mobile-menu {
    top: 54px;
    width: 100%;
    max-width: none;
  }

  .fin-mobile-menu__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 22px 22px;
  }

  .fin-pillars .fin-shell {
    width: calc(100% - 44px);
  }

  .fin-pillars {
    padding: 56px 0 64px;
  }

  .fin-page .fin-header__actions .fin-btn,
  .fin-page .fin-header__actions .top-cta {
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
    line-height: 1;
  }

  .fin-hero__grid,
  .fin-request__layout,
  .fin-human-ai__grid,
  .fin-page .lead-form {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: stretch;
  }

  .fin-hero__copy {
    height: auto;
    max-width: none;
    padding: 52px 0 36px;
  }

  .fin-hero__photo {
    position: relative;
    min-height: 460px;
    height: 460px;
    margin-right: 0;
  }

  .fin-hero__photo img {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
  }

  .fin-hero__actions .fin-btn {
    width: 100%;
  }

  .fin-request__intro img {
    max-width: none;
    height: 260px;
  }

  .fin-request__panel {
    padding: 28px 22px 32px;
  }

  .fin-challenge,
  .fin-talent,
  .fin-human-ai,
  .fin-why,
  .fin-request {
    padding: 72px 0;
  }
}

@media (max-width: 768px) {
  .fin-page {
    font-size: 17px;
  }

  .fin-shell {
    width: calc(100% - 34px);
  }

  .fin-process__track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fin-process__track::before {
    display: none;
  }

  .fin-process__step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--fin-line);
    border-radius: 16px;
    background: var(--fin-white);
    text-align: left;
  }

  .fin-pillars {
    padding: 48px 0 56px;
  }

  .fin-challenge,
  .fin-talent,
  .fin-human-ai,
  .fin-why,
  .fin-process,
  .fin-request {
    padding: 56px 0;
  }

  .fin-process__node {
    width: 52px;
    height: 52px;
    margin: 0;
    border: 0;
  }

  .fin-process__content p {
    max-width: none;
    margin: 0;
  }

  .fin-page .site-footer {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding-right: 17px;
    padding-left: 17px;
  }

  .fin-page .footer-brand {
    grid-column: 1 / -1;
  }

  .fin-page .assistant-launcher {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    max-width: calc(100vw - 28px);
    gap: 10px;
    padding: 6px 16px 6px 7px;
  }

  .fin-page .assistant-launcher span {
    width: 34px;
    height: 34px;
    font-size: 0.64rem;
  }

  .fin-page .assistant-launcher strong {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .fin-page .fin-header__actions .header-call-now {
    display: none !important;
  }

  .fin-page .fin-header__actions .top-cta {
    display: inline-flex;
    padding: 0 10px;
    font-size: 0.74rem;
  }
}

@media (max-width: 640px) {
  .fin-hero h1,
  .fin-challenge h2,
  .fin-talent h2,
  .fin-human-ai h2,
  .fin-why h2,
  .fin-process h2,
  .fin-request__intro h2 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .fin-pillars {
    padding: 28px 0 40px;
  }

  .fin-pillars__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-pillars__list li,
  .fin-pillars__list li:nth-child(3n + 1),
  .fin-pillars__list li:nth-child(n + 4) {
    justify-content: center;
    min-height: 64px;
    padding: 14px 10px;
    border-left: 1px solid rgba(10, 22, 48, 0.1);
    border-top: 0;
    border-bottom: 0;
    text-align: center;
    font-size: 0.86rem;
  }

  .fin-pillars__list li:nth-child(2n + 1) {
    border-left: 0;
  }

  .fin-pillars__list li:nth-child(n + 3) {
    border-top: 1px solid rgba(10, 22, 48, 0.1);
  }

  .fin-pillars__list li:last-child {
    border-bottom: 0;
  }

  .fin-roles,
  .fin-challenge__grid,
  .fin-why__grid {
    grid-template-columns: 1fr;
  }

  .fin-challenge__grid article:last-child,
  .fin-why__grid article:last-child,
  .fin-roles .fin-role:last-child {
    grid-column: auto;
  }

  .fin-role img {
    height: 200px;
    flex-basis: 200px;
  }
}

@media (max-width: 400px) {
  .fin-page .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fin-page .top-cta:hover,
  .fin-btn:hover,
  .fin-page .assistant-launcher:hover {
    transform: none;
  }
}
